<div dir="ltr">Hi,<div><br></div><div>Any idea what could have gone wrong or if there are other ways to achieve the same ?</div><div><br></div><div>Regards,</div><div>Sriram.</div><div><br></div><div><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Sriram</b> <span dir="ltr"><<a href="mailto:sriram.ec@gmail.com">sriram.ec@gmail.com</a>></span><br>Date: Thu, Aug 3, 2017 at 12:31 PM<br>Subject: Notification agent and Notification recipients<br>To: Cluster Labs - All topics related to open-source clustering welcomed <<a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a>><br><br><br><div class="HOEnZb"><div class="h5"><div dir="ltr"><div class="gmail_quote"><br><div dir="ltr">Hi Team,<div><br></div><div>We have a four node cluster (1 active : 3 standby) in our lab for a particular service. If the active node goes down, one of the three standby node becomes active. Now there will be (1 active : 2 standby : 1 offline).</div><div><br></div><div>Is there any way where this newly elected node sends notification to the remaining 2 standby nodes about its new status ?</div><div><br></div><div>I was exploring "notification agent" and "notification recipient" features, but that doesn't seem to work. /etc/sysconfig/notify.sh doesn't get invoked even in the newly elected active node. </div><div><div><br></div><div>Cluster Properties:</div><div> cluster-infrastructure: corosync</div><div> dc-version: 1.1.17-e2e6cdce80</div><div> default-action-timeout: 240</div><div> have-watchdog: false</div><div> no-quorum-policy: ignore</div><div> <b>notification-agent: /etc/sysconfig/notify.sh</b></div><div><b> notification-recipient: /var/log/notify.log</b></div><div> placement-strategy: balanced</div><div> stonith-enabled: false</div><div> symmetric-cluster: false</div></div><div><br></div><div><br></div><div>I m using the following versions of pacemaker and corosync.</div><div><div><br></div><div>/usr/sbin # ./pacemakerd --version</div><div>Pacemaker 1.1.17</div><div>Written by Andrew Beekhof</div><div>/usr/sbin # ./corosync -v</div><div>Corosync Cluster Engine, version '2.3.5'</div><div>Copyright (c) 2006-2009 Red Hat, Inc.</div></div><div><br></div><div>Can you please suggest if I m doing anything wrong or if there any other mechanisms to achieve this ?</div><div><br></div><div>Regards,</div><div>Sriram.</div></div>
</div><br></div>
</div></div></div><br></div></div>