Previous  |  Next  >  
Product: Volume Replicator Guides   
Manual: Volume Replicator 4.1 Cluster Server Agents Configuration Guide   

Adding the VVR Agents to the VCS Configuration

This section explains how to add the VVR agents to the VCS configuration:

  • When VCS is running
  • When VCS is stopped

When VCS is Running

To add the agents without stopping the applications on a system, log in as root on one node in the cluster and perform the following steps:

  1. Set the configuration mode to read/write by typing the following command on any system in the cluster:
      # haconf -makerw
  2. Automatically copy the VVRTypes.cf file from the /etc/VRTSvcs/conf directory to /etc/VRTSvcs/conf/config directory and include the VVRTypes.cf file to the existing configuration file main.cf by running the following script:
      # /etc/VRTSvcs/conf/sample_vvr/RVG/addVVRTypes.sh
  3. Ensure that all changes to the existing configuration have been saved and that further changes are prevented.
      # haconf -dump -makero
  4. If you stopped the agent before installing the new agent, start the agent on the system by entering:
      # haagent -start agent_name -sys system_name

    When you get the message Please look for messages in the log file, check the file /var/VRTSvcs/log/engine_A.log for a message confirming that each agent has started.

    You can also use the ps command to confirm that the agent is started.

  5. If you brought the RVG service group offline before doing the installation, bring it online by using the following command:
      hagrp -online service_group -sys system_name

When VCS is Stopped

You can add the agents by editing the main.cf file. You must stop VCS before editing the main.cf file. Log in as root on one node in the cluster and perform the following steps:

  1. Ensure that all changes to the existing configuration have been saved and that further changes are prevented while you modify main.cf located in the /etc/VRTSvcs/conf/config directory.

    If the VCS cluster is currently writeable, run the following command:


      # haconf -dump -makero

    If the VCS cluster is already read only, run the following command:


      # haconf -dump
  2. Do not edit the configuration files while VCS is running. The following command stops the had daemon on all systems and leaves resources available:
      # hastop -all -force
  3. Copy the VVRTypes.cf file from /etc/VRTSvcs/conf to the /etc/VRTSvcs/conf/config directory.
  4. Add the VVRTypes to the main.cf file, located in /etc/VRTSvcs/conf/config directory.

    For a new agent installation, add the following line to the main.cf file:

      include "VVRTypes.cf"

  5. Verify the syntax of the file /etc/VRTSvcs/conf/config/main.cf:
      # cd /etc/VRTSvcs/conf/config/
      # hacf -verify .
  6. Start the VCS engine:
      # hastart
 ^ Return to Top Previous  |  Next  >  
Product: Volume Replicator Guides  
Manual: Volume Replicator 4.1 Cluster Server Agents Configuration Guide  
VERITAS Software Corporation
www.veritas.com