Commit Graph

80 Commits

Author SHA1 Message Date
nott
1c34bf0180 changes to finding xcat node name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 18:40:05 +00:00
nott
c2bb10e13c add xcat node name to /etc/xcatinfo file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 16:38:03 +00:00
nott
716a006d2b fix -m and xcat node name issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-11 19:34:21 +00:00
lissav
191dcde3dc fix defect 3362
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 20:45:45 +00:00
lissav
05ade551f4 fix bug 3365
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-11 19:07:08 +00:00
jjhua
9b7b07a6ee fxied bug 3291 in AIX env. There is not precreatemypostscripts=1 in site table for AIX. So get the mypostscript.nodename.tmp directly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:23:39 +00:00
jjhua
f6dd072207 to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14760 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:30:55 +00:00
ligc
25171e52b8 fix for bug 3239: do not use one socket connection to send two xcat commands to MN/SN, do not use gettab to get the site.tftpdir for performance consideration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 07:21:39 +00:00
lissav
320eea1c75 new logic to get xcataixpost to the node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 20:40:11 +00:00
lissav
db652b82d4 changed the copy to an rsync, save a couple of secs, not as much as I hoped.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-01 11:48:51 +00:00
jjhua
b0071ccdeb for aix installation, use socket to get the tftpdir; for updatenode, pass the tftpdir to the xcataixpost script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 07:11:52 +00:00
jjhua
52d7012432 make getpostscript.awk use the template method, instead of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 03:04:34 +00:00
lissav
d91af1c001 fix defect 3558801
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-21 11:11:58 +00:00
lissav
e42b3dc34a backup change until see how many way called
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 20:52:20 +00:00
lissav
9959367888 fix check for updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 20:39:05 +00:00
lissav
9bd7ba8625 fix defect 3558801, do not set TZ if called by updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 16:32:28 +00:00
nott
042c3cc544 fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13451 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:37:51 +00:00
lissav
bf2b0bee29 fix defect 3529041
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 18:17:11 +00:00
immarvin
4467a5bb20 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 07:21:12 +00:00
ligc
c791b1d857 fix for bug 3487614: xcataixpost: add timestamp when running postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 03:57:47 +00:00
ligc
95ca0b5146 add use strict for xcataixpost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-02 14:04:33 +00:00
ligc
3e06957566 NFSv4 support: fix a perl syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10956 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-02 13:50:38 +00:00
ligc
9c0503c151 NFSv4 support for xcataixpost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-01 11:10:06 +00:00
nott
99824cb458 make sure niminfo is valid for xcatinfo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-28 20:23:51 +00:00
ligc
6fa06563ce nfsv4 support, add -o vers=4 to mount commands if site.useNFSv4onAIX is set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-24 11:25:16 +00:00
sjing
210befa753 Hitachi PMR fix - swapnfs is not available when paging resource is chaged.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-26 03:40:55 +00:00
ligc
1183c25a69 add support for cleaning up xcatpost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-04 08:58:30 +00:00
linggao
a1ca68238e support arguments for postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-15 14:10:34 +00:00
sjing
df750af818 remove trailing comma for $servip.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7366 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-07 05:55:11 +00:00
daniceexi
c995741769 defect 3055837: make the runcmd subroutine has an argument to decide whether to output the error message when executing a command string
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-30 07:57:46 +00:00
daniceexi
b7054d0545 defect 3041747: IO::Socket::INET->new has problem to handle the hostname, use the IP to replace. And added the retry for update state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 01:34:22 +00:00
nott
2d5c1172ee updates for setting root pw
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 14:15:21 +00:00
nott
abfed2b0c6 Move the mkdir to before the getmypost call.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-12 12:14:15 +00:00
nott
7a90d5af50 Convert AIX post scripts to use installdir site attribute value.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-21 19:03:49 +00:00
daniceexi
c2eca76b66 removed some unnecessary code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 09:01:55 +00:00
wuzhy
d8021e73fb adjust the code for run_ps and setbootfromnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 03:48:29 +00:00
wuzhy
a1dc150258 adjust the log code for run_ps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 02:57:40 +00:00
wuzhy
2ca089af3a adjust the log code for run_ps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-12 09:22:55 +00:00
wuzhy
94f6e16af6 log the stdout & stderr of each postscript to the local log file on each compute node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-09 06:12:40 +00:00
wuzhy
4e780ead9b add the more addional log information to postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 08:17:04 +00:00
daniceexi
6b4b8e4ca2 the code drop of updatenode --security
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-21 13:11:47 +00:00
daniceexi
f8a71a9bde defect 2959471: The value of NODESETSTATE has the signal quotes,so the string comparing failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-26 08:57:19 +00:00
daniceexi
68882c353c defect 2900900: Add the local path of postscript to avoid be treated as a command when postscript named with a special key word like test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-20 10:00:27 +00:00
ligc
d8bbe38994 fix for bug 2922078: 1. use run_ps to run the postbootscripts on AIX. 2. updatenode nodename postscripts_name should not run postbootscripts on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-28 03:25:36 +00:00
nott
4ef1c14883 Handle -M input.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 18:17:15 +00:00
nott
4fa0b6620e Add support for the -m option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-25 15:55:08 +00:00
daniceexi
46189575e6 2858403: display a message when cannot load the IO::Socket::SSL package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-22 06:10:09 +00:00
daniceexi
8ff49f29a5 2849809: Display message when running the postscript or the postscript does not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-18 11:28:34 +00:00
ligc
2428c5a819 fix for bug 2843348: export PERL5LIB when running post scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 09:35:33 +00:00
nott
94d4275e85 Temporary fix for perl INC path issue.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 13:07:06 +00:00