stoney conductor: VM States: Difference between revisions
| Line 52: | Line 52: | ||
| align="center" | - | | align="center" | - | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | technically paused | | align="left" | technically paused | ||
|- | |- | ||
| Line 68: | Line 68: | ||
| align="center" | - | | align="center" | - | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | Technically merging, retaining or streaming (sstProvisioningMode). | | align="left" | Technically merging, retaining or streaming (sstProvisioningMode). | ||
|- | |- | ||
| Line 84: | Line 84: | ||
| align="center" | | | align="center" | | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | | | align="left" | | ||
|- | |- | ||
| Line 100: | Line 100: | ||
| align="center" | - | | align="center" | - | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | Same state for the vm being migrated to a node and away from a node. | | align="left" | Same state for the vm being migrated to a node and away from a node. | ||
|- | |- | ||
| Line 116: | Line 116: | ||
| align="center" | - | | align="center" | - | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | Technically changing state from stopped or paused to running. | | align="left" | Technically changing state from stopped or paused to running. | ||
|- | |- | ||
| Line 132: | Line 132: | ||
| align="center" | - | | align="center" | - | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | | | align="left" | | ||
|- | |- | ||
| Line 148: | Line 148: | ||
| align="center" | - | | align="center" | - | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | technically migrating to file | | align="left" | technically migrating to file | ||
|- | |- | ||
| Line 164: | Line 164: | ||
| align="center" | - | | align="center" | - | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | the vm is being migrated to this node | | align="left" | the vm is being migrated to this node | ||
|- | |- | ||
| Line 180: | Line 180: | ||
| align="center" | x | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | | | align="left" | | ||
|- | |- | ||
| Line 197: | Line 197: | ||
| align="center" | (x) <ref name="InterferencePossible"/> | | align="center" | (x) <ref name="InterferencePossible"/> | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | Technically merging, retaining or streaming (sstProvisioningMode). | | align="left" | Technically merging, retaining or streaming (sstProvisioningMode). | ||
|- | |- | ||
| Line 214: | Line 214: | ||
| align="center" | x | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | | | align="left" | | ||
|- | |- | ||
| Line 231: | Line 231: | ||
| align="center" | x | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | The vm is being migrated away from this node. | | align="left" | The vm is being migrated away from this node. | ||
|- | |- | ||
| Line 248: | Line 248: | ||
| align="center" | - | | align="center" | - | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | | | align="left" | | ||
|- | |- | ||
| Line 265: | Line 265: | ||
| align="center" | - | | align="center" | - | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | | | align="left" | | ||
|- | |- | ||
| Line 281: | Line 281: | ||
| align="center" | - | | align="center" | - | ||
| align="center" | | | align="center" | x | ||
| align="center" | | | align="center" | x | ||
| align="left" | | | align="left" | | ||
|- | |- | ||
Revision as of 10:35, 28 November 2013
Naming of VM states (the second state is only needed for special cases).
Virtual Machines
Naming of VM states (the second state is only needed for special cases), valid for VMs:
| No. | Status | Run Action | Action | Explanation | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Start | Shutdown | Power off | Migrate | Edit | Delete | Use | Users | Groups | |||
| 1 | Stopped | x | - | - | x | x | x | - | x | x | |
| 2 | Stopped, streaming [5.1 %] | x | - | - | (x) <ref name="TechnicalClarificationNeeded"/> | (x) <ref name="RestrictionsRequired"/> | (x) <ref name="TechnicalClarificationNeeded"/> | - | x | x | technically paused |
| 3 | Stopped, backing up | (x) <ref name="TechnicalClarificationNeeded"/> | - | - | (x) <ref name="TechnicalClarificationNeeded"/> | (x) <ref name="RestrictionsRequired"/> | (x) <ref name="TechnicalClarificationNeeded"/> | - | x | x | Technically merging, retaining or streaming (sstProvisioningMode). |
| 4 | Stopped, backing up | x | x | ||||||||
| 5 | Stopped, migrating | (x) <ref name="TechnicalClarificationNeeded"/> | - | - | - | (x) <ref name="TechnicalClarificationNeeded"/> | - | - | x | x | Same state for the vm being migrated to a node and away from a node. |
| 6 | Starting | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | Technically changing state from stopped or paused to running. |
| 7 | Starting, streaming [5.1 %] | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | |
| 8 | Paused, backing up | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | technically migrating to file |
| 9 | Paused, migrating | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | the vm is being migrated to this node |
| 10 | Running | - | x | x | x | (x) <ref name="RestrictionsRequired"/> | - | x | x | x | |
| 11 | Running, backing up | - | (x) <ref name="TechnicalClarificationNeeded"/> <ref name="UserCanTakeAction"/> | (x) <ref name="TechnicalClarificationNeeded"/> | (x) <ref name="TechnicalClarificationNeeded"/> | (x) <ref name="RestrictionsRequired"/> | (x) <ref name="TechnicalClarificationNeeded"/> | (x) <ref name="InterferencePossible"/> | x | x | Technically merging, retaining or streaming (sstProvisioningMode). |
| 12 | Running, streaming [5.1 %] | - | (x) <ref name="TechnicalClarificationNeeded"/> <ref name="UserCanTakeAction"/> | (x) <ref name="TechnicalClarificationNeeded"/> | (x) <ref name="TechnicalClarificationNeeded"/> | (x) <ref name="RestrictionsRequired"/> <ref name="TechnicalClarificationNeeded"/> | (x) <ref name="TechnicalClarificationNeeded"/> | x | x | x | |
| 13 | Running, migrating | - | (x) <ref name="TechnicalClarificationNeeded"/> <ref name="UserCanTakeAction"/> | (x) <ref name="TechnicalClarificationNeeded"/> | - | (x) <ref name="RestrictionsRequired"/> | (x) <ref name="TechnicalClarificationNeeded"/> | x | x | x | The vm is being migrated away from this node. |
| 14 | Shutting down | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | |
| 15 | Powering off | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | |
| 16 | Deleting | - | - | - | - | - | - | - | x | x | |
Possible future states:
- Crashed (when vm should be running, but there isn't a QEMU process around)
- Frozen or Non responding (requires QEMU guest agent or a watch dog)
Future editing:
- Certain values like disk, cpu and memory will be able to be changed, even if the vm is running.
Tool-Tips:
- "stopped, streaming (without the percent status)": Show streaming information with vm-name(s) and percent status.
- Save text of Tool-Tips in language files.
VM Templates
Naming of VM states (the second state is only needed for special cases), valid for VM Templates:
| No. | Status | Run Action | Action | Explanation | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| start | shutdown | destroy | migrate | edit | delete | toggle | use | persistent | dynamic | |||
| 1 | Stopped | x | x | x | x | x | x | x | ||||
| 2 | Stopped, streaming | After clicking "+" a list of all the vms (sstDisplayName) should appear with [5.1 %]. | ||||||||||
| 3 | Stopped, backing up | |||||||||||
| 4 | Stopped, migrating | Same state for the vm being migrated to a node and away from a node. | ||||||||||
| 5 | Stopped, first installation | If sstVirtualMachineMode is set to first installation. | ||||||||||
| 6 | Stopped, maintenance mode | If sstVirtualMachineMode is set to maintenance mode. | ||||||||||
| 7 | Starting | Technically changing state from stopped to running. | ||||||||||
| 8 | Paused, backing up | Technically migrating to file. | ||||||||||
| 9 | Paused, migrating | The vm is being migrated to this node. | ||||||||||
| 10 | Running | |||||||||||
| 11 | Running, backing up | Technically merging, retaining, streaming. | ||||||||||
| 12 | Running, migrating | The vm is being migrated away from this node. | ||||||||||
| 13 | Running, first installation | If sstVirtualMachineMode is set to first installation. | ||||||||||
| 14 | Running, maintenance mode | If sstVirtualMachineMode is set to maintenance mode. | ||||||||||
| 15 | Shutting down | |||||||||||
| 16 | Powering off | |||||||||||
| 17 | Deleting | |||||||||||
| 18 | Do not use | If sstVirtualMachineMode does not exist. | ||||||||||
References
<references> <ref name=TechnicalClarificationNeeded>Later. Should be implementable, but clarification needed on how it works.</ref> <ref name=RestrictionsRequired>Later. Function can be made available partially. For example: Editing the name, description or even IP of a VM may be always possible, while changing the memory and/or disk size depends heavily on the state of the VM.</ref> <ref name="UserCanTakeAction">A user connected to the VM can take this action despite it is unavailable in the web-interface.</ref> <ref name="InterferencePossible">While the action is possible, the result may not be satisfying, most probably due to race conditions.</ref> </references>