Commit Graph

27 Commits

Author SHA1 Message Date
sjing
23bf0b0c9c fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:32:16 +00:00
lissav
f730076d0f change to system call to service postgresql start, to work around known problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 14:47:15 +00:00
lissav
cfcf1b8cfc check for could not connect to database postgres error on createdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 14:09:17 +00:00
lissav
bd1a88c706 check for could not connect to database postgres error on createdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 13:57:24 +00:00
lissav
cf60db528c a few improvements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 17:51:40 +00:00
lissav
1689390cc3 wait up to 30 seconds for postgresql to start before trying to create the database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 16:23:04 +00:00
lissav
3d412df13c wait up to 30 seconds for postgresql to start before trying to create the database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 16:21:37 +00:00
lissav
1fdcfdb959 fix for defect 3562802
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 16:05:33 +00:00
lissav
709cd8c0ac add check for perl-DBD-Pg installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-29 13:50:56 +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
7ba5f5a827 fix ODBCsetup code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 12:25:00 +00:00
lissav
d67c1ad4c8 fix odbc setup of odbcinst.ini file database name wrong
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 12:06:17 +00:00
lissav
397d807fb6 Add option -N to only setup the database, do not backup/restore of start/stop xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 18:24:31 +00:00
lissav
fd9dc84806 add root user to pg, needed to run odbc and pg_dump/restore as root
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 12:48:04 +00:00
lissav
32da90eec2 handle changing paths based on 9.x ptf level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12975 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 17:06:57 +00:00
lissav
81c02cd17b fixed some of the error processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 15:10:32 +00:00
lissav
88b303e416 tested with posgresql 9.0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 13:51:55 +00:00
lissav
cdeab53cfd put back database backup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 18:25:48 +00:00
lissav
bc0d3dce09 implemented perl expect, so no password prompting required and XCATPGPW env variable to supply password. Still needs testing on 90 and add PCM roles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 18:04:28 +00:00
lissav
5c2489880d Added support additional PCM support, still needs work and testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-30 15:29:18 +00:00
lissav
abcbfd3f3d fix messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 17:52:21 +00:00
lissav
e1b1cdb17e add odbc support for Linux only
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 13:59:42 +00:00
sjing
be056ae2d0 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@12319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:03:10 +00:00
lissav
6c3745edff fix creation of cfgloc file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-09 17:35:16 +00:00
lissav
ffb252217c fix so you can migrate between mysql/db2/pgsql
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-06 12:35:49 +00:00
lissav
5292ab865a fix defect 3145930
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-30 12:41:39 +00:00
lissav
9160ee7b51 moving *sqlsetup commands to client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7746 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-04 19:18:30 +00:00