Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdprc\adminoc003.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Maintaining the Oracle Local Registry</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1 Build 135" /> <meta name="date" content="2009-06-04T14:31:50Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Maintaining the Oracle Local Registry" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E10743-01" /> <link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="prev" href="tdprc_recover_ocr_from_exp.htm" title="Previous" type="text/html" /> <link rel="next" href="tdprc_changing_ocr_config.htm" title="Next" type="text/html" /> <script src="./callback.js" type="text/javascript"></script> <noscript>Your browser does not support JavaScript. This help page requires JavaScript to render correctly.</noscript> </head> <body> <div class="zz-skip-header"><a href="#BEGIN">Skip Headers</a></div> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="tdprc_recover_ocr_from_exp.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdprc_changing_ocr_config.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDHCCHE" name="CHDHCCHE"></a><a id="TDPRC241" name="TDPRC241"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1>Maintaining the Oracle Local Registry</h1> <a name="BEGIN" id="BEGIN"></a> <p>You maintain the Oracle Local Registry using the OCRCHECK, OCRDUMP, and OCRCONFIG utilities with the <code>-local</code> option.</p> <a id="TDPRC242" name="TDPRC242"></a> <p class="subhead2">To check the status of the OLR:</p> <p>Use the <a id="sthref204" name="sthref204"></a><a id="sthref205" name="sthref205"></a>OCRCHECK utility, as shown in the following example:</p> <pre xml:space="preserve" class="oac_no_warn"> ocrcheck -local </pre> <p>This command produces output similar to the following:</p> <pre xml:space="preserve" class="oac_no_warn"> Status of Oracle Cluster Registry is as follows : Version : 3 Total space (kbytes) : 262132 Used space (kbytes) : 9200 Available space (kbytes) : 252932 ID : 604793089 Device/File Name : /orahome/cdata/localhost//ldata.ocr Device/File integrity check succeeded Device/File Name : /orahome/cdata/localhost//lmirror.ocr Device/File integrity check succeeded Local OCR integrity check succeeded </pre> <a id="TDPRC243" name="TDPRC243"></a> <p class="subhead2">To view the contents of the OLR:</p> <p>Use the <a id="sthref206" name="sthref206"></a><a id="sthref207" name="sthref207"></a>OCRDUMP utility to display the contents of the OLR to the text terminal that initiated the program, as follows:</p> <pre xml:space="preserve" class="oac_no_warn"> $ ocrdump -local -stdout </pre> <a id="TDPRC244" name="TDPRC244"></a> <p class="subhead2">To export the OLR to a file:</p> <p>Use the <a id="sthref208" name="sthref208"></a><a id="sthref209" name="sthref209"></a>OCRCONFIG utility, as shown in the following example:</p> <pre xml:space="preserve" class="oac_no_warn"> $ ocrconfig –local –export <span class="italic">file_name</span> </pre> <a id="TDPRC245" name="TDPRC245"></a> <p class="subhead2">To import a specified file to the OLR:</p> <p>Use the <a id="sthref210" name="sthref210"></a><a id="sthref211" name="sthref211"></a>OCRCONFIG utility, as shown in the following example:</p> <pre xml:space="preserve" class="oac_no_warn"> $ ocrconfig –local –import <span class="italic">file_name</span> </pre> <a id="TDPRC246" name="TDPRC246"></a> <p class="subhead2">To change the location of the OLR file on the local node:</p> <p>To modify the <code>olr.loc</code> file on the local node using the OCRCONFIG utility:</p> <pre xml:space="preserve" class="oac_no_warn"> $ ocrconfig –local –repair olr <span class="italic">file_name</span> </pre> <p>The <code>olr</code> keyword used with the <code>-repair</code> option is valid only when <code>-local</code> is used.</p> </div> <!-- class="sect2" --> <!-- class="sect1" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2006, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="./dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="tdprc_recover_ocr_from_exp.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdprc_changing_ocr_config.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de