instace oracle rac

How we will find that instances are up in oracle rac..
thomaslijuAsked:
Who is Participating?
 
Pepe2323Connect With a Mentor Commented:
$CRS_HOME or $GRID_HOME/bin/crs_stat -t

you will get something like this:
Name           Type           Target    State     Host
------------------------------------------------------------
ora....SM1.asm application    ONLINE    ONLINE    rhel1
ora....L1.lsnr application    ONLINE    ONLINE    rhel1
ora....L1.lsnr application    ONLINE    ONLINE    rhel1
ora.rhel1.gsd  application    ONLINE    ONLINE    rhel1
ora.rhel1.ons  application    ONLINE    ONLINE    rhel1
ora.rhel1.vip  application    ONLINE    ONLINE    rhel1
ora....SM2.asm application    ONLINE    ONLINE    rhel2
ora....L2.lsnr application    ONLINE    ONLINE    rhel2
ora....L2.lsnr application    ONLINE    ONLINE    rhel2
ora.rhel2.gsd  application    ONLINE    ONLINE    rhel2
ora.rhel2.ons  application    ONLINE    ONLINE    rhel2
ora.rhel2.vip  application    ONLINE    ONLINE    rhel2

or use srvctl
$GRID_HOME/bin/srvctl
Status of the database, all instances and all services.
srvctl status database -d ORACLE -v
0
 
slightwv (䄆 Netminder) Commented:
The olsnodes command provides the list of nodes and other information for all nodes participating in the cluster.

http://docs.oracle.com/cd/E11882_01/rac.112/e41959/olsnodes.htm#CWADD91126
0
 
thomaslijuAuthor Commented:
Yes helped to find the instances are up,,,
0
 
raaaaajCommented:
Hi,

select instance_name,HOST_NAME from gv$instance.


Br
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.