Moving a resource group
You can manually move a resource group to any node in the cluster.
About this task
As the HCL Workload Automation instance
user, issue the TWAHome/TWS/TSAMP/moveResourceGroup.sh script.
All the resources of the group are stopped, then restarted in the
other node of the cluster.
Note: In case of failures, Tivoli System Automation for Multiplatforms automatically
moves resource groups.
In a cluster that comprises the
master domain manager and backup master domain managers, you can move
the following resource groups:
- The event processor resource group evtproc-rg
- The domain manager resource group dm-rg
- The dynamic workload broker resource group broker-rg
In a cluster that comprises the dynamic
domain manager and backup dynamic domain managers, you can move the
following resource groups:
- The domain manager resource group dm-rg
- The dynamic workload broker resource group broker-rg
Note: If the domain manager resource group is moved to another
node in the cluster, the dynamic workload broker resource group is
also moved to the same node, and vice versa.
For example:
$ lssam | grep evtproc
Online IBM.ResourceGroup:evtproc-rg Nominal=Online
'- Online IBM.Application:evtproc-rs
|- Online IBM.Application:evtproc-rs:tws1
'- Offline IBM.Application:evtproc-rs:tws2
$ moveResourceGroup.sh evtproc-rg
Action on resource group "evtproc-rg" returned
Token "0x51235c8d17762bfa56b97350bc2d0900".
RC = 0
$ lssam | grep evtproc
Pending online IBM.ResourceGroup:evtproc-rg Request=Move Nominal=Online
'- Offline IBM.Application:evtproc-rs
|- Offline IBM.Application:evtproc-rs:tws1
'- Offline IBM.Application:evtproc-rs:tws2
$ lssam | grep evtproc
Pending online IBM.ResourceGroup:evtproc-rg Request=Move Nominal=Online
'- Pending online IBM.Application:evtproc-rs
|- Offline IBM.Application:evtproc-rs:tws1
'- Pending online IBM.Application:evtproc-rs:tws2
$ lssam | grep evtproc
Pending online IBM.ResourceGroup:evtproc-rg Nominal=Online
'- Pending online IBM.Application:evtproc-rs
|- Offline IBM.Application:evtproc-rs:tws1
'- Online IBM.Application:evtproc-rs:tws2