OCF-anything and run a series of commands after fail-over
Is it possible to run a series of commands (scripted) after the
OCF-anything resource script starts on the fail-over cluster node?
Here we have a 2 node cluster, in this cluster we have an own program
called "own-program" that will be started from the CRM with the
OCF-anything resource script. That is working fine, because
"own-program" stays in memory an can be monitored from within the CRM.
Now, when a node starts the "own-program" it needs some extra commands
after its has been started. Those command will be given by programs that
not stay in memory. Basically I want (if possible) to run a series of
commands after the OCF-anything script is initiated.