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
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 ...
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
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
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
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
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