Importing the SybaseTypes.cf file

Before you configure the Sybase service group, you must import the SybaseTypes.cf file to the VCS engine.

To import the SybaseTypes.cf file using the Cluster Manager (Java Console)

  1. On one of the nodes in the cluster, start the Cluster Manager (Java Console).
  2. Log in to the cluster and wait for the Cluster Explorer to launch.
  3. From the File menu select Import Types. Switch to the read/write mode if prompted.
  4. In the Import Types dialog box, select the file:
    /etc/VRTSagents/ha/conf/Sybase/SybaseTypes.cf
  5. Click Import and wait for the file to import.
  6. Save the configuration.

To import the SybaseTypes.cf file using the command line

  1. Log in to a cluster system as superuser.
  2. Make the cluster configuration as read-only. This action ensures that all changes to the existing configuration have been saved and 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. Leave the resources that are available online.
    # 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 to include the SybaseTypes.cf file.
    # include "/etc/VRTSagents/ha/conf/Sybase/SybaseTypes.cf"

    The Sybase types definition is imported to the VCS engine. The agent for Sybase can be configured without interrupting or stopping VCS.