Commit Graph

408 Commits

Author SHA1 Message Date
mxi1
b49259b7d0 modify one condition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-15 11:26:08 +00:00
mxi1
ca309c21f4 update the expresion for ksh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-15 09:50:34 +00:00
mxi1
9ade4a4125 update the code to get the last char of path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-15 09:45:20 +00:00
mxi1
b841208705 for defect 3087228
add two checkpoints in InstUtils.pm and aixlitesetup

    if the entry in litefile table is one file and the entry in spot is one directory,
    or the entry in litefile table is one directory and the entry in spot is one file,
    there will be one error message to indicate the user to update the spot or the litefile table

    One loop is added to do the check in InstUtils.pm;

    in aixlitesetup script, two checkpoints are added to make sure the entries in litetree is comatible with the litefile entry

    Also add one checkpoint in aixinstall.pm to see the return code of dolitesetup

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-15 08:34:00 +00:00
nott
d85d5620e0 oops - lost the last change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-13 16:47:51 +00:00
nott
5d7f09ca17 make sure perms are preserved on copy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-13 16:40:26 +00:00
mxi1
1607f2c06c one new script named "setbootfromdisk" is added,
which is used to change the default booting-up device to hard disk when the redhat (also including fedora, centos, sl etc) diskful installation is completed

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-12 08:26:20 +00:00
nott
d0c9509539 preserve file perms etc. when copying
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-11 20:44:25 +00:00
nott
094927e727 set directories to 755
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-11 17:35:40 +00:00
mxi1
db5d7b644f for defect 3078588,
the hostname value in /etc/niminfo is the long name, for example: cn1.cluster.com, the ME value will mismatch the value in statelite.table.
fixed it now.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-09 09:03:31 +00:00
nott
9aed282f82 fix processing litetree table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-07 16:19:07 +00:00
linggao
d1b206b160 fix in syslog script for rh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-05 18:22:56 +00:00
linggao
3062dd2251 handle rsyslog c4 for rh6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-05 18:13:18 +00:00
lissav
28043c81c2 do not substitute hostname if DB2, hostname not in the cfgloc file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-29 13:43:06 +00:00
lissav
f4a1daf346 For db2, must not substitute the hostname, there is no hostname in the cfgloc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-29 13:08:45 +00:00
sjing
1f049a1fd1 make /install as file system on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-16 09:34:26 +00:00
nott
6e77c62653 get hostname from niminfo file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-13 20:03:15 +00:00
nott
c96b13e4e8 add aixlitesetup script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-12 22:21:46 +00:00
nott
5ac39d9ba4 add aixlitesetup script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-12 22:17:39 +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
mxi1
3be5d3dec2 update the document to describe how to use otherpkgs script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 07:56:54 +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
mxi1
12c761c01a change the way to create the repository for one packgae with the
"xcat/xcat-core/xcat" styles

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-29 08:03:12 +00:00
jbjohnso
037be9579e Fix bugs in joindomain postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-24 15:51:31 +00:00
jbjohnso
16b5860d73 Fix ownership of kerberos credentials cache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-24 15:37:18 +00:00
jbjohnso
160692e00a -Fix AD support for RHEL6 deployed nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-24 15:35:32 +00:00
jbjohnso
f29da8e67b -Fix RHEL6 domain template package list, document TODO for SLES/RHEL5 AD
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-24 15:14:44 +00:00
jbjohnso
ff1194f783 -Take a pass at a functional RHEL6 domain join postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7200 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-24 15:00:22 +00:00
jbjohnso
54e0d006e0 Fix a theoretical problem in a theoretical script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-23 19:41:51 +00:00
daniceexi
a0e5597593 fix the error that handle the return code when initiate the syncfile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 03:21:19 +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
ligc
dac2795b0c fix for bug 3042443: node status is booting after installation finished
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 02:53:16 +00:00
jjhua
878d8aeb90 support for hpc integration(rsct)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-11 07:57:31 +00:00
linggao
b00735762e ospkgs supports groups for RH, CentOS, Fedora etc.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-04 12:43:28 +00:00
linggao
25507960cd support patterns for updating sles os packages in updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-30 20:20:51 +00:00
linggao
3e371cad5d minor fix on ospkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-23 18:59:22 +00:00
linggao
b1d09c5786 updatenode supproting upgrading os packages on Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-23 18:27:29 +00:00
mxi1
2ef5d53f9c for defect 3017528, seperate the "xcatdsklspost" from gettyset,
and also put xcatdsklpost to xcatpostinit, which works for both redhat and sles
thanks, Andrew(st-an-v)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 09:57:05 +00:00
mxi1
a6d8825046 move xcatdsklspost from gettyset to xcatpostinit on redhat,
will do the samething later


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 08:14:16 +00:00
mxi1
29142db40a remove the "-i" option from the "sed" command, which will fail in statelite environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 08:34:54 +00:00
linggao
f5a6f828f4 fix syslog so it works for snmove
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-30 19:20:15 +00:00
ligc
4b5553bfe6 IPv6 fix: add -o vers=4 to the mount command for IPv6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-17 07:38:54 +00:00
linggao
ec4bec2e1c bug fix in otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-09 19:21:09 +00:00
ligc
151a2a4603 fix for IPv6 sshd configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-09 12:34:14 +00:00
daniceexi
286b317cd8 defect 3013633: remove all the directories created by ftp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-09 09:45:16 +00:00
ligc
0945b6f266 for ipv6, accept connection from IPv6 ip addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-08 09:15:10 +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
b24439b204 fix calls to mkssys and mkitab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 12:57:43 +00:00
ligc
f7a46424bf add autostart for setupntp on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 08:36:52 +00:00
mxi1
c5fea87cfd for defect 2979871, if NODESETSTATE=statelite, we will use "cp -a" and "echo '' " to emulate "rm -f" action
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 06:50:38 +00:00