{"id":301,"date":"2011-08-04T00:00:00","date_gmt":"2011-08-04T00:00:00","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2011\/08\/04\/oracle-rac-cheat-sheet\/"},"modified":"2019-10-20T04:25:49","modified_gmt":"2019-10-20T04:25:49","slug":"oracle-rac-cheat-sheet","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/oracle-rac-cheat-sheet\/","title":{"rendered":"Oracle RAC Web References &#038; Cheatsheet"},"content":{"rendered":"<h1><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3882 aligncenter\" src=\"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2011\/08\/oracle-rac-cheat-sheet.png\" alt=\"oracle-rac-cheat-sheet\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2011\/08\/oracle-rac-cheat-sheet.png 600w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2011\/08\/oracle-rac-cheat-sheet-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/h1>\n<h1><span style=\"color: #333333; font-family: Verdana, sans-serif; font-size: 10px;\">Check CRS Status<\/span><\/h1>\n<pre>[root@racnode1 ~]#crsctl check crs<\/pre>\n<h5><a name=\"Oraclecheatsheet-CheckClusterwareResourc\"><\/a>Check Clusterware Resources<\/h5>\n<pre>[root@racnode1 ~]# crs_stat -t -v<\/pre>\n<h5><a name=\"Oraclecheatsheet-StoppingtheOracleCluste\"><\/a>Stopping the Oracle Clusterware Stack on the Local Server<\/h5>\n<pre>[root@racnode1 ~]# \/u01\/app\/11.2.0\/grid\/bin\/crsctl stop cluster<\/pre>\n<pre>CRS-2673: Attempting to stop 'ora.crsd' on 'racnode1'<\/pre>\n<pre>...<\/pre>\n<pre>...<\/pre>\n<h5><a name=\"Oraclecheatsheet-StopOracleClusterwarest\"><\/a>Stop Oracle Clusterware stack on all servers in the cluster<\/h5>\n<pre>[root@racnode1 ~]# crsctl stop cluster -all<\/pre>\n<h5><a name=\"Oraclecheatsheet-StartingtheOracleCluste\"><\/a>Starting the Oracle Clusterware Stack on the Local Server<\/h5>\n<pre>[root@racnode1 ~]# \/u01\/app\/11.2.0\/grid\/bin\/crsctl start cluster<\/pre>\n<pre>CRS-2673: Attempting to start 'ora.crsd' on 'racnode1'<\/pre>\n<pre>...<\/pre>\n<pre>...<\/pre>\n<h5><a name=\"Oraclecheatsheet-StartOracleClusterwares\"><\/a>Start Oracle Clusterware stack on all servers in the cluster<\/h5>\n<pre>[root@racnode1 ~]# crsctl start cluster -all<\/pre>\n<h5><a name=\"Oraclecheatsheet-CheckClusterNodes\"><\/a>Check Cluster Nodes<\/h5>\n<pre>[oracle@racnode1 ~]$olsnodes -n<\/pre>\n<h5><a name=\"Oraclecheatsheet-ConfirmingOracleASMFunc\"><\/a>Confirming Oracle ASM Function for Oracle Clusterware Files<\/h5>\n<p>If you installed the OCR and voting disk files on Oracle ASM, then use the following command syntax as the Grid Infrastructure installation owner to confirm that your Oracle ASM installation is running:<\/p>\n<pre>[oracle@racnode1 ~]$srvctl status asm -a<\/pre>\n<h5><a name=\"Oraclecheatsheet-CheckOracleClusterRegis\"><\/a>Check Oracle Cluster Registry (OCR)<\/h5>\n<pre>[oracle@racnode1 ~]$ocrcheck<\/pre>\n<h5><a name=\"Oraclecheatsheet-CheckVotingDisk\"><\/a>Check Voting Disk<\/h5>\n<pre>[oracle@racnode1 ~]$crsctl query css votedisk<\/pre>\n<h5><a name=\"Oraclecheatsheet-CheckStatusOracleEnterp\"><\/a>Check Status Oracle Enterprise Manager<\/h5>\n<pre>[oracle@racnode1 ~]$emctl status dbconsole<\/pre>\n<h5><a name=\"Oraclecheatsheet-StartOracleEnterpriseMa\"><\/a>Start Oracle Enterprise Manager<\/h5>\n<pre>[oracle@racnode1 ~]$emctl start dbconsole<\/pre>\n<h5><a name=\"Oraclecheatsheet-StopOracleEnterpriseMan\"><\/a>Stop Oracle Enterprise Manager<\/h5>\n<pre>[oracle@racnode1 ~]$emctl stop dbconsole<\/pre>\n<h5><a name=\"Oraclecheatsheet-AllOracleInstances(Da\"><\/a>All Oracle Instances &#8211; (Database Status)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl status database -d racdb<\/pre>\n<h5><a name=\"Oraclecheatsheet-SingleOracleInstance(\"><\/a>Single Oracle Instance &#8211; (Status of Specific Instance)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl status instance -d racdb -i racdb1<\/pre>\n<h5><a name=\"Oraclecheatsheet-Start\/StopAllInstance\"><\/a>Start\/Stop All Instances with SRVCTL<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl stop database -d racdb<\/pre>\n<pre>[oracle@racnode1 ~]$ srvctl start database -d racdb<\/pre>\n<h5><a name=\"Oraclecheatsheet-NodeApplications(Stat\"><\/a>Node Applications &#8211; (Status)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl status nodeapps<\/pre>\n<h5><a name=\"Oraclecheatsheet-NodeApplications(Conf\"><\/a>Node Applications &#8211; (Configuration)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl config nodeapps<\/pre>\n<h5><a name=\"Oraclecheatsheet-ListallConfiguredDataba\"><\/a>List all Configured Databases<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl config database<\/pre>\n<h5><a name=\"Oraclecheatsheet-Database(Configuratio\"><\/a>Database &#8211; (Configuration)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl config database -d racdb -a<\/pre>\n<h5><a name=\"Oraclecheatsheet-ASM(Status)\"><\/a>ASM &#8211; (Status)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl status asm<\/pre>\n<h5><a name=\"Oraclecheatsheet-ASM(Configuration)\"><\/a>ASM &#8211; (Configuration)<\/h5>\n<pre>[oracle@racnode1 ~]$srvctl config asm -a<\/pre>\n<h5><a name=\"Oraclecheatsheet-TNSlistener(Status)\"><\/a>TNS listener &#8211; (Status)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl status listener<\/pre>\n<h5><a name=\"Oraclecheatsheet-SCAN(Status)\"><\/a>SCAN &#8211; (Status)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl status scan<\/pre>\n<h5><a name=\"Oraclecheatsheet-SCAN(Configuration)\"><\/a>SCAN &#8211; (Configuration)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl config scan<\/pre>\n<h5><a name=\"Oraclecheatsheet-VIP(StatusofSpecificN\"><\/a>VIP &#8211; (Status of Specific Node)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl status vip -n racnode1<\/pre>\n<pre>[oracle@racnode1 ~]$ srvctl status vip -n racnode2<\/pre>\n<h5><a name=\"Oraclecheatsheet-VIP(ConfigurationofSp\"><\/a>VIP &#8211; (Configuration of Specific Node)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl config vip -n racnode1<\/pre>\n<pre>[oracle@racnode1 ~]$ srvctl config vip -n racnode2<\/pre>\n<h5><a name=\"Oraclecheatsheet-ConfigurationforNodeApp\"><\/a>Configuration for Node Applications &#8211; (VIP, GSD, ONS, Listener)<\/h5>\n<pre>[oracle@racnode1 ~]$ srvctl config nodeapps -a -g -s -l<\/pre>\n<h5><a name=\"Oraclecheatsheet-VerifyingClockSynchroni\"><\/a>Verifying Clock Synchronization across the Cluster Nodes<\/h5>\n<pre>[oracle@racnode1 ~]$ cluvfy comp clocksync -verbose<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Check CRS Status [root@racnode1 ~]#crsctl check crs Check Clusterware Resources [root@racnode1 ~]# crs_stat -t -v Stopping the Oracle Clusterware Stack on the Local Server [root@racnode1 ~]# \/u01\/app\/11.2.0\/grid\/bin\/crsctl stop cluster CRS-2673: Attempting to stop &#8216;ora.crsd&#8217; on &#8216;racnode1&#8217; &#8230; &#8230; Stop Oracle Clusterware stack on all servers in the cluster [root@racnode1 ~]# crsctl stop cluster -all Starting&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3882,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[1385,599,2693,2692,2690,2695,2694,2696,2691,2688,2689],"class_list":["post-301","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorised","tag-cheatsheet","tag-oracle","tag-oracle-clusterware","tag-oracle-database","tag-oracle-rac","tag-oracle-rac-guide","tag-oracle-rac-reference","tag-oracle-rac-tutorial","tag-oracle-real-application-clusters","tag-rac","tag-rac-cheatsheet"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=301"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/301\/revisions"}],"predecessor-version":[{"id":7253,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/301\/revisions\/7253"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/3882"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}