Huang Zhen wrote:
I can change the script.
We have two ways to implement it.
One is searching the class of the RA in the order of ocf, heartbeat,
lsb(/etc/init.d/)
The problem of this way is if there are more than one class of the RA,
only the first one will be return.
The other way is let user give the class of RAs as a parameter of the
script.
But the problem is that maybe the RAs belong to different classes.
What would you prefer?
Search order you gave is correct. Keep it simple.
--
Alan Robertson <[EMAIL PROTECTED]>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/