capability to call preonline/postonline external scripts as res-grp attributes
Preonline and PostOnline are the most common used triggers.
I know triggers exists to call preonline scripts etc..but it would be very handy if VCS resource group has an attribute to call external scripts just like triggers
This doesnt mean we should take out the trigger capability associated with resource group state changes..they can continue to exist
But add new attribute associated with resource group or even resource to call external script as preonline and postonline
for eg new attributes to resource group:
Preonline script "xxx"
Postonline script "yyy"
many customers I have worked with need to call some pre or post scripts as part of bringing up a resource group or resource.
Integrating and testing triggers is an overkill in most situations. A simple attribute associated with Res grp or Resource would come in very handy
For instance: IP agent
we have a case where we have multiple vlans on cluster node. I need to swing the default gateway of the node from one gateway addr to another so as to eliminate asymetric routing issues.
This is usually the case when you have QA server running as hot standby for prod services. QA and Prod would be on different VLANs.So when Prod services are failed over ( VCS shutting down QA automatically ) the def-router address on server need to change from QA gateway to Prod gateway.
I could do this by trigger but testing is a pain.
IF an attribute exists in resource group or resource, for calling an external script as preonline or postonline, situations like this will be very easy to implement