<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Transitional//EN">
<HTML>
<HEAD>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

      For third-party license citations, please see the bottom of this file.
    *************************************************************************************
  -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="TEMPLATEBASE" content="vx_vxhelp_2005c">
<meta name="LASTUPDATED" content="06/15/05 07:49:50">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="04_oracle_install.fm">
     
<title>Installing and Configuring Oracle9i: Overview</title>

</HEAD>

<BODY bgcolor="#FFFFFF" link="#000066" vlink="#0000ff" marginheight="0" topmargin="0">
<basefont=1>

<a name="259885"></a>

<div align="left">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
   <td height="2" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#000000">
   </td>
 </tr>
 <tr>
   <td height="15" width="50%" border="0" cellspacing="0" cellpadding="0" bgcolor="#cccccc">
    <img src="images/vxsymbol.gif" height="20" width="31" border="0" cellspacing="0" cellpadding="0" align="left">
     
     
   </td>
   <td align="right" width="50%" bgcolor="#cccccc">

<!-- Header Breadcrumbs -->
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="04_oracle_install_sf_ora_rac41_243262.html" title="Previous - Creating the Oracle9i User and Group">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="04_oracle_install_sf_ora_rac43_113113.html" title="Next - Installing Oracle9i Release 2 Software">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
   </td>
 </tr>

 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="sf_ora_rac_splashpage_docCD_sf_ora_rac1_103036.vxhd" title="Storage Foundation for Oracle RAC Guides title page ">Storage Foundation for Oracle RAC Guides</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>
 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="sfrac_icg_titlepage_docCD_sf_ora_rac2_73700.vxhd" title="Storage Foundation 4.1 for Oracle RAC Installation and Configuration title page ">Storage Foundation 4.1 for Oracle RAC Installation and Configuration</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>


</table>
</div>

<div align="left">
 <table border="0" width="100%" bgcolor="#FFFFFF">
  <tr>
   <td width="100%" valign="top" bgcolor="#FFFFFF">

<!-- Start Main Topic Content -->
        <a name="startcontent"></a>
	
<h1><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="+1" color="#000000"><a name="259885"></a>Installing and Configuring Oracle9i: Overview</font>
</h1>
 
  
  
  

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="261919"></a>The procedures in this section assume you have already installed Storage Foundation <em>for Oracle RAC</em> 4.1. Installing Oracle9i in a VERITAS Storage Foundation <em>for Oracle RAC</em> environment involves the following tasks:</font>
</p>

<ul><p><img src="images/check.gif" alt="Checkmark">&nbsp;
<a name="261932"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">Creating a shared disk group and volume for the Oracle9i SRVM component.</font>
</p><p><img src="images/check.gif" alt="Checkmark">&nbsp;
<a name="257200"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">Installing Oracle9i Release 2 on either shared disks or a local disk.</font>
</p><p><img src="images/check.gif" alt="Checkmark">&nbsp;
<a name="257201"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">Installing the Patch 2 for Oracle9i Release 2.</font>
</p><p><img src="images/check.gif" alt="Checkmark">&nbsp;
<a name="257202"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">Manually link SFRAC libraries with Oracle.</font>
</p></ul>


<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="257209"></a>Creating Shared Storage Location for the SRVM</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="257210"></a>The Oracle database requires configuring the Oracle Server Management (SRVM) component on a shared storage device. The SRVM component device stores information about the database server configuration.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="257211"></a>Use a raw volume or a cluster file system for SRVM. This volume requires at least 200 MB.</font>
</p>




<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="125679"></a>Method 1: Creating a Separate Location for SRVM</font>
</h3>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="113695"></a>The following procedures give details on creating a separate raw volume and file system for SRVM. If you would rather create a file system in the raw volume designated only for the SRVM component, refer to <a href="04_oracle_install_sf_ora_rac42_259885.html#248208">Method 2: Creating a Cluster File System for SRVM (Optional)</a> below. For example, to create a 300 MB <font face="Courier New, Courier, sansserif, sans serif" size="2">srvm_vol</font> volume in the <font face="Courier New, Courier, sansserif, sans serif" size="2">orasrv_dg</font> shared disk group on the  <font face="Courier New, Courier, sansserif, sans serif" size="2">c2t3d1</font> disk, complete the following steps: </font>
</p>

<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="113697"></a>From the CVM master node, create the shared disk group on the shared disk:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="113749"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxdg&nbsp;-s&nbsp;init&nbsp;orasrv_dg&nbsp;c2t3d1</b></font>
</font>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121638"></a>Create the volume in the shared disk group:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="113754"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxassist&nbsp;-g&nbsp;orasrv_dg&nbsp;make&nbsp;srvm_vol&nbsp;300M</b></font>
</font>
<li value="3">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="123858"></a>Set the ownership and permissions for the volume:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="123859"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxedit&nbsp;-g&nbsp;orasrv_dg&nbsp;set&nbsp;user=oracle&nbsp;group=dba&nbsp;mode=660&nbsp;srvm_vol</b></font>
</font>
<li value="4">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="257380"></a>Deport and import the disk group, and set the activation mode:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="257381"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxdg&nbsp;deport&nbsp;orasrv_dg</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="257382"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxdg&nbsp;-s&nbsp;import&nbsp;orasrv_dg</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="257383"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxvol&nbsp;-g&nbsp;orasrv_dg&nbsp;startall</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="257384"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;&nbsp;</b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>#&nbsp;</b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxdg&nbsp;-g&nbsp;orasrv_dg&nbsp;set&nbsp;activation=sw</b></font>
</font>
<li value="5">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="257386"></a>On the other nodes, enter:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="257387"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxdg&nbsp;-g&nbsp;orasrv_dg&nbsp;set&nbsp;activation=sw</b></font>
</font>
</ol>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="257388"></a>When you install Oracle9i, specify the name of the raw volume (<font face="Courier New, Courier, sansserif, sans serif" size="2">/dev/vx/rdsk/orasrv_dg/srvm_vol</font>). If you want to create a cluster file system for the SRVM component, proceed to the next section.</font>
</p>




<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="248208"></a>Method 2: Creating a Cluster File System for SRVM (Optional)</font>
</h3>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="248209"></a>If desired, create a cluster file system for the component in the <font face="Courier New, Courier, sansserif, sans serif" size="2">srvm_vol</font> volume. To create the file system:</font>
</p>

<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="120602"></a>On the CVM master node, create a VxFS file system for SRVM on the shared volume created for this purpose (see previous section). For example, create the file system on <font face="Courier New, Courier, sansserif, sans serif" size="2">srvm_vol</font>:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="120606"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mkfs&nbsp;-F&nbsp;vxfs&nbsp;/dev/vx/rdsk/orasrv_dg/srvm_vol</b></font>
</font>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="120607"></a>On each node, create the identical mount point for the file system:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="120608"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mkdir&nbsp;/orasrv</b></font>
</font>
<li value="3">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="260600"></a>On each node, mount the file system using the device file for the block device:
</font>
<a name="260602"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">		# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mount -F vxfs -o cluster,largefiles<br>					/dev/vx/dsk/orasrv_dg/srvm_vol /orasrv</b></font></font>
<li value="4">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="257408"></a>On one of the nodes, create a file for <font face="Courier New, Courier, sansserif, sans serif" size="2">ora_srvm</font> that is at least 200 MB. For example, to create a file of 200 MB, enter:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="257409"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>cd&nbsp;/orasrv</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="257410"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>prealloc&nbsp;ora_srvm&nbsp;200000000</b></font>
</font>
<li value="5">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="124935"></a>After mounting the file system, change the ownership again on each of the nodes:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="123844"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>chown&nbsp;-R&nbsp;oracle:dba&nbsp;/orasrv</b></font>
</font>
</ol>

<!-- End Main Topic Content -->

   </td>
  </tr>
 </table>
</div>

<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
  <td height="18" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
  </td>
 </tr>
  <td align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&nbsp;&#94;&nbsp;<a href="04_oracle_install_sf_ora_rac42_259885.html" title="Installing and Configuring Oracle9i: Overview">Return to Top</a></font>

  </td>
  <td align="right"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="04_oracle_install_sf_ora_rac41_243262.html" title="Previous - Creating the Oracle9i User and Group">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="04_oracle_install_sf_ora_rac43_113113.html" title="Next - Installing Oracle9i Release 2 Software">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
  </td>
 <tr>
   <td height="9" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
   </td>
 </tr>

<!-- Footer Breadcrumbs -->
<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="sf_ora_rac_splashpage_docCD_sf_ora_rac1_103036.vxhd" title="Storage Foundation for Oracle RAC Guides title page ">Storage Foundation for Oracle RAC Guides</a>&nbsp;&nbsp;</font></td>
</tr>

<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="sfrac_icg_titlepage_docCD_sf_ora_rac2_73700.vxhd" title="Storage Foundation 4.1 for Oracle RAC Installation and Configuration title page ">Storage Foundation 4.1 for Oracle RAC Installation and Configuration</a>&nbsp;&nbsp;</font></td>
</tr>


 <tr>
  <td colspan="2" align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" color="#000000" align="right" size="-2">
<em>VERITAS Software Corporation
</em></font><br>

<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">www.veritas.com</font><br>
  </td>
 </tr>
</table>
</div>

</BODY>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

    VERITAS, VERITAS SOFTWARE, the VERITAS Logo, and VERITAS Software Documentation 
    are trademarks or registered trademarks of VERITAS Software Corporation 
    or its affiliates in the U.S. and other countries. Other names may be 
    trademarks of their respective owners. 

    Apache Jakarta Lucene:
    Apache Software License
    Version 1.1

    Copyright (c) 2000 The Apache Software Foundation. All rights reserved.

    Redistribution and use in source and binary forms, with or without modification, 
    are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice, this 
    list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright notice, this 
    list of conditions and the following disclaimer in the documentation and/or other 
    materials provided with the distribution.

    3. The end-user documentation included with the redistribution, if any, must include 
    the following acknowledgment: "This product includes software developed by the Apache 
    Software Foundation (http://www.apache.org/)." Alternately, this acknowledgment may 
    appear in the software itself, if and wherever such third-party acknowledgments 
    normally appear.

    4. The names "Apache" and "Apache Software Foundation" must not be used to endorse or 
    promote products derived from this software without prior written permission. For 
    written permission, please contact apache@apache.org.

    5. Products derived from this software may not be called "Apache", nor may "Apache" 
    appear in their name, without prior written permission of the Apache Software Foundation.

    THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, 
    BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION 
    OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
    OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    This software consists of voluntary contributions made by many individuals on behalf 
    of the Apache Software Foundation. For more information on the Apache Software Foundation, 
    please see <http://www.apache.org/>. Portions of this software are based upon public domain 
    software originally written at the National Center for Supercomputing Applications, University 
    of Illinois, Urbana-Champaign.
    
    This product includes WebWindow Software developed by Horst Heistermann.
    *************************************************************************************
  -->
</HTML>
