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.
- Log in to the host, start the terminal, and run the virt-manager command. The virt-manager interface is displayed.
- Download the required ISO image on the host or download the ISO image locally and use Xshell to upload it to the host.
- Create a VM. In the New VM window, select Local install media (ISO image or CDROM) and click Forward.
- Select an ISO image, its OS type, and version.
- Configure the VM CPU and memory.
- Memory (RAM): 4096 MiB
- CPUs: 4
- 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.
- 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.
- 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.
- Configure the NIC, select e1000 (Gigabit network adapter), and click Apply. For an Ubuntu 16.04 ARM image, skip this step.
- 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.
- Click Begin Installation.
- 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.