Upgrading cluster nodes automatically by using twsClusterUpg
Use the twsClusterUpg command to upgrade automatically HCL Workload Automation agents in a cluster-aware configuration, from V9.1 or later, to the general availability (GA) version of the product.
About this task
To perform the upgrade, run the following procedure:
- Ensure that your environment meets the prerequisites that are listed in Prerequisites.
- Move to the directory where you downloaded the images of the general availability (GA) version.
- On all the nodes you want to upgrade, run the twsClusterUpg script
with Cluster Administrator and Domain Administrator rights by using
the following syntax:
Where:cscript.exe twsClusterUpg.vbs -groups <group1, ..., groupn> -passwords <pwd1, ..., pwdn>- group1, ..., groupn
- Specify the groups that you want to upgrade.
- pwd1, ..., pwdn
- Specify the password of the HCL Workload Automation user you had used to install the product in the group. Specify the passwords in the same order that you specify the groups.
Where %temp% is the temporary directory of the user that is running the twsClusterUpg command.
The twsClusterUpg command runs the twsinst.vbs, the twspatch.vbs, and the twsClusterAdm.exe commands. If the TWSClusterMainLog.txt indicates that one of these commands fails, analyze the corresponding log for further details.
- Resume all the nodes of the cluster you upgraded, by running the
following command against each node:
Where node_name is the name of the node you want to resume.cluster.exe node <node_name> /Resume - Bring online the HCL Workload Automation resources
on all the nodes, by running the following command against each resource:
Where <res_name> is the name of the HCL Workload Automation resource.cluster.exe res <res_name> /Online