Removing the agent in a VCS environment

You must uninstall the agent for SAP WebAS from a cluster while the cluster is active.

To uninstall the agent in a VCS environment

  1. Log in as a superuser.
  2. Set the cluster configuration mode to read/write by typing the following command from any node in the cluster:
    # haconf -makerw
  3. Remove all SAP Web AS resources from the cluster. Use the following command to verify that all resources have been removed:
    # hares -list Type=SAPWebAS71
  4. Remove the agent type from the cluster configuration by typing the following command from any node in the cluster:
    # hatype -delete SAPWebAS71

    Removing the agent's type file from the cluster removes the include statement for the agent from the main.cf file, but the agent's type file is not removed from the cluster configuration directory. You can remove the agent's type file later from the cluster configuration directory.

  5. Save these changes. Then set the cluster configuration mode to read-only by typing the following command from any node in the cluster:
    # haconf -dump -makero
  6. 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