Commit Graph

33 Commits

Author SHA1 Message Date
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
691628503e 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@12900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:53:34 +00:00
immarvin
6d55da8656 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:08:19 +00:00
jbjohnso
3d008a7b33 Have xnba.pm more gracefully recover from error conditions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-09 14:12:20 +00:00
jbjohnso
1c83b2641b Correct typo in xnba plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 14:45:26 +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
ef19a2bbdd Have xnba.pm cope with extrnal cals to getstate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 18:08:49 +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
b963e36dc7 Fix xnba using xCAT::Scope without 'use'ing it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 14:31:10 +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
jbjohnso
083be780f4 Fix xnba to be strict compliant, fix regex typo, fix regex globals on syslinux/elilo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-05 20:20:24 +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
jbjohnso
2e8c7d340d Fix xNBA to not attempt resolution when it really isn't going to be used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-03 15:02:36 +00:00
jbjohnso
65b159d157 Correct erroneous output on nodeset when using xnba.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-03 14:54:59 +00:00
jbjohnso
b5206140dc Fix pxelinux files made by xnba using '!myipfn!' shortcut (at least best effort)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-04 18:13:37 +00:00
jbjohnso
bc597dfd8e Fix xnba erroneously creating pxelinux.cfg files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-30 14:32:05 +00:00
jbjohnso
c68d849f2e Clean up unusued code
Fix for elilo not knowing what 'next-server' would possible mean


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-29 19:41:32 +00:00
jbjohnso
a824514ce8 Have offline remove UEFI related files
Do not attempt UEFI px if currstate is set to 'boot'
Implement ESXi5 UEFI PXE boot


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10554 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-19 19:11:10 +00:00
jbjohnso
1201990fc6 Fixup on uefi linux boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-19 17:21:32 +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
jbjohnso
d7d4296b9d Revert to machyp for xnba, for the moment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-03 15:40:37 +00:00
jbjohnso
4637b46cbd -Switch syntax to one that works with current xNBA and will also be adopted in iPXE
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-15 16:47:13 +00:00
jbjohnso
2361f0593f -Fix xnba cleanup in offline nodeset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-04 20:00:56 +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
jbjohnso
790ddedf6c -Together with recent xNBA patch to give a hyphenated mac address, make BOOTIF look just like syslinux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 17:45:43 +00:00
jbjohnso
bba4d03c2d -Correct path to pxelinux.0 per bug 3009461
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 12:47:09 +00:00
jbjohnso
5cd90ee53d -Fix divide by zero err in xnba plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 15:02:24 +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
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
vallard
6482258fba added statelite support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 01:00:42 +00:00
jbjohnso
982ac79304 -Fix xNBA plugin name
-Make nodeset boot when iscsi is indicated invoke hdboot instead of exit


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4232 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 20:27:52 +00:00
jbjohnso
39d7f66dd1 -Have xnba move to a plugin to revert pxe to 2.2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 15:55:53 +00:00