Previous Topic: Explore the Computing Cluster LevelNext Topic: Resource Allocation Best Practices


Use Virtual Machine Management Operations

The user interface provides the management operations for virtual machines when you right-click a virtual machine. The usage and the dialogs are self-explanatory.

The following management operations require more explanation:

Modify CPU Configuration and QoS

Specify the following values:

Number of CPUs

Specifies the number of CPU cores that are allocated to a virtual machine. The maximum number of CPU cores you can assign to a virtual machine is eight.

Example: If you set the number to five, then five CPU cores are available for the virtual machine.

Reservation

Specifies the minimum proportion of the physical CPU performance that is reserved for this virtual machine. The reservation is defined in the percent (%) and you can assign a value of 0, 50, or 100 percent.

Example: If you set reservation to 50 percent, the system ensures at least 50 percent CPU time for each CPU core.

Limit

Specifies the maximum percentage of CPU performance that this virtual machine can allocate.

Note: The value of the limit must be greater than or equal to the value that you have specified for the reservation.

Modify Memory Configuration and QoS

Specify the following values:

Memory

Specifies the amount of memory that you assign to a virtual machine. The memory is defined in megabytes (MB) and ranges between 512 MB and 256 GB.

Example: If you set the memory to 512 MB, 512 MB is the maximum amount of memory that the virtual machine can allocate.

Reservation

Specifies the minimum proportion of physical memory that is allocated to a virtual machine. The reservation is defined as a percentage (%) and you can assign values from 0 to 100 percent.

Example: If you set memory to 2 GB and reservation to 25 percent, the system ensures at least 512 MB for the virtual machine.

VNC Login

Before you can use VNC to access your VMs, VNC Login requires an initial setup: Download VncViewer.jar and install it on your CA Virtual Assurance manager system.

Follow these steps:

  1. Log in the CA Virtual Assurance manager server, open the user interface, expand the Explore Tree, right-click a Huawei SingleCloud VM, and select Management, VNC Login.

    A message appears and gives you instructions how to proceed.

  2. From the CA Virtual Assurance manager server, connect to your ESC or OMM server and download VncViewer.jar from the following directory:
    /opt/omm/oms/webapps/oms/business/resourcemanage/virtualresources
    
  3. Click VNC Login again.

    The message dialog opens.

  4. Click the message in the dialog.

    The Upload File dialog opens.

  5. Click Browse ..., navigate to the downloaded VncViewer.jar file, and click open.

    The File Path appears in the dialog.

  6. Click OK.

    CA Virtual Assurance uploads VncViewer.jar to the Install_Path\product\tomcat\webapps\UI directory.

    The VNC Viewer automatically opens and connects to the VM.

When you have completed this one-time procedure, VNC Login is available and you can remotely access any Huawei SingleCloud VM in your environment.

Mount/Unmount Tools

To provide the maximum of functionality, install the SingleCloud Tools on your VMs.

Follow these steps:

  1. Log in the CA Virtual Assurance manager server, open the user interface, expand the Explore Tree, right-click the VM, and select Management, Mount/Unmount Tools.

    CA Virtual Assurance displays the current VM status and SingleCloud Tools status in a dialog.

  2. To change the SingleCloud Tools status to mount/unmount, click OK.
  3. After successfully mounting the SingleCLOUD tools on the VM, install the PV driver. If the VM runs on the Linux OS, restart the VM and install the PV driver.