Virtual Machine States
Posted by Karl Zimmerman, Last modified by Kevin Stange on 24 August 2021 12:18 PM
Administrators in OnApp have full control over the lifecycle of Virtual machines. Virtual Machines can be in the following states:
- Created: A machine is created when you successfully "Add New Virtual Machine" from the Virtual Machines menu, having selected its template and set its properties, resources and network requirements.
- Build: A Virtual Machine must be built after it is created. Building is the process of actually allocating the physical resources specified during its creation. This can be done manually, or automatically if you check the "Build virtual machine automatically" box during the creation process.
- Powered on: A power on starts the virtual machine, its operating system and processes. You have to manually start a virtual machine after it has been created and built. To do this, click the "Power On" button for that machine on the Virtual Machines menu, or the details screen for that machine.
- Powered off: A power off will attempt to gracefully shut down a virtual machine and its operating system, which typically involves terminating all running applications. If the operating system cannot be stopped, it will be forcefully stopped. To power off a machine, click its "Power On" button on the Virtual Machines menu, or the details screen for that machine.
- Shut down: The VM has been forcefully stopped.
- Rebooted: Rebooted means a virtual machine has been powered off, and then powered on again.
- Deleted: When a virtual machine is deleted its contents and any backups stored are permanently removed unless you choose to convert those backups to templates first. By default, users can delete their own virtual machines. Administrators can delete any virtual machine. You can delete a machine using the "Delete Virtual Machine" link on its details screen.
- Re-built: To rebuild a virtual machine means to reinstall the template and reconfigure the resources and network. All data will be lost.
- Failed: A failed virtual machine is one that is down, for example because of hardware or network problems. You will have to start the machine manually when those problems have been solved.