0% found this document useful (0 votes)
205 views3 pages

51 - SRVCTL & CRSCTL Commands

This document describes various commands used for administering and starting/stopping Oracle RAC components. It outlines srvctl and crsctl commands for controlling databases, instances, nodes, virtual IPs, and other RAC services like the clusterware, voting disk and CSS. Commands shown include starting, stopping, checking status and enabling/disabling of these different RAC entities.

Uploaded by

Thirumal Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
205 views3 pages

51 - SRVCTL & CRSCTL Commands

This document describes various commands used for administering and starting/stopping Oracle RAC components. It outlines srvctl and crsctl commands for controlling databases, instances, nodes, virtual IPs, and other RAC services like the clusterware, voting disk and CSS. Commands shown include starting, stopping, checking status and enabling/disabling of these different RAC entities.

Uploaded by

Thirumal Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

Admin and Startup and Shutdown commands of RAC

1) SRVCTL SERVICES COMMANDS :


----------------------------

[root@db191 ~]$ srvctl start database -d RM (Database Name)

[root@db191 ~]$ srvctl status database -d RM

[root@db191 ~]$ srvctl stop database -d RM

[root@db191 ~]$ enable database -d RM -n db191

[root@db191 ~]$ disable database -d RM -n db191

[root@db191 ~]$ enable instance -d RM -i RM1

[root@db191 ~]$ disable instance -d RM -i RM1

[oracle@db191 ~]$ srvctl start nodeapps -n RM1 (Instance Name)

[oracle@db191 ~]$ srvctl status nodeapps -n RM1

[oracle@db191 ~]$ srvctl stop nodeapps -n RM1

[oracle@db191 ~]$ srvctl start nodeapps

[oracle@db191 ~]$ srvctl status nodeapps

[oracle@db191 ~]$ srvctl stop nodeapps

[oracle@db191 ~]$ srvctl start nodeapps -n db191 (Node Name)

[oracle@db191 ~]$ srvctl status nodeapps -n db191

[oracle@db191 ~]$ srvctl stop nodeapps -n db191

[oracle@db191 ~]$ srvctl start nodeapps -n RM1 (Instance Name)

[oracle@db191 ~]$ srvctl status nodeapps -n RM1

[oracle@db191 ~]$ srvctl stop nodeapps -n RM1

[oracle@db191 ~]$ srvctl disable vip -i db191-vip.fm.com

[oracle@db191 ~]$ srvctl enable vip -i db191-vip.fm.com

[oracle@db191 ~]$ srvctl start vip -n db191 -i db191-vip.fm.com

[oracle@db191 ~]$ srvctl status vip -n db191 -i db191-vip.fm.com

[oracle@db191 ~]$ srvctl stop vip -n db191 -i db191-vip.fm.com

[oracle@db191 ~]$ srvctl start asm

[oracle@db191 ~]$ srvctl status asm

[oracle@db191 ~]$ srvctl stop asm


[oracle@db191 ~]$ srvctl config database -d RM (Database Name)

Database unique name: RM


Database name: RM
Oracle home: /u02/app/oracle/product/11.2.0/dbhome_1
Oracle user: oracle
Spfile: +DATA/RM/spfileRM.ora
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: RM
Database instances: RM1,RM2
Disk Groups: DATA,FRA
Services:
Database is administrator managed

2) CRSCTL SERVICES COMMANDS :


----------------------------

[oracle@db191 ~]$ crsctl check crs

[oracle@db191 ~]$ crsctl start crs

[oracle@db191 ~]$ crsctl stop crs

[oracle@db191 ~]$ crsctl check cluster -all

[oracle@db191 ~]$ crsctl check has

[oracle@db191 ~]$ crsctl start has

[oracle@db191 ~]$ crsctl stop has

[oracle@db191 ~]$ crsctl check css

[oracle@db191 ~]$ crsctl start css

[oracle@db191 ~]$ crsctl stop css

[oracle@db191 ~]$ crsctl check ctss

[oracle@db191 ~]$ crs_stat -t

[oracle@db191 ~]$ crs_stat

[oracle@db191 ~]$ crs_stat -t| grep db

=================================================================================TH
E
END===============================================================================

You might also like