Upgrading the agent in a VCS environment

Perform the following steps to upgrade the agent with minimal disruption, in a VCS environment.

To upgrade the agent in a VCS environment

  1. Persistently freeze the service groups that host the application.

    # hagrp -freeze GroupName -persistent

  2. Stop the cluster services forcibly.

    # hastop -all -force

  3. Ensure that the agent operations are stopped on all the nodes.

    # ps -ef | grep SAPWebAS71

  4. Uninstall the agent package from all the nodes. Use the platform's native software management program to remove the agent for SAP WebAS from each node in the cluster.

    Execute the following command to uninstall the agent:

    AIX

    # installp -u VRTSsapwebas71.rte

    HP-UX

    # swremove VRTSsapwebas71

    Linux

    # rpm -e VRTSsapwebas71

    Solaris

    # pkgrm VRTSsapwebas71

  5. Install the new agent on all the nodes.

    See Installing the agent in a VCS environment.

  6. Copy the new SAPWebAS71Types.cf file from the agent's conf directory, to the VCS conf directory /etc/VRTSvcs/conf/config.

    VCS 4.x

    • AIX

    • HP-UX

    • Linux

    • Solaris

    /etc/VRTSvcs/conf/sample_SAPWebAS71/

    SAPWebAS71Types.cf

    VCS 5.x

    • AIX

    • HP-UX

    • Linux

    /etc/VRTSagents/ha/conf/SAPWebAS71/

    SAPWebAS71Types.cf

    VCS 5.0

    • Solaris SPARC and x64

    /etc/VRTSagents/ha/conf/SAPWebAS71/

    SAPWebAS71Types50.cf

    VCS 5.1

    • Solaris SPARC and x64

    /etc/VRTSagents/ha/conf/SAPWebAS71/

    SAPWebAS71Types51.cf

  7. Check for the changes in the resource values required, if any, due to the new agent types file.

    Note:

    To note the list of changed attributes, compare the new type definition file with the old type definition file.

  8. Start the cluster services.

    # hastart

  9. Start the agent on all nodes, if not started.

    # haagent -start SAPWebAS71 -sys SystemName

  10. Unfreeze the service groups once all the resources come to an online steady state.

    # hagrp -unfreeze GroupName -persistent