[Pacemaker] Pacemaker is initializing the service before mounting the partition
Cristiane França
cristianedefranca at gmail.com
Fri Mar 8 17:43:38 UTC 2013
Hi,
My cluster is presenting error on startup of the service postgresql because
this service is being initialized before mounting the partition /sistema.
How can I configure Pacemaker to start the Postgresql only after mounting
the partition /sistema?
My server configuration:
primitive drbd_sistema ocf:linbit:drbd \
params drbd_resource="sistema" \
op monitor interval="15s"
primitive sistema_fs ocf:heartbeat:Filesystem \
params device="/dev/drbd2" directory="/sistema" fstype="ext4"
...
primitive postgresql ocf:heartbeat:pgsql \
params pgctl="/usr/bin/pg_ctl" psql="/usr/bin/psql" start_opt=""
pgdata="/sistema/pgsql/data/" config="/sistema/pgsql/data/postgresq
l.conf" pgdba="postgres" \
op start interval="0" timeout="120s" \
op stop interval="0" timeout="120s" \
op monitor interval="30s" timeout="30s" depth="0" \
meta target-role="Started"
Regards,
Cristiane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130308/3bc07c51/attachment-0003.html>
More information about the Pacemaker
mailing list