Commit Graph

754 Commits

Author SHA1 Message Date
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
wanghuaz
70c97b3334 for power contrl commands, every cec fork one process. So if rpower multiple nodes on several cec, say 20 cec, there are more than 20 connection request to hmc at the same time. This make sshd on hmc failed to respond and refuse the connections request. Add some sleep between every fork per cec. This will not reduce the performance too much, since only sleeps between cecs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 07:18:47 +00:00
lissav
e01d6ba039 fix perl syntax error in xcatpreprocessed check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 17:58:41 +00:00
jbjohnso
4c8c4ff701 -Provide graceful error when tabrestore has an unrecognized column defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 15:38:40 +00:00
lissav
1e9bd8b240 fix call to MsgUtils for dataout from xdcp and xdsh to be D flag not the I flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 14:55:13 +00:00
jbjohnso
23a52ec995 -Fix bug in recent feature implementation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 19:11:39 +00:00
jbjohnso
540bf7da21 -Allow a site entry to enable service pruning where noderm actively removes data from related services rather than just xCAT configuration itself
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 18:37:18 +00:00
jbjohnso
79f816a417 -Add console=tty0 for all serialport consoles.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 17:59:11 +00:00
jbjohnso
9347368123 -Fix errors in the #TABLE:# template support in boottarget
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 21:04:09 +00:00
jbjohnso
d77754bdc8 -Check in support for #TABLE# template syntax in boottarget kcmdline to be consistent with Template.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 20:28:45 +00:00
jbjohnso
2c17239888 -The capitilization of 'otherLinux' is corrected in the VMWare plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 20:10:41 +00:00
jbjohnso
7925af8fa8 -Fix bogus usage error on copycds when VMware media is involved
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 13:04:01 +00:00
jbjohnso
c43feab7c4 -Check supportedarchs at nodeset time if netboot= or install= nodeset argument is requested
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 12:51:51 +00:00
jbjohnso
e0ee3d3a0b -Fix bug in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 11:38:16 +00:00
jbjohnso
754a698d60 -Add nodetype.supportedarchs nodetype column and have discovery populate it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 11:02:38 +00:00
jbjohnso
b0083d8d81 -Add GA discids of RHEL5.4 to anaconda plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 14:34:08 +00:00
mxi1
e21d45989f code is updated for the web interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 07:34:11 +00:00
jbjohnso
c9ae7831ad -Allow mkvm to proceed without guests having to be allocated to hypervisors for KVM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-04 16:17:12 +00:00
datajerk
51d3c88022 minor bug, changed $add to $kcmdline
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-04 13:44:35 +00:00
jbjohnso
c2b52d1a50 -Fix bug in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-03 21:13:28 +00:00
jbjohnso
03a1da1064 -Provide quick and dirty kcmdline templatized support to boottarget (TODO: make faster)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-03 21:02:22 +00:00
ligc
ce84aa1329 support absolute path in mknimimage: bug 2780306
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4090 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-03 09:44:43 +00:00
wanghuaz
7a6a741516 set frame # with rspconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 16:48:58 +00:00
lissav
6f457f0685 missing $ on node made the default of to xcatmaster not work. The result was if you did not define a noderes.tftpserver, you got an error runnin nodeset blade01 netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-01 17:50:13 +00:00
jbjohnso
a142c4275d -Fix bug where perl attempted to evaluate a variable intended for xNBA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-01 15:00:14 +00:00
zhanx
7756701952 Additional fix for bug 2845224 makedhcp -n does not create /etc/dhcpsd.cnf file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-01 12:13:33 +00:00
jbjohnso
279f00ca1e -Move '!myipfn!' resolution to client to allow invariant tftp content
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-31 17:43:21 +00:00
zhanx
bb78a4f0e1 fix bug 2845224, makedhcp -n does not create /etc/dhcpsd.cnf file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-27 08:15:01 +00:00
bp-sawyers
c9151502b9 - improved gettab man page
- added usage support to tabgrep
- fixed 2 uninitialized var msgs in xcatd

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-26 19:41:30 +00:00
wanghuaz
c4d0501e10 To fix defect: 2844223. getmacs timeout with 16 nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-26 03:00:36 +00:00
jbjohnso
f023330458 -Fix problem where XCATROOT ending in non-slash resulted in problems with recent checkins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 20:41:24 +00:00
jbjohnso
5ce8217cd6 -Accept more paths to memdisk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 18:26:43 +00:00
jbjohnso
d1b51b68e1 -Use xNBA even for Etherboot (it should have patches to fix Etherboot compatibility)
-Change pxelinpx.0 handling to ensure it is the version that we have done version validation on
-Use pxelinux.0 out of a directory under 'xcat' so that xCAT maintains a healthier filesystem namespace to avoid conflicts


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 18:25:17 +00:00
jbjohnso
4ec9909870 -Fix defect 2843639, load pxelinux before 'memdisk' images as memdisk seems to be unhappy trying to run under xNBA directly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 18:17:31 +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
ligc
749d0f2be1 mk_spot: create spot from existing mksysb image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 02:48:50 +00:00
jbjohnso
40263e2c9e -Change to detect specifically when xNBA is attempting a boot, as some enhancements are made that are not yet in gPXE
-Use http even for initial configuration when xNBA is detected


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-21 23:58:12 +00:00
jbjohnso
c5aa017fa7 -Add 'genmacprefix' site value to control VM mac address generation
-Move mac address generation code to VMCommon from esx (TODO: xen/kvm as well)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-19 15:14:38 +00:00
jbjohnso
9e0c2481da -Add support for templatized addkcmdline in ESX plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-19 14:28:17 +00:00
jbjohnso
0ad809aff0 -In ESXi, support splicing in addkcmdline in intelligent places
-Provide a method for plugins to declare custom processing of addkcmdline rather than the default append to the end


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-18 18:59:20 +00:00
ligc
9740b12008 fixed a typo in DBobjectdefs.pm. caused lsdef -t node -o can not support regular expression
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-13 09:36:04 +00:00
linggao
2817ef9a9b fixed updatenode, it did not work with hierarchy on Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-12 18:21:36 +00:00
linggao
9e5af6e77e minor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-11 17:59:26 +00:00
nott
42961504e0 Enhance makenetworks to support AIX and display option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-11 17:18:27 +00:00
ligc
3db6884c4e fix for bug 2835509
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-11 11:49:15 +00:00
linggao
cee982b877 more on prescripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-10 21:18:38 +00:00
nott
7a79722ce0 Add dump resource if provided.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3979 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-10 20:22:17 +00:00
nott
339b38f77a Fix diskless dump issue and bogus messages. Fixes bugs-2833100, 2833501, and 2830266.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-09 16:29:09 +00:00
jbjohnso
eac091d95d -Implement addkcmdline for esxi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-07 17:06:22 +00:00
daniceexi
c1595ad6e0 Add the distro name for the rhels5.4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-07 07:24:58 +00:00