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. Take a back up of 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:

    # rpm -e VRTSvcssy

    2. Delete the following file :

    /etc/VRTSvcs/conf/config/SybaseTypes.cf

    3. Install the Cluster Server Agent for Sybase.

    See Installing the agent for Sybase.

    Upgrade the VCS agent from 5.1 or later

    1. Navigate to the folder that contains the agent software, by running the following command:

    # cd /mnt/cdrom/dist_arch/rpms

    Where:

    dist is rhel6, rhel7, sles11, or sles12

    arch is x86_64 for RHEL and SLES

    2. Upgrade the agent by running the following command:

    Note:

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

    For RHEL6 and supported RHEL-compatible distributions:

    # rpm -U VRTSvcsea-7.0.0.000-RHEL6.i686.rpm

    For RHEL7 and supported RHEL-compatible distributions:

    # rpm -U VRTSvcsea-7.0.0.000-RHEL7.i686.rpm

    For SLES 11 and SLES 12:

    # rpm -U VRTSvcsea-7.0.0.000-SLES11.i686.rpm

  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 from the backed up location to /etc/VRTSvcs/conf/config directory.
  6. Verify the configuration.
    # cd /etc/VRTSvcs/conf/config
    # hacf -verify config
  7. Start VCS on the local node.
  8. Start VCS on the other nodes.