Removing resources from the KSYS configuration
If a specific virtual machine is not required to be covered when you are using the VM Recovery Manager DR disaster recovery solution, you can remove the resource and the associated resources from the KSYS configuration.
Removing a virtual machine
When you remove a host from the KSYS configuration, all the virtual machines are removed.
Therefore, if you want to remove a specific virtual machine, instead of removing the host from the
KSYS configuration, you must exclude the virtual machine from the KSYS configuration so that the
virtual machine is not moved to the backup site during a disaster recovery operation. You can
exclude a specific virtual machine by using the
ksysmgr unmanage
vm_name command.Note: Before unmanaging a virtual machine
that is part of a workgroup, you must remove the virtual machine from the workgroup by using the
following command:
ksysmgr modify workgroup workgroup_name policy=delete vm=vmnameRemoving a host
To remove a host, you must first remove the host from the host group, and then break the
associated host pair by using the following
command:
ksysmgr modify host_group hg_name remove hosts=host1
ksysmgr pair host=host1 pair=noneAfter
the host pair is broken, use the following command to remove the hosts in both the active site and
the backup site:ksysmgr delete host hostnameAll the virtual machines that are
running in the host are removed from the KSYS configuration. You must also remove the host in the
opposite site that was paired to the removed host. If you add or remove hosts from a host group, you must run a discovery
operation to manage or unmanage all the virtual machines from the recovery management. The modified
host group displays the correct list of managed virtual machines only after a discovery operation.
If we remove all hosts from Default_HG, the disk group of
Default_HG is not removed. The disk groups are retained with the removed hosts.
Removing a host group
To remove a host group, you must first remove all the hosts from the host group, and then delete
the host group by using the following
command:
ksysmgr delete host_group hg_nameRemoving an HMC
If an HMC, which is included in the KSYS configuration, is not managing any hosts in the KSYS
configuration, you can remove the HMC from the KSYS configuration by using the following
syntax:
ksysmgr delete hmc hmcnameRemoving a storage agent
If you want to remove storage disks from the active site, ensure that the storage disks in the
backup site that were paired with the storage disks in the active site are also removed. Otherwise,
the disk pair might cause discovery errors. If you remove an entire storage array from a site, you
must remove the storage agent that is associated with that storage array by using the following
syntax:
ksysmgr delete storage_agent storage_agent_nameRemoving a workgroup
To remove a workgroup, run the following command:
ksysmgr delete workgroup workgroup_name