[Pacemaker] do we have nodeid?
Priyanka Ranjan
priyanka3rdfeb at gmail.com
Wed Mar 18 07:28:38 UTC 2009
Thanks for your reply Andrew and Chrissie,
On Tue, Mar 17, 2009 at 2:48 PM, Andrew Beekhof <beekhof at gmail.com> wrote:
> On Sat, Mar 14, 2009 at 19:14, Priyanka Ranjan <priyanka3rdfeb at gmail.com>
> wrote:
> > Hi All,
> > i am using suse 11 (openais+pacemaker ) cluster. do we have any way to
> get
> > nodeid or any other way to uniquely identify a node in cluster.
>
> First question, why do you need it?
> Second question, do you want it programatically or via a command-line tool?
>
Actually i edited the nodeid field in openais.conf with an integer value,
but in GUI i did't see that integer value. it was showing the nodename
only. i wanted to verify it , whether the nodeid is changed to an integer
or not and whehter i changed the nodeid in right way or not.
Thanks and Regards,
>
> Programatically it can be retrieved as part of the
> init_ais_connection() call (which connects to the pacemaker service)
> or, as chrissie suggested, cpg_local_get().
> A shell tool is on the to-do list.
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090318/18d33db2/attachment-0002.htm>
More information about the Pacemaker
mailing list