oraenv
ORACLE_SID = [+ASM1] ? RACDB
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@rac1 ~]$ srvctl config database -d RACDB
Database unique name: RACDB
Database name: RACDB
Oracle home: /u01/app/oracle/product/11.2.0.3
Oracle user: oracle
Spfile: +DATA/RACDB/spfileRACDB.ora
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: RACDB
Database instances: RACDB1,RACDB2
Disk Groups: DATA
Mount point paths:
Services:
Type: RAC
Database is administrator managed
[oracle@rac1 ~]$
The V$ACTIVE_INSTANCES view can also display the current status of the instances.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,
OLAP,
Data Mining and Real Application Testing options
INST_NAME
------------------------------------------------------------
rac1.localdomain:RACDB1
rac2.localdomain:RACDB2
SQL>
Shutdown both virtual machines. Wait until all VM windows are closed.
=============================