Professional Documents
Culture Documents
#crsctl stop cluster -all stops the cluster on all the nodes
#crsctl start cluster starts the cluster on local nodes
#crsctl start cluster -all starts the cluster on all nodes
#crsctl stop crs stops the cluster including OHAS
#crsctl start crs start the cluster stack
#crsctl quert css votedisk check the status of voting disk
#crsctl quert crs activeversion check the status of crs version
#crsctl status resource -t list of resources running on the cluster
#crsctl status resource -t -init list of background process for the resources
#crs_stat-t-v list of resources running on the cluster
DEBUG
Starting with Oracle 12c, the log and trace files of the clusterware files are
stored in the Automatic Diagnostic Repository (ADR) under the ADR_HOME
location $ADR_BASE/diag/crs/`hostname`/crs.
$ adrci
adrci> show homes
Nodeapps are standard set of oracle application services which are started
automatically for RAC.
Node apps Include:
1) VIP
2) Oracle Net listeners
3) Global Service Daemon
4) Oracle Notification Service (ONS).
Nodeapp Services run on each node of the cluster. They switch over to other
nodes through VIP during a failover.
If you want to add or modify a scan VIP: srvctl add | modify scan -n my-scan
To delete it: srvctl remove scan
Show backups:
ocrconfig -showbackup
After that, you have to copy these files on tape or in another backup location
(cp -p -R CRS_home/cdata/my_cluster_name /u03/backups )
To do a manual backup:
ocrconfig -export /u03/backups/exports/OCR_exportBackup.dmp
Start a PDB
On the current node [or on all the nodes]:
ALTER PLUGGABLE DATABASE my-PDB-name OPEN [Instances=all;]
You can also start the PDB with the associated service
This will NOT start the service(s) associated with this PDB.