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? > > 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 is not active. >> >> For example: I have a cluster with node1 , node2, node3 >> Pacemaker is running on node2& node3 >> Pacemaker is not running on node1 , so any crm command returns >> "Signon to CIB failed: connection failed >> Init failed, could not perform requested operations" >> I'm on node1 : I want to know (by script) if Pacemaker is active >> on at least another node in the HA cluster including the node >> where I am (so node1) >> >> Is there a command which could give me such information "offline" , >> or do I have to scan the uname fields in the record<nodes> ....</nodes> >> and to ssh on other nodes to get information ... >> >> Thanks >> Alain >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems >> >> > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > > >
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
