<!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:42:04">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="04_config_agent.fm">
     
<title>Configuring the Agent Using the Agent Configuration Wizard </title>

</HEAD>

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

<a name="205115"></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_config_agent_vcs_agents54_199324.html" title="Previous - Configuration With Shared Server Support">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="04_config_agent_vcs_agents56_207873.html" title="Next - Instructions">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="205115"></a>Configuring the Agent Using the Agent Configuration Wizard </font>
</h1>
 
  
  
  

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="192394"></a>VCS provides an Agent Configuration wizard that guides you through the process of configuring the agent. The wizard creates and modifies Oracle service groups.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="192396"></a>This section describes the steps required to create a new Oracle service group using the wizard. To modify an existing service group, see <a href="05_admin_agent_vcs_agents70_178742.html#178742">Modifying the Agent Configuration</a>.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="192398"></a>Before configuring the Oracle agent, review the resource type and the attribute definitions of the Oracle and Netlsnr agents, described in <a href="app_typedef_vcs_agents76_62674.html#62674">Resource Type Definitions</a>. For sample configuration files and resource dependency graphs of the Oracle service group, see <a href="app_sampconf_vcs_agents79_62674.html#62674">Sample Configurations</a>.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="192402"></a>Prerequisites</font>
</h2>
 
<ul><p><img src="images/check.gif" alt="Checkmark">&nbsp;
<a name="253075"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">Make sure that the Oracle instances and listeners to be configured are running. All listeners to be configured must listen to the same virtual IP address.</font>
</p><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="246141"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">For the default listener, the configuration wizard requires the listener parameter file, listener.ora, to reside in <font face="Courier New, Courier, sansserif, sans serif" size="2">$ORACLE_HOME/network/admin</font>. No such condition applies for non-default listeners.
</font>
<hr noshade size="2" width="100%" color="#000000">
<p><img src="images/check.gif" alt="Checkmark">&nbsp;
<a name="236099"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">The Oracle files (control, data, redo-log, and archive files) must be on shared disks. </font>
</p><p><img src="images/check.gif" alt="Checkmark">&nbsp;
<a name="194481"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">The IP addresses and host names specified in the files listener.ora and tnsnames.ora must be the same.</font>
</p><p><img src="images/check.gif" alt="Checkmark">&nbsp;
<a name="209620"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">If detail monitoring is to be used for a database instance, the table used for detail monitoring must be set up, with user and password assigned.</font>
</p><p><img src="images/check.gif" alt="Checkmark">&nbsp;
<a name="237491"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">Make sure the Oracle type definition is imported to the VCS engine. See <a href="04_config_agent_vcs_agents55_205115.html#237501">Importing the OracleTypes.cf File</a> for instructions.</font>
</p></ul>


<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="237501"></a>Importing the OracleTypes.cf File</font>
</h3>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="237505"></a>Before configuring the Oracle agent, you must import the <font face="Courier New, Courier, sansserif, sans serif" size="2">OracleTypes.cf</font> file to the VCS engine.</font>
</p>

</ol>
<p><img src="images/stepintro.gif" height="16" width="16">
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="240186"></a>&nbsp;&nbsp;<b>To import using the Cluster Manager</b></font>
</p>
<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="237506"></a>Start Cluster Manager and log on to the cluster.
</font>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="237507"></a>From the Cluster Explorer's <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>File</b></font> menu, choose <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>Import Types</b></font>.
</font>
<li value="3">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="237508"></a>In the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>Import Types</b></font> dialog box, select the following file.
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="237509"></a>/etc/VRTSvcs/conf/OracleTypes.cf
</font>
<li value="4">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="237510"></a>Click <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>Import</b></font>.
</font>
<li value="5">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="237511"></a>Save the configuration.
</font>
</ol>
</ol>
<p><img src="images/stepintro.gif" height="16" width="16">
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="240192"></a>&nbsp;&nbsp;<b>To import using the command line</b></font>
</p>
<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="240208"></a>Log in to sysa as <font face="Courier New, Courier, sansserif, sans serif" size="2">root</font>.
</font>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="240209"></a>Ensure that all changes to the existing configuration have been saved and that further changes are prevented while you modify <font face="Courier New, Courier, sansserif, sans serif" size="2">main.cf</font>:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="240210"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>haconf&nbsp;-dump&nbsp;-makero</b></font>
</font>
<li value="3">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="240214"></a>To ensure that VCS is not running while you edit <font face="Courier New, Courier, sansserif, sans serif" size="2">main.cf</font>, issue the following command to stop the VCS engine on all systems and leave the resources available:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="240218"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>hastop&nbsp;-all&nbsp;-force</b></font>
</font>
<li value="4">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="240219"></a>Make a backup copy of the <font face="Courier New, Courier, sansserif, sans serif" size="2">main.cf</font> file:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="240220"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>cd&nbsp;/etc/VRTSvcs/conf/config</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="240221"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>cp&nbsp;main.cf&nbsp;main.cf.orig</b></font>
</font>
<li value="5">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="240222"></a>Copy the Oracle types configuration file into place:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="240223"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>cp&nbsp;/etc/VRTSvcs/conf/OracleTypes.cf</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="240224"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;&nbsp;&nbsp;&nbsp;/etc/VRTSvcs/conf/config/OracleTypes.cf</b></font>
</font>
<li value="6">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="240225"></a>Edit the <font face="Courier New, Courier, sansserif, sans serif" size="2">main.cf</font> file to include the <font face="Courier New, Courier, sansserif, sans serif" size="2">OracleTypes.cf</font> file:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="240357"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>include&nbsp;&quot;OracleTypes.cf&quot;</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_config_agent_vcs_agents55_205115.html" title="Configuring the Agent Using the Agent Configuration Wizard ">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_config_agent_vcs_agents54_199324.html" title="Previous - Configuration With Shared Server Support">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="04_config_agent_vcs_agents56_207873.html" title="Next - Instructions">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>
