ClusterLabs / ClusterLabs/resource-agents
pgsql : ERROR: Unknown option: d Unknown option: l
- Dominant language
- Shell
- Stars
- 519
- Forks
- 608
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 7
Description
Hello,
i'll try a failover infrastructure with postgresql on ubuntu 14.04 with resource-agents 3.9.6.
My crm pgsql primitive is like that
```
primitive pgsql ocf:heartbeat:pgsql \
params \
pgctl="/usr/bin/pg_ctlcluster" \
psql="/usr/bin/psql" \
pgdata="/var/lib/postgresql/9.3/main/" \
config="/etc/postgresql/9.3/main/postgresql.conf" \
socketdir="/var/run/postgresql" \
start_opt="-p 5432" \
rep_mode="sync" \
node_list="node01 node02" \
restore_command="cp /var/lib/postgresql/pg_archives/%f %p" \
primary_conninfo_opt="keepalives_idle=60 keepalives_interval=5 keepalives_count=5" \
master_ip="192.168.15.33" \
stop_escalate="0" \
op start timeout="60s" interval="0s" on-fail="restart" \
op monitor timeout="60s" interval="7s" on-fail="restart" \
op monitor timeout="60s" interval="2s" on-fail="restart" role="Master" \
op promote timeout="60s" interval="0s" on-fail="restart" \
op demote timeout="60s" interval="0s" on-fail="stop" \
op stop timeout="60s" interval="0s" on-fail="block" \
op notify timeout="60s" interval="0s"
```
with ms and colocation with one VIP.
But when I start the ms resource I've got this error in syslog
```
Jun 12 14:51:28 node01 pgsql(pgsql)[18325]: INFO: Set all nodes into async mode.
Jun 12 14:51:28 node01 pgsql(pgsql)[18325]: ERROR: Unknown option: d Unknown option: l
Jun 12 14:51:28 node01 pgsql(pgsql)[18325]: ERROR: Can't start PostgreSQL.
```
What are thoses options d and l ?
Thanks for you're help
guidtz
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.