Hi Jorge,

that looks good. Thank you!

Stefan

Von: Jorge Armando Medina [mailto:jmed...@qindel.com]
Gesendet: Dienstag, 7. Januar 2014 18:49
An: The Pacemaker cluster resource manager
Betreff: Re: [Pacemaker] Howto check if the current node is active?

We used this in a postgres cluster

# Run drbdadm verify every saturday 3 am
00 03 * * 06 root [ $(/usr/sbin/crm_resource -Q -r g_postgres -W ) = 
$(hostname) ] && /sbin/drbdadm verify all

I hope you can use it.
_______________________________________________
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