CRSCTL Commands: -
Cluster Related Commands |
|
crs_stat t |
Shows HA resource status (hard to read) |
crsstat |
Output of crs_stat t formatted nicely |
crsctl check crs |
CSS,CRS,EVM appears healthy |
crsctl stop crs |
Stop crs and all other services |
crsctl disable crs |
Prevents CRS from starting on reboot |
crsctl enable crs |
Enables CRS start on reboot |
crs_stop all |
Stops all registered resources |
crs_start all |
Starts all registered resources |
crsctl stop cluster -all |
Stops the cluster in all nodes |
crsctl start cluster -all |
Starts the cluster in all nodes |
SRVCTL Commands: -
Database Related Commands |
|
srvctl start instance -d <db_name> -i <inst_name> |
Starts an instance |
srvctl start database -d <db_name> |
Starts all instances |
srvctl stop database -d <db_name> |
Stops all instances, closes database |
srvctl stop instance -d <db_name> -i <inst_name> |
Stops an instance |
srvctl start service -d <db_name> -s <service_name> |
Starts a service |
srvctl stop service -d <db_name> -s <service_name> |
Stops a service |
srvctl status service -d <db_name> |
Checks status of a service |
srvctl status instance -d <db_name> -i <inst_name> |
Checks an individual instance |
srvctl status database -d <db_name> |
Checks status of all instances |
srvctl start nodeapps -n <node_name> |
Starts gsd, vip, listener, and ons |
srvctl stop nodeapps -n <node_name> |
Stops gsd, vip and listener |
srvctl status scan |
Status of scan listener |
srvctl config scan |
Configuration of scan listener |
srvctl status asm |
Status of ASM instance |
[oracle@rac1 ~]$ srvctl config database -d orcl Database unique name: orcl Database name: orcl Oracle home: /u01/app/oracle/product/12.1.0/db_1 Oracle user: oracle Spfile: +DATA/ORCL/PARAMETERFILE/spfile.269.1177209229 Password file: +DATA/ORCL/PASSWORD/pwdorcl.256.1177207239 Domain: bracecoder Start options: open Stop options: immediate Database role: PRIMARY Management policy: AUTOMATIC Server pools: Disk Groups: FRA,DATA Mount point paths: Services: Type: RAC Start concurrency: Stop concurrency: OSDBA group: dba OSOPER group: Database instances: orcl1,orcl2 Configured nodes: rac1,rac2 Database is administrator managed [oracle@rac1 ~]$ ps -ef|grep tns root 16 2 0 08:59 ? 00:00:00 [netns] grid 5796 1 0 09:04 ? 00:00:00 /u01/app/12.1.0/grid/bin/tnslsnr LISTENER -no_crs_notify -inherit grid 6793 1 0 09:06 ? 00:00:00 /u01/app/12.1.0/grid/bin/tnslsnr LISTENER_SCAN1 -no_crs_notify -inherit oracle 21368 5093 0 09:18 pts/2 00:00:00 grep --color=auto tns
Stopping Cluster Resources by Using the crsctl Command 1. stop/start all resources on both nodes crsctl stop cluster -all crsctl start cluster -all [root@rac1 ~]# ps -ef|grep pmon grid 4933 1 0 09:02 ? 00:00:00 asm_pmon_+ASM1 oracle 7068 1 0 09:06 ? 00:00:00 ora_pmon_orcl1 root 25333 4189 0 09:28 pts/0 00:00:00 grep --color=auto pmon [root@rac1 ~]# . oraenv ORACLE_SID = [ASM1] ? +ASM1 The Oracle base has been changed from /home/oracle to /u01/app/grid [root@rac1 ~]# crsctl stop cluster -all CRS-2673: Attempting to stop 'ora.crsd' on 'rac1' CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac1' CRS-2673: Attempting to stop 'ora.orcl.db' on 'rac1' CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'rac1' CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rac1' CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.rac1.vip' on 'rac1' CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.scan1.vip' on 'rac1' CRS-2673: Attempting to stop 'ora.crsd' on 'rac2' CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac2' CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'rac2' CRS-2673: Attempting to stop 'ora.orcl.db' on 'rac2' CRS-2673: Attempting to stop 'ora.mgmtdb' on 'rac2' CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rac2' CRS-2673: Attempting to stop 'ora.oc4j' on 'rac2' CRS-2673: Attempting to stop 'ora.cvu' on 'rac2' CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'rac2' CRS-2677: Stop of 'ora.cvu' on 'rac2' succeeded CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.scan3.vip' on 'rac2' CRS-2677: Stop of 'ora.scan1.vip' on 'rac1' succeeded CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.rac2.vip' on 'rac2' CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.scan2.vip' on 'rac2' CRS-2677: Stop of 'ora.rac1.vip' on 'rac1' succeeded CRS-2677: Stop of 'ora.scan3.vip' on 'rac2' succeeded CRS-2677: Stop of 'ora.orcl.db' on 'rac1' succeeded CRS-2677: Stop of 'ora.rac2.vip' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac1' CRS-2673: Attempting to stop 'ora.FRA.dg' on 'rac1' CRS-2677: Stop of 'ora.scan2.vip' on 'rac2' succeeded CRS-2677: Stop of 'ora.mgmtdb' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.OCR.dg' on 'rac2' CRS-2673: Attempting to stop 'ora.MGMTLSNR' on 'rac2' CRS-2677: Stop of 'ora.OCR.dg' on 'rac2' succeeded CRS-2677: Stop of 'ora.orcl.db' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac2' CRS-2673: Attempting to stop 'ora.FRA.dg' on 'rac2' CRS-2677: Stop of 'ora.MGMTLSNR' on 'rac2' succeeded CRS-2677: Stop of 'ora.DATA.dg' on 'rac1' succeeded CRS-2677: Stop of 'ora.FRA.dg' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.OCR.dg' on 'rac1' CRS-2677: Stop of 'ora.OCR.dg' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'rac1' CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.ons' on 'rac1' CRS-2677: Stop of 'ora.ons' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.net1.network' on 'rac1' CRS-2677: Stop of 'ora.net1.network' on 'rac1' succeeded CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac1' has completed CRS-2677: Stop of 'ora.DATA.dg' on 'rac2' succeeded CRS-2677: Stop of 'ora.FRA.dg' on 'rac2' succeeded CRS-2677: Stop of 'ora.crsd' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1' CRS-2673: Attempting to stop 'ora.evmd' on 'rac1' CRS-2673: Attempting to stop 'ora.storage' on 'rac1' CRS-2673: Attempting to stop 'ora.asm' on 'rac2' CRS-2677: Stop of 'ora.storage' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'rac1' CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded CRS-2677: Stop of 'ora.evmd' on 'rac1' succeeded CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac1' CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'rac1' CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded CRS-2677: Stop of 'ora.oc4j' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.ons' on 'rac2' CRS-2677: Stop of 'ora.ons' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.net1.network' on 'rac2' CRS-2677: Stop of 'ora.net1.network' on 'rac2' succeeded CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac2' has completed CRS-2677: Stop of 'ora.crsd' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.ctssd' on 'rac2' CRS-2673: Attempting to stop 'ora.evmd' on 'rac2' CRS-2673: Attempting to stop 'ora.storage' on 'rac2' CRS-2677: Stop of 'ora.storage' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'rac2' CRS-2677: Stop of 'ora.ctssd' on 'rac2' succeeded CRS-2677: Stop of 'ora.evmd' on 'rac2' succeeded CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac2' CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'rac2' CRS-2677: Stop of 'ora.cssd' on 'rac2' succeeded [root@rac1 ~]# ps -ef|grep pmon root 25790 4189 0 09:29 pts/0 00:00:00 grep --color=auto pmon [root@rac1 ~]# ps -ef|grep tns root 16 2 0 08:59 ? 00:00:00 [netns] root 25820 4189 0 09:29 pts/0 00:00:00 grep --color=auto tns [root@rac1 ~]# [root@rac2 ~]# ps -ef|grep pmon root 23075 4510 0 09:30 pts/0 00:00:00 grep --color=auto pmon [root@rac2 ~]# ps -ef|grep tns root 16 2 0 08:59 ? 00:00:00 [netns] root 23093 4510 0 09:30 pts/0 00:00:00 grep --color=auto tns [root@rac2 ~]# start clusters -------------- [root@rac2 ~]# . oraenv ORACLE_SID = [root] ? +ASM2 The Oracle base has been set to /u01/app/grid [root@rac2 ~]# crsctl start cluster -all CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac2' CRS-2672: Attempting to start 'ora.evmd' on 'rac2' CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1' CRS-2672: Attempting to start 'ora.evmd' on 'rac1' CRS-2676: Start of 'ora.cssdmonitor' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'rac2' CRS-2672: Attempting to start 'ora.diskmon' on 'rac2' CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded CRS-2676: Start of 'ora.diskmon' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'rac1' CRS-2672: Attempting to start 'ora.diskmon' on 'rac1' CRS-2676: Start of 'ora.evmd' on 'rac2' succeeded CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded CRS-2676: Start of 'ora.evmd' on 'rac1' succeeded CRS-2676: Start of 'ora.cssd' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.ctssd' on 'rac2' CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'rac2' CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.ctssd' on 'rac1' CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'rac1' CRS-2676: Start of 'ora.ctssd' on 'rac2' succeeded CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.asm' on 'rac1' CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.asm' on 'rac2' CRS-2676: Start of 'ora.asm' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.storage' on 'rac1' CRS-2676: Start of 'ora.storage' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'rac1' CRS-2676: Start of 'ora.asm' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.storage' on 'rac2' CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded CRS-2676: Start of 'ora.storage' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'rac2' CRS-2676: Start of 'ora.crsd' on 'rac2' succeeded [root@rac2 ~]# ps -ef|grep pmon grid 23895 1 0 09:32 ? 00:00:00 asm_pmon_+ASM2 root 24301 4510 0 09:32 pts/0 00:00:00 grep --color=auto pmon [root@rac2 ~]# ps -ef|grep pmon grid 23895 1 0 09:32 ? 00:00:00 asm_pmon_+ASM2 oracle 24987 1 0 09:33 ? 00:00:00 ora_pmon_orcl2 root 26252 4510 0 09:34 pts/0 00:00:00 grep --color=auto pmon [root@rac2 ~]# ps -ef|grep tns root 16 2 0 08:59 ? 00:00:00 [netns] grid 24624 1 0 09:33 ? 00:00:00 /u01/app/12.1.0/grid/bin/tnslsnr LISTENER -no_crs_notify -inherit root 26317 4510 0 09:34 pts/0 00:00:00 grep --color=auto tns [root@rac2 ~]# [root@rac1 ~]# ps -ef|grep pmon grid 26658 1 0 09:32 ? 00:00:00 asm_pmon_+ASM1 grid 28129 1 0 09:33 ? 00:00:00 mdb_pmon_-MGMTDB oracle 28525 1 0 09:33 ? 00:00:00 ora_pmon_orcl1 root 29069 4189 0 09:34 pts/0 00:00:00 grep --color=auto pmon [root@rac1 ~]# ps -ef|grep tns root 16 2 0 08:59 ? 00:00:00 [netns] grid 27736 1 0 09:33 ? 00:00:00 /u01/app/12.1.0/grid/bin/tnslsnr LISTENER -no_crs_notify -inherit grid 27848 1 0 09:33 ? 00:00:00 /u01/app/12.1.0/grid/bin/tnslsnr MGMTLSNR -no_crs_notify -inherit grid 27891 1 0 09:33 ? 00:00:00 /u01/app/12.1.0/grid/bin/tnslsnr LISTENER_SCAN1 -no_crs_notify -inherit grid 27919 1 0 09:33 ? 00:00:00 /u01/app/12.1.0/grid/bin/tnslsnr LISTENER_SCAN3 -no_crs_notify -inherit grid 27938 1 0 09:33 ? 00:00:00 /u01/app/12.1.0/grid/bin/tnslsnr LISTENER_SCAN2 -no_crs_notify -inherit root 29171 4189 0 09:34 pts/0 00:00:00 grep --color=auto tns [root@rac1 ~]# 2. stop all resources on one node crsctl stop crs crsctl start crs [root@rac2 ~]# /u01/app/12.1.0/grid/bin/crsctl stat res -t -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Local Resources -------------------------------------------------------------------------------- ora.DATA.dg ONLINE ONLINE rac1 STABLE ONLINE ONLINE rac2 STABLE ora.FRA.dg ONLINE ONLINE rac1 STABLE ONLINE ONLINE rac2 STABLE ora.LISTENER.lsnr ONLINE ONLINE rac1 STABLE ONLINE ONLINE rac2 STABLE ora.OCR.dg ONLINE ONLINE rac1 STABLE ONLINE ONLINE rac2 STABLE ora.asm ONLINE ONLINE rac1 Started,STABLE ONLINE ONLINE rac2 Started,STABLE ora.net1.network ONLINE ONLINE rac1 STABLE ONLINE ONLINE rac2 STABLE ora.ons ONLINE ONLINE rac1 STABLE ONLINE ONLINE rac2 STABLE -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.LISTENER_SCAN1.lsnr 1 ONLINE ONLINE rac1 STABLE ora.LISTENER_SCAN2.lsnr 1 ONLINE ONLINE rac1 STABLE ora.LISTENER_SCAN3.lsnr 1 ONLINE ONLINE rac1 STABLE ora.MGMTLSNR 1 ONLINE ONLINE rac1 169.254.193.73 192.1 68.10.1,STABLE ora.cvu 1 ONLINE ONLINE rac2 STABLE ora.mgmtdb 1 ONLINE ONLINE rac1 Open,STABLE ora.oc4j 1 ONLINE ONLINE rac2 STABLE ora.orcl.db 1 ONLINE ONLINE rac1 Open,STABLE 2 ONLINE ONLINE rac2 Open,STABLE ora.rac1.vip 1 ONLINE ONLINE rac1 STABLE ora.rac2.vip 1 ONLINE ONLINE rac2 STABLE ora.scan1.vip 1 ONLINE ONLINE rac1 STABLE ora.scan2.vip 1 ONLINE ONLINE rac1 STABLE ora.scan3.vip 1 ONLINE ONLINE rac1 STABLE -------------------------------------------------------------------------------- [root@rac2 ~]# /u01/app/12.1.0/grid/bin/crsctl stop crs CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac2' CRS-2673: Attempting to stop 'ora.crsd' on 'rac2' CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac2' CRS-2673: Attempting to stop 'ora.OCR.dg' on 'rac2' CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rac2' CRS-2673: Attempting to stop 'ora.oc4j' on 'rac2' CRS-2673: Attempting to stop 'ora.cvu' on 'rac2' CRS-2677: Stop of 'ora.cvu' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.cvu' on 'rac1' CRS-2677: Stop of 'ora.OCR.dg' on 'rac2' succeeded CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.rac2.vip' on 'rac2' CRS-2673: Attempting to stop 'ora.orcl.db' on 'rac2' CRS-2676: Start of 'ora.cvu' on 'rac1' succeeded CRS-2677: Stop of 'ora.rac2.vip' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.rac2.vip' on 'rac1' CRS-2676: Start of 'ora.rac2.vip' on 'rac1' succeeded CRS-2677: Stop of 'ora.orcl.db' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac2' CRS-2673: Attempting to stop 'ora.FRA.dg' on 'rac2' CRS-2677: Stop of 'ora.DATA.dg' on 'rac2' succeeded CRS-2677: Stop of 'ora.FRA.dg' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'rac2' CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded CRS-2677: Stop of 'ora.oc4j' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.oc4j' on 'rac1' CRS-2676: Start of 'ora.oc4j' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.ons' on 'rac2' CRS-2677: Stop of 'ora.ons' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.net1.network' on 'rac2' CRS-2677: Stop of 'ora.net1.network' on 'rac2' succeeded CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac2' has completed CRS-2677: Stop of 'ora.crsd' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.evmd' on 'rac2' CRS-2673: Attempting to stop 'ora.ctssd' on 'rac2' CRS-2673: Attempting to stop 'ora.crf' on 'rac2' CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac2' CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac2' CRS-2677: Stop of 'ora.ctssd' on 'rac2' succeeded CRS-2677: Stop of 'ora.evmd' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.storage' on 'rac2' CRS-2677: Stop of 'ora.crf' on 'rac2' succeeded CRS-2677: Stop of 'ora.mdnsd' on 'rac2' succeeded CRS-2677: Stop of 'ora.gpnpd' on 'rac2' succeeded CRS-2677: Stop of 'ora.storage' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'rac2' CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac2' CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'rac2' CRS-2677: Stop of 'ora.cssd' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.gipcd' on 'rac2' CRS-2677: Stop of 'ora.gipcd' on 'rac2' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac2' has completed CRS-4133: Oracle High Availability Services has been stopped. [root@rac2 ~]# /u01/app/12.1.0/grid/bin/crsctl start crs CRS-4123: Oracle High Availability Services has been started. [root@rac2 ~]# 3. Database Shutdown With crsctl [oracle@rac1 ~]$ srvctl config database -d orcl Database unique name: orcl Database name: orcl Oracle home: /u01/app/oracle/product/12.1.0/db_1 Oracle user: oracle Spfile: +DATA/ORCL/PARAMETERFILE/spfile.269.1177209229 Password file: +DATA/ORCL/PASSWORD/pwdorcl.256.1177207239 Domain: bracecoder Start options: open Stop options: immediate Database role: PRIMARY Management policy: AUTOMATIC Server pools: Disk Groups: FRA,DATA Mount point paths: Services: Type: RAC Start concurrency: Stop concurrency: OSDBA group: dba OSOPER group: Database instances: orcl1,orcl2 Configured nodes: rac1,rac2 Database is administrator managed [oracle@rac1 ~]$ 3. stop/start database instances in RAC srvctl stop instance -d orcl -i orcl2 from rac1, down database on rac2 -------------------------------- [oracle@rac1 ~]$ ps -ef|grep pmon oracle 8558 5093 0 10:49 pts/2 00:00:00 grep --color=auto pmon grid 26658 1 0 09:32 ? 00:00:00 asm_pmon_+ASM1 grid 28129 1 0 09:33 ? 00:00:00 mdb_pmon_-MGMTDB oracle 28525 1 0 09:33 ? 00:00:00 ora_pmon_orcl1 [oracle@rac1 ~]$ srvctl stop instance -d orcl -i orcl2 [oracle@rac1 ~]$ Result ====== [oracle@rac2 ~]$ ps -ef|grep pmon oracle 3217 5289 0 10:50 pts/2 00:00:00 grep --color=auto pmon grid 3901 1 0 09:41 ? 00:00:00 asm_pmon_+ASM2 [oracle@rac2 ~]$ srvctl start instance -d orcl -i orcl2 from rac1, start database on rac2 --------------------------------- [oracle@rac1 ~]$ srvctl start instance -d orcl -i orcl2 [oracle@rac1 ~]$ Result ====== [oracle@rac2 ~]$ ps -ef|grep pmon oracle 3438 1 0 10:50 ? 00:00:00 ora_pmon_orcl2 grid 3901 1 0 09:41 ? 00:00:00 asm_pmon_+ASM2 oracle 4441 5289 0 10:52 pts/2 00:00:00 grep --color=auto pmon [oracle@rac2 ~]$ 3. stop/start everything in a home srvctl stop home -oraclehome /u01/app/oracle/product/12.1.0/db_1 -statefile ~/stophome_12cr1.txt -node rac2 srvctl stop home -o $ORACLE_HOME -s ~/stophome_12cr1.txt -n rac2 [oracle@rac1 ~]$ srvctl stop home -o /u01/app/oracle/product/12.1.0/db_1 -statefile ~/stophome_12cr1.txt -node rac2 [oracle@rac1 ~]$ [oracle@rac1 ~]$ cat stophome_12cr1.txt db-orcl [oracle@rac1 ~]$ [oracle@rac2 ~]$ ps -ef|grep pmon grid 3901 1 0 09:41 ? 00:00:00 asm_pmon_+ASM2 oracle 7725 5289 0 10:59 pts/2 00:00:00 grep --color=auto pmon [oracle@rac2 ~]$