• Bare Metal Server

  1. Help Center
  2. Bare Metal Server
  3. Private Image Creation Guide (BMS)
  4. Creating a Linux Image
  5. Creating a VM

Creating a VM

Use virt-manager to create a VM. This section describes how to create an Oracle Linux 6.8 VM. The methods of creating VMs running other OSs are similar.

  1. Log in to the host, start the terminal, and run the virt-manager command. The virt-manager interface is displayed.
  2. Download the required ISO image on the host or download the ISO image locally and use Xshell to upload it to the host.
  3. Create a VM. In the New VM window, select Local install media (ISO image or CDROM) and click Forward.

  4. Select an ISO image, its OS type, and version.
  5. Configure the VM CPU and memory.
    • Memory (RAM): 4096 MiB
    • CPUs: 4
  6. Configure the size of the disk image to be created and click Forward.
    • You are not advised to configure a large size, which may result in a large image file. It is recommended that the Oracle Linux 7.3 or Red Hat 7.3 image should be smaller than 6 GB or even smaller, as long as it can meet the requirements. For an Ubuntu 16.04 ARM image, select Select managed or other existing storage, create a 150 GB QCOW2 image, and select the image.
    • The image file size and memory (150 MB) cannot exceed the physical memory size of the BMS. Otherwise, provisioning of BMSs will fail.

  7. Click Manage and select a storage path, for example, /home/h.

    Click , set Name (suffix .img is recommended so that the image can be compressed if it is large) and select raw (recommended) for Format.

    Click Finish. In the displayed storage volume list, select the created storage volume and click Choose Volume.

  8. Enter the name of the VM (such as oracle6.8) and select Customize configuration before install. For an Ubuntu 16.04 ARM image, select NAT in Advanced options.

  9. Configure the NIC, select e1000 (Gigabit network adapter), and click Apply. For an Ubuntu 16.04 ARM image, skip this step.

  10. For a SUSE 12 image and KunLun server for the HANA solution, set the boot mode to UEFI. In the navigation pane on the left, choose Overview. In the right pane, select a UEFI mode for Firmware.

  11. Click Begin Installation.
  12. Wait for the VM to start and choose Installation. Configure the OS language and time zone. Select the installation scenario based on requirements. Some OSs, such as SUSE and CentOS 7.x, have physical servers, VMs, KVM and Xen. Select the required items based on service requirements and install an OS.