Commit Graph

56 Commits

Author SHA1 Message Date
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
daniceexi
e93810a23e handle the output message for the updatenode when run the postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 11:41:16 +00:00
linggao
04c3f3d5fe handles otherpkgs and syncfiles being put into xcatdefault on postscritps table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-29 21:25:59 +00:00
nott
46b4d61fde Change status to booted for stanalone nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-23 17:07:11 +00:00
daniceexi
677047fe75 The code drop of Syncing File function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 13:08:51 +00:00
nott
26ab530a32 Switch to use port 3001 and misc. updates.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3719 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-07 14:57:17 +00:00
nott
0bab2757bf Remove xcataixpost from inittab file for duskfull AIX nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-08 19:21:42 +00:00
nott
16831f02d3 Clean up creation of xcatinfo file and finding the server name.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-08 17:08:10 +00:00
daniceexi
05c9e4b58f The first phase code drop for CFM like funtion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-04 15:33:44 +00:00
nott
ee79fb1cc1 Copy postscript with correct permissions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-14 17:07:10 +00:00
nott
14fc9d745e Move chomp inside conditional
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-09 17:49:05 +00:00
wanghuaz
4f0d05a184 xcataixpost didn't export PATH for /xcatpost, so if user run updatenode, compute node cannot run postscripts in /xcatpost successfully
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-09 12:12:29 +00:00
nott
ef438a4338 Set tmezone and root pw
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 20:13:17 +00:00
wanghuaz
ef1ede014d myxcatpost_{NODE} is just a list of scripts. It doesn't provide the return code. The error check should be done in each script.
But currently xcat check the return of myxcatpost_{NODE} which will fail.  Remove the check code.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-29 11:05:56 +00:00
nott
4e3fc2db8b Misc updates to AIX postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 14:38:16 +00:00
linggao
7850b36aa2 changed setting from nonodestatus to nodestatus :-)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 19:44:23 +00:00
linggao
cf1eb5011c added a site table attribute 'nonodestatus' so that the node status updates can be turned off during the node deployment, node discovery and node power on/off
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 03:12:03 +00:00
nott
5e7008e55d Misc updates & cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-10 19:53:36 +00:00
nott
27a28da7da Updates to AIX postscripts for service node support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-10 13:56:52 +00:00
linggao
c9ceae7dd4 fix for scaling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-22 04:03:24 +00:00
linggao
5bc56a4cc6 userability improvement on updatenode command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-09 03:20:21 +00:00
linggao
cae61f138d bug fix for AIX post install script for node status update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-15 21:01:38 +00:00
nott
67333981b9 Create xcatinfo file on service nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-07 17:45:21 +00:00
linggao
05295fba00 made all postscripts executable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-01 20:05:10 +00:00
linggao
b908e634ea more work on node status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-29 16:33:21 +00:00