Stopping Recovery Appliance Services
You must stop the Recovery Appliance services, Oracle Database File System, Oracle Database, and the cluster services.
To stop the Recovery Appliance services:
-
Disable the keystore as part of appliance shutdown. If the keystore is not created, skip this step.
If a keystore is created, this is required to stop the HSM wallet for copy to cloud encryption.
Before appliance shutdown, run:
[root@myhost ~]# racli disable keystore [root@myhost ~]# racli status keystore Node: zdlra41 Wallet Type: HSM Status: Closed Node: zdlra42 Wallet Type: HSM Status: Closed
-
Log in as
oracle
to either Recovery Appliance compute server. -
Open a SQL connection to Oracle Database as the
rasys
user:$ sqlplus rasys
-
Check the status of the services:
SQL> SELECT state FROM ra_server; STATE ------------ ON
-
Shut down Recovery Appliance services:
SQL> exec dbms_ra.shutdown;
-
Disconnect from Oracle Database:
SQL> exit
-
If Oracle Secure Backup is configured:
-
Switch to the
root
user. -
Check the current status of Oracle Secure Backup:
# $GRID_HOME/bin/crsctl status res osbadmin NAME=osbadmin TYPE=cluster_resource TARGET=ONLINE STATE=ONLINE on example01adm04
-
If Oracle Secure Backup is online, then stop it:
# $GRID_HOME/bin/crsctl stop res osbadmin
-
Switch back to the
oracle
user.
-
-
Check the status of Oracle Database:
$ srvctl status database -d zdlra5 Instance zdlra51 is running on node radb07 Instance zdlra52 is running on node radb08
-
Stop Oracle Database:
$ srvctl stop database -d zdlra5
-
Verify that Oracle Database is stopped:
$ srvctl status database -d zdlra5 Instance zdlra51 is not running on node radb07 Instance zdlra52 is not running on node radb08
-
Switch to the
root
user. -
Stop the Oracle Clusterware stack on all nodes in the cluster:
# $GRID_HOME/bin/crsctl stop cluster -all CRS-2673: Attempting to stop 'ora.crsd' on 'zdlradb07' CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'zdlradb07' CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'zdlradb07' CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'zdlradb07' . . . #
If the command fails, reenter it with the
-f
option. -
On each compute server, run the following command to stop the Oracle Cluster Ready Services (CRS):
# $GRID_HOME/bin/crsctl stop crs CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'radb08' CRS-2673: Attempting to stop 'ora.crf' on 'radb08' CRS-2673: Attempting to stop 'ora.mdnsd' on 'radb08' . . . CRS-2677: Stop of 'ora.crf' on 'radb08' succeeded CRS-2677: Stop of 'ora.mdnsd' on 'radb08' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'radb08' has completed CRS-4133: Oracle High Availability Services has been stopped.
-
Shut down or reboot the hardware as required, in the following order:
-
Compute servers
-
Storage servers
-
Rack and switches
-