Thanks for your reply Andrew and Chrissie,<br><br><div class="gmail_quote">On Tue, Mar 17, 2009 at 2:48 PM, Andrew Beekhof <span dir="ltr"><<a href="mailto:beekhof@gmail.com">beekhof@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sat, Mar 14, 2009 at 19:14, Priyanka Ranjan <<a href="mailto:priyanka3rdfeb@gmail.com">priyanka3rdfeb@gmail.com</a>> wrote:<br>
> Hi All,<br>
> i am using suse 11 (openais+pacemaker ) cluster. do we have any way to get<br>
> nodeid or any other way to uniquely identify a node in cluster.<br>
<br>
</div>First question, why do you need it?<br>
Second question, do you want it programatically or via a command-line tool?<br>
</blockquote><div><br>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.<br>
<br>Thanks and Regards,<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Programatically it can be retrieved as part of the<br>
init_ais_connection() call (which connects to the pacemaker service)<br>
or, as chrissie suggested, cpg_local_get().<br>
A shell tool is on the to-do list.<br>
<br>
_______________________________________________<br>
Pacemaker mailing list<br>
<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
</blockquote></div><br>