{"id":90,"date":"2010-02-21T09:14:00","date_gmt":"2010-02-21T12:14:00","guid":{"rendered":"http:\/\/www.soudba.com.br\/?p=90"},"modified":"2010-02-21T09:14:00","modified_gmt":"2010-02-21T12:14:00","slug":"comandos-uteis-oracle-rac-utilitarios-de-manutencao-rac-11g","status":"publish","type":"post","link":"https:\/\/www.soudba.com.br\/?p=90","title":{"rendered":"Comandos uteis oracle RAC &#8211; Utilitarios de manuten\u00e7\u00e3o rac 11g"},"content":{"rendered":"<p><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><u><big><big><big>11g RAC Administration and Maintenance Tasks and Utilities:<\/big><\/big><\/big><\/u><\/span><\/span><span style=\"color:maroon;font-weight:bold;\"><span style=\"font-family:Arial, sans-serif;\"><big><big><big><a href=\"http:\/\/www.oracledba.org\/index.html\"><span style=\"color:#000066;\"><\/span><\/a><\/big><\/big><\/big><u><big><big><big><br \/><\/big><\/big><\/big><\/u><\/span><\/span><span style=\"color:maroon;font-weight:bold;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><i><span style=\"color:black;\"><span style=\"text-decoration:underline;\"><span style=\"color:#990000;\"><br \/><\/span><\/span><\/span><\/i><\/span><\/span><\/span><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><i><span style=\"color:black;\"><span style=\"text-decoration:underline;\"><span style=\"color:#990000;\">Task List:<\/span><\/span><\/span><\/i><\/span><\/span><\/span><br style=\"font-weight:bold;\" \/> <small style=\"font-weight:bold;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><small><small><br \/><\/small><\/small><\/span><\/span><\/small> <\/p>\n<div style=\"color:#3333ff;font-weight:bold;margin-left:40px;\"><big><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Shut_down_any_running_Oracle_processes:\"><span style=\"color:#000099;\"><\/span><\/a><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Determine_the_Oracle_Inventory_Location:\"><span style=\"color:#000099;\"><\/span><\/a><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Checking_CRS_Status:\" style=\"font-family:courier new;font-weight:normal;\"><span style=\"color:#000099;\">Checking CRS Status<\/span><\/a><br style=\"font-family:courier new;font-weight:normal;\" \/> <span style=\"color:#000066;font-family:courier new;font-weight:normal;\"><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Viewing_Cluster_name:\">Viewing Name  Of the Cluster<\/a><br \/><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Viewing_No._Of_Nodes_configured_in\">Viewing  Nodes Configuration<\/a><br \/><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Viewing_Votedisk_Information:\">Checking  Votedisk Information<\/a><br \/><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Viewing_OCR_Disk_Information:\">Checking  OCR Disk information<\/a><br \/><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Various_Timeout_Settings_in_Cluster:\">Timeout  Settings in Cluster<\/a><br \/><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#AddRemove_OCR_file_in_Cluster:\">ADD\/Remove  OCR files<\/a><br \/><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#AddRemove_Votedisk_file_in_Cluster:\">ADD\/Remove  Votedisk<\/a><br \/><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Backing_Up_OCR\">Backing  Up OCR<\/a><br \/><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#3_Backup_the_VoteDisk_file\">Backing  Up Votedisk<\/a><br \/><\/span><\/big><big style=\"font-family:courier new;font-weight:normal;\"><span style=\"color:#000066;\"><\/span><\/big><big style=\"font-family:courier new;font-weight:normal;\"><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Restoring_OCR\">Restoring  OCR Devices<\/a><\/big><br style=\"font-family:courier new;font-weight:normal;\" \/> <big style=\"font-family:courier new;font-weight:normal;\"><span style=\"color:#000066;\"><\/span><\/big><big style=\"font-family:courier new;font-weight:normal;\"><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Restoring_Votedisks\">Restoring  Voting Disk Devices<\/a><br \/><\/big><big style=\"font-family:courier new;font-weight:normal;\"><span style=\"color:#000066;\"><\/span><\/big><big style=\"font-family:courier new;font-weight:normal;\"><a href=\"http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html#Changing_Public_and_Virtual_IP_Address:\">Changing  Public IPs as well as Virtual IPs<\/a><\/big><br style=\"font-family:courier new;font-weight:normal;\" \/> <big><span style=\"color:#000066;\"><br \/><\/span><\/big><\/div>\n<hr style=\"font-weight:bold;height:2px;width:100%;\" \/>\n<div style=\"margin-left:80px;\"><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><\/div>\n<div style=\"margin-left:40px;\"><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u><a href=\"http:\/\/www.soudba.com.br\/\" name=\"Checking_CRS_Status:\"><\/a>Checking CRS Status:<\/u><\/i><\/big><\/span><\/span><\/span><\/big><\/div>\n<div style=\"margin-left:80px;\"><big><span style=\"color:#000066;\"><br \/><\/span><\/big><span style=\"font-family:verdana;\">The below two commands are generally used to check the status of CRS. The first command lists the status of CRS<\/span><br style=\"color:black;font-family:verdana;\" \/> <span style=\"font-family:verdana;\">on the local node where as the other command shows the CRS status across all the nodes in Cluster.<\/span><big><span style=\"color:#000066;\"><\/p>\n<p><\/span><\/big><big><code><big><span style=\"color:#000099;\">crsctl check crs<\/span><\/big><\/code><code> &lt;&lt;-- for the local node<\/code><code style=\"font-weight:bold;\"><br \/><\/code><code><big><span style=\"color:#000099;\">crsctl check cluster<\/span><\/big><\/code><code style=\"font-weight:bold;\"> &lt;&lt;-- <\/code><code>for remote nodes in the cluster<\/code><code style=\"font-weight:bold;\"><\/p>\n<p><\/code><code>[root@node1-pub ~]# crsctl check crs<br \/>Cluster Synchronization Services appears healthy<br \/>Cluster Ready Services appears healthy<br \/>Event Manager appears healthy<br \/>[root@node1-pub ~]#<\/code><code style=\"font-weight:bold;\"> <\/p>\n<p><\/code><code><span style=\"text-decoration:underline;\">Checking Viability of CSS across nodes:<\/span><\/code><code style=\"font-weight:bold;\"><br \/><\/code><code><big><br \/><\/big><\/code><\/big><big><code><span style=\"color:#000099;\"><big>crsctl check  cluster<\/big><\/span><\/code><code style=\"font-weight:bold;\"><span style=\"color:#000099;\"><\/p>\n<p><\/span><\/code><\/big><span style=\"font-family:verdana;\">For this command to run, CSS needs to be running on the local node. The &#8220;ONLINE&#8221; status for remote node says that CSS is running on that node.<\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">When CSS is down on the remote node, the status of &#8220;OFFLINE&#8221; is displayed for that node.<\/span><big><br \/><\/big><big><code style=\"font-weight:bold;\"><br \/><\/code><code>[root@node1-pub ~]# crsctl check cluster<br \/>node1-pub&nbsp;&nbsp;&nbsp; ONLINE<br \/>node2-pub&nbsp;&nbsp;&nbsp; ONLINE<\/code><\/big><span style=\"font-weight:bold;\"> <\/span><br \/><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b> <\/div>\n<div style=\"margin-left:40px;\"><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u><a href=\"http:\/\/www.soudba.com.br\/\" name=\"Viewing_Cluster_name:\"><\/a>Viewing Cluster name:<\/u><\/i><\/big><\/span><\/span><\/span><\/big><\/div>\n<div style=\"margin-left:80px;\"><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><br \/><span style=\"font-family:verdana;\">I use below command to get the name of Cluster. You can also dump the ocr and view the name from the dump file.<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><big><br \/><\/big><\/span><\/b><big><code style=\"color:#330099;\"><big>ocrdump -stdout -keyname SYSTEM | grep -A 1 clustername | grep ORATEXT | awk '{print $3}'<\/big><\/code><\/big><br \/><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><br \/><code><big>[root@node1-pub ~]# ocrdump -stdout -keyname SYSTEM | grep -A 1 clustername | grep ORATEXT | awk '{print $3}'<br style=\"font-weight:bold;\" \/> <span style=\"color:#\n330099;font-weight:bold;\">test-crs<\/span><br style=\"font-weight:bold;\" \/> [root@node1-pub ~]# <\/p>\n<p><big style=\"font-style:italic;\"><big>OR<\/big><\/big><\/p>\n<p><\/big><big style=\"color:#000066;\">ocrconfig -export \/tmp\/ocr_exp.dat -s online<\/big><\/code><code><big><br \/><\/big><big style=\"color:#000066;\">for i in `strings \/tmp\/ocr_exp.dat | grep -A 1 clustername` ; do if [ $i != 'SYSTEM.css.clustername' ]; then echo $i; fi; done<\/big><\/code><code><big><br \/><\/big><\/code><span style=\"font-size:10pt;\"><\/span><br \/><code><big><br \/>[root@node1-pub ~]# ocrconfig -export \/tmp\/ocr_exp.dat -s online<br \/>[root@node1-pub ~]# for i in `strings \/tmp\/ocr_exp.dat | grep -A 1 clustername` ; do if [ $i != 'SYSTEM.css.clustername' ]; then echo $i; fi; done<br \/><span style=\"color:#cc0000;\">test-crs<\/span><br \/>[root@node1-pub ~]#<span style=\"font-weight:bold;\"> <\/span><\/big><\/code><\/p>\n<p><code><big><big style=\"font-style:italic;\"><big>OR<span style=\"font-weight:bold;\"><\/p>\n<p><\/span><\/big><\/big><\/big><\/code><span style=\"font-family:verdana;\">Oracle creates  a directory with the same name as Cluster under the $ORA_CRS_HOME\/cdata. you can get the cluster name from this directory as well.<\/span><big><br \/><code style=\"font-weight:bold;\"><br \/><\/code><code>[root@node1-pub ~]# ls \/u01\/app\/crs\/cdata<br \/>localhost&nbsp; <span style=\"color:#cc0000;\">test-crs<\/span><\/code><\/big><big><br \/><\/big><code><big><br \/><\/big><\/code><\/div>\n<div style=\"margin-left:40px;\"><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u><a href=\"http:\/\/www.soudba.com.br\/\" name=\"Viewing_No._Of_Nodes_configured_in\"><\/a>Viewing No. Of Nodes configured in Cluster:<\/u><\/i><\/big><\/span><\/span><\/span><\/big><\/div>\n<div style=\"margin-left:80px;\"><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><br \/><span style=\"font-family:verdana;\">The below command can be used to find out the number of nodes registered into the cluster.<\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">It also displays the node&#8217;s Public name, Private name and Virtual name along with their numbers.<\/span><big><span style=\"color:#000066;\"><span style=\"color:black;\"><span style=\"font-weight:bold;\"><\/p>\n<p><\/span><\/span><span style=\"color:#330099;font-weight:bold;\"><\/span><\/span><code style=\"color:#330099;\"><big>olsnodes -n -p -i<\/big><\/code><\/big><big><span style=\"color:#000066;\"><span style=\"color:black;\"><\/p>\n<p><\/span><\/span><code>[root@node1-pub ~]# olsnodes -n -p -i <br \/>node1-pub&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node1-prv&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node1-vip<br \/>node2-pub&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node2-prv&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node2-vip<br \/><\/code><\/big><\/div>\n<div style=\"margin-left:40px;\"><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u><a href=\"http:\/\/www.soudba.com.br\/\" name=\"Viewing_Votedisk_Information:\"><\/a>Viewing Votedisk Information:<\/u><\/i><\/big><\/span><\/span><\/span><\/big><\/div>\n<div style=\"margin-left:80px;\"><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><br \/><span style=\"font-family:verdana;\">The below command is used to view the no. of Votedisks configured in the Cluster.<\/span><big><\/p>\n<p><big style=\"color:#330099;\"><code>crsctl query css votedisk<\/code><\/big><\/big><br \/><big><br \/><\/big><span style=\"font-size:10pt;\">[root@node1-pub ~]# crsctl query css votedisk<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;0.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;  \/u02\/ocfs2\/vote\/VDFile_0<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;1.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;  \/u02\/ocfs2\/vote\/VDFile_1<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;2.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;  \/u02\/ocfs2\/vote\/VDFile_2<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">Located  3 voting disk(s).<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">[root@node1-pub ~]#  <\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\"><\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">[root@node1-pub ~]#  crsctl check crs<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">Cluster Synchronization  Services appears healthy<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">Cluster Ready  Services appears healthy<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">Event Manager  appears healthy<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">[root@node1-pub ~]#  <\/span><b><span style=\"font-size:10pt;\"><\/p>\n<p><\/span><\/b><\/div>\n<div style=\"margin-left:40px;\"><a href=\"http:\/\/www.soudba.com.br\/\" name=\"Viewing_OCR_Disk_Information:\"><\/a><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u>Viewing OCR  Disk Information:<\/u><\/i><\/big><\/span><\/span><\/span><\/big><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><\/div>\n<div style=\"margin-left:80px;\"><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">The below command is used to view the no. of OCR files configured in the Cluster. It also displays the version of OCR<\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">as well as storage space information. You can only have 2 OCR files at max.<\/span><\/p>\n<p><code style=\"color:#330099;\"><big><big>ocrcheck<\/big><\/big><\/code><\/p>\n<p><span style=\"font-family:&quot;font-size:10pt;\">[root@node1-pub ~]#  ocrcheck<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">Status  of Oracle Cluster Registry is as follows :<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  2<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Total  space (kbytes)&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp; 262120<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used  space (kbytes)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3848<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Available  space (kbytes) :&nbsp;&nbsp;&nbsp;&nbsp; 258272<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;  744414276<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File  Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : \/u02\/ocfs2\/ocr\/OCRfile_0<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File  integrity check succeeded<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File  Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : \/u02\/ocfs2\/ocr\/OCRfile_1<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File  integrity check succeeded<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;<\/span><br \/><span style=\"font-family:&#038;qu\not;font-size:10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cluster  registry integrity check succeeded<\/span><br \/><b><span style=\"font-family:&quot;font-size:10pt;\">&nbsp;<\/span><\/b><\/div>\n<div style=\"margin-left:40px;\"><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u><a href=\"http:\/\/www.soudba.com.br\/\" name=\"Various_Timeout_Settings_in_Cluster:\"><\/a>Various Timeout Settings in Cluster:<\/u><\/i><\/big><\/span><\/span><\/span><\/big><\/div>\n<div style=\"margin-left:80px;\"><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><br \/><b><span style=\"font-family:&quot;font-size:10pt;\"><span style=\"text-decoration:underline;\"><\/span><\/span><\/b><span style=\"font-family:verdana;\">Disktimeout: <\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">&nbsp;&nbsp;&nbsp; Disk Latencies in seconds from node-to-Votedisk. Default Value is 200. (Disk IO)<\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">Misscount: <\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">&nbsp;&nbsp;&nbsp; Network Latencies in second from node-to-node (Interconnect). Default Value is 60 Sec (Linux) and 30 Sec in Unix platform. (Network IO)<\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">&nbsp;&nbsp;&nbsp; Misscount &lt; Disktimeout<\/span><br style=\"font-family:verdana;\" \/> <br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">NOTE: Do not change them without contacting Oracle Support. This may cause logical corruption to the Data.<\/span><big><\/p>\n<p><code style=\"color:#000066;\">IF<br \/>&nbsp; (Disk IO Time &gt; Disktimeout) OR (Network <\/code><\/big><code><big><span style=\"color:#000066;\">IO time &gt; Misscount)<\/span><br style=\"color:#000066;\" \/> <span style=\"color:#000066;\">THEN<\/span><br style=\"color:#000066;\" \/> <span style=\"color:#000066;\">&nbsp;&nbsp; REBOOT NODE<\/span><br style=\"color:#000066;\" \/> <span style=\"color:#000066;\">ELSE<\/span><br style=\"color:#000066;\" \/> <span style=\"color:#000066;\">&nbsp;&nbsp; DO NOT REBOOT<\/span><br style=\"color:#000066;\" \/> <span style=\"color:#000066;\">END IF;<\/span><br \/><\/big><\/code><big><br \/><code style=\"color:#000066;\"><big>crsctl get css disktimeout<br \/>crsctl get css misscount<br \/>crsctl get css&nbsp; reboottime<\/big><\/code><code style=\"color:#000066;font-weight:bold;\"><big><br \/><\/big><\/code><\/big><b style=\"color:#330099;\"><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><b style=\"color:#330099;\"><span style=\"font-family:&quot;font-size:10pt;\">[<\/span><\/b><span style=\"color:#330099;\"><span style=\"font-family:&quot;font-size:10pt;\">root@node1-pub ~]# crsctl get css disktimeout<\/span><\/span><br style=\"color:#330099;\" \/> <span style=\"color:#330099;\"><span style=\"font-family:&quot;font-size:10pt;\">200<\/span><\/span><br style=\"color:#330099;\" \/> <span style=\"color:#330099;\"><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/span><br \/><span style=\"color:#330099;\"><span style=\"font-family:&quot;font-size:10pt;\">[root@node1-pub ~]# crsctl get css misscount<\/span><\/span><br style=\"color:#330099;\" \/> <span style=\"font-family:&quot;font-size:10pt;\"><span style=\"color:#330099;\">Configuration parameter misscount is not defined.<\/span><\/span><b><span style=\"font-family:&quot;font-size:10pt;\"> <\/span><\/b><big style=\"font-weight:bold;\">&lt;&lt;&lt;&lt;&lt; <\/big><span style=\"font-family:verdana;\">This message indicates that the Misscount is not set maually and it is set to it&#8217;s <\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">Default Value On Linux, it is default to 60 Second. If you want to chang it, you can do that as below. (Not recommended)<\/span><br \/><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><br \/><span style=\"color:#cc0000;\"><span style=\"font-family:&quot;font-size:10pt;\">[root@node1-pub ~]# crsctl set css misscount 100<\/span><\/span><br style=\"color:#cc0000;\" \/> <span style=\"color:#cc0000;\"><span style=\"font-family:&quot;font-size:10pt;\">Configuration parameter misscount is now set to 100.<\/span><\/span><br style=\"color:#cc0000;\" \/> <span style=\"color:#cc0000;\"><span style=\"font-family:&quot;font-size:10pt;\">[root@node1-pub ~]# crsctl get css misscount<\/span><\/span><br style=\"color:#cc0000;\" \/> <span style=\"color:#cc0000;\"><span style=\"font-family:&quot;font-size:10pt;\">100<\/span><\/span><br \/><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><br \/><span style=\"font-family:verdana;\">The below command sets the value of misscount back to its Default values:<\/span><big><\/p>\n<p><code style=\"color:#000099;font-weight:bold;\"><big>&nbsp;<\/big><\/code><code style=\"color:#000099;\"><big><span style=\"color:#000066;\">crsctl unset css misscount<\/span><\/big><\/code><code style=\"color:#000099;font-weight:bold;\"> <\/code><\/big><br \/><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><br \/><span style=\"font-family:&quot;font-size:10pt;\">[root@node1-pub ~]#  crsctl unset css misscount<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\"><\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">[root@node1-pub ~]#  crsctl get css&nbsp; reboottime<\/span><br \/><span style=\"font-family:&quot;font-size:10pt;\">3<\/span><br \/><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><\/div>\n<div style=\"margin-left:40px;\"><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u><a href=\"http:\/\/www.soudba.com.br\/\" name=\"AddRemove_OCR_file_in_Cluster:\"><\/a>Add\/Remove OCR file in Cluster:<\/u><\/i><\/big><\/span><\/span><\/span><\/big><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><\/div>\n<div style=\"margin-left:80px;\">\n<div style=\"margin-left:40px;\"><b><span style=\"font-family:&quot;font-size:10pt;\"><\/span><\/b><\/div>\n<p><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><big style=\"text-decoration:underline;\">Removing OCR File<\/big><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><span style=\"font-family:verdana;\">(1) Get the Existing OCR file information by running ocrcheck utility.<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><code>[root@node1-pub ~]# ocrcheck<br \/>Status of Oracle Cluster Registry is as follows :<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Total space (kbytes)&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp; 262120<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used space (kbytes)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3852<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Available space (kbytes) :&nbsp;&nbsp;&nbsp;&nbsp; 258268<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp; 744414276<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style=\"color:#cc0000;\">Device\/File Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :<\/span> <span style=\"color:#cc0000;\">\/u02\/ocfs2\/ocr\/OCRfile_0  &lt;-- OCR<\/span><br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File integrity check succeeded<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style=\"color:#cc0000;\">Device\/File Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : \/u02\/ocfs2\/ocr\/OCRfile_1 &lt;-- OCR Mirror<\/span><br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n<br \/>\nbsp;&nbsp;&nbsp;&nbsp; Device\/File integrity check succeeded<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cluster registry integrity check succeeded<\/code><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><span style=\"font-family:verdana;\">(2) The First command removes the OCR mirror (\/u02\/ocfs2\/ocr\/OCRfile_1). If you want to remove the OCR<\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file<\/span><big> (<\/big><code style=\"font-weight:bold;\"><span style=\"color:#cc0000;\">\/u02\/ocfs2\/ocr\/OCRfile_1) <\/span><\/code><span style=\"font-family:verdana;\">run the next command.<\/span><br \/><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><code style=\"color:#000066;font-weight:bold;\"><\/code><big><code style=\"color:#000066;\"><big>ocrconfig -replace ocrmirror<\/big><\/code><\/big><br \/><span style=\"font-family:&quot;font-size:10pt;\"><\/span><big><code style=\"color:#000066;\"><big>ocrconfig -replace ocr<\/big><\/code><\/big><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><span style=\"font-size:10pt;\">[root@node1-pub ~]# ocrconfig -replace ocrmirror <br \/>[root@node1-pub ~]# ocrcheck<br \/>Status of Oracle Cluster Registry is as follows :<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Total space (kbytes)&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp; 262120<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used space (kbytes)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3852<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Available space (kbytes) :&nbsp;&nbsp;&nbsp;&nbsp; 258268<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp; 744414276<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : \/u02\/ocfs2\/ocr\/OCRfile_0 &lt;&lt;&#8211; OCR File<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File integrity check succeeded<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File not configured&nbsp; &lt;&#8211; OCR Mirror not existed any more<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cluster registry integrity check succeeded<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><big style=\"text-decoration:underline;\">Adding OCR<\/big><br \/><big><br \/><\/big><span style=\"font-family:verdana;\">You need to add OCR or OCR Mirror file in a case where you want to move the existing OCR file location to the different Devices.<\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">The below command add ths OCR mirror file if OCR file alread exists.<\/span><br style=\"font-family:verdana;\" \/> <br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">(1) Get the Current status of OCR:<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><span style=\"font-size:10pt;\">[root@node1-pub ~]# ocrconfig -replace ocrmirror <br \/>[root@node1-pub ~]# ocrcheck<br \/>Status of Oracle Cluster Registry is as follows :<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Total space (kbytes)&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp; 262120<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used space (kbytes)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3852<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Available space (kbytes) :&nbsp;&nbsp;&nbsp;&nbsp; 258268<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp; 744414276<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : \/u02\/ocfs2\/ocr\/OCRfile_0 &lt;&lt;&#8211; OCR File<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File integrity check succeeded<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File not configured&nbsp; &lt;&#8211; OCR Mirror does not exist<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cluster registry integrity check succeeded<br \/><\/span><b><span style=\"font-size:10pt;\"><br \/><\/span><\/b><span style=\"font-family:verdana;\">As You can see, I only have one OCR file but not the second file which is OCR Mirror.<\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">So, I can add second OCR (OCR Mirror) as below command. <\/span><big><\/p>\n<p><code style=\"color:#000066;\"><big>ocrconfig -replace ocrmirror <\/big><\/code><code style=\"color:#000066;font-weight:bold;\"><big><\/p>\n<p><\/big><\/code><\/big><span style=\"font-family:&quot;font-size:10pt;\">[root@node1-pub ~]# ocrconfig -replace ocrmirror \/u02\/ocfs2\/ocr\/OCRfile_1<br \/>[root@node1-pub ~]# ocrcheck<br \/>Status of Oracle Cluster Registry is as follows :<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Total space (kbytes)&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp; 262120<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used space (kbytes)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3852<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Available space (kbytes) :&nbsp;&nbsp;&nbsp;&nbsp; 258268<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp; 744414276<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : \/u02\/ocfs2\/ocr\/OCRfile_0<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File integrity check succeeded<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : \/u02\/ocfs2\/ocr\/OCRfile_1<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device\/File integrity check succeeded<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cluster registry integrity check succeeded<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><span style=\"font-family:verdana;\">You can have at most 2 OCR devices (OCR itself and its single Mirror) in a cluster. Adding extra Mirror gives you below error message<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><span style=\"font-siz\ne:10pt;\"><span style=\"color:#cc0000;\">[root@node1-pub ~]#  ocrconfig -replace ocrmirror \/u02\/ocfs2\/ocr\/OCRfile_2<\/span><br style=\"color:#cc0000;\" \/> <span style=\"color:#cc0000;\">PROT-21: Invalid parameter<\/span><br style=\"color:#cc0000;\" \/> <span style=\"color:#cc0000;\">[root@node1-pub ~]# <\/span><\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><br style=\"color:#cc0000;\" \/> <br \/><\/span><\/b><\/div>\n<div style=\"margin-left:40px;\"><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u><a href=\"http:\/\/www.soudba.com.br\/\" name=\"AddRemove_Votedisk_file_in_Cluster:\"><\/a>Add\/Remove Votedisk file in Cluster:<\/u><\/i><\/big><\/span><\/span><\/span><\/big><\/div>\n<div style=\"margin-left:80px;\"><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><big style=\"text-decoration:underline;\">Adding Votedisk:<\/big><br \/><big><br \/><\/big><span style=\"font-family:verdana;\">Get the existing Vote Disks associated into the cluster. To be safe, Bring crs cluster stack down on all the nodes <\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">but one on which you are going to add votedisk from.<\/span><br style=\"font-family:verdana;\" \/> <br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">(1) Stop CRS on all the nodes in cluster but one.<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><span style=\"font-size:10pt;\"><br \/><big>[root@node2-pub ~]# crsctl stop crs<\/big><\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">(2) Get the list of Existing Vote Disks<\/span><b><span style=\"font-size:10pt;\"><\/p>\n<p><\/span><\/b><code style=\"color:#000066;\"><big><big>crsctl query css votedisk<\/big><\/big><\/code><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p>[root@node1-pub ~]# crsctl query css votedisk<br \/>&nbsp;0.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; \/u02\/ocfs2\/vote\/VDFile_0<br \/>&nbsp;1.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; \/u02\/ocfs2\/vote\/VDFile_1<br \/>&nbsp;2.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; \/u02\/ocfs2\/vote\/VDFile_2<br \/>Located 3 voting disk(s).<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><big><a href=\"http:\/\/www.soudba.com.br\/\" name=\"3_Backup_the_VoteDisk_file\"><\/a><\/big><span style=\"font-family:verdana;\">(3) Backup the VoteDisk file<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><big><span style=\"font-size:10pt;\"><\/span><br \/><\/big><span style=\"font-family:verdana;\">Backup the existing votedisks as below as oracle:<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><code style=\"color:#000066;\"><big>dd if=\/u02\/ocfs2\/vote\/VDFile_0 of=$ORACLE_BASE\/bkp\/vd\/VDFile_0<\/big><\/code><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><span style=\"font-size:10pt;\">[root@node1-pub ~]# su &#8211; oracle<br \/>[oracle@node1-pub ~]$ dd if=\/u02\/ocfs2\/vote\/VDFile_0 of=$ORACLE_BASE\/bkp\/vd\/VDFile_0<br \/>41024+0 records in<br \/>41024+0 records out<br \/>[oracle@node1-pub ~]$ <\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><span style=\"font-family:verdana;\">(4) Add an Extra Votedisk into the Cluster: <\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><big><br \/><\/big><span style=\"font-family:verdana;\">&nbsp;&nbsp;&nbsp; If it is a OCFS, then touch the file as oracle. On raw devices, initialize the raw devices using &#8220;dd&#8221; command<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><code style=\"color:#000066;font-weight:bold;\"><big><br \/><\/big><\/code><code style=\"color:#000066;\"><big>touch \/u02\/ocfs2\/vote\/VDFile_3 &lt;&lt;-- as oracle<br \/>crsctl add css votedisk \/u02\/ocfs2\/vote\/VDFile_3 &lt;&lt;-- as oracle<br \/>crsctl query css votedisks<\/big><\/code><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><span style=\"font-size:10pt;\">[root@node1-pub ~]# su &#8211; oracle<br \/>[oracle@node1-pub ~]$ touch \/u02\/ocfs2\/vote\/VDFile_3<br \/>[oracle@node1-pub ~]$<\/span><span style=\"font-family:&quot;font-size:10pt;\"> crsctl add css votedisk \/u02\/ocfs2\/vote\/VDFile_3<br \/>Now formatting voting disk: \/u02\/ocfs2\/vote\/VDFile_3.<br \/>Successful addition of voting disk \/u02\/ocfs2\/vote\/VDFile_3.<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><span style=\"font-family:verdana;\">(5) Confirm that the file has been added successfully:<\/span><br \/><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><span style=\"font-size:10pt;\">[root@node1-pub ~]# ls -l \/u02\/ocfs2\/vote\/VDFile_3<br \/>-rw-r&#8212;&#8211;&nbsp; 1 oracle oinstall 21004288 Oct&nbsp; 6 16:31 \/u02\/ocfs2\/vote\/VDFile_3<br \/>[root@node1-pub ~]# crsctl query css votedisks<br \/>Unknown parameter: votedisks<br \/>[root@node1-pub ~]# crsctl query css votedisk<br \/>&nbsp;0.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; \/u02\/ocfs2\/vote\/VDFile_0<br \/>&nbsp;1.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; \/u02\/ocfs2\/vote\/VDFile_1<br \/>&nbsp;2.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; \/u02\/ocfs2\/vote\/VDFile_2<br \/>&nbsp;3.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; \/u02\/ocfs2\/vote\/VDFile_3<br \/>Located 4 voting disk(s).<br \/>[root@node1-pub ~]#<\/span><b><span style=\"font-family:&quot;font-size:10pt;\"> <\/p>\n<p><\/span><\/b><big style=\"text-decoration:underline;\">Removing Votedisk:<\/big><br \/><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><span style=\"font-family:verdana;\">Removing Votedisk from the cluster is very simple. Tthe below command removes the given votedisk from cluster configuration.<\/span><big><br \/><\/big><b><span style=\"font-size:10pt;\"><br \/><\/span><\/b><code style=\"color:#000066;\"><big>crsctl delete css votedisk \/u02\/ocfs2\/vote\/VDFile_3<\/big><\/code><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p>[root@node1-pub ~]# crsctl delete css votedisk \/u02\/ocfs2\/vote\/VDFile_3<br \/>Successful deletion of voting disk \/u02\/ocfs2\/vote\/VDFile_3.<br \/>[root@node1-pub ~]# <\/p>\n<p>[root@node1-pub ~]# crsctl query css votedisk<br \/>&nbsp;0.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; \/u02\/ocfs2\/vote\/VDFile_0<br \/>&nbsp;1.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; \/u02\/ocfs2\/vote\/VDFile_1<br \/>&nbsp;2.&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; \/u02\/ocfs2\/vote\/VDFile_2<br \/>Located 3 voting disk(s).<br \/>[root@node1-pub ~]# <\/span><b><span style=\"font-family:&quot;font-size:10pt;\"><\/p>\n<p><\/span><\/b><\/div>\n<div style=\"margin-left:40px;\"><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u><a href=\"http:\/\/www.soudba.com.br\/\" name=\"Backing_Up_OCR\"><\/a>Backing Up OCR<span style=\"font-weight:bold;\"><br \/><\/span><\/u><\/i><\/big><\/span><\/span><\/span><\/big><\/div>\n<div style=\"margin-left:80px;\"><b><span style=\"font-family:&quot;font-size:10pt;\"><br \/><\/span><\/b><span style=\"font-family:verdana;\">Oracle performs physical backup of OCR devices every 4 hours under the default backup direcory $ORA_CRS_HOME\/cdata\/ <\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">and then it rolls that forward to Daily, weekly and monthly backup. You can get the backup information by executing below command. <\/span><br style=\"font-family:verdana;\" \/> <code style=\"font-weight:bold;\"><br \/><\/code><code style=\"color:#000066;font-weight:bold;\"><big><big>ocrconfig -showbackup<\/big><\/big><\/code><code style=\"font-weight:bold;\"><br \/><\/code><big><br \/><\/big><code>[root@node1-pub ~]# ocrconfig -showbackup <\/p>\n<p>node2-pub&nbsp;&nbsp;&nbsp;&nbsp; 2007\/09\/03 17:46:47&nbsp;&nbsp;&nbsp;&nbsp; \/u01\/app\/crs\/cdata\/test-crs\/backup00.ocr<\/p>\n<p>node2-pub&nbsp;&nbsp;&nbsp;&nbsp; 2007\/09\/03 13:46:45&nbsp;&nbsp;&nbsp;&nbsp; \/u01\/app\/crs\/cdata\/test-crs\/backup01.ocr<\/p>\n<p>node2-pub&nbsp;&nbsp;&nbsp;&nbsp; 2007\/09\/03 09:46:44&nbsp;&nbsp;&nbsp;&nbsp; \/u01\/app\/crs\/cdata\/test-crs\/backup02.ocr<\/p>\n<p>node2-pub&nbsp;&nbsp;&nbsp;&nbsp; 2007\/09\/03 01:46:39&nbsp;&nbsp;&nbsp;&nbsp; \/u01\/app\/crs\/cdata\/test-crs\/day.ocr<\/p>\n<p>node2-pub&nbsp;&nbsp;&nbsp;&nbsp; 2007\/<br \/>\n09\/03 01:46:39&nbsp;&nbsp;&nbsp;&nbsp; \/u01\/app\/crs\/cdata\/test-crs\/week.ocr<br \/>[root@node1-pub ~]# <\/code><big><\/p>\n<p><span style=\"text-decoration:underline;\">Manually backing up the OCR<\/p>\n<p><\/span><\/big><code style=\"color:#000066;\"><big><big>ocrconfig -manualbackup &lt;&lt;--Physical Backup of OCR<\/big><\/big><\/code><code style=\"color:#000066;font-weight:bold;\"><big><big><\/p>\n<p><\/big><\/big><\/code><span style=\"font-family:verdana;\">The above command backs up OCR under the default Backup directory. You can export the contents of the OCR using below command (Logical backup).<\/span><big><\/p>\n<p><code style=\"color:#000066;font-weight:bold;\"><\/code><\/big><code style=\"color:#000066;\"><big><big>ocrconfig -export \/tmp\/ocr_exp.dat -s online &lt;&lt;-- Logical Backup of OCR<\/big><\/big><\/code><code style=\"color:#000066;font-weight:bold;\"><big><big><\/p>\n<p><\/big><\/big><\/code><\/div>\n<div style=\"margin-left:40px;\"><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u><a href=\"http:\/\/www.soudba.com.br\/\" name=\"Restoring_OCR\"><\/a>Restoring OCR<\/u><\/i><\/big><\/span><\/span><\/span><\/big><\/div>\n<div style=\"margin-left:80px;\"><code style=\"color:#000066;font-weight:bold;\"><big><big><br \/><\/big><\/big><\/code><span style=\"font-family:verdana;\">The below command is used to restore the OCR from the physical backup. Shutdown CRS on all nodes.<\/span><big><\/p>\n<p><\/big><code style=\"color:#000066;\"><big><big>ocrconfig -restore <\/big><\/big><\/code><br \/><big><br \/><span style=\"text-decoration:underline;\">Locate the avialable Backups<\/span><br \/><\/big><code style=\"font-weight:bold;\"><br \/><\/code><code>[root@node1-pub ~]# ocrconfig -showbackup<\/p>\n<p>node2-pub&nbsp;&nbsp;&nbsp;&nbsp; 2007\/09\/03 17:46:47&nbsp;&nbsp;&nbsp;&nbsp; \/u01\/app\/crs\/cdata\/test-crs\/backup00.ocr<\/p>\n<p>node2-pub&nbsp;&nbsp;&nbsp;&nbsp; 2007\/09\/03 13:46:45&nbsp;&nbsp;&nbsp;&nbsp; \/u01\/app\/crs\/cdata\/test-crs\/backup01.ocr<\/p>\n<p>node2-pub&nbsp;&nbsp;&nbsp;&nbsp; 2007\/09\/03 09:46:44&nbsp;&nbsp;&nbsp;&nbsp; \/u01\/app\/crs\/cdata\/test-crs\/backup02.ocr<\/p>\n<p>node2-pub&nbsp;&nbsp;&nbsp;&nbsp; 2007\/09\/03 01:46:39&nbsp;&nbsp;&nbsp;&nbsp; \/u01\/app\/crs\/cdata\/test-crs\/day.ocr<\/p>\n<p>node2-pub&nbsp;&nbsp;&nbsp;&nbsp; 2007\/09\/03 01:46:39&nbsp;&nbsp;&nbsp;&nbsp; \/u01\/app\/crs\/cdata\/test-crs\/week.ocr<\/p>\n<p>node1-pub&nbsp;&nbsp;&nbsp;&nbsp; 2007\/10\/07 13:50:41&nbsp;&nbsp;&nbsp;&nbsp; \/u01\/app\/crs\/cdata\/test-crs\/backup_20071007_135041.ocr<\/code><big><\/p>\n<p><\/big><big><span style=\"text-decoration:underline;\">Perform Restore from previous Backup<\/p>\n<p><\/span><\/big><code style=\"color:#000066;\"><big><big>[root@node2-pub ~]#  ocrconfig -restore \/u01\/app\/crs\/cdata\/test-crs\/week.ocr<br \/><\/big><\/big><\/code><code style=\"color:#000066;font-weight:bold;\"><big><big><br \/><\/big><\/big><\/code><span style=\"font-family:verdana;\">The above command restore the OCR from week old backup.<\/span><br style=\"font-family:verdana;\" \/> <span style=\"font-family:verdana;\">If you have logical backup of OCR (taken using export option), then You can import it with the below command.<\/span><br style=\"font-family:verdana;\" \/> <code style=\"color:#000066;\"><big><big><br \/>ocrconfig -import \/tmp\/ocr_exp.dat<\/big><\/big><\/code><code style=\"color:#000066;font-weight:bold;\"><big><big><\/p>\n<p><\/big><\/big><\/code><\/div>\n<div style=\"margin-left:40px;\"><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u><a href=\"http:\/\/www.soudba.com.br\/\" name=\"Restoring_Votedisks\"><\/a>Restoring Votedisks<\/u><\/i><\/big><\/span><\/span><\/span><\/big><\/div>\n<div style=\"margin-left:80px;\"><code style=\"font-weight:bold;\"><\/code><\/p>\n<ul style=\"font-family:verdana;\">\n<li>Shutdown CRS on all the nodes in Cluster.<\/li>\n<li>Locate the current location of the Votedisks<\/li>\n<li>Restore each of the votedisks using &#8220;dd&#8221; command from the previous good backup of Votedisk taken using the same &#8220;dd&#8221; command.<\/li>\n<li>Start CRS on all the nodes.<\/li>\n<\/ul>\n<p><code style=\"color:#000066;\"><big><big>crsctl stop crs<br \/>crsctl query css votedisk<br \/><\/big><\/big><\/code><code style=\"color:#000066;\"><big><big>dd if= of= &lt;&lt;-- do this for all the votedisks<br \/>crsctl start crs<\/big><\/big><\/code><code style=\"color:#000066;font-weight:bold;\"><big><big><\/p>\n<p><\/big><\/big><\/code><\/div>\n<div style=\"margin-left:40px;\"><big><span style=\"color:maroon;\"><span style=\"font-family:Arial, sans-serif;\"><span style=\"font-size:medium;\"><big><i><u><a href=\"http:\/\/www.soudba.com.br\/\" name=\"Changing_Public_and_Virtual_IP_Address:\"><\/a>Changing Public and Virtual IP Address:<\/u><\/i><\/big><\/span><\/span><\/span><\/big><\/p>\n<div style=\"margin-left:80px;\"><big><span style=\"color:#000066;\"><\/p>\n<p><span style=\"font-family:monospace;\"><span style=\"text-decoration:underline;\">Current Config<\/span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style=\"text-decoration:underline;\">Changed to<\/span><\/span><br style=\"font-family:monospace;\" \/> <br \/>Node 1:<br \/><br style=\"font-family:monospace;\" \/> <span style=\"font-family:monospace;\">Public IP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 216.160.37.154 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.11<\/span><br style=\"font-family:monospace;\" \/> <span style=\"font-family:monospace;\">VIP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 216.160.37.153 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.111<\/span><br style=\"font-family:monospace;\" \/> <span style=\"font-family:monospace;\">subnet:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 216.160.37.159&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.0<\/span><br style=\"font-family:monospace;\" \/> <span style=\"font-family:monospace;\">Netmask:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255.255.255.248&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255.255.255.0<\/span><br style=\"font-family:monospace;\" \/> <span style=\"font-family:monospace;\">Interface used:&nbsp; eth0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eth0<\/span><br style=\"font-family:monospace;\" \/> <span style=\"font-family:monospace;\">Hostname:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node1-pub.hingu.net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node1-pub.hingu.net<\/span><\/p>\n<p><span style=\"color:black;\">Node 2:<\/p>\n<p><\/span><\/span><\/big><big><span style=\"color:#000066;\"><span style=\"font-family:monospace;\">Public IP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 216.160.37.156 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.22<\/span><br style=\"font-family:monospace;\" \/> <span style=\"font-family:monospace;\">VIP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 216.160.37.157 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.222<\/span><br style=\"font-family:monospace;\" \/> <span style=\"font-family:monospace;\">subnet:&nbsp;&nbsp;&nbsp;&#038;nbsp<br \/>\n;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 216.160.37.159&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.0<\/span><br style=\"font-family:monospace;\" \/> <span style=\"font-family:monospace;\">Netmask:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255.255.255.248&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255.255.255.0<\/span><br style=\"font-family:monospace;\" \/> <span style=\"font-family:monospace;\">Interface used:&nbsp; eth0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eth0<\/span><br style=\"font-family:monospace;\" \/> <span style=\"font-family:monospace;\">Hostname:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node1-pub.hingu.net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node2-pub.hingu.net<\/p>\n<p><\/span><\/span><\/big><big><code style=\"font-weight:bold;\"><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big><big><code style=\"font-weight:bold;\"><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\">=======================================================================<\/span><\/span><\/big><\/code><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><br style=\"font-family:monospace;\" \/> <\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><span style=\"font-weight:bold;\">(A)<\/span><\/p>\n<p>Take the Services, Database, ASM Instances and nodeapps down on both the Nodes in Cluster. <\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\">Also disable  the nodeapps, asm and database instances to prevent them from restarting in case if this node gets rebooted during this process.<\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><span style=\"font-family:monospace;\"><\/span><br \/><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big> <\/p>\n<div style=\"margin-left:40px;\"><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl stop service -d test<br \/><\/small><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl stop  database -d test<br \/><\/small><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl stop  asm -n node1-pub<br \/><\/small><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl stop  asm -n node2-pub<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl stop nodeapps -n node1-pub,node1-pub2<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl disable instance -d test -i test1,test2<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl disable asm -n node1-pub<br \/><\/small><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl disable  asm -n node2-pub<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl disable nodeapps -n node1-pub<br \/><\/small><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl disable  nodeapps -n node2-pub<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big><\/div>\n<p><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><br \/><span style=\"font-weight:bold;\">(B)<\/span><br style=\"font-family:monospace;\" \/> <\/span><span style=\"font-family:monospace;\">Modify the \/etc\/hosts and\/or DNS, ifcfg-eth0 (local node) with the new IP values<br \/>on All the Nodes<\/p>\n<p><span style=\"font-weight:bold;\">(C)<\/span><br \/>Restart the specific network interface in order to use the new IP.<\/p>\n<p><\/span><\/span><\/big><\/code><\/big> <\/p>\n<div style=\"margin-left:40px;\"><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>ifconfig eth0 down<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>ifconfig eth0 up<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big><\/div>\n<p><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><br \/>Or, you can restart the network.<br \/><span style=\"font-weight:bold;\">CAUTION:<\/span> on NAS, restarting entire network may cause the node to be rebooted.<\/p>\n<p><span style=\"font-weight:bold;\">(D)<\/span><br \/>Update the OCR with the New Public IP. <br \/>In case of public IP, you have to delete the interface first and then add it back with the new IP address. <\/p>\n<p>As oracle user, Issue the below command:<\/p>\n<p><\/span><\/span><\/big><\/code><\/big> <\/p>\n<div style=\"margin-left:40px;\"><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\">oifcfg delif -global eth0<\/span><\/span><\/big><\/code><small><br \/><\/small><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\">oifcfg setif -global eth0\/192.168.10.0:public<\/span><\/span><\/big><\/code><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big><\/div>\n<p><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><br \/><span style=\"font-weight:bold;\">(E)<\/span><br \/>Update the OCR with the New Virtual IP.<br \/>Virtual IP is part of the nodeapps and so you can modify the nodeapps to update the Virtual IP information.<\/p>\n<p>As privileged user (root), Issue the below commands:<\/p>\n<p><\/span><\/span><\/big><\/code><\/big> <\/p>\n<div style=\"margin-left:40px;\"><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\">srvctl modify nodeapps -n node1-pub -A 192.168.10.111\/255.255.255.0\/eth0 &lt;-- for Node 1<br \/><\/span><\/span><\/big><\/code><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\">srvctl modify nodeapps -n node1-pub -A 192.168.10.222\/255.255.255.0\/eth0 &lt;-- for Node 2<\/span><\/span><\/big><\/code><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big><\/div>\n<p><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><br \/><span style=\"font-weight:bold;\">(F)<\/span><br \/>Enable the nodeapps, ASM, database Instances for all the Nodes.<\/p>\n<p><\/span><\/span><\/big><\/code><\/big> <\/p>\n<div style=\"margin-left:40px;\"><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl enable  instance -d test -i test1,test2<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#\n000099;\"><span style=\"font-family:monospace;\"><small>srvctl enable asm -n node1-pub<br \/><\/small><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl enable  asm -n node2-pub<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl enable nodeapps -n node1-pub<br \/><\/small><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl enable  nodeapps -n node2-pub<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big><\/div>\n<p><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><br \/><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><span style=\"font-weight:bold;\">(G)<\/span><br \/>Update the listener.ora file on each nodes with the correct IP addresses in case if it uses the IP address instead of the hostname.<\/p>\n<p><span style=\"font-weight:bold;\">(H)<\/span><br \/>Restart the Nodeapps, ASM and Database instance<br \/><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><br \/><\/span><\/span><\/big><\/code><\/big> <\/p>\n<div style=\"margin-left:40px;\"><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl start nodeapps -n node1-pub<br \/><\/small><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl start  nodeapps -n node2-pub<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl start asm -n node1-pub<br \/><\/small><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl start  asm -n node2-pub<\/small><\/span><\/span><\/big><\/code><\/big><br \/><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>srvctl start database -d test<\/p>\n<p><\/small><\/span><\/span><\/big><\/code><\/big><\/div>\n<\/div>\n<div style=\"margin-left:40px;\">\n<div style=\"margin-left:40px;\"><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><\/span><\/span><\/big><\/code><\/big><big><code><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\">=======================================================================<\/span><\/span><\/big><\/code><code style=\"font-weight:bold;\"><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><br \/><\/span><\/span><\/big><\/code><\/big><big><code style=\"font-weight:bold;\"><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small><\/small><\/span><\/span><\/big><\/code><\/big><\/div>\n<div style=\"margin-left:40px;\"><big><code style=\"font-weight:bold;\"><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small><br \/><\/small><\/span><\/span><\/big><\/code><\/big><\/div>\n<div style=\"margin-left:40px;\"><big><code style=\"font-weight:bold;\"><big><span style=\"color:#000099;\"><span style=\"font-family:monospace;\"><small>Fonte: http:\/\/www.oracledba.org\/11g\/rac\/11g_RAC_Admin_Utilities.html<br \/><\/small><\/span><\/span><\/big><\/code><\/big><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>11g RAC Administration and Maintenance Tasks and Utilities:Task List: Checking CRS Status Viewing Name Of the ClusterViewing Nodes ConfigurationChecking Votedisk InformationChecking OCR Disk informationTimeout Settings in ClusterADD\/Remove OCR filesADD\/Remove VotediskBacking Up OCRBacking Up VotediskRestoring OCR Devices Restoring Voting Disk DevicesChanging &hellip; <a href=\"https:\/\/www.soudba.com.br\/?p=90\">Continue lendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[201,232],"tags":[],"class_list":["post-90","post","type-post","status-publish","format-standard","hentry","category-oracle-rac-11g-comandos","category-rac-11g"],"_links":{"self":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=90"}],"version-history":[{"count":0,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/90\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}