Creating Virtual Machines (VMs)#
There are multiple methods to Create a VM
-
Create a Custom VM A blank custom VM is created without drives or NICs. (Drives and NICs can be added after VM creation.) A guest operating system can be installed by adding a CD-ROM device with media file set to a bootable install ISO or adding an import disk that has OS installed. See Virtual Machine Drives and Virtual Machine NICs for help in adding drives/NICs.
-
Create a VM from a Recipe The VM is created using a predefined recipe; recipes are VM image templates that allow quick launching of new VMs with a preloaded operating systems, applications, configuration info., etc. Recipes allow for very quick and convenient launching of new instances of machines with various preloaded software and configurations. Recipes can contain questions to be asked at the time of creation to customize each instance (such as drive sizes or RAM amount). Some service-VM recipes are included in your installation; your Service Provider may also provide recipes. Every VergeOS Cloud can create and use their own local recipes as well.
-
Import VM is created from a standard format configuration file (e.g. OVF, VMX, XML, etc) with associated drives created from disk image files, such as *.VMDK. See: VM Import Methods
-
Create a VM from a Clone A new VM instance is launched as a copy of an existing VM. A clone, by default, will be given different MAC address(es) than the original VM allowing the clone to run in the same network as the original VM without causing an IP conflict; optionally, MAC addresses can be preserved when needed.
Best Practices#
Review Virtual Machine Best Practices for important considerations and recommendations regarding creating VMs.
Create a new Custom VM#
Creating a new Custom VM will require an *.iso file or a startup USB image file (e.g. created from a hybrid image) for booting/installing the guest OS. See Uploading to the vSAN(Media Images) for instructions on uploading these files to the vSAN. {.is-success}
- From the Cloud Dashboard, click Machines on the left menu.
- Click Virtual Machines from the menu or click the Virtual Machines quick-link on the dashboard.
- Click New from the left menu.
- From the options list on the left, select -- Custom --.
- "Custom VM" will now display under the selection area on the right and will be the selected item.*
- Click Next (bottom of the screen).
- Enter/select fields as appropriate for the desired VM. Virtual Machine Field Descriptions are available here.
- When fields are completed, click Submit.
- A message should appear indicating the VM was created successfully and stating drives and NICS can now be created for the VM. Click Ok to see the Dashboard page for the VM.
- Add drives to the VM as needed. See Virtual Machine Drives for instructions.
- Add NICs to the VM as needed. See Virtual Machine NICs for instructions.
Create a VM from a Recipe#
Recipe files may be available for download from your VergeOS Service Provider's Repository. Each Tenant is also able to create and use its own VM recipes.{.is-success}
- From the Cloud Dashboard, select Machines from the menu or click the Machines quick-link on the dashboard.
- Click Virtual Machines from the menu or click the Virtual Machines quick-link on the dashboard.
- Click New from the left menu.
- A list of Available Catalogs displays at the top of the Options list on the left. Select a Catalog from the list. As different Catalogs are selected on the left, a list of recipes contained in the selected Catalog displays on the right.
- Select the desired recipe from the Selections Available list on the right.
- Click Next (bottom of the screen).
- Enter/select fields as appropriate for the desired VM. Specific entry fields will vary per recipe; See Virtual Machine Field Descriptions or consult with the service provider or recipe publisher for more information regarding specific entry fields.
- When fields are completed, click Submit.
- A message should appear indicating the VM was created successfully and stating drives and NICS can now be created for the VM. Click Ok to see the Dashboard page for the VM.
- Typically, VM drive(s) and NIC(s) will be included in the VM recipe. Additional drives and NICs can be added to the VM as needed: See Virtual Machine Drives and Virtual Machine NICs for instructions.
Create a VM from a Clone#
- From the Cloud Dashboard, select Machines from the menu or click the Machines quick-link on the dashboard.
- Click Virtual Machines from the menu or click the Virtual Machines quick-link on the dashboard.
- Click New from the left menu.
- Select --Clone-- from the Options list on the left. The Selection list on the right will now be populated with a list of all existing VMs.
- Select the VM to clone from the Selections Available list (on the right),
- Click Next (bottom of page).
- The VM Name will default to the original VM Name + "clone"; however, the name can be changed as desired.
- By default, the new clone instance will employ unique MAC address(es) that are different from the source VM (for all NIC devices). "Preserve MAC Addresses" option can be enabled in order to copy MAC addresses from the original VM to the new clone instance; however, this option should be used with caution as NICs with duplicate addresses running on the same network will cause problems.
- Preserve Device UUIDs can be checked to create the clone with same UUIDs as the original. VMs running with the same UUIDs may cause problems. Use this option only if required.
- Quiesce File System provides for an application-consistent clone of a VM that is in a running state. (VergeOS Guest Agent must be installed and running on the VM.)
When the option is selected: if the source VM is running the file system is put into a state suitable for backups (i.e. notify VSS-aware applications, freeze filesystem. flush buffers, etc.) - Click Submit.
- A message should appear indicating the VM was created successfully and stating drives and NICS can now be created for the VM. Click Ok to see the Dashboard page for the VM.
- VM drive(s) and NIC(s) from the original VM will automatically carry over to the cloned VM. Additional drives and NICs can be added to the VM as needed: see See Virtual Machine Drives and Virtual Machine NICs for instructions.
If you would like to request a KB based on a specific subject, please email our support team at support@verge.io.{.is-info}