Welcome to the Oracle community forum and interact with 2 million technicians in the status of all instances and services $ status of a single srvctlstatusdatabase-dorclInstanceorcl1isrunningonnodelinux1Instanceorcl2isrunningonnodelinux2 instance $ srvctlstatusinstance-dorcl
Welcome to the Oracle Community Forum, interact with 2 million technicians> enter the status of all instances and services $ srvctl status database-d orcl Instance orcl1 is running on node linux1 Instance orcl2 is running on node linux2 Single Instance $ srvctl status instance-d orcl
Welcome to the Oracle community forum and interact with 2 million technical staff> enter
Status of all instances and services
$ Srvctl status database-d orcl
Instance orcl1 is running on node linux1
Instance orcl2 is running on node linux2
Status of a single instance
$ Srvctl status instance-d orcl-I orcl2
Instance orcl2 is running on node linux2
The status of the global Naming Service in the database
$ Srvctl status service-d orcl-s orcltest
Service orcltest is running on instance (s) orcl2, orcl1
Node application status on a specific node
$ Srvctl status nodeapps-n linux1
VIP is running on node: linux1
GSD is running on node: linux1
Listener is running on node: linux1
ONS daemon is running on node: linux1
ASM instance status
$ Srvctl status asm-n linux1
ASM instance + ASM1 is running on node linux1.
List all configured Databases
$ Srvctl config database
Orcl
Displays the configuration of the RAC database.
$ Srvctl config database-d orcl
Linux1 orcl1/u01/app/oracle/product/10.2.0/db_1
Linux2 orcl2/u01/app/oracle/product/10.2.0/db_1
Display all services of the specified cluster Database
$ Srvctl config service-d orcl
Orcltest PREF: orcl2 orcl1 AVAIL:
Display node application configurations (VIP, GSD, ONS, listener)
$ Srvctl config nodeapps-n linux1-a-g-s-l
VIP exists.:/linux1-vip/192.168.1.200/255.255.255.0/eth0: eth1
GSD exists.
ONS daemon exists.
Listener exists.
Displays the configuration of the ASM instance.
$ Srvctl config asm-n linux1
+ ASM1/u01/app/oracle/product/10.2.0/db_1
All running instances in the Cluster
SELECT
Inst_id
, Instance_number inst_no
, Instance_name inst_name
, Parallel
, Status
, Database_status db_status
, Active_state state
, Host_name host
FROM gv $ instance
Order by inst_id;
INST_ID INST_NO INST_NAME par status DB_STATUS STATE HOST
----------------------------------------------------------------
1 1 orcl1 yes open active normal rac1
2 2 orcl2 yes open active normal rac2
[1] [2]