DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.

DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
| Code Block | ||
|---|---|---|
| ||
public enum State {
CREATED, // Command is created by management server
STARTED, // Command is started by agent
PROCESSING, // Processing by agent
PROCESSING_IN_BACKEND, // Processing in backend by agent
COMPLETED, // Operation succeeds by agent or management server
FAILED, // Operation fails by agent
RECONCILE_READY, // Ready for reconciliation
RECONCILING, // Being reconciled by management server
RECONCILED, // Reconciled by management server
RECONCILE_FAILED, // Fail to reconcile by management server
TIMED_OUT, // Timed out on management server or agent
INTERRUPTED, // Interrupted by management server or agent (for example agent is restarted),
DANGLED_IN_BACKEND // Backend process which cannot be processed normally (for example agent is restarted)
} |
new method for each Command
| Code Block | ||
|---|---|---|
| ||
public boolean isReconcile() {
return false;
} |
...
| Scenarios | Current behavior | How to deal with it |
|---|---|---|
| Agent cannot send Answer to management server, therefore timed out on management server | Agent: (for reconcile command only)
Management server: (for reconcile command only)
|
| Agent interrupt the process or processing in backend | Management server (TODO)
|
| Agent interrupt the process or processing in backend | Agent (when restart)
|
| timed out on management server | Management server
|
| Agent process the command
| Management server
|
...
-> RECONCILED (all good) / RECONCILE_FAILED (failed, will retry) / RECONCILED_READY (success, but need more information, will retry)
Migrate VM w/wo volumeswithout volumes (If VM is Migrating)
Migrate Volume
...
VM with volumes (If
...
VM is
...
Migrating)
...
Migrate Volumes (If volume is Migrating)
...
...
| NFS to NFS | NFS to Local | Local to Local | Local to NFS | Powerflex to Powerflex | Powerflex <------> NFS | |
|---|---|---|---|---|---|---|
| Migrate VM | PrepareForMigrationCommand (dest) MigrateCommand (source) | - | - | - | PrepareForMigrationCommand (dest) MigrateCommand (source) | - |
| Migrate VM with volumes | CopyCommand (template to primary if needed) CreateObjectCommand (new volume) ModifyTargetsCommand PrepareForMigrationCommand (dest) MigrateCommand (source) DeleteCommand (source) | same as "NFS to NFS" | same as "NFS to NFS" | same as "NFS to NFS" | Migrating a volume online with KVM from managed storage is not currently supported. | Pool [%s] is not compatible with volume [%s], skipping it. |
| Migrate ROOT Volume (of Running VM) | KVM does not support volume live migrationdue to the limited possibility to refresh VM XML domain. Therefore, to live migrate a volume between storage pools, one must migrate the VM to a different host as well to force the VM XML domain update. Use 'migrateVirtualMachineWithVolumes' instead. | same | same | same | MigrateVolumeCommand
| Storage pool pr503-t11980-kvm-ol8-kvm-pri3 is not suitable to migrate volume |
| Migrate ROOT Volume (of Stopped VM) | CopyCommand (primary1 to secondary) CopyCommand (secondary to primary2) DeleteCommand (secondary) DeleteCommand (primary1) | same | same | same | CopyCommand (primary1 to primary2)
| same as above |
| Migrate DATA Volume (of Running VM) | KVM does not support volume live migrationdue to the limited possibility to refresh VM XML domain. Therefore, to live migrate a volume between storage pools, one must migrate the VM to a different host as well to force the VM XML domain update. Use 'migrateVirtualMachineWithVolumes' instead. | same | same | same | MigrateVolumeCommand
| same as above |
| Migrate DATA Volume (of Stopped VM) | CopyCommand (primary1 to secondary) CopyCommand (secondary to primary2) DeleteCommand (secondary) DeleteCommand (primary1) | same | same | same | CopyCommand (primary1 to primary2)
| same as above |
| Migrate DATA Volume (unattached) | CopyCommand (primary1 to secondary) CopyCommand (secondary to primary2) DeleteCommand (secondary) DeleteCommand (primary1) | same | same | same | CopyCommand (primary1 to primary2)
| same as above |