lissav
25b028a5fd
add check for servicenodes and computenodes in noderange for nodeset. Also remove very old commented out code defect 3750
2013-08-27 12:51:50 -04:00
daniceexi
19241bce05
Make nodeset can pass parameter --noupdateinitrd to mkinstall command
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:17:03 +00:00
jbjohnso
0d67ef61e7
Fix breakage where recent changes broke nodeset shell and friends
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 14:07:02 +00:00
immarvin
8bad0490c3
support for addkcmdline of osimage. According to the design, the linuximage:addkcmdline should be appended to kernel arguments of the nodes after "nodeset osimage=".
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-25 12:15:09 +00:00
linggao
1e8061270b
added feature in nodeset to get the os image name from the nodetype.provemethod if the osimage is not specified with nodeset osimage command
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 20:59:50 +00:00
zhaoertao
40e144b4cc
for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jjhua
b4698dec04
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@12889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:30:19 +00:00
immarvin
eb988493a6
fixed bug 3495408 :nodeset offline doc and test
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:07:36 +00:00
linggao
37c604a69d
minor fix for getNodesetStates in pxe and yaboot
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 22:22:32 +00:00
linggao
4aef6cbfbc
fixed compiling error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 19:12:25 +00:00
jbjohnso
24ee4eb3ce
Apply changes from xnba.pm to pxe.pm and yaboot.pm for getstate external calls
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 18:14:03 +00:00
daniceexi
9e2b250062
fixed the issue that xnba,pxe,vsmppex,yaboot failed for service node when no valid nodes in the handled network
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 10:31:33 +00:00
jbjohnso
d7d49fd2e7
Fix pxe plugin not having 'xCAT::Scope' used
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11700 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-27 18:48:33 +00:00
jbjohnso
d39e110af8
Finish per-node/group tftpdir for NAS mount point managed sync up
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-15 21:04:42 +00:00
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