Re: [Linux-HA] Sort of crm commandes but off line ?

2011-03-25 Thread Andrew Beekhof
On Thu, Mar 24, 2011 at 2:32 PM, Alain.Moulle wrote: > Hi, > Ok I think my question was not clear : in fact, the pb is not to > do or not ssh "crm ..." , the pb is just to know the > hostname of the node to ssh it , in another way than parsing > the cib.xml to know which other nodes are in the sa

Re: [Linux-HA] Sort of crm commandes but off line ?

2011-03-24 Thread RaSca
Il giorno Gio 24 Mar 2011 15:11:57 CET, Alain.Moulle ha scritto: > Thanks but that's a search in cib.xml ... I'll already have a solution > with xpath for that: > xpath /var/lib/heartbeat/crm/cib.xml > /cib/configuration/nodes/node/@uname 2>/dev/null > etc. > My question was slightly different ...

Re: [Linux-HA] Sort of crm commandes but off line ?

2011-03-24 Thread Alain.Moulle
Thanks but that's a search in cib.xml ... I'll already have a solution with xpath for that: xpath /var/lib/heartbeat/crm/cib.xml /cib/configuration/nodes/node/@uname 2>/dev/null etc. My question was slightly different ... but anyway, I'll parse cib.xml Thanks a lot. Regards Alain RaSca a écrit

Re: [Linux-HA] Sort of crm commandes but off line ?

2011-03-24 Thread RaSca
Il giorno Gio 24 Mar 2011 14:32:09 CET, Alain.Moulle ha scritto: > Hi, > Ok I think my question was not clear : in fact, the pb is not to > do or not ssh "crm ..." , the pb is just to know the > hostname of the node to ssh it , in another way than parsing > the cib.xml to know which other nodes ar

Re: [Linux-HA] Sort of crm commandes but off line ?

2011-03-24 Thread Alain.Moulle
Hi, Ok I think my question was not clear : in fact, the pb is not to do or not ssh "crm ..." , the pb is just to know the hostname of the node to ssh it , in another way than parsing the cib.xml to know which other nodes are in the same HA cluster as the node where I am (knowing that corosync is s

Re: [Linux-HA] Sort of crm commandes but off line ?

2011-03-24 Thread Randy Katz
This might sound obvious but is an ssh call acceptable? On 3/23/2011 8:38 AM, Alain.Moulle wrote: > Hi, > > I'm looking for a command which will give to me information of the HA > cluster , > such as for example all nodes hostnames which are in the same HA cluster BUT > from a node where Pacemaker

[Linux-HA] Sort of crm commandes but off line ?

2011-03-23 Thread Alain.Moulle
Hi, I'm looking for a command which will give to me information of the HA cluster , such as for example all nodes hostnames which are in the same HA cluster BUT from a node where Pacemaker is not active. For example: I have a cluster with node1 , node2, node3 Pacemaker is running on node2 & node