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
-
Persistently freeze the service groups that host the application.
# hagrp -freeze GroupName -persistent
-
Stop the cluster services forcibly.
# hastop -all -force
-
Ensure that the agent operations are stopped on all the nodes.
# ps -ef | grep SAPWebAS71
-
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:
-
Install the new agent on all the nodes.
See Installing the agent in a VCS environment.
-
Copy the new SAPWebAS71Types.cf file from the agent's conf directory, to the VCS conf directory /etc/VRTSvcs/conf/config.
-
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. |
-
Start the cluster services.
# hastart
-
Start the agent on all nodes, if not started.
# haagent -start SAPWebAS71 -sys SystemName
-
Unfreeze the service groups once all the resources come to an online steady state.
# hagrp -unfreeze GroupName -persistent