Test if a database is running in RAC mode

          

Interview questions

Can we test if a database is running in RAC mode? How?


<<Previous   Next>>
Oracle - Can we test if a database is running in RAC mode? How? posted by Babu Kunwar

Can we test if a database is running in RAC mode? How?

Yes we can test the status of database. There are several ways to check the status of the RAC. The srvctl utility shows the current configuration and status of the RAC database.

$ srvctl config database -d RAC
rac1 RAC1 /u01/app/oracle/product/10.2.0/db_1
rac2 RAC2 /u01/app/oracle/product/10.2.0/db_1
$
$ srvctl status database -d RAC
Instance RAC1 is running on node rac1
Instance RAC2 is running on node rac2
$

The V$ACTIVE_INSTANCES view can also display the current status of the instances.
SQL> SELECT * FROM v$active_instances;



Write your comment - Share Knowledge and Experience


<<Previous   Next >> 
Latest placement tests
Latest links
 
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring