// // Grid Restart (HAS) & Clusterware (CRS)

A technical troubleshooting blog about Oracle with other Databases & Cloud Technologies.

Grid Restart (HAS) & Clusterware (CRS)

1 min read

Identify 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