Upgrading the agent for Sybase

This section describes the procedure to upgrade the VCS agent for Sybase in a Cluster Server (VCS) cluster. Execute the following steps on each node of the VCS cluster.

Note:

You can upgrade the VCS agent for Sybase from versions 5.0, 5.1, 6.0.1, to 7.0.0 or later. See Installing the agent for Sybase.

To upgrade the VCS agent for Sybase

  1. Save the VCS configuration and stop the VCS engine.
    # haconf -dump -makero
    # hastop -all -force
  2. Back up the configuration file, main.cf to a location on the cluster node.
  3. Based on your current VCS agent version for Sybase, perform the appropriate steps on all systems that have the agent installed:

    To

    Perform the following steps

    Upgrade the VCS agent from a version earlier than 5.1

    1. Remove the VCS agent for Sybase, by using the following command:

      # installp -u VRTSvcssy
    2. Move the old SybaseTypes.cf file:

      # mv /etc/VRTSvcs/conf/config/SybaseTypes.cf
       /etc/VRTSvcs/conf/config/SybaseTypes.cf.bkp
    3. Install the Cluster Server Agent for Sybase.

    4. Navigate to the directory that contains the packages:

      # cd pkgs
    5. Apply the package by running the following command:

      Caution:

      If you run the following command, the VCS agents for Oracle and DB2 are also upgraded.

      # installp -ac -d VRTSvcsea.rte.bff VRTSvcsea

    Upgrade the VCS agent from 5.1 or later

    1. Remove the VCS agent for Sybase using the following command:

      # installp -u VRTSvcsea
    2. Take backup of SybaseTypes.cf

      # mv /etc/VRTSvcs/conf/config/SybaseTypes.cf 
      /etc/VRTSvcs/conf/config/SybaseTypes.cf_bkp
      
    3. Install the Cluster Server Agent for Sybase.

    4. Navigate to the directory that contains the packages:

      # cd pkgs
    5. Apply the package by running the following command:

      Caution:

      If you run the following command, the VCS agents for Oracle and DB2 are also upgraded.

      # installp -ac -d VRTSvcsea.rte.bff VRTSvcsea
  4. Make sure that you have copied the SybaseTypes.cf file from the /etc/VRTSagents/ha/conf/Sybase directory to /etc/VRTSvcs/conf/config directory.

    Make sure to update the newly copied SybaseTypes.cf file with all the type-level changes that you had made to the older SybaseTypes.cf file.

    For example, if you had changed the value of the MonitorInterval attribute from the default 60 to 120 seconds, the SybaseTypes.cf file gets updated. You must apply these type-level changes manually to the newly copied SybaseTypes.cf file.

  5. Copy the main.cf file from the backed up location to /etc/VRTSvcs/conf/config directory.
  6. Verify the configuration.
    # cd /etc/VRTSvcs/conf/config
    # hacf -verify .
  7. Start VCS on the local node.
  8. Start VCS on the other nodes.