<!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/13/05 10:41:48">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="02_install_app.fm">
     
<title>Points to Note Before Installing Oracle</title>

</HEAD>

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

<a name="209776"></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="02_install_app_vcs_agents44_227218.html" title="Previous - Prerequisites">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="02_install_app_vcs_agents46_217364.html" title="Next - Installing Oracle">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="vcs_agents_splashpage_docCD_vcs_agents1_103036.vxhd" title="Cluster Server Enterprise Agents Guides title page ">Cluster Server Enterprise Agents 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="vcshp_ora_titlepage_docCD_vcs_agents27_73700.vxhd" title="Cluster Server 4.1 Enterprise Agent for Oracle Installation and Configuration Guide title page ">Cluster Server 4.1 Enterprise Agent for Oracle Installation and Configuration Guide</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="209776"></a> Points to Note Before Installing Oracle</font>
</h1>
         
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="247920"></a>The following sections discuss some important tasks that need to be noted before you install Oracle in a VCS cluster on HP-UX.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="210914"></a>Location of the $ORACLE_HOME</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="209781"></a>You can install the Oracle home directory (<font face="Courier New, Courier, sansserif, sans serif" size="2">$ORACLE_HOME</font>), which contains the Oracle binaries and configuration files, locally on each server's disk. Alternatively, you can place the Oracle home directory on the shared storage. The correct location for Oracle binaries depends on your environment. The following points discuss the advantages of each approach.</font>
</p>

<br>
<p>
<font face="Font_SingleByte;" size="2"><a name="209783"></a><b>$ORACLE_HOME Directory on Shared Disks</b></font>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="209784"></a>When the Oracle Database Server <font face="Courier New, Courier, sansserif, sans serif" size="2">($ORACLE_HOME)</font> is installed on shared disks, each cluster system must have the same mount point directory for the shared file system. Placing Oracle binaries on shared storage simplifies setting up a given system in a cluster to run an instance. Each database service group is self-contained. An instance can be moved to a new server in the cluster that shares the storage.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="209785"></a>For example, in a four-system cluster, it is possible to have three database instances, or service groups, each at a different version of Oracle. If the Oracle binaries are placed on shared storage, three copies of Oracle, that is, one per version are required on shared storage. By contrast, placing the binaries on local storage, would require as many as 12 copies of the binaries (three versions on four systems).</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="209786"></a>The disadvantage of this approach is that a rolling upgrade of binaries on shared storage is not possible.</font>
</p>

<br>
<p>
<font face="Font_SingleByte;" size="2"><a name="209787"></a><b>$ORACLE_HOME Directory on the Local Disk</b></font>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="209788"></a>Installing $ORACLE_HOME on the local disk has the advantage of allowing an upgrade of the Oracle database server running on an offline system while the database server runs on another system. The database server can later be switched to the upgraded system (provided the database is compatible), permitting a minimum amount of downtime. </font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="237730"></a>The disadvantage of this approach is that with a large number of systems, it becomes difficult to maintain the various Oracle installations.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="237747"></a>Multiple Oracle Instances (SIDs)</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="237733"></a>If multiple Oracle instances are defined in a single cluster configuration, the startup profile for each instance must be accessible on all systems listed in the service group's SystemList attribute.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="211226"></a>Location of Database Tablespaces</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="209796"></a>If the tablespaces are created using regular (UFS or VxFS) files, the file systems containing these files must be located on shared disks. Create the same file system mount points on each system.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="209797"></a>If you are using raw devices on shared disks for Oracle tablespaces, change the ownership to Oracle dba user and the permissions, or access mode, to 660 on the raw devices storing the Oracle data.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="209798"></a>For example, if you are using VERITAS Volume Manager, type:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="225733"></a>&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxedit&nbsp;-g&nbsp;</b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>diskgroup_name</b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;set&nbsp;group=dba&nbsp;</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="225734"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user=oracle&nbsp;mode=660&nbsp;</b></font><em>volume_name</em>
</font>
<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="225735"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">The user <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>oracle</b></font> and the group <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>dba</b></font> must be local and not Network Information Service (NIS and NIS+) users
</font>
<hr noshade size="2" width="100%" color="#000000">



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="214798"></a>Transparent Listener Failover</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="212772"></a>To enable Oracle Server clients to reconnect after a system switch without reconfiguring, include at least one IP resource in the service group for the Oracle resource. The hostname mapping the IP address of this resource must be used for the Host field in the file <font face="Courier New, Courier, sansserif, sans serif" size="2">$TNS_ADMIN/listener.ora</font>.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="225579"></a>If you are using the TCP/IP protocol for Oracle client/server communication, verify that the file <font face="Courier New, Courier, sansserif, sans serif" size="2">/etc/services</font> on each system defined in the service group's SystemList attribute contains entries for the service name of the Oracle Net Service.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="248127"></a>Long Pathname Limitation for $ORACLE_HOME</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="248131"></a>The HP-UX process table limits process pathnames to 79 characters. The full pathname of processes in <font face="Courier New, Courier, sansserif, sans serif" size="2">$ORACLE_HOME</font> can possibly have 80 characters or more. In this case, you can create a soft link to the <font face="Courier New, Courier, sansserif, sans serif" size="2">$ORACLE_HOME</font> directory and use it in place of the long filename in the Home attribute in the <font face="Courier New, Courier, sansserif, sans serif" size="2">main.cf</font> file. You must create the link on each of the systems in the cluster.</font>
</p>

<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="248132"></a>Create a soft link to the long pathname. For example:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="248133"></a>&nbsp;&nbsp;&nbsp;#&nbsp;ln&nbsp;-s&nbsp;/opt/apps/oracle/home/directory/is/longer/than&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="248134"></a>&nbsp;&nbsp;&nbsp;&nbsp;/eighty/characters/oracle&nbsp;/opt/link_to_longpath
</font>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="248135"></a>In the file <font face="Courier New, Courier, sansserif, sans serif" size="2">/etc/VRTSvcs/conf/config/main.cf</font>, modify the Home and Pfile attributes for both the Oracle resource type and the Netlsnr resource type (refer to the Sample Configuration in <a href="app_sampconf_vcs_agents79_62674.html#62674">Sample Configurations</a>).
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="248139"></a>For example:</font>
</p>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="248140"></a>&nbsp;&nbsp;&nbsp;Home&nbsp;=&nbsp;&quot;/opt/link_to_longpath&quot;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="248141"></a>&nbsp;&nbsp;&nbsp;Pfile&nbsp;=&nbsp;&quot;/opt/link_to_longpath/dbs/initVRT.ora&quot;
</font>
</ol>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="248143"></a>Defining NLS Information</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="248144"></a>You can define NLS information by defining the appropriate parameters in the Oracle parameter file or by defining the appropriate environment variables in the EnvFile. See the description of the EnvFile attribute in <a href="app_typedef_vcs_agents76_62674.html#62674">Resource Type Definitions</a>.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="248148"></a>Defining parameters in the Oracle parameters file affects NLS settings for the Oracle server. Defining environment variables affects the NLS input and output of client utilities.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="232041"></a>Hot Backup of Oracle Database and VCS</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="232042"></a>If a cluster node fails while running a hot backup of an Oracle database, the failover to another node can succeed only if the Oracle resource attribute, AutoEndBkup, is set to a non-zero value. See <a href="app_typedef_vcs_agents76_62674.html#62674">Resource Type Definitions</a> for more information about the Oracle agent attributes.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="219125"></a>Otherwise, the database in the backup mode on the failover system cannot be opened and VCS cannot online the Oracle resource group.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="219126"></a>The following errors are displayed to indicate this condition:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="219127"></a>&nbsp;&nbsp;&nbsp;$&nbsp;ORA-1110&nbsp;&quot;data&nbsp;file&nbsp;%s:&nbsp;'%s'&quot;
</font>
<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="219128"></a>or</font>
</blockquote>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="219129"></a>&nbsp;&nbsp;&nbsp;$&nbsp;ORA-1113&nbsp;&quot;file&nbsp;%s&nbsp;needs&nbsp;media&nbsp;recovery&quot;
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="219130"></a>Before VCS can online the Oracle resource group on the failover system, you must take the datafiles in the database out of the backup mode and shut down the database so that it can be reopened. Refer to the Oracle documentation for instructions on how to change the state of the database files.</font>
</p>


<!-- 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="02_install_app_vcs_agents45_209776.html" title="Points to Note Before Installing Oracle">Return to Top</a></font>

  </td>
  <td align="right"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="02_install_app_vcs_agents44_227218.html" title="Previous - Prerequisites">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="02_install_app_vcs_agents46_217364.html" title="Next - Installing Oracle">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="vcs_agents_splashpage_docCD_vcs_agents1_103036.vxhd" title="Cluster Server Enterprise Agents Guides title page ">Cluster Server Enterprise Agents 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="vcshp_ora_titlepage_docCD_vcs_agents27_73700.vxhd" title="Cluster Server 4.1 Enterprise Agent for Oracle Installation and Configuration Guide title page ">Cluster Server 4.1 Enterprise Agent for Oracle Installation and Configuration Guide</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>
