Commit Graph

59 Commits

Author SHA1 Message Date
wuzhy
d04796a620 adjust the xcat log path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-27 05:52:26 +00:00
mxi1
62142858f3 update the wget code to download function,
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-23 05:37:55 +00:00
mxi1
c874b9e858 for ftp://$SIP/postscripts, "--cut-dirs" should be 1, not 2.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-22 07:16:11 +00:00
mxi1
68a9b1be07 the "--cut-dirs=2" option makes that "wget" cannot get "_xcat" and "_ssh" from
ftp://$SIP/postscripts, it's removed now.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-22 07:01:31 +00:00
mxi1
c5aa4d7198 =remove useless comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-20 03:29:10 +00:00
mxi1
6b4a78c22b use "wget" to get all the postscripts for statelite node,
won't use "mount" any more!


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 11:02:41 +00:00
linggao
500d775412 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 13:04:33 +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
daniceexi
6399a3f417 some minor modification related to updatenode --security
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5568 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-24 12:05:58 +00:00
daniceexi
da1c12d71c fix a minor bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-22 17:58:09 +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
linggao
bed877bd50 fix node status and updatenode for statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 20:54:06 +00:00
daniceexi
5921efb1a6 defect 2954181: add code logic to handle the case that new dhcpd which does not write the *.info file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 09:44:42 +00:00
lissav
c5cbd45911 add logger call for errors so we can detect them on the MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-23 15:15:32 +00:00
mxi1
650c20fc5d added statelite mode support in xcatdsklspost; <xcatdsklspost 4> stands for statelite mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-25 11:34:42 +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
6ea2ab172a fix for bug 2918528: remove postbootscripts from mypostscript when postscript name is specified with updatenode command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-22 04:34:29 +00:00
linggao
ca4deae18b added some postscripts to get ready for supporting postbootscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 14:25:36 +00:00
linggao
874280ef60 add -s in updatenode, xcatdsklspost supports retry logic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 21:22:07 +00:00
jbjohnso
f66a39818b -xCAT fix mistake in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 14:25:52 +00:00
jbjohnso
c0b683d6a9 -If getpostscript.awk fails, try multiple addresses in case the non-primary nic was mistakenly used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 14:12:48 +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
mxi1
13e2425112 the defect 2847578 is fixed; one retry_number is added to avoid the infinit loop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 08:28:04 +00:00
linggao
96d4832d75 made update node work for hardeth case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 20:36:53 +00:00
daniceexi
830f4ce4bc defect 2847600. Remove some useless messages from the standand output for updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 07:08:23 +00:00
jbjohnso
b2edbcc88c -Change postscripts to be backwards compatible with 2.2 packed images (2.3 users may have to repack images)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-01 18:39:07 +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
linggao
55198eca0d move addsiteyum from post.rh to xcatdsklspost when ADDSITEYUM is set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3873 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-23 20:56:57 +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
linggao
a525edd2fc moved the xCAT postscripts to init.d process for full install for SLES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-10 18:34:09 +00:00
jbjohnso
e25e9fe30a -Try out ceasing use of stunnel in favor of openssl everywhere
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-25 19:18:22 +00:00
linggao
166a0dab7c enhancement on retry for getpostscript in xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-19 18:44:02 +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
jbjohnso
9f63ade940 -Try to eliminate stunnel requirement in SLES11. This approach is cleaner and I would like to switch completely to it across the board when less risky
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-08 14:44:16 +00:00
jbjohnso
c22c889875 -Fix problem where xcatdsklspost can have 'too many arguments' on a certain line
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 03:25:59 +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
mxi1
1a237fc33f update xcatdsklspost for rhels5.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-19 08:45:16 +00:00
mxi1
95e0cfcb50 fix two silly bugs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-16 12:12:21 +00:00
mxi1
f4ad4ee896 update xcatdsklspost for SLES11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-16 07:22:21 +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
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
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
linggao
1f661e7f08 added function for showing node status in nodelist table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-25 03:04:56 +00:00
linggao
6ff1602d8e added feature to install extra 3rd party rpms during cluster install process or after the fact (usning updatenode command).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-08 18:54:30 +00:00
jbjohnso
0fca95bdbf -Update xcatdsklspost to accomodate SLES (dhcpcd fallback to dhclient info)
-Have RH/CentOS/Fedora forcibly remove GRUB attempts to directly use serial console, this causes hangs
-Tweak package list for SLES 10 stateless


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-27 18:21:23 +00:00