Commit Graph

440 Commits

Author SHA1 Message Date
ligc
0d6ee2b958 fix for bug 3148030: setbootfromnet handle the xcatmaster=<hostname>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-30 09:10:11 +00:00
daniceexi
6624476a9a fixed two syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-30 00:05:23 +00:00
ligc
a0f26aebfb hardeths work with RHEL6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-27 07:49:33 +00:00
sjing
2ed6bdc2dc corrected typo for gpfs-filesystem.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-27 01:40:10 +00:00
daniceexi
ef3ac4cf29 defect 3125260: make the %post part always return 0 so that rpm upgrade can finish as normal even when there's error in the %post
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-20 02:56:35 +00:00
lissav
da0b6e5dd1 put odbcsetup in front of all syslog messages to be able to more easily find them in the syslog during debug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-19 12:17:42 +00:00
lissav
c550bf7b96 put db2install in front of all syslog messages to be able to more easily find them in the syslog during debug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-19 12:13:35 +00:00
lissav
444a3b4fff chmod to 600 for all copies of cfgloc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-19 12:05:06 +00:00
mxi1
680a09572e the code to generate ifcfg-ethx files has been moved from rc.statelite to the enablekdump script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-16 09:36:17 +00:00
nott
d91215c378 sample postscript for creating resolv.conf file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-15 18:27:07 +00:00
lissav
4934bc649c more changes to support automatic db2install on Service Nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-14 13:05:51 +00:00
mxi1
dd661c6aa0 code is committed for kdump feature
the "dump" attribute is added for the linuximage table

/install/kdump/tmp directory will be created by default when xCAT rpm package is installed;

the "enablekdump" postscript is added for kdump feature

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-14 07:15:45 +00:00
lissav
59ef7af279 remove call to otherpkgs, it is not needed because it is covered by the otherpkgs postbootscript running
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-09 20:09:54 +00:00
sjing
6ea31621d3 Double check with design, Add /etc/init.d/HPCbootstatus.linuxinit on Linux for diskful node reboot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-08 03:26:44 +00:00
sjing
97a821a73b Double check with design, Add /etc/init.d/HPCbootstatus.linuxinit on Linux for diskful node reboot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8351 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-08 03:26:14 +00:00
sjing
659b01a6e2 update to reading xcat MN from xcatinfo file instead of using the exported $MASTER value, because it will be unreadable during diskfull reboot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-07 09:26:27 +00:00
sjing
434591e3b0 update to reading xcat MN from xcatinfo file instead of using the exported $MASTER value, because it will be unreadable during diskfull reboot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8347 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-07 08:37:44 +00:00
lissav
fab2089270 move logic of /opt/xcat/sbin/copycerts routine into servicenode, to remove need to call. First step in having this script not need the xCAT code installed on the SN for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-03 12:27:02 +00:00
lissav
c00f38d860 always get the cfgloc to the Service node and always setup this script is for a new install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-02 13:33:05 +00:00
lissav
388b9e362d make sure nfs is running before mounting the install directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-29 19:06:56 +00:00
sjing
e58bd3324e Minor change for the difference between Linux and AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-25 07:16:56 +00:00
sjing
d8e50df636 support xcatmon push model for HPC software.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-24 07:04:00 +00:00
daniceexi
54b364cb77 defect 3108361: make the syncfiles postscript can be run during the diskless node booting up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-16 12:27:42 +00:00
mxi1
6eead7224e update the repository path for redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-12 10:18:24 +00:00
mxi1
9d81c4e126 one bug in setbootfromdisk is fixed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-12 09:09:11 +00:00
daniceexi
40dfcd082f fix the issue that netowrk bridge does not work when virtual NIC trying to send out dhcp request
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-05 02:04:20 +00:00
linggao
f1a7345c19 monior fix for otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-04 19:35:10 +00:00
lissav
034a2b75b9 implement disable ssh between node on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-01 19:41:12 +00:00
lissav
519bb5b728 add check to see if ssh passwordless root login is to be setup on the node per design, see https://sourceforge.net/apps/mediawiki/xcat/index.php?title=Disable_ssh_root_passwordless_node-to-node_access#1._Overview
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-01 19:12:36 +00:00
linggao
d29713b817 updating all other packages before installing new in otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7946 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-27 18:22:21 +00:00
lissav
0e6878af7b add postscript to setup ODBC for MySQL or DB2 on Service Node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-22 12:16:37 +00:00
lissav
386f0aacc3 db2 client install and setup script verified on AIX 61, need linux testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-20 14:19:19 +00:00
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