## Workgroup 

A workgroup policy  indicates that the set of VMs must be prioritized based on the assigned priority. 

To set this option, run the following commands: 

ksysmgr add workgroup name vm=vmname1[,...] ksysmgr modify workgroup name policy=add|delete vm=vm1[,...] 

Example 3-61shows the creation of a workgroup policy with the VMs rt11001 , rt11002 , and rt11003 . 

# ksysmgr add workgroup dev_itso vm=rt11001,rt11002,rt11003 Workgroup group dev_itso was created 

To list the workgroup policies that are available, run the ksysmgr query workgroup command, as shown in Example 3-62. 

# ksysmgr query workgroup Name: dev_itso Type: workgroup VMs: rt11002 rt11001 rt11003 

Example 3-63 shows how to delete the workgroup policy. 

# ksysmgr delete workgroup dev_itso Workgroup group dev_itso was removed 

Note:  When you set affinity policies, ensure that the host group has sufficient capacity for the policies to be implemented during host failure, VM failure, or application failure. For example, if the host group contains only two hosts, you cannot set an anticollocation policy on VMs of a specific host because the host group does not contain multiple target hosts to restart the VMs. 

