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
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to