denrepo

OracleRAC & ASM

Stop, start and check a RAC database (srvctl)

Clusterware commands to stop the database, start it read-only, check its status, and start a single instance in MOUNT mode. Run one line at a time; don't paste the whole block.

Changes dataOS prompt

Tested on 12c, 19c · verified Sep 2026

This changes files or settings on the server. Check the names and values before you run it.
ora-srvctl-startstop.sh
1# From the OS prompt as the oracle owner. Run one line at a time.2 3# Status of every instance4srvctl status database -d <db_unique_name> -v5 6# Stop the database on all nodes7# srvctl stop database -d <db_unique_name> -o immediate8 9# Start the database read-only10# srvctl start database -d <db_unique_name> -o 'read only'11 12# Start one instance in MOUNT mode13# srvctl start instance -d <db_unique_name> -i <instance_name> -o mount

Run these at the operating system prompt.

Open in denrepo

More Oracle scripts: RAC & ASM