[Linux-cluster] Higher Grained Definition of IP AddressAssignments

C. Handel christoph at macht-blau.org
Tue Jun 15 07:27:23 UTC 2010


[define interface of cluster controlled ip resource]

> /usr/share/cluster/ip.sh appears to perform the link-monitoring in the

This is a resource agent script. What attributes a resource agent
accepts can be found by calling it with the option meta-data

/usr/share/cluster/ip.sh meta-data

There is no attribute interface. The agent will add the additional
address to the first interface that is in the same subnet.

You could edit the script and add a parameter interface yourself. Add
a new parameter into the XML at the beginning and access it in the
script with OCF_RESKEY_...

I don't understand what you are trying to do. If you are only handling
network interfaces as services, then rhcs is most likely the wrong
tool. If you would explain your goal we could probably suggest other
solutions.

Greetings
   Christoph




More information about the Linux-cluster mailing list