Previous  |  Next  >  
Product: Volume Replicator Guides   
Manual: Volume Replicator Web Console 4.1 Administrator's Guide   

Configuring the VRW Application

The following parameters that can change the behavior of VRW are configurable:

  • User session timeout
  • The path of VRW log file vrw.log
  • The maximum size of VRW log file vrw.log

Configuring VRW Using the Configuration File

The configuration properties are stored in VRW's configuration file. The VRW application uses the following configuration file:

File Name Default Location

web.xml

/opt/VRTSweb/VERITAS/vvr/WEB-INF

In general, to change the default properties of VRW, edit the web.xml file:

  1. Edit the appropriate fields in the configuration file as described in the following sections.
  2. Save the changes.
  3. Close the configuration file.
  4. 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 Starting and Stopping the VRW Application.

Editing the Configuration File

This section gives some examples of editing the configuration file.


User Session Timeout


<session-timeout>30</session-timeout>

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.


Path of VRW Log File vrw.log


<context-param>
        <param-name>LogFilePath</param-name>
        <param-value>/var/vx/vrw/log/vrw.log</param-value>
</context-param>

The default directory where the log file is stored is /var/vx/vrw/log, and the default name of the log file is vrw.log. For timely support, we recommend you not change the path or name of the log file.


Maximum Size of VRW Log File vrw.log


<context-param>
        <param-name>LogFileRolloverSize</param-name>
        <param-value>10485760</param-value><!-- 10MB -->
</context-param>

The maximum log file size is specified in bytes. The default size for the log file is set to
10 MB.

Starting and Stopping the VRW Application

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.

  1. Stop VRW using the following command:
    /opt/VRTSvrw/bin/vrw stop
  2. Start using the following command:
    /opt/VRTSvrw/bin/vrw start

 ^ Return to Top Previous  |  Next  >  
Product: Volume Replicator Guides  
Manual: Volume Replicator Web Console 4.1 Administrator's Guide  
VERITAS Software Corporation
www.veritas.com