<!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:50:15">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="10_add_rem_node.fm">
     
<title>Phase 7 - Setting Up or Installing Oracle</title>

</HEAD>

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

<a name="132074"></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="10_add_rem_node_sf_ora_rac87_132001.html" title="Previous - Phase 5 - Configuring LLT, GAB, VCSMM, ODM, andVXFEN Drivers">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="10_add_rem_node_sf_ora_rac89_132206.html" title="Next - Removing a Node">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>
	
<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="132074"></a> Phase 7 - Setting Up or Installing Oracle</font>
</h2>

        
<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132075"></a>On the new node, create a local group and local user for Oracle. Make sure to assign the same group ID, user ID, and home directory as the ones for the current cluster nodes. For example, enter:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132076"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>groupadd&nbsp;-g&nbsp;1000&nbsp;dba</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132077"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>useradd&nbsp;-g&nbsp;dba&nbsp;-u&nbsp;1000&nbsp;-d&nbsp;/oracle&nbsp;oracle</b></font>&nbsp;
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132078"></a> Create a password for the <font face="Courier New, Courier, sansserif, sans serif" size="2">oracle</font> user:</font>
</p>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132079"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>passwd&nbsp;oracle</b></font>
</font>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132080"></a>If Oracle system binaries are installed on shared storage on the existing nodes, skip to <a href="10_add_rem_node_sf_ora_rac88_132074.html#132107">step  3</a>. If Oracle is installed locally on the existing nodes, install Oracle on the local disk of the new node. Use the same location where Oracle is installed on the existing nodes.
</font>
<ol type=a>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132087"></a>Refer to <a href="04_oracle_install_sf_ora_rac38_120287.html#120287">Installing Oracle9i Software</a>. In that chapter, review instructions to install Oracle Release 2 on the local file system of a node. Install the release and patch level used by the existing nodes.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132088"></a>Relink the Oracle binary to the VERITAS libraries.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132089"></a>While installing Oracle on the new node, make sure the <font face="Courier New, Courier, sansserif, sans serif" size="2">/var/opt/oracle/srvConfig.loc</font> file is identical to the one for existing nodes, including contents, permissions, and ownership. If necessary, copy the file from one of the other nodes.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132092"></a>Edit the <font face="Courier New, Courier, sansserif, sans serif" size="2">listener.ora</font> file on the new node to specify the IP address (or the virtual IP address) for the new node. For example, edit the section for <font face="Courier New, Courier, sansserif, sans serif" size="2">LISTENER</font> to resemble:</font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132093"></a>&nbsp;&nbsp;&nbsp;&nbsp;.
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132094"></a>&nbsp;&nbsp;&nbsp;&nbsp;.
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132095"></a>&nbsp;&nbsp;&nbsp;&nbsp;LISTENER&nbsp;=
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132096"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(DESCRIPTION_LIST&nbsp;=
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132097"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(DESCRIPTION&nbsp;=
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132098"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(ADDRESS_LIST&nbsp;=
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132099"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(ADDRESS&nbsp;=&nbsp;(PROTOCOL&nbsp;=&nbsp;TCP)(HOST&nbsp;=&nbsp;192.2.40.23)(PORT&nbsp;=
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132100"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1521))
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132101"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132102"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132103"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132104"></a>&nbsp;&nbsp;&nbsp;&nbsp;.
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132105"></a>&nbsp;&nbsp;&nbsp;&nbsp;.
</font>
</ol>
<li value="3">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132107"></a>If Oracle system binaries are installed on a cluster file system, set up the new node for Oracle.
</font>
<ol type=a>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132108"></a>Create mount points for the shared file system on the new node; the mount points should have the same name as the one for the shared file system on the existing cluster nodes: </font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132109"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mkdir&nbsp;/orasrv</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132110"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mkdir&nbsp;/oracle</b></font>
</font>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132111"></a>Mount the shared file systems on the new node:</font>
</li>
<a name="132112"></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>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132113"></a>
</font>
<a name="132114"></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/orabinvol_dg/orabinvol /oracle</b></font></font>
<ul><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132116"></a>After mounting the file system, change the ownerships again:</font>
</p>
</ul><br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132117"></a>&nbsp;&nbsp;&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>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132118"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>chown&nbsp;-R&nbsp;oracle:dba&nbsp;/oracle</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132119"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>chmod&nbsp;775&nbsp;/oracle</b></font>
</font>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132120"></a>On the new node, open a new window and log in as <font face="Courier New, Courier, sansserif, sans serif" size="2">oracle</font> user. Edit the <font face="Courier New, Courier, sansserif, sans serif" size="2">listener.ora</font> file and add the IP address (or the virtual IP address) for the new node. For example, create a section for <font face="Courier New, Courier, sansserif, sans serif" size="2">LISTENER_saturn</font> that resembles:</font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132121"></a>&nbsp;&nbsp;&nbsp;&nbsp;.
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132122"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LISTENER_saturn&nbsp;=
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132123"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(DESCRIPTION_LIST&nbsp;=
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132124"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(DESCRIPTION&nbsp;=
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132125"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(ADDRESS_LIST&nbsp;=
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132126"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(ADDRESS&nbsp;=&nbsp;(PROTOCOL&nbsp;=&nbsp;TCP)(HOST&nbsp;=&nbsp;192.2.40.23)(PORT&nbsp;=
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132127"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1521))
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132128"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132129"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132130"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132131"></a>&nbsp;&nbsp;&nbsp;&nbsp;.
</font>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132132"></a>While installing Oracle on the new node, make sure the <font face="Courier New, Courier, sansserif, sans serif" size="2">/var/opt/oracle/srvConfig.loc</font> file is identical to the one for existing nodes, including contents, permissions, and ownership. If necessary, copy the file from one of the other nodes.</font>
</li>
</ol>
<li value="4">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132136"></a>Restart the new node:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132137"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>/usr/sbin/shutdown&nbsp;&#8211;r&nbsp;now</b></font>
</font>
<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132138"></a>As the new node boots, the VCS propagates the configuration from the existing cluster nodes to the new node. All the configuration files located in the <font face="Courier New, Courier, sansserif, sans serif" size="2">/etc/VRTSvcs/conf/config</font> directory, including <font face="Courier New, Courier, sansserif, sans serif" size="2">main.cf</font>, <font face="Courier New, Courier, sansserif, sans serif" size="2">CVMTypes.cf</font>, <font face="Courier New, Courier, sansserif, sans serif" size="2">CFSTypes.cf</font>, and <font face="Courier New, Courier, sansserif, sans serif" size="2">OracleTypes.cf</font>, are identical on each node.</font>
</blockquote>
<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="135954"></a>At this point, GAB membership shows membership for all the nodes. All the following ports should be up on all the nodes:</font>
</blockquote>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="135971"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>gabconfig&nbsp;-a</b></font>
</font>
<a name="135978"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">		GAB Port Memberships<br>		==============================================================<br>		Port a gen df205 membership 012<br>		Port b gen df20e membership 012<br>		Port d gen df20f membership 012<br>		Port f gen df219 membership 012<br>		Port h gen df211 membership 012<br>		Port o gen df208 membership 012<br>		Port v gen df215 membership 012<br>		Port w gen df217 membership 012 </font>
<li value="5">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132139"></a>Verify the CVM group is configured and online on each node (including the new node):
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132140"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>hastatus&nbsp;-sum</b></font>&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132141"></a>&nbsp;&nbsp;--&nbsp;SYSTEM&nbsp;STATE&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132142"></a>&nbsp;&nbsp;--&nbsp;System&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;State&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Frozen&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132143"></a>&nbsp;&nbsp;A&nbsp;&nbsp;galaxy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUNNING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132144"></a>&nbsp;&nbsp;A&nbsp;&nbsp;nebula&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUNNING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132145"></a>&nbsp;&nbsp;A&nbsp;&nbsp;saturn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUNNING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132146"></a>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132147"></a>&nbsp;&nbsp;--&nbsp;GROUP&nbsp;STATE&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132148"></a>&nbsp;&nbsp;--&nbsp;Group&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System&nbsp;&nbsp;&nbsp;Probed&nbsp;&nbsp;&nbsp;&nbsp;AutoDisabled&nbsp;&nbsp;&nbsp;&nbsp;State&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132149"></a>&nbsp;&nbsp;B&nbsp;&nbsp;cvm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;galaxy&nbsp;&nbsp;&nbsp;Y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ONLINE&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132150"></a>&nbsp;&nbsp;B&nbsp;&nbsp;cvm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nebula&nbsp;&nbsp;&nbsp;Y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ONLINE&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132151"></a>&nbsp;&nbsp;B&nbsp;&nbsp;cvm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;saturn&nbsp;&nbsp;&nbsp;Y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ONLINE
</font>
<li value="6">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132152"></a>On one of the existing nodes, ensure CVM recognizes the new node:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132153"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>/opt/VRTS/bin/vxclustadm&nbsp;nidmap</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132154"></a>&nbsp;&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CVM&nbsp;Nid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CM&nbsp;Nid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;State
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132155"></a>&nbsp;&nbsp;galaxy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Joined:&nbsp;Slave
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132156"></a>&nbsp;&nbsp;nebula&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Joined:&nbsp;Master
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132157"></a>&nbsp;&nbsp;saturn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Joined:&nbsp;Slave
</font>
<li value="7">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132159"></a>Whether you installed Oracle9i locally or on shared storage, run the Global Services Daemon (<font face="Courier New, Courier, sansserif, sans serif" size="2">gsd</font>) in the background on the new node as <font face="Courier New, Courier, sansserif, sans serif" size="2">oracle</font> user:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132161"></a>&nbsp;&nbsp;$&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>$ORACLE_HOME/bin/gsdctl&nbsp;start</b></font>
</font>
</ol>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="132162"></a>Phase 8 - Configuring New Oracle Instance</font>
</h2>
 
<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132163"></a>On an existing node, add a new instance. Refer to the <em>Oracle9i Installation Guide</em>. Highlights of the steps to add a new instance include:
</font>
<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132164"></a>Logging in as the <font face="Courier New, Courier, sansserif, sans serif" size="2">oracle</font> user and connecting to the instance.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="133639"></a>Creating a new &quot;undotbs&quot; tablespace for the new instance. For example, if the tablespace is for the third instance, name it &quot;undotbs3&quot;. If the database uses raw volumes, create the volume first. Use the same size as the one for existing &quot;undotbs&quot; volumes.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132166"></a>Create two new &quot;redo&quot; log groups for the new instance. For example, if the tablespace is for the third instance, create the tablespaces &quot;redo3_1&quot; and &quot;redo3_2&quot;. If the database uses raw volumes, create the volume for the redo logs first. Use the size used by the existing redo volumes.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132167"></a>Enable &quot;thread 3&quot; where 3 is the number of the new instance.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132168"></a>Prepare the <font face="Courier New, Courier, sansserif, sans serif" size="2">init{SID}.ora</font> file for the new instance on the new node.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132169"></a>If Oracle is installed locally on the new node, prepare the <font face="Courier New, Courier, sansserif, sans serif" size="2">bdump</font>, <font face="Courier New, Courier, sansserif, sans serif" size="2">cdump</font>, <font face="Courier New, Courier, sansserif, sans serif" size="2">udump</font>, and <font face="Courier New, Courier, sansserif, sans serif" size="2">pfile</font> directories.</font>
</li>
</ul>
</p>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132170"></a>If you use in-depth monitoring for the database, create the table for the database instance. Create the table on the new node. Refer to the <em>VERITAS Cluster Server Enterprise Agent for Oracle, Installation and Configuration Guide</em> for instructions on creating the table.
</font>
<li value="3">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132171"></a>Configure the ODM port on the new node.
</font>
<ol type=a>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132172"></a>Unmount the ODM directory to unconfigure port <font face="Courier New, Courier, sansserif, sans serif" size="2">d</font>:</font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="135426"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>/sbin/init.d/odm&nbsp;stop</b></font>
</font>
<ul><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="135427"></a>The installation automatically mounts ODM on the new node but does not link it.</font>
</p>
</ul><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132174"></a>Mount the ODM directory. Re-mounting the ODM directory configures port <font face="Courier New, Courier, sansserif, sans serif" size="2">d</font> and re-links the ODM libraries with SFRAC:</font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="135181"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>/sbin/init.d/odm&nbsp;start</b></font>
</font>
</ol>
<li value="4">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132176"></a>Create a mount point for the shared file system:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132177"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mkdir&nbsp;/rac_ts</b></font>
</font>
<li value="5">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132178"></a>From the same node, mount the file system:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132179"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mount&nbsp;-F&nbsp;vxfs&nbsp;-o&nbsp;cluster&nbsp;/dev/vx/dsk/rac_dg/rac_vol1&nbsp;/rac_ts</b></font>
</font>
<li value="6">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132180"></a>Set &quot;oracle&quot; as the owner of the file system, and set &quot;755&quot; as the permissions:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132181"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>chown&nbsp;oracle:dba&nbsp;/rac_ts</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132182"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>chmod&nbsp;755&nbsp;/rac_ts</b></font>
</font>
<li value="7">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="133708"></a>Log in as <font face="Courier New, Courier, sansserif, sans serif" size="2">oracle</font> user and attempt to manually start the new instance; the following example is for a third system:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="133709"></a>&nbsp;&nbsp;$&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>export&nbsp;ORACLE_SID=rac3</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132185"></a>&nbsp;&nbsp;$&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>sqlplus&nbsp;'/as&nbsp;sysdba'</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132186"></a>&nbsp;&nbsp;sqlplus&gt;&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>startup&nbsp;pfile=/oracle/orahome/dbs/initrac3.ora</b></font>
</font>
<li value="8">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132187"></a>After the new Oracle instance is brought up manually on the new node, place the instance under VCS control.
</font>
<ol type=a>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132188"></a>Add the new node to the <font face="Courier New, Courier, sansserif, sans serif" size="2">SystemList.</font> For example, if the existing nodes (<font face="Courier New, Courier, sansserif, sans serif" size="2">galaxy</font> and <font face="Courier New, Courier, sansserif, sans serif" size="2">nebula</font>) are nodes 0 and 1, the new node (<font face="Courier New, Courier, sansserif, sans serif" size="2">saturn</font>) is node 2:</font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132189"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>haconf&nbsp;-makerw</b></font>&nbsp;&nbsp;&nbsp;&nbsp;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132190"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>hagrp&nbsp;-modify&nbsp;oradb1_grp&nbsp;SystemList&nbsp;-add&nbsp;saturn&nbsp;2</b></font>
</font>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132191"></a>Add the new node to the <font face="Courier New, Courier, sansserif, sans serif" size="2">AutoStartList</font> for <font face="Courier New, Courier, sansserif, sans serif" size="2">oradb1_grp</font>:</font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132192"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>hagrp&nbsp;-modify&nbsp;oradb1_grp&nbsp;AutoStartList&nbsp;galaxy&nbsp;nebula&nbsp;saturn</b></font>
</font>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132193"></a>Modify the <font face="Courier New, Courier, sansserif, sans serif" size="2">Sid</font> (system ID) and <font face="Courier New, Courier, sansserif, sans serif" size="2">Pfile</font> (parameter file location) attributes of the Oracle resource. For example: </font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="135482"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>hares&nbsp;-modify&nbsp;VRTdb&nbsp;Sid&nbsp;rac3&nbsp;-sys&nbsp;Saturn</b></font>
</font>
<a name="135483"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">				# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>hares -modify VRTdb Pfile /oracle/orahome/dbs/initrac3.ora<br>						-sys Saturn</b></font></font>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132197"></a>If you created a table for in-depth monitoring, modify the <font face="Courier New, Courier, sansserif, sans serif" size="2">Table</font> attribute of the Oracle resource. For example:</font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132198"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>hares&nbsp;-modify&nbsp;VRTdb&nbsp;Table&nbsp;vcstable_saturn&nbsp;-sys&nbsp;saturn</b></font>
</font>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132199"></a>Close and save the configuration:</font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132200"></a>&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>haconf&nbsp;-dump&nbsp;-makero</b></font>
</font>
</ol>
<li value="9">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132201"></a>From the new node, verify the configuration:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132202"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>hastop&nbsp;-local</b></font>
</font>
<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132203"></a>VCS takes all resources offline on the new node.</font>
</blockquote>
<li value="10">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="132204"></a>Verify all resources come online after starting VCS on the new node:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="132205"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>hastart</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="10_add_rem_node_sf_ora_rac88_132074.html" title="Phase 7 - Setting Up or 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="10_add_rem_node_sf_ora_rac87_132001.html" title="Previous - Phase 5 - Configuring LLT, GAB, VCSMM, ODM, andVXFEN Drivers">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="10_add_rem_node_sf_ora_rac89_132206.html" title="Next - Removing a Node">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>
