Commit Graph

51 Commits

Author SHA1 Message Date
wanghuaz
e70bea3edb Create osimage with profile compute for management node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-30 07:55:41 +00:00
jbjohnso
885277c218 Fix characterization of hyper-v
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 19:11:46 +00:00
jbjohnso
91d1302622 Fix problem where Hyper-V was mis-characterized as 'Linux'
Have osdistro table recall the OS version number of Windows operating systems.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 18:45:36 +00:00
ligc
38fcd2f3a8 fix for bug 3051: search /install/custom and /opt/xcat for lsdef --osimage against nodes with provmethod=install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-29 08:33:14 +00:00
xq2005
c82f125bf3 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 08:58:36 +00:00
jjhua
6ed9c4c9b1 pre-create mypostscript enhancement: get_nodeset_state uses the values of the noderes.net boot noderes.tftpdir which were got ahead of time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:10:01 +00:00
lissav
4d707f6c8f add getpostbootscripts routine and put a small fix in getsynclists routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 19:14:06 +00:00
immarvin
01461cdc50 add some comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 06:22:57 +00:00
immarvin
452dbe05a6 add update_osdistro_table , modify update_tables_with_templates and update_tables_with_templates to support osdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:22:56 +00:00
zhaoertao
e822d0406e for item: clean up Utils.pm, the code in xCAT-server/lib/per/xCAT/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:00:45 +00:00
immarvin
621425dada copycds enhancement: update linuximage table with the specified ospkgdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 03:20:07 +00:00
linggao
794760bf25 fix the code to get correct synclist file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 19:15:01 +00:00
jjhua
9ac4324794 For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:33:24 +00:00
wanghuaz
245a7a055b Fixing bug 3508572. while restarting xcatd on service node, it will try to issue nodeset. for nfs-based statelite, it tries to issue litetree to get a folder and setup NFS exports. The problem is while issuing litetree command, xcatd is not available yet. So we added XCATBYPASS=Y before issuing litetree. After reviewing the context, litetree command is issued only on the CN's service node and the result is also used by the CN's service node only, so adding XCATBYPASS=y should be fine.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 06:04:21 +00:00
wanghuaz
9fc48a2a59 Fixing bug that basename command required File::Basename pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 08:05:59 +00:00
jbjohnso
6cead01cf9 Have SvrUtils potentiall prefetchcache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 15:30:53 +00:00
wanghuaz
5890139d47 Fixing bug 3508572: SvrUtils.pm issues command mkpath, mkpath is included by File::Path, instead of File::Basename. I cannot find any other command that is included by File::Basename, so just replace it with correct one.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 09:28:10 +00:00
lissav
f63aaf9ebf fix defect 3513526
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 20:05:53 +00:00
linggao
6c81bc84ce More efficient when calling getstate for pxe,xnba and yaboot during node deployment or updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:33:32 +00:00
jbjohnso
db4d440467 Have SvrUtils allow 'export' of sendmsg for brevity in calling code if calling code so desires it.
Get ready to have blade.pm do ssh out of the gate on at least CMMs
Get ready for SLP based 'node' discovery, including MM initial setup

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 21:06:04 +00:00
wanghuaz
afff5fa64b Adding synclist support for statelite and also adding synclists support for user customized imagenames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-19 08:01:57 +00:00
daniceexi
7529e736f3 defect 3370506: make copycds command to generate the osimage obj for the stateless and statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-21 06:26:13 +00:00
daniceexi
8e35b5bcb5 The continued fix for the defect 3317678
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-20 08:52:49 +00:00
daniceexi
57b94e7f75 defect 3317678: fix the issue that cannot get correct nodestate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-17 08:44:01 +00:00
mxi1
60c15d4c94 Added the new command "imgcapture" to svn trunk.
please run "man imgcapture" for more information.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-17 15:55:44 +00:00
bp-sawyers
5bda5a1df6 Check in Arif's changes for debian/ubuntu support. Not all patches applied yet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-02 09:50:17 +00:00
jjhua
688cd70842 remove the <<<<<r69901
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 02:10:24 +00:00
cjhardee
4dd2631bdf Refactered sendmsg to live in SvrUtils.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-06 15:29:07 +00:00
ligc
a7e56eb7f7 code drop for coordinated cluster bringup and shutdown
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-02 03:29:15 +00:00
linggao
a6eeb5d139 full install supports linuximage.pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-28 18:29:16 +00:00
daniceexi
0e479d94e3 Scientific Linux support: add the disc ID for SL5.5; Use the SL as the platform instead of sl, since sl easy to be confused with sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-28 13:46:51 +00:00
jbjohnso
b95c560979 -Scientific Linux contributed by Arif Ali
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-23 20:12:16 +00:00
cjhardee
7c107b4503 Just made 3 functions i moved here before check for the package name in the first argument and shift past it, if so
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 13:34:54 +00:00
cjhardee
6e2ec934f7 Fixed subVars to skip the first argument.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-18 21:12:15 +00:00
ligc
f318d410bd ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 09:18:25 +00:00
cjhardee
f836cf43e7 Removed duplciated functions in litetree, sles and anaconda modules and placed them in SvrUtils per feature request 2991341
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-04 14:24:08 +00:00
mxi1
53d4ac84be getsynclistfile() is updated, statelite should be use "netboot" directory instead of "install" directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-07 03:22:51 +00:00
daniceexi
2dd7b08aeb defect 2947831: use subroutine getInstallDir to get install dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 08:26:34 +00:00
linggao
2d909fef9d more support for statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 18:39:56 +00:00
daniceexi
1eb3b60e50 move the function get_mac_by_arp from Utils.pm to SvrUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 09:31:40 +00:00
linggao
a8e15167a2 osimage phase3: use osimage table settings updatenode (otherpkgs)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 18:55:54 +00:00
linggao
0cc7ee9f5f osimage phase2: genimage and packimage honor osimage table settings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-24 18:51:53 +00:00
linggao
e9b657c125 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-22 20:24:24 +00:00
linggao
cb5e4be30b added provmethod in osimage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 17:19:37 +00:00
linggao
9524a49273 added support to update the osimage and linuximage tables after copycds and packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-19 17:03:14 +00:00
mxi1
ef87653b36 one common get_tmpl_file_name() function is added into SvrUtils.pm, to replace the same function in anaconada.pm, sles.pm and windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 09:53:14 +00:00
daniceexi
22d82e9a5d defect 2843392: if there is non-existed synclist file, output an error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 09:53:55 +00:00
daniceexi
227f6bdcf4 move the getsynclistfile() from Utils.pm to SvrUtils.pm; move the syncfiles() from Postage.pm to syncfiles.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-22 05:59:11 +00:00
linggao
2779f579e1 performance tuning for node status updating for ipmi, blade,PPC, xen and kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 02:56:58 +00:00
lissav
f13ebd9e3d fix failure on rpower on syntax error in SvrUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-23 12:29:25 +00:00