<!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/14/05 13:35:17">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="vrw_08_advconf.fm">
     
<title>Configuring the VRW Application</title>

</HEAD>

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

<a name="120087"></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="vrw_08_advconf_vvr255_109403.html" title="Previous - Additional Settings for VRW">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="append_webgui_vvr257_74426.html" title="Next - Appendix:  Administering VERITAS Web Server">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="vvr_splashpage_docCD_vvr1_103036.vxhd" title="Volume Replicator Guides title page ">Volume Replicator 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="vrw_ag_hpux_titlepage_docCD_vvr214_73700.vxhd" title="Volume Replicator Web Console 4.1 Administrator's Guide title page ">Volume Replicator Web Console 4.1 Administrator's 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="120087"></a> Configuring the VRW Application</font>
</h1>
         
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="118015"></a>The following parameters that can change the behavior of VRW are configurable: </font>
</p>

<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="117087"></a>User session timeout</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="117091"></a>The path of VRW log file <font face="Courier New, Courier, sansserif, sans serif" size="2">vrw.log</font></font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="117095"></a>The maximum size of VRW log file <font face="Courier New, Courier, sansserif, sans serif" size="2">vrw.log</font></font>
</li>
</ul>
</p>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="121185"></a>Configuring VRW Using the Configuration File</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121192"></a>The configuration properties are stored in VRW's configuration file. The VRW application uses the following configuration file:</font>
</p>

<a name="no_figure_caption0"> </a>
<Table width="100%" border="1" cellpadding="2" cellspacing="0" >
<tr bgcolor="#CCCCCC"><th align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000"><b><a name="121196"></a>File Name</b>
</font></th>

<th align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000"><b><a name="121198"></a>Default Location</b>
</font></th>

</tr>
<tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121200"></a>web.xml</font>
</p>
</td>
<td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121202"></a>/opt/VRTSweb/VERITAS/vvr/WEB-INF</font>
</p>
</td>
</tr>

</table>


<Table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr><td>
</Table>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121208"></a>In general, to change the default properties of VRW, edit the <font face="Courier New, Courier, sansserif, sans serif" size="2">web.xml</font> file:</font>
</p>

<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121209"></a>Edit the appropriate fields in the configuration file as described in the following sections.
</font>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121210"></a>Save the changes.
</font>
<li value="3">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121211"></a>Close the configuration file.
</font>
<li value="4">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121212"></a>In order to see the changes in the VRW application, you must stop and then restart VRW. For more information on how to restart, see <a href="vrw_08_advconf_vvr256_120087.html#121278">Starting and Stopping the VRW Application</a>.
</font>
</ol>



<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="121220"></a>Editing the Configuration File</font>
</h3>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121221"></a>This section gives some examples of editing the configuration file.</font>
</p>

<br>
<p>
<font face="Font_SingleByte;" size="2"><a name="121224"></a><b>User Session Timeout</b></font>
</p>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="121226"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">&lt;session-timeout&gt;30&lt;/session-timeout&gt;</font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121228"></a>The default idle timeout value for a user session is set to 30 minutes. This requires you to log in to VRW again after a session has been idle for 30 minutes. To disable the timeout, set the timeout value to -1.</font>
</p>

<br>
<p>
<font face="Font_SingleByte;" size="2"><a name="121235"></a><b>Path of VRW Log File vrw.log</b></font>
</p>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="121236"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">&lt;context-param&gt;</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="121237"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param-name&gt;LogFilePath&lt;/param-name&gt;</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="121238"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param-value&gt;/var/vx/vrw/log/vrw.log&lt;/param-value&gt;</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="121239"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">&lt;/context-param&gt;</font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121240"></a>The default directory where the log file is stored is <font face="Courier New, Courier, sansserif, sans serif" size="2">/var/vx/vrw/log</font>, and the default name of the log file is <font face="Courier New, Courier, sansserif, sans serif" size="2">vrw.log</font>. For timely support, we recommend you not change the path or name of the log file.</font>
</p>

<br>
<p>
<font face="Font_SingleByte;" size="2"><a name="121244"></a><b>Maximum Size of VRW Log File vrw.log</b></font>
</p>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="121246"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">&lt;context-param&gt;</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="121247"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param-name&gt;LogFileRolloverSize&lt;/param-name&gt;</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="121248"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param-value&gt;10485760&lt;/param-value&gt;&lt;!--&nbsp;10MB&nbsp;--&gt;</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="121249"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">&lt;/context-param&gt;</font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121250"></a>The maximum log file size is specified in bytes. The default size for the log file is set to <br>10 MB.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="121278"></a>Starting and Stopping the VRW Application</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121279"></a>In order to apply the changes to the configuration parameters of VRW, you need to stop and start VRW. The VRW application can be started and stopped without affecting the VERITAS Web Server and other running applications on that server. </font>
</p>

<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121290"></a>Stop VRW using the following command:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="121291"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>/opt/VRTSvrw/bin/vrw&nbsp;stop</b></font>
</font>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="121293"></a>Start using the following command:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="121295"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>/opt/VRTSvrw/bin/vrw&nbsp;start</b></font>
</font>
</ol>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="122384"></a></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="vrw_08_advconf_vvr256_120087.html" title="Configuring the VRW Application">Return to Top</a></font>

  </td>
  <td align="right"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="vrw_08_advconf_vvr255_109403.html" title="Previous - Additional Settings for VRW">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="append_webgui_vvr257_74426.html" title="Next - Appendix:  Administering VERITAS Web Server">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="vvr_splashpage_docCD_vvr1_103036.vxhd" title="Volume Replicator Guides title page ">Volume Replicator 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="vrw_ag_hpux_titlepage_docCD_vvr214_73700.vxhd" title="Volume Replicator Web Console 4.1 Administrator's Guide title page ">Volume Replicator Web Console 4.1 Administrator's 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>
