[Linux-ha-dev] location constraints based on operating system

Sebastian Reitenbach sebastia at l00-bugdead-prods.de
Mon Nov 19 03:34:54 MST 2007


Hi, 

after I got the pingd up and running, and found it useful to move resources 
throught the cluster, based on ping connectivity. 
For my cluster at home, I'd like to setup resouce locations based on the 
nodes operating system. E.g. I know that a Xen resource will not work on an 
OpenBSD host, therefore, when I create a Xen resource, I'd create a location 
constraint for it, with -INFINITY in case the Operating system of the node 
is OpenBSD.
I'd go read the source of pingd, and would create sth. similar, that runs 
uname -s and updates it as a transient attribute in the cib to the node it 
is running on.
Or maybe I don't need to do this, because it is already possible somehow?

kind regards
Sebastian



More information about the Linux-HA-Dev mailing list