Commit Graph

55 Commits

Author SHA1 Message Date
ligc
49814b311c fix a message typo in *sqlsetup scripts 2013-08-01 16:42:45 +08:00
immarvin
5d479620a4 repleace the servcie stuff with newly added generic subroutines in xcat-client 2014-06-09 06:40:14 -07:00
lissav
5f6ccbff86 change db2sqlsetup to look for files in /opt/xcat/share/xcat/scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-12 18:33:29 +00:00
sjing
530adb3db1 fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:46:41 +00:00
nott
a4ee0bb853 fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:45:31 +00:00
lissav
d04aed5d42 add -N flag to support only setting up the database , not backup and restore xcat into it or start the xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 11:25:06 +00:00
sjing
846cb5662e the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 01:58:20 +00:00
lissav
0377e50e05 Add additional LL setup for authentication when running db2sqlsetup -S -o
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 15:17:07 +00:00
lissav
f1df4dbfe4 fix defect 3474407
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-24 13:15:27 +00:00
lissav
19b8930767 remove rc.db2 setup does not work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-01 11:27:08 +00:00
lissav
6f7df46e19 Add check that databaseloc is not in the site.installdir directory, that is also not in the installloc directory defect 3392944
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10337 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-22 15:45:18 +00:00
lissav
09f05896cc fix message about missing 32 bit packages for redhat6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-03 20:54:08 +00:00
lissav
e12bf7bd77 put in wrong path for odbcinst.ini when databaseloc set in site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-27 11:54:37 +00:00
lissav
cc862bb686 fix for defect 3363367 need to create /etc/rc.db2 file and update with EXTSHM=ON
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-12 13:59:42 +00:00
lissav
5eccf45ec4 add check for 32 bit unixODBC, pam and openssl for Redhat 6 CNM support defect 3314331
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 18:55:14 +00:00
lissav
515265510f fix defect 3314547
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-10 10:33:09 +00:00
lissav
e19be49149 Make the databaseloc directory, if it does not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-08 15:37:50 +00:00
lissav
cf1b14ada8 add instance id password change option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 17:23:11 +00:00
lissav
789b4f29e2 Have admin enter passwd twice, hide commands with passwords in them in verbose mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-03 17:54:59 +00:00
lissav
78048161f9 fix message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-03 11:35:54 +00:00
lissav
928cd9465c fix cron message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-19 12:28:20 +00:00
lissav
79e1ca20b6 add cron entry for reorg tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-18 12:01:20 +00:00
lissav
40bd9954d1 support WSE and ESE
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-29 14:46:35 +00:00
lissav
75ec735cde comment out remove support, needs more testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-13 17:08:42 +00:00
lissav
50f9aad87c add setup of DB2 in upstart on Redhat 6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-12 13:48:37 +00:00
lissav
4e5445281a remove putting db2 in /etc/init.d
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-09 11:24:06 +00:00
lissav
d0909749b5 add workaround to setup DB2 to come up after reboot on Linux. Check to see if writable directory when running -o option on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-05 18:03:45 +00:00
lissav
1275bbbce3 fix for defect 3232260
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-21 17:46:12 +00:00
lissav
31df1350c7 add support for site.databaseloc attribute to define where the DB2 instance and database will be created
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-17 13:48:43 +00:00
lissav
086cfe5f5f add db2 paths for root
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 19:26:32 +00:00
lissav
9cd021b11c update the ODBC setup routine based on LL and CNM requirements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-16 16:18:39 +00:00
lissav
78e217be96 fixes for defect 3176647
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-10 13:34:38 +00:00
lissav
66076a6ba4 check that perl-DBD-DB2 is installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-09 20:05:34 +00:00
lissav
186781a22d allow migration between databases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-06 13:05:19 +00:00
lissav
9b26e72eaa fix defect 3140519, start of DB2 xcatdb instance after reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-10 18:18:05 +00:00
lissav
b6049b5f14 fix defect 3146884 odbc setup on Service Node not correct
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-04 17:17:30 +00:00
lissav
673c9a837d fix defect 3145930
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-30 13:10:12 +00:00
yinle
5d506696d6 Fix bug 3123478: db2sqlsetup routine -r function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-07 13:07:07 +00:00
lissav
e302bd2993 Fix failure in db2start on Redhat6 on first try, add retry logic defect 3110443
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-01 12:26:03 +00:00
yinle
98c25b025a Modify some ugly code. Add some information to record errors.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-30 05:59:21 +00:00
lissav
9604f628ce fix update of the ODBC files when mysql and db2 on the system defect 3115036
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8277 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-29 13:46:37 +00:00
yinle
e657918601 Fix defect :3120322 can't remove group xcatdb when db2sqlsetup -r -S
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-29 09:52:49 +00:00
lissav
96bc6b1945 Exit with error if db2start fails
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-17 14:09:03 +00:00
lissav
5c3c53b6ed start daemon after create instance failure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-16 12:45:25 +00:00
lissav
805e82dbda make sure xcatdb is running when db2sqlsetup is executed defect 3107948
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-15 13:26:24 +00:00
yinle
527d13c4b4 Modified the script after discussing with Lissa.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-02 13:26:08 +00:00
yinle
13e014c4a1 modify the flag and the process of changing /etc/services file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-01 03:26:41 +00:00
lissav
1dfc9549b1 fix for defect 3097641
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-29 11:59:22 +00:00
yinle
3842107758 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2010-10-29 09:22:11 +00:00
yinle
0dea4991af Add the part of removing DB2 and cleanup work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-29 08:19:10 +00:00