stoney conductor: VM States: Difference between revisions
| Line 74: | Line 74: | ||
| align="left" | 4 | | align="left" | 4 | ||
| align="left" | Stopped, migrating | | align="left" | Stopped, migrating | ||
| align="center" | (x) <ref name="TechnicalClarificationNeeded"/> | | align="center" | (x) <ref name="TechnicalClarificationNeeded"/> | ||
| Line 105: | Line 89: | ||
|- | |- | ||
| align="left" | | | align="left" | 5 | ||
| align="left" | Starting | | align="left" | Starting | ||
| align="center" | - | | align="center" | - | ||
| Line 121: | Line 105: | ||
|- | |- | ||
| align="left" | | | align="left" | 6 | ||
| align="left" | Starting, streaming [5.1 %] | | align="left" | Starting, streaming [5.1 %] | ||
| align="center" | - | | align="center" | - | ||
| Line 137: | Line 121: | ||
|- | |- | ||
| align="left" | | | align="left" | 7 | ||
| align="left" | Paused, backing up | | align="left" | Paused, backing up | ||
| align="center" | - | | align="center" | - | ||
| Line 153: | Line 137: | ||
|- | |- | ||
| align="left" | | | align="left" | 8 | ||
| align="left" | Paused, migrating | | align="left" | Paused, migrating | ||
| align="center" | - | | align="center" | - | ||
| Line 169: | Line 153: | ||
|- | |- | ||
| align="left" | | | align="left" | 9 | ||
| align="left" | Running | | align="left" | Running | ||
| align="center" | - | | align="center" | - | ||
| Line 186: | Line 170: | ||
| align="left" | | | align="left" | 10 | ||
| align="left" | Running, backing up | | align="left" | Running, backing up | ||
| align="center" | - | | align="center" | - | ||
| Line 203: | Line 187: | ||
| align="left" | | | align="left" | 11 | ||
| align="left" | Running, streaming [5.1 %] | | align="left" | Running, streaming [5.1 %] | ||
| align="center" | - | | align="center" | - | ||
| Line 220: | Line 204: | ||
| align="left" | | | align="left" | 12 | ||
| align="left" | Running, migrating | | align="left" | Running, migrating | ||
| align="center" | - | | align="center" | - | ||
| Line 237: | Line 221: | ||
| align="left" | | | align="left" | 13 | ||
| align="left" | Shutting down | | align="left" | Shutting down | ||
| align="center" | - | | align="center" | - | ||
| Line 254: | Line 238: | ||
| align="left" | | | align="left" | 14 | ||
| align="left" | Powering off | | align="left" | Powering off | ||
| align="center" | - | | align="center" | - | ||
| Line 270: | Line 254: | ||
|- | |- | ||
| align="left" | | | align="left" | 15 | ||
| align="left" | Deleting | | align="left" | Deleting | ||
| align="center" | - | | align="center" | - | ||
Revision as of 10:20, 27 December 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, migrating | (x) <ref name="TechnicalClarificationNeeded"/> | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | Same state for the vm being migrated to a node and away from a node. |
| 5 | Starting | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | Technically changing state from stopped or paused to running. |
| 6 | Starting, streaming [5.1 %] | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | |
| 7 | Paused, backing up | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | technically migrating to file |
| 8 | Paused, migrating | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | the vm is being migrated to this node |
| 9 | Running | - | x | x | x | (x) <ref name="RestrictionsRequired"/> | - | x | x | x | |
| 10 | 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). |
| 11 | 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 | |
| 12 | 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. |
| 13 | Shutting down | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | |
| 14 | Powering off | - | - | - | - | (x) <ref name="RestrictionsRequired"/> | - | - | x | x | |
| 15 | 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.
Since VM Templates are basically VMs with additional metadata and can be cloned from, most of the runtime states are the same as for VMs and therefore not explicitly copied below and the respective entries are shaded
| No. | Status | Run Action | Action | Explanation | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Start | Shutdown | Power Off | Migrate | Edit | Delete | Toggle Boot-Drive |
Use | Create persistent VM |
Create dynamic VM | |||
| 1 | Stopped | x | x | x | ||||||||
| 2 | Stopped, streaming | - | - | - | (x) <ref name="TechnicalClarificationNeeded"/> | (x) <ref name="RestrictionsRequired"/> | - | x | - | x | x | 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 being 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>