Sometimes we have to do shutdown / restart the database in a cluster environment, there are several ways that make us not so sure. Or even if not careful will lead to a more complex problem again.
Here are steps to restart / shutdown the database in a cluster environment:
Freezing Veritas Cluster-group service to existing group:
#haconf -makerw
#hagrp -freeze Oracle-ClusterName
#hagrp -freeze cvm
#hagrp -freeze vtape
#haconf –dump -makero
See whether the service group status was the Freeze
#hastatus –sum |grep G
(Restart / shutdown Oracle DB, or other actions)
To unfreeze Veritas Cluster-group service to existing group:
#haconf -makerw
#hagrp -unfreeze Oracle-ClusterName
#hagrp -unfreeze cvm
#hagrp -unfreeze vtape
#haconf –dump -makero
Here are steps to restart / shutdown the database in a cluster environment:
Freezing Veritas Cluster-group service to existing group:
#haconf -makerw
#hagrp -freeze Oracle-ClusterName
#hagrp -freeze cvm
#hagrp -freeze vtape
#haconf –dump -makero
See whether the service group status was the Freeze
#hastatus –sum |grep G
(Restart / shutdown Oracle DB, or other actions)
To unfreeze Veritas Cluster-group service to existing group:
#haconf -makerw
#hagrp -unfreeze Oracle-ClusterName
#hagrp -unfreeze cvm
#hagrp -unfreeze vtape
#haconf –dump -makero