RAC services failback to preferred nodes
DBA112Jul 17 2012 — edited Jul 18 2012Dear Experts,
RDBMS Version - 11.1.0.7, 4 node RAC on AIX.
I have a need to relocate services to same node after a node failure. For this, I'm trying to build a script that detects node failure and runs srvctl to relocate services to same node (failback) to preferred node instead of available nodes.
For instance, service 'srv1' has nodes - n1, n2 as preferred and n3, n4 as available. As per Design, if n1 crashes, srv1 gets relocated to n3 which is available. Instead, I want to relocate the service to what was originally preferred node - n1. Oracle suggests using callouts to implement such a thing, not too familiar with it.
Appreciate your help.
Thanks..