[Pacemaker] do we have nodeid?

Andrew Beekhof beekhof at gmail.com
Tue Mar 17 05:18:14 EDT 2009


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?

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.




More information about the Pacemaker mailing list