[Linux-HA] With CRM: How to find on which node the request is made

Andrew Beekhof beekhof at gmail.com
Mon Dec 10 02:06:18 MST 2007


resending since apparently all list traffic sent during Alan's  
"thinking period" on friday was discarded :-/
not happy.

On Dec 7, 2007, at 6:23 PM, Audet, Jean-Michel wrote:

>
> Hi,
> 	Programmatically, I am now able to retrieve the running nodes,
> retrieve my resources and find on which node my resources are running.
> I would also need to know which node I am currently running on.  I
> checked on the different crm_xx utility and I cannot find any way to  
> do
> that.  The only way I was able to retrieve this is by using heartbeat
> call get_mynodeid.  I was wondering if there is a way to do that  
> within
> CRM.

presumably you're not talking about crm_resource -W but mean "uname -n"?
or do you mean the uuid?  in which case crm_uuid -r will help.



More information about the Linux-HA mailing list