Hi 2011/6/9 Lars Ellenberg <lars.ellenb...@linbit.com>: > On Wed, Jun 08, 2011 at 05:04:42PM +0200, Lars Ellenberg wrote: >> On Wed, Jun 08, 2011 at 05:59:24PM +0900, Takatoshi MATSUO wrote: >> > Hello >> > >> > I am writing Master/Slave resource agent. >> > I want to use "$OCF_RESKEY_CRM_meta_notify_master_uname" in monitor >> > to know where master is, but It's empty. >> > Meanwhile It's not empty in start. >> > >> > Is this specification ? >> >> No, that's a bug, and it has been fixed. >> Please upgrade your pacemaker. > > Hm. Wait. Unset on monitor? That may be something different. > I was thinking of stale info on "stop", > specifically > http://developerbugs.linux-foundation.org/show_bug.cgi?id=2545 > > Still, I suggest to retry with a more recent Pacemaker and glue, > unless you are already using the latest greatest ;)
I update pacemaker from 1.0.10 to 1.0.11 which includes same patch (http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/3bb7538f9503) and I use cluster-glue 1.0.7. On start and stop, I can get master names, but it's empty on monitor Regards, Takatoshi MATSUO _______________________________________________ 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker