Example 10: Upgrading agents in a cluster-aware configuration
About this task
Upgrade agents in a cluster-aware configuration
as follows:
- Set all the nodes of the cluster to the Pause state. Perform this action by
running the following command in a powershell against each node:
Suspend-ClusterNode -Name <String>
- Stop all the HCL Workload Automation
resources belonging to the nodes of the cluster you paused:
Stop-ClusterResource -Name <String>
- For all the nodes in the cluster, upgrade all the resources running
on the nodes, by performing the following steps:
- Generate the installation registries for one of the cluster groups belonging to the
node on which you are upgrading the resources, and upgrade the instance you are working on, using
the following script:
cscript.exe twsinst.vbs -update -uname user1 -password password1 -inst_dir "C:\Program Files\HCL\TWA" -recovInstReg true
- Update the remote Windows Services and the resource
DLL, by running the following command:
twsClusterAdm.exe -update resource=RES1 ask=yes -twsupd pwd us1pass1
- Repeat steps 3.a and 3.b for all the resources present on this node.
- Generate the installation registries for one of the cluster groups belonging to the
node on which you are upgrading the resources, and upgrade the instance you are working on, using
the following script:
- From the powershell, resume all the nodes of the cluster you paused in step 1 by running the following command against each node:
Resume-ClusterNode -Name <String>
- Bring online the HCL Workload Automation
resources on all the nodes, by running the following command against each resource:
Start-ClusterResource -Name <String>