Previous  |  Next  >  
Product: Cluster Server Enterprise Agents Guides   
Manual: Cluster Server 4.1 Enterprise Agent for Informix Installation and Configuration Guide   

Configuring Informix Agent by Editing the Configuration Files

The VCS enterprise agent for Informix comes with a sample configuration file that can be used as reference to directly modify your present configuration file. When you use this method, you must stop and restart VCS to implement the configuration.

Follow the instructions below to configure the agent using the sample configuration file:

  1. Log in to sysa as root.
  2. Ensure that all changes to the existing configuration have been saved and that further changes are prevented while you modify main.cf:
      # haconf -dump -makero
  3. To ensure that VCS is not running while you edit main.cf, issue the following command to stop the VCS engine on all systems and leave the resources available:
      # hastop -all force
  4. Make a backup copy of the main.cf file:
      # cd /etc/VRTSvcs/conf/config
      # cp main.cf main.cf.orig
  5. Edit the main.cf file. The file /etc/VRTSvcs/conf/sample_Informix/main.cf can be used for reference (see the Sample Configuration File):
    1. Add an "include" line for the InformixTypes.cf file:

    2.                 include "InformixTypes.cf" 
    3. Create the a service group for Informix resources; refer to the Sample Configuration File.
    4. Include all resources in the service group, including the Informix, IP, NIC, Mount, LVMLogicalVolume, and LVMVolumeGroup resources, and assign values to the attributes for the resources to match the parameters of your configuration.
      • Refer to the table of Attribute Definitions as well as the sample configuration file. Refer also to the VERITAS Cluster Server Bundled Agents Reference Guide for information about the IP, NIC, Mount, LVMLogicalVolume, and LVMVolumeGroup resources.

    5. Assign dependencies to the newly created resources. See the VCS User's Guide for more information on assigning dependencies.
  6. Save and close the file.
  7. Copy the Informix types configuration file into place:
            # cp /etc/VRTSvcs/conf/sample_Informix/InformixTypes.cf
         /etc/VRTSvcs/conf/config/InformixTypes.cf
  8. Verify the syntax of the file /etc/VRTSvcs/conf/config/main.cf:
      # hacf -verify config
  9. Start the VCS engine on sysa:
      # hastart
  10. Type the command hastatus:
      # hastatus
  11. When "Local_Build" is listed in the message column, you can start sysb:
      # hastart
  12. Verify that all Informix service group resources are brought online:
      # hagrp -display
  13. Take the service group offline and verify that all resources are stopped:
      # hagrp -offline service_group -sys system_name
      # hagrp -display
  14. Bring the service group online again and verify that all resources are available:
      # hagrp -online service_group -sys system_name
      # hagrp -display
  15. Switch the Informix service group to sysb:
      # hagrp -switch service_group -to sysb
  16. Verify that all Informix service group resources are brought online on sysb:
      # hagrp -display
  17. On all the systems, look at the following log files for any errors or status:
      /var/VRTSvcs/log/engine_A.log
      /var/VRTSvcs/log/Informix_A.log
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Enterprise Agents Guides  
Manual: Cluster Server 4.1 Enterprise Agent for Informix Installation and Configuration Guide  
VERITAS Software Corporation
www.veritas.com