OCM 11g Preparation - Start, stop, configure and administer Oracle Grid Infrastructure

Configure and administer Grid Infrastructure can be done using the 2 main provided tools: "crsctl" and "srvctl".

  • srvctl start/stop -> Start/Stop the cluster services.
  • srvctl realocate -> Move some service, like the scan listener.
  • srvctl status -> Check if service is running.
  • srvctl config -> Display configuration.
  • srvctl modify -> Change configuration.
  • crsctl start/stop crs -> Start/Stop everything.
  • crsctl start/stop has -> Start/Stop everything (for Oracle Restart).
  • crsctl start/stop cluster -> Start/Stop everything (but OHASD).
  • crsctl enable/disable/config -> Setup/check autostart.
  • crsctl check -> Check status of main cluster base services.
  • crsctl stat -> Check status of all servers/resources.
  • ocrcheck -> Displays health of OCR
  • ocrconfig -> Add/Remove/Backup OCR
  • oifcfg -> Get/Set interfaces details
  • olsnodes -> Print nodes information (vip/pinned/status/etc)

One good training to see if you are good with everything is:

  1. Put your OCR / Voting Disk / +ASM SPFile inside the same diskgroup
  2. Disappear with this diskgroup (override all disks with DD)
  3. Bring it back online.
  4. Take a rest.

Path to Documentation:

Clusterware Administration and Deployment Guide -> E CRSCTL Utility Reference
Clusterware Administration and Deployment Guide -> C OLSNODES Command Reference
Clusterware Administration and Deployment Guide -> G Oracle Cluster Registry Utility Reference
Clusterware Administration and Deployment Guide -> D Oracle Interface Configuration Tool (OIFCFG) Command Reference
Real Application Clusters Administration and Deployment Guide -> A Server Control Utility Reference


Click here to go back to the Main OCM 11g Preparation page.

Have you enjoyed? Please leave a comment or give a 👍!

Leave a Reply

Your email address will not be published.