Creating a Virtual Machine from a Snapshot
Create a virtual machine (VM) from a snapshot if you want to use a snapshot on your everRun system as the source for a new VM. (For additional methods of creating or migrating VMs, see Creating and Migrating Virtual Machines. For an overview of snapshots, see Managing Snapshots.)
To create a VM from a snapshot, open the Snapshots page of everRun Availability Console, select a snapshot, and click Create VM. A wizard steps you through the process of creating the VM, as described in the following procedure.
Notes:
- When you create a snapshot that you intend to use as a source for a new VM, you must follow steps to prepare the guest operating system; otherwise, the VM image that you create may not function as expected. For details, see Creating a Snapshot.
- When you create a VM from a snapshot, the original container size for each volume you include is not preserved. For example, if your source VM has a 20 GB boot volume in a 40 GB volume container, the new VM will have a 20 GB boot volume in a 20 GB volume container. If necessary, you can expand the volume containers for the new VM as described in Expanding a Volume Container on the everRun System.
- To prevent conflicts with the source VM, the create VM wizard automatically assigns a new MAC address to each network interface in the new VM; however, you may need to manually update any IP addresses and host names.
Prerequisite: Ensure that both PMs of the everRun system are online; otherwise, the system cannot properly create the VM.
To create a new VM from a snapshot
- Log on to the everRun system with the everRun Availability Console.
- On the Physical Machines page (see The Physical Machines Page), verify that both PMs are in the running state and that neither PM is in maintenance mode or in the process of synchronizing.
- If you have not already done so, create a snapshot, as described in Creating a Snapshot.
-
On the Snapshots page, select the snapshot to use as a source for the new VM.
Snapshots are usually in a normal state (
) the State column. If a snapshot is broken (
), it may indicate that one or more volumes in the snapshot are unavailable for the VM creation.
- In the bottom pane, click Create VM.
-
The Create VM from Snapshot "name" dialog box appears with default values. Review the information and make any desired edits, if necessary:
-
Name, CPU, and Memory
Change the name of the virtual machine, edit the number of vCPUs, or allocate the total memory it can use.
-
Storage
Shows all of the volumes. Select the Create box for a volume to allocate a storage container for the volume on the everRun system (the boot volume is required). Select the Restore Data box to import data for a volume from the snapshot.
-
Network
Displays all of the available networks. You can remove a network or add one that is not already allocated. A minimum of one network is required.
- Optionally, clear the check box for Auto start Virtual Machine if you need to reprovision the VM before starting it for the first time.
- Click Create VM. When the process is complete, the wizard closes automatically.
-
If applicable, use the Reprovision Virtual Machine wizard to allocate additional resources to the VM, as described in Reprovisioning Virtual Machine Resources. Also, if you want to allocate additional space in each volume container for snapshots, see Expanding a Volume Container on the everRun System.
When you are finished reprovisioning the VM, click Start to boot the VM.
- Click Console to open the console of the VM and log on to the guest operating system.
- If necessary, update the network settings in the guest operating system.