Previous  |  Next  >  
Product: Volume Replicator Guides   
Manual: Volume Replicator 4.1 Support for HP Serviceguard Administrator's Guide   

Creating and Modifying the HP Serviceguard Package Configuration File

The package configuration file needs to be created and modified for both the Primary cluster (seattle) and Secondary cluster (london).

Creating and Modifying the Configuration File for the Primary Cluster

Perform the following steps on the node seattle1:

  1. Create the package directory.
    mkdir /etc/cmcluster/pri_pkg
  2. Create the package configuration file.
    cmmakepkg -p /etc/cmcluster/pri_pkg/pri_pkg.conf

    You can also do this using SAM.

    The configuration file that is generated by the cmmakepkg command is created with the parameters set to default values. You will need to customize this file to suit your requirements.

  3. Edit the package configuration file, pri_pkg.conf using vi or any other editor.

    Refer to the following table for the parameters that you need to change in the package configuration file to configure VVR in an HP Serviceguard environment.

    A sample package configuration file, pri_pkg.conf is available in the /opt/VRTSvrmcsg/samples/seattle directory.

    Parameter Value

    Specifying a Package Name

    Modify the PACKAGE_NAME parameter to specify the appropriate package name as indicated by the description in the file. This name should be a unique within a cluster.

    PACKAGE_NAME

    pri_pkg

    Specifying the Node Names

    You must specify the names of all the nodes in the cluster. It is not important to maintain the order.

    NODE_NAME            

    NODE_NAME            

    seattle1

    seattle2

    Specifying the path to the Run and Halt scripts

    In most cases the run script and halt script specified here will be the same script, the package control script generated by the cmmakepkg command. This control script handles the running and halting of the package. Enter the timeout, specified in seconds, for the run and halt scripts. If the script has not completed by the specified timeout value, it will be terminated. The default for each script timeout is NO_TIMEOUT.

    RUN_SCRIPT                                                    

    RUN_SCRIPT_TIMEOUT                                                    

    HALT_SCRIPT                                                    

    HALT_SCRIPT_TIMEOUT                                                    

    /etc/cmcluster/pri_pkg/pri_pkg.cntl

    NO_TIMEOUT

    /etc/cmcluster/pri_pkg/pri_pkg.cntl

    NO_TIMEOUT

    Specifying the Service Name

    Specify the appropriate service related information by modifying the following parameters.



    Note    The service name must match the name used in the HP Serviceguard control script.

    SERVICE_NAME

    SERVICE_FAIL_FAST_ENABLED

    SERVICE_HALT_TIMEOUT

    VVR

    NO

    300

    Specifying the Subnet Name

    Enter the network subnet name that is to be monitored for this package. Repeat this line as required, for additional subnet names. If any of the subnets defined goes down, the package will be switched to another node that is configured for this package and has all the defined subnets available.

    SUBNET

    192.2.40.0

    Save the changes you have made to the pri_pkg.conf file.

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