2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-25 13:12:03 +00:00

43 Commits

Author SHA1 Message Date
GONG Jie
78e4ea5285 Remove trailing spaces in file xCAT-client/bin/pgsqlsetup 2017-12-31 23:59:59 +00:00
immarvin
cb00d0e154 [fvt] 'pgsqlsetup -i ' does not work well in rhels7.3 and rhels7.4 #3579 2017-08-01 02:33:26 -04:00
khm
cb8ce84249 xCAT-client: allow pgsqlsetup(1) to accept additional pg_hba entries (#3527)
* xCAT-client:  allow pgsqlsetup(1) to accept additional pg_hba.conf entries

Currently pgsqlsetup(1) only sets up the MN ip address for access via
pg_hba.conf.  This change adds a -a flag to allow the user to specify
additional addresses for use in that file.

This is useful for users who already know what IP addresses will be
used by their service nodes, so they can pass them directly to the
pgsqlsetup program, without needing to edit pg_hba.conf (and avoiding
needing to restart postgresql and xcat after the edit).

* xCAT-client: fix formatting in pgsqlsetup(1)

* pgsqlsetup.1.pod:  clarify default setup

* pgsqlsetup.1.pod:  update usage section to reflect access flag

* pgsqlsetup.1:  refresh documentation

* xCAT-client/bin/pgsqlsetup: add -a/--access to usage statement
2017-07-25 02:34:50 -05:00
khm
cac418514f xCAT-client: allow pgsqlsetup(1) to accept additional listen_addresses (#3519) 2017-07-20 21:14:04 -05:00
Mark Gurevich
fb911143fe perltidy all perl files, part 2 2016-07-21 13:27:40 -04:00
Casandra Qiu
f4c6742e59 Modify pgsqlsetup to support sels12 SP1 2015-10-23 11:08:53 -04:00
Casandra Qiu
6932f19ec1 check postgresql-server instead of postgresql 2015-10-08 17:02:23 -04:00
Casandra Qiu
0240e7a444 failed to check postgresql package and ids 2015-10-08 14:33:16 -04:00
Lei Ai
9f839cd82f 4612 Update script pgsqlsetup against PGSQL secure hole 2015-03-23 11:52:01 +08:00
Casandra Qiu
5373b22b61 Bug#4408 pgsqlsetup didn't work on ubuntu 2014-11-18 09:57:24 -05:00
ligc
49814b311c fix a message typo in *sqlsetup scripts 2013-08-01 16:42:45 +08:00
immarvin
fbce828647 correct the message 2014-06-09 06:52:07 -07:00
immarvin
5d479620a4 repleace the servcie stuff with newly added generic subroutines in xcat-client 2014-06-09 06:40:14 -07:00
lissav
835ab6b592 simplify messages for odbcsetup call 2014-01-08 11:14:22 -05:00
xq2005
ac38b17a5a support pgsql on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-15 07:10:48 +00:00
xq2005
66e30f3a17 pgsqlsetup support postgresql on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 16:29:42 +00:00
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