GetUnprotectedVms
Returns a list of unprotected vVol replicated virtual machines part of vVol
replication groups that target the SRM peer site.
Synopsis
@optional UnprotectedVmInfo[] getUnprotectedVms(@optional FaultDomainId[] domains);
domains
is an optional list of domains to filter the result. If
not set the server will return all protectable VMs.UnprotectedVmInfo[]
is
a list containing information about unprotected vVol replicated virtual machines
part of vVol replication groups that target the SRM peer site. It includes empty
Replication Groups that are not part of any SRM protection group and with no virtual
machines. It has the following fields:Field | Description |
---|---|
ReplicationGroupInfo
replicationGroup
| Inforomation about a vVol replication group with
SRM peer site as target. |
protectionGroup
| SRM Protection group which protects this
replication group. Unset if the replication group is not protected
by any SRM protection group. |
VmInfo[] unprotectedVms
| List of vVol replicated virtual machines that are
unprotected from SRM point of view and replicated with this
replication group. This list might include VMs with vVol
configuration errors. Only VMs with no errors are suitable for
protection by SRM. |
ReplicationGroupInfo is the information
about a vVol replication group. For more information, see GetDomains.
VmInfo
is the
information about a local vVol replicated vim.VirtualMachine
. It
has the following fields:Field | Description |
---|---|
key
| The vim.VirtualMachine object
at the local site. |
name
| Name of the virtual machine. |
@optional ReplicationGroupInfo[]
replicationGroups | Replication groups for this VM. Virtual machines sharing the same
replication groups belong to the same consistency group. They
will be added or removed from a protection group together. For information about ReplicationGroupInfo ,
see GetDomains. |
Faults
- RuntimeFault
For information about the faults that
Site Recovery Manager
throws, see Faults in Site Recovery Manager API.