> On 4 Nov 2014, at 3:46 am, Andrei Borzenkov <arvidj...@gmail.com> wrote: > > В Mon, 3 Nov 2014 15:05:39 +0530 > Arjun Pandey <apandepub...@gmail.com> пишет: > >> Hi >> >> I have a 2 node CentOS -6.5 based cluster. This being run in active >> standby mode. >> When i want to trigger switchover from blackwidow to elektra (using >> 1.pcs standby blackwidow and 2. pcs unstandby blackwidow) it doesn't >> work. > > According to log it was half way through promoting on elektra when > blackwidow returned online > > Nov 03 05:45:25 [5780] elektra cib: notice: cib:diff: -- > <nvpair id="nodes-blackwidow-standby" name="standby" value="on"/> > > and became candidate for master election > > Nov 03 05:46:04 [5785] elektra crmd: info: abort_transition_graph: > te_update_diff:172 - Triggered transition abort (complete=0, node=blackwidow, > tag=nvpair, id=status-blackwidow-master-foo, name=master-foo, value=5, > magic=NA, cib=0.484.8) : Transient attribute: update > > Unfortunately it does not look like scores are generally logged, > but /var/lib/pacemaker/pengine/pe-input-167.bz2 should contain some > more details.
You can always see the scores afterwards by running: crm_simulate -sx /var/lib/pacemaker/pengine/pe-input-167.bz2 > >> The other direction elektra to blackwidow works correctly. >> I was comparing the decision of the DC for each of the cases. Based on >> crm_simulate output it's correct for each case. However after >> pre-promote i don't get a promote on elektra. Eventually blackwidow >> comes up and is promoted. This has been confirmed based on logs. >> >> Attaching logs as well as the the corosync log file from elektra. Can >> somebody point out why this is happening. The resource agent script >> for foo does nothing on pre-notify simply logs the notification type >> and the node on which action was being taken. >> >> I am attaching the pengine comparison output as well as logs for both cases. >> >> Thanks in advance for any pointers. >> >> >> Regards >> Arjun > > > _______________________________________________ > 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 _______________________________________________ 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