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 against each
node:
cluster.exe node NODE1 /Pause
- Set offline all the HCL Workload Automation resources
belonging to the nodes of the cluster you paused:
cluster.exe res RES1 /Offline
- 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:
- Resume all the nodes of the cluster you paused in step 1 by running the following command
against each node:
cluster.exe node NODE1 /Resume
- Bring online the HCL Workload Automation resources
on all the nodes, by running the following command against each resource:
cluster.exe res RES1 /Online