Commit Graph

55 Commits

Author SHA1 Message Date
wanghuaz
4de53d06d7 Fixing defect 3285568: if shardtftp is not set and the compute node is not resolved by xcatmaster, we will give one msg instead of quietly ignore it. this will help a lot to find the problem's root cause. The msg is not an error, since there are cases matching the above two conditions. So this msg should not make too much noise if those two conditions are valid.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-05 14:53:13 +00:00
linggao
8b0bd2c4de returns non zero value when prescripts fail in nodeset command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9606 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-16 19:59:10 +00:00
cjhardee
ee5d016666 unlinked files for nodeset <noderange> offline
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-01 17:56:57 +00:00
daniceexi
c9974123cb only add the IPAPPEND pxe flag for non fedora12/23 node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 11:51:44 +00:00
jbjohnso
e213cb0f1c -On x86, have a BOOTIF= variable available, and default to using it where possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-03 20:37:39 +00:00
jbjohnso
cc7b516b09 -Fix defect where pxe netboot would not work if pxelinux.cfg was not pre-created
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-01 14:45:22 +00:00
jbjohnso
cd79757c5b -Do not makedhcp when going to offline a node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-03 18:20:33 +00:00
datajerk
3dbde1cdda Statelite updates.
genimage, TCP support

anaconda.pm, //server for absolute path

xnba.pm/pxe.pm addkcmdline #NODEATTRIB support


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-01 16:32:22 +00:00
daniceexi
5fed2daa90 defect 2948423: use getTftpDir to get the tftp dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 09:01:01 +00:00
vallard
ac12cb03f1 added statelite support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 01:00:21 +00:00
jbjohnso
8dcec16ed5 -Correct mistakes in previous re-port effort
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 21:14:48 +00:00
jbjohnso
020209f7e8 -Port in the prescript and osimage support into the newly 'old' pxe support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 21:08:41 +00:00
jbjohnso
77f3598c8f -Bring back the addkcmdline handling at the pxe level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 20:46:26 +00:00
jbjohnso
af98e24170 -Roll pxe plugin all the way back to 2.2 style
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 20:30:05 +00:00
jbjohnso
78aa50e52d -Use 'exit' instead of the hdboot directive, as hdboot currently hangs on some
specific configurations


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 15:32:53 +00:00
jbjohnso
f5eb80e953 -Fix for entries that have multiple !myipfn! entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 17:59:14 +00:00
linggao
81306eb168 osimage support for nodeset command, phase 1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-22 15:37:40 +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
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
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
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
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
linggao
2856ad6f56 fixed infinit loop in prescript.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 22:39:01 +00:00
linggao
46c142266d give up pulling dhcp out of pxe.pm and yaboot.pm to prescripts.Otherwise the prescripts code gets too complicated. We'll use site attribute 'dhcpsetup' instead to turn if off if needed. AAsn.pm can also use this attribute to not call makedhcp automatically
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 05:49:30 +00:00
linggao
70f0218ce0 prescripts support. need more fixes. Does not support service node pool yet. dhcp and begin scripts need to get worked on more.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 02:00:13 +00:00
jbjohnso
b4d552225e -Use new hdboot command for xnba based pxe boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-20 14:32:23 +00:00
lissav
19d7549210 update with use of _xcatpreprocessed in commented out example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 15:39:16 +00:00
jbjohnso
06a1efc0c0 -Reap stale pxelinux config files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-29 18:42:23 +00:00
jbjohnso
f712b51ad6 -Move to using gPXE/http for a lot of traffic
-Have pxe plugin handle addkcmdline


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-29 18:37:45 +00:00
jbjohnso
dac2479a1d -Fix problem where noderange validation to relevance was not performed correctly for tftp content management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3305 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-07 13:58:31 +00:00
jbjohnso
737b55b76c -Fix problem where stateless initialization phase encountering a transient error could leave a service node persistently corrupted
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-07 04:31:33 +00:00
jbjohnso
87bdbd136f -Fix nodeset at tftp setup time, and prevent makedhcp from farming out when nodeset was already farmed out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 15:03:36 +00:00
jbjohnso
f9e4ef54a8 -Do not fan out nodeset at tftp build up time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 06:15:05 +00:00
jbjohnso
eca58ec37a -Import required modules for service node setup, don't manipulate DHCP during tftp boot building of a service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 04:49:49 +00:00
jbjohnso
74ff7bb8e3 -Implement rebuild of tftp directory contents if appropriate in AAsn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 04:25:03 +00:00
jbjohnso
2c970102c5 -Have pxe and yaboot only do hierarchical DHCP manipulation when not already farmed out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-27 22:09:54 +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
mellor
23b9097e8f fixed error processing if call to my_ip_facing did not find an ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-18 19:37:54 +00:00
jbjohnso
5bad6cd582 -Fix erroneous copy and paste syntax error from yaboot plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-18 18:45:46 +00:00
jbjohnso
71c9db8868 -Defer determination of ip facing managed node until write to tftp, to enable dynamic http load balance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-18 14:11:30 +00:00
lissav
9bb8b87682 fix incorrect variable used to check sharedtftp attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-12 17:39:04 +00:00
jbjohnso
1fc7442189 -Nodeset netboot support for xen style stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-21 14:25:29 +00:00
mxi1
02135314e6 -fix bug #2381472, add -v|--version options to nodeset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-08 07:00:27 +00:00
jbjohnso
431bbf8509 -iSCSI boot changes to take advantage of gPXE if available
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-30 14:37:56 +00:00
linggao
7e52eff678 more on node status. supports aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-26 23:07:45 +00:00
jbjohnso
66bddcad5d -Switch to using symbolic rather than hard links as possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 22:28:30 +00:00
linggao
9621c2854c changes in monitoring plug-in infrastructure to better fit the xCAT env
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-01 17:35:58 +00:00