<div dir="ltr"><div>Hi, </div><div>My cluster is presenting error on startup of the service postgresql because this service is being initialized before mounting the partition /sistema.</div><div><br></div><div>How can I configure Pacemaker to start the Postgresql only after mounting the partition /sistema?</div>
<div><br></div><div><br></div><div>My server configuration:</div><div><br></div><div>primitive drbd_sistema ocf:linbit:drbd \</div><div> params drbd_resource="sistema" \</div><div> op monitor interval="15s"</div>
<div>primitive sistema_fs ocf:heartbeat:Filesystem \</div><div> params device="/dev/drbd2" directory="/sistema" fstype="ext4"</div><div><br></div><div><br></div><div>... </div><div><br>
</div><div>primitive postgresql ocf:heartbeat:pgsql \</div><div> params pgctl="/usr/bin/pg_ctl" psql="/usr/bin/psql" start_opt="" pgdata="/sistema/pgsql/data/" config="/sistema/pgsql/data/postgresq</div>
<div>l.conf" pgdba="postgres" \</div><div> op start interval="0" timeout="120s" \</div><div> op stop interval="0" timeout="120s" \</div><div> op monitor interval="30s" timeout="30s" depth="0" \</div>
<div> meta target-role="Started"</div><div><br></div><div><br></div><div><br></div><div>Regards,</div><div>Cristiane</div></div>