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<node>  "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 stopped on this
> local node) .
> Thanks
> Regards.
> Alain
>> This might sound obvious but is an ssh call acceptable?

What about:

cat /var/lib/heartbeat/crm/cib.xml|grep "node id"|sed -n 
's/.*uname=\"\(.*\)\".*/\1/p'

?

-- 
RaSca
Mia Mamma Usa Linux: Niente รจ impossibile da capire, se lo spieghi bene!
[email protected]
http://www.miamammausalinux.org

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to