cb00d0e154
[fvt] 'pgsqlsetup -i ' does not work well in rhels7.3 and rhels7.4 #3579
2017-08-01 02:33:26 -04:00
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
cac418514f
xCAT-client: allow pgsqlsetup(1) to accept additional listen_addresses ( #3519 )
2017-07-20 21:14:04 -05:00
fb911143fe
perltidy all perl files, part 2
2016-07-21 13:27:40 -04:00
f4c6742e59
Modify pgsqlsetup to support sels12 SP1
2015-10-23 11:08:53 -04:00
6932f19ec1
check postgresql-server instead of postgresql
2015-10-08 17:02:23 -04:00
0240e7a444
failed to check postgresql package and ids
2015-10-08 14:33:16 -04:00
9f839cd82f
4612 Update script pgsqlsetup against PGSQL secure hole
2015-03-23 11:52:01 +08:00
5373b22b61
Bug#4408 pgsqlsetup didn't work on ubuntu
2014-11-18 09:57:24 -05:00
49814b311c
fix a message typo in *sqlsetup scripts
2013-08-01 16:42:45 +08:00
fbce828647
correct the message
2014-06-09 06:52:07 -07:00
5d479620a4
repleace the servcie stuff with newly added generic subroutines in xcat-client
2014-06-09 06:40:14 -07:00
835ab6b592
simplify messages for odbcsetup call
2014-01-08 11:14:22 -05:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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