Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdprc\preparing008.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>Configuring Files on an NAS Device for Use with ASM</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="Configuring Files on an NAS Device for Use with ASM" /> <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_decide_storage.htm" title="Previous" type="text/html" /> <link rel="next" href="preparing009.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_decide_storage.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="preparing009.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BCGICEDG" name="BCGICEDG"></a><a id="TDPRC151" name="TDPRC151"></a></p> <div class="sect2"> <h1>Configuring Files on an NAS Device for Use with ASM</h1> <a name="BEGIN" id="BEGIN"></a> <p>To use an NFS file system, it must be on a certified NAS device. <a id="sthref117" name="sthref117"></a><a id="sthref118" name="sthref118"></a>If you have a certified network attached storage (NAS) device, then you can create zero-padded files in an NFS mounted directory and use those files as disk devices in an ASM disk group.</p> <p>To ensure high availability of Oracle Clusterware files on ASM, you need to have at least 2 GB of disk space for Oracle Clusterware files in three separate failure groups, with at least three physical disks. Each disk must have at least 1 GB of capacity to ensure that there is sufficient space to create Oracle Clusterware files.</p> <p>Use the following guidelines when identifying appropriate disk devices:</p> <ul> <li> <p>All of the devices in an Automatic Storage Management disk group should be the same size and have the same performance characteristics.</p> </li> <li> <p>A disk group should not contain more than one partition on a single physical disk device.</p> </li> <li> <p>Using logical volumes as a device in an Automatic Storage Management disk group is not supported with Oracle RAC.</p> </li> <li> <p>The user account with which you perform the installation (<code>oracle</code>) must have write permissions to create the files in the path that you specify.</p> </li> </ul> <a id="TDPRC152" name="TDPRC152"></a> <p class="subhead2">To configure NAS device files for creating disk groups:</p> <ol> <li> <p>If necessary, create an exported directory for the disk group files on the NAS device.</p> <p>Refer to the NAS device documentation for more information about completing this step.</p> </li> <li> <p>Switch to the <code>root</code> user.</p> </li> <li> <p>Create a mount point directory on the local system. For example:</p> <pre xml:space="preserve" class="oac_no_warn"> # mkdir -p /mnt/oracleasm </pre></li> <li> <p>To ensure that the NFS file system is mounted when the system restarts, add an entry for the file system in the mount file <code>/etc/fstab</code>.</p> <p>For more information about editing the mount file for the operating system, refer to the Linux man pages. For more information about recommended mount options, refer to <span class="italic">Oracle Grid Infrastructure Installation Guide for Linux</span>.</p> </li> <li> <p>Enter a command similar to the following to mount the NFS file system on the local system:</p> <pre xml:space="preserve" class="oac_no_warn"> # mount /mnt/oracleasm </pre></li> <li> <p>Choose a name for the disk group that you want to create, for example, <code>sales1</code>.</p> </li> <li> <p>Create a directory for the files on the NFS file system, using the disk group name as the directory name, for example:</p> <pre xml:space="preserve" class="oac_no_warn"> # mkdir /mnt/oracleasm/sales1 </pre></li> <li> <p>Use commands similar to the following to create the required number of zero-padded files in this directory:</p> <pre xml:space="preserve" class="oac_no_warn"> # dd if=/dev/zero of=/mnt/oracleasm/nfsdg/disk1 bs=1024k count=1000 </pre> <p>This example creates 1 GB files on the NFS file system. You must create one, two, or three files respectively to create an external, normal, or high redundancy disk group.</p> </li> <li> <p>Enter the following commands to change the owner, group, and permissions on the directory and files that you created:</p> <pre xml:space="preserve" class="oac_no_warn"> # chown -R oracle:dba /mnt/oracleasm # chmod -R 660 /mnt/oracleasm </pre></li> <li> <p>When installing Oracle RAC, when creating an ASM disk group, edit the disk discovery string to specify a regular expression that matches the file names you created, for example, <code>/mnt/oracleasm/sales1</code>.</p> <div class="helpinfonote"> <p><span class="bold">Note: </span>To simplify the ASM administration of disks, you can install the Linux ASMLIN RPMs, as described in <a href="javascript:open('http://www.oracle.com/pls/db112/lookup?id=CWLIN','newWindow').focus()"><span class="italic">Oracle Grid Infrastructure Installation Guide for Linux</span></a>.</p> </div> </li> </ol> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="tdprc_decide_storage.htm#BGBBBIFJ">About Shared Storage</a></p> <p><a href="tdprc_check_hw_reqs.htm#CHDDBGGG">About Hardware Requirements</a></p> </div> </div> <!-- class="sect2" --> <!-- 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_decide_storage.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="preparing009.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