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 ... but anyway, I'll parse cib.xml
> Thanks a lot.
> Regards
> Alain

Sorry, I don't think I really understood what do you want to obtain, but 
if a node is not connected to tha cluster, then i don't think it's 
possible to look for this kind of information anywhere else than 
checking the xml.

What about creating a shared area (external to the cluster, like an nfs 
mount) in which the cluster (with crm_mon resource agent) puts the 
cluster state (in html, for example)?

If a node is not connected to the cluster, than it should simply look in 
this area, parse the html (or txt, or whatever) and then understand who 
is in the cluster...

This should be real time informations, and not (possible) old xml file...

Hope this helps,

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