Specifies the state of a live migration of a virtual machine (VM) from one node of the cluster to another node of the cluster. The following table summarizes the attributes of the MigrationState property.
| Attribute |
Value |
| Data type |
DWORD |
| Access |
Read/write |
| Status |
Required |
| Structure |
CLUSPROP_DWORD |
| Minimum |
0 |
| Maximum |
5 |
| Default |
0 |
The following table summarizes the values for MigrationState.
| Name |
Value |
Description |
No Migration
|
0 (Default)
|
No migration is in progress.
|
Setup
|
1
|
The migration of the VM was started and the setup of the migration is in progress.
|
Data Transfer
|
2
|
The VM data (including the contents of the VM memory) is being transferred to the target node.
|
Move
|
3
|
The move of the VM resource group is in progress.
|
Canceled
|
4
|
An earlier migration attempt was canceled.
|
Failure
|
5
|
An earlier migration attempt failed. The MigrationState property will retain this value until it is reset or another migration is started.
|
Requirements
|
|
Minimum supported client
|
None supported
|
Minimum supported server
|
Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise
|
See also
-
Virtual Machine Private Properties
-
CLUSPROP_DWORD