You can configure the Application agent to ensure the OHASD process is made highly available in the VCS cluster.
To configure the Application agent for the Ohasd process to ensure the service is online
Configure the Application agent
Application ohasd_res ( StartProgram = "<GRID_HOME>/bin/crsctl start has" StopProgram = "<GRID_HOME>/bin/crsctl stop has" PidFiles @node1 = { "<GRID_HOME>/ohasd/init/node1.pid" } PidFiles @node2 = { "<GRID_HOME>/ohasd/init/node2.pid" } )
Set up the resource dependency on the Ohasd daemon if the resource is configured:
In the following dependency tree, ohasd resource is configured in a failover service group or parallel service group.
Run the # $GRID_HOME/bin/srvctl disable has command to disable the automatic startup of ohasd on all the nodes in the VCS cluster.