Grid Restart (HAS) & Clusterware (CRS)
1 min readIdentify if Grid ASM is Cluster ware or High Availability Solution
Check in OS Platform (Oracle /Redhat Linux)
if [[ `grep ^HAS_USER /etc/init.d/init.ohasd` = "HAS_USER=oracle" ]];then
echo "GRID Restart found..."
elif [[ `grep ^HAS_USER /etc/init.d/init.ohasd` = "HAS_USER=root" ]];then
echo "GRID Clusterware found..."
else
echo "GRID Software not found."
fi