Professional Documents
Culture Documents
V100R005C10
Issue 01
Date 2015-11-11
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information,
and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website: http://e.huawei.com
Purpose
This document describes how to manage and maintain VMs, templates, and snapshots.
Intended Audience
This document is intended for:
l Technical support engineers
l Administrator
Symbol Conventions
The symbols that may be found in this document are defined as follows:
Symbol Description
Symbol Description
Change History
Changes between document issues are cumulative. The latest document issue contains all the
changes made in earlier issues.
Issue 01 (2015-11-11)
This is the first official release.
Contents
2 VM Adjustment........................................................................................................................... 67
2.1 Modifying VM Specifications...................................................................................................................................... 68
2.1.1 Modifying CPU Attributes........................................................................................................................................ 68
2.1.2 Binding a VM and CPU Cores.................................................................................................................................. 72
2.1.3 Adjusting Memory Specifications............................................................................................................................. 73
2.1.4 Expanding Disk Capacity.......................................................................................................................................... 76
2.1.5 Attaching a Disk to a VM..........................................................................................................................................78
2.1.6 Detaching a Disk from a VM.................................................................................................................................... 81
2.1.7 Adding a NIC.............................................................................................................................................................83
2.1.8 Deleting a NIC...........................................................................................................................................................85
2.2 Modifying VM Peripherals...........................................................................................................................................87
2.2.1 Mounting a CD/DVD-ROM Drive or an ISO File.................................................................................................... 87
2.2.2 Unmounting a CD/DVD-ROM Drive or an ISO File................................................................................................92
2.2.3 Attaching a GPU to a VM......................................................................................................................................... 93
2.2.4 Detaching a GPU....................................................................................................................................................... 96
2.2.5 Attaching a USB Device............................................................................................................................................97
3 VM Reclamation........................................................................................................................ 130
3.1 Deleting a VM............................................................................................................................................................ 131
5 Template Management.............................................................................................................156
5.1 Creating a VM Template............................................................................................................................................ 157
5.2 Exporting a Template or a VM................................................................................................................................... 166
5.3 Importing a Template..................................................................................................................................................168
5.4 Deleting a Template....................................................................................................................................................178
5.5 Restoring a VM Template...........................................................................................................................................180
A Appendix....................................................................................................................................228
A.1 Common Operations.................................................................................................................................................. 229
A.1.1 Setting Internet Explorer Browser.......................................................................................................................... 229
A.1.2 Setting Mozilla Firefox Browser............................................................................................................................ 232
A.1.3 Logging In to FusionCompute.............................................................................................................................. 233
A.1.4 Installing the Windows OS..................................................................................................................................... 237
A.1.5 Installing the Linux OS...........................................................................................................................................243
A.1.6 Replacing VM OS Kernel Files.............................................................................................................................. 258
A.1.7 Configuring the VM SID Customization................................................................................................................263
B Glossary...................................................................................................................................... 485
B.1 A-E............................................................................................................................................................................. 486
B.2 F-J.............................................................................................................................................................................. 487
B.3 K-O............................................................................................................................................................................ 489
B.4 P-T..............................................................................................................................................................................490
B.5 U-Z............................................................................................................................................................................. 491
1 VM Creation
A virtual machine (VM) is a software computer that functions like a physical computer,
running an operating system (OS) and applications.
A VM runs on a host, obtains CPUs, memory, GPU, USB devices, and other resources on the
host, and uses network connection and storage access capabilities of the host. Multiple VMs
can run concurrently on one host.
The VM creation location can be a host or a cluster. After a VM is created, you can migrate it
to another host, or perform operations to adjust its specifications and peripherals, such as
adding network interface cards (NICs), mounting CD/DVD-ROM drivers, attaching disks,
GPU, and USB devices.
VM template
A VM template can be in OVA or OVF format. A VM template in OVA format contains only
one OVA file. A VM template in OVF format consists of one OVF file and multiple VHD
files.
l OVF file: provides the description information about the VM. The file name is the same
as the VM template, for example, template01.xml.
l VHD file: VM disk file. A VM disk file is generated for each VM disk. The file name
format is template name-Disk slot number.vhd, for example, template01-1.vhd.
On a physical host, each physical CPU provides certain memory, but the computing
performance of a CPU is the highest when it reads data from or writes data into its own
memory among the memory of all CPUs.
Therefore, when a VM uses multiple CPUs, set the CPU sockets, ensuring that the VM CPUs
are evenly provided by multiple physical CPUs. In this case, the load of a single physical
CPU is light, and the optimal read and write performance can be achieved.
The number of VM CPU sockets specifies how many physical CPUs evenly provide CPUs for
a VM. Therefore, the number of VM CPU sockets must be divisible by the number of VM
CPUs.
The number of VM CPU sockets is available only after the GuestNUMA function is enabled
in the advanced settings of the cluster.
If each host in the environment has four eight-core physical CPUs, a total number of 32
physical cores are available on the host.
If the CPU sockets are not configured for a VM that has eight CPUs, these virtual CPUs may
be provided altogether by only one physical CPU or by other different CPUs unevenly. For
example, one physical CPU can provide five cores and another physical CPU provides three
cores.
However, if CPU sockets are configured for the VM, for example, the number of CPU sockets
is set to 4, the eight virtual CPUs of the VM are evenly provided by four physical CPUs (each
providing two cores), thereby achieving optimal computing performance.
VM Creation Methods
Table 1-1 describes the VM creation methods provided by the FusionCompute.
Software to Be Prepared
ISO file or CD- For details about the OSs that are Huawei does not provide the ISO
ROM of OS supported by VMs, log in to file or CD-ROM, and you must
installation compatibility check assistant. prepare it yourself.
OS patch Specified OSs require certain OS Download the patch from the
patches. official website of the OS.
To install either of the following l To download the English
OSs, install the KB891861 patch version, visit http://
first: www.microsoft.com/en-us/
l Windows 2000 Server SP4 download/details.aspx?
id=18997.
l Windows 2000 Advanced
Server SP4 l To download the Chinese
version, visit http://
www.microsoft.com/zh-cn/
download/details.aspx?
id=18997.
Application Purchase the application software Huawei does not provide the
software (for example, WinRAR) based on application software, and you
site requirements. must prepare it yourself.
Scenarios
On the FusionCompute, create a bare VM. The administrator can install the OS and
application software on the VM.
Prerequisites
Conditions
l All tasks required in the software commissioning phase are complete, and the computing,
storage, and network resources are available.
l You have logged in to the FusionCompute.
Procedure
Select the creation location for the VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
If a VM is attached to a host, the VM can only run on this host and cannot be migrated to
another host. To determine whether to reserve resources in the host for the VM, select
one of the following based on site requirements:
– Do not reserve resources for the VM: specifies that the host reserves computing
resources for the VM only when this VM is in the running state.
– Permanently reserve resources for the VM: specifies that the host reserves
computing resource for the VM even when this VM is stopper or hibernated.
5 To attach a GPU to the VM, select Attach GPU in Advanced Settings, and select the
GPU to be attached.
If a GPU is attached to a VM, the VM is automatically attached to the host providing the
VM and the GPU. The VM can be migrated to another host only after the GPU is
detached from the VM.
6 To attach a USB device to the VM, select Attach USB device in Advanced Settings,
and select the USB device to be attached.
NOTICE
When you install the OS by following the operations provided in Follow-up Procedure,
ensure that the type and version of the OS to be installed are consistent with what you
select here. Otherwise, the VM may become faulty.
NOTICE
If the VM runs any of the following OSs, the number of CPU cores cannot be
greater than 32. If you want to increase the number of CPU cores to greater than 32
after the VM OS is installed, upgrade the system kernel by performing steps
provided in Failed to Start the Linux VM That Has Greater Than 32 CPU
Cores:
n CentOS 6.1, 6.2, 6.3, 6.4, 6.5, and 6.6 (32-/64-bit)
n Red Hat Enterprise Linux 6.1, 6.2, 6.3, 6.4, 6.5, and 6.6 (32-/64-bit)
n Oracle Linux Server release 6.1, 6.2, 6.3, 6.4, 6.5, and 6.6 (32-/64-bit)
n Red Flag Asianux Server 4 SP2 (32-/64-bit)
– Number of cores per socket: VM CPUs can be evenly divided into multiple groups.
CPU cores in each group can be provided by one or more cores on a physical CPU.
The number of CPU cores in each group is the number of cores per socket. For
details about a CPU socket, see Introduction to Creating VMs. The supported
number of CPU sockets and the supported number of cores per socket vary
depending on operating systems (OSs). Therefore, configure this parameter based
on the OS capabilities.This parameter is mandatory only when GuestNUMA is
enabled for the cluster.
– Memory
– Number of disks
– Number of NICs
NOTE
If the VM runs the Debian OS, the total number of CPUs, disks, and NICs on the VM must be
greater than or equal to 6.
10 To modify the QoS settings, click QoS Settings and configure the parameters.
– CPU Quota: Specifies the CPU weight a VM can obtain in resource contention. The
quota indicates the relative priority of a VM. For example, if the CPU quota of a
VM is twice that of another VM, this VM has priority to use twice the CPU
resources as the other VM.
– CPU Reserved (MHz): Specifies the minimum computing capability of the VM. For
example, if the VM has one CPU and Reserved (MHz) is set to 2000, the minimum
computing capability of the VM is 2000 MHz.
– CPU Limit (MHz): Specifies the maximum computing capability of the VM. For
example, if the VM has one CPU and Limit (MHz) is set to 2000, the maximum
computing capability of the VM is 2000 MHz.
– Memory Quota: Specifies the memory weight a VM can obtain in resource
contention. The quota indicates the relative priority of a VM. For example, if the
memory quota of a VM is twice that of another VM, this VM has priority to use
twice the memory resources as the other VM.
– Memory Reserved (MB): Specifies the minimum physical memory resources of the
VM. If Reserved (MB) is set to 0, the system reserves the minimum required
memory resources for the VM.
11 Configure the other attributes of the VM.
– HA: Specifies whether to enable the HA function. The HA feature allows VMs to
migrate to another host if the current host is faulty. If the VM is bound to a host, it
cannot be migrated, and will automatically start after the host runs properly.
– Policy for handling blue screen of death (BSOD): Specifies the policy used when
the BSOD occurs.
– Clock synchronization policy: If Synchronize with host clock is selected, the VM
periodically synchronizes time with the host. If no, the user can set the VM time.
– Boot device:Specifies the default boot device of the VM.
– VNC keyboard settings:Specifies the keyboard used for VNC login.
– CPU hot add (This parameter is available only when the OS meets the requirements
for CPU hot add.):
n Disable: CPU resource control policy modification takes effect immediately.
CPU quantity modification takes effect after the VM restarts.
n Enable CPU hot add: The operations performed to add CPUs, adjust CPU
resource control policies take effect without VM restart. The VM needs to be
restarted for the operation performed to reduce the number of CPUs to take
effect.
– Memory hot add(This parameter is available only when the OS meets the
requirements for memory hot add.):
n Disable: Memory resource control policy modification takes effect
immediately. Memory size modification takes effect after the VM restarts.
n Enable memory hot add: The operations performed to increase memory size
take effect without VM restart. The VM needs to be restarted for the operation
performed to reduce the memory size to take effect.
12 Configure the advanced attributes of the VM.
– Swap partition: Swap partition is used when a VM is hibernated or the VM is
configured with memory overcommitment. If the memory swapping is disabled,
space in the swap partition is released. Therefore, the VM cannot be hibernated and
memory overcommitment function cannot be used.
– Upgrade mode:
n Automatic: After the system pushes a virtualization software upgrade package
to a VM, the VM automatically installs the software.
n Manual: After the system pushes a virtualization software upgrade package to
a VM, a message is displayed on the VM for users to determine whether to
install the software.
– Block device settings:Specifies whether VM disks of the basic block storage type
support live migration from basic block storage to virtualized storage and whether
VM disks of the FusionStorage type support host-based replication DR.
n Disable: VM disks cannot be live migrated from a block device to a virtualized
storage device. In this mode, the storage device performance is not affected.
n Enable: VM disks can be live migrated from a block device to a virtualized
storage device. In this mode, the storage device performance deteriorates.
– NIC type
n HW_X_NET: specifies a common VM NIC that is used by VMs by default.
n HW_V_NET: specifies a high-performance VM NIC that provides high
bandwidth using the multiple CPU core concurrent technology. Select
HW_V_NET only when the VM OSs support the NIC type. Otherwise, the
VM NICs become unavailable. For details about the OSs supporting the
HW_V_NET NIC type, see VM OSs Supporting HW_V_NET NICs.
NOTE
HW_V_NET specifies a common VM NIC. If the host on which the VM is running uses
intelligent network interface cards (iNICs), select HW_V_NET. Otherwise, a message is
displayed, indicating a NIC type error.
– Antivirus:Specifies whether to enable the antivirus function for a VM. This
parameter is unchecked by default.
After the antivirus function is enabled, the VM can be set to either of the following
types:
n Secure service VM: A service VM that provides secure user VMs with
antivirus services, such as virus scanning, removal, and real-time monitoring
functions. Its VM template is provided by the antivirus vendor.
n Secure user VM: An end user VM that uses the antivirus function provided by
the secure service VM.
The function takes effect only after the host has the antivirus function enabled. For
details, see Enabling the Host Antivirus Function. For details about the VM
antivirus function and its deployment plans, see section VM Antivirus
Management in the VM Antivirus Management.
– Multi-disk VM I/O acceleration:Specifies whether to enable multi-disk VM I/O
acceleration. This function is disabled by default.
If multi-disk VM I/O acceleration is enabled for a VM, the VM memory overhead
increases by 65 MB.
– Boot Firmware:Select a boot firmware for the VM. The default value if BIOS.
13 Click Next.
The Set VM page is displayed, as shown in Figure 1-3.
n The Thin provisioning mode can be selected only when virtual storage is
deployed.
n If the data store is set to RDM, the disk created using the data store cannot be
used as a system disk.
– Configuration mode:
n Common: The system allocates disk space based on the disk capacity. During
disk creation in this mode, data remaining on the physical device will be reset
to 0. The performance of the disks in this mode is better than that in the other
two modes, but the creation duration may be longer than that required in the
other modes.
It is recommended that system disks use this configuration mode.
n Thin provisioning: In this mode, the system allocates part of the configured
disk capacity for the first time, and allocates the rest disk capacity based on the
storage usage of the disk until all the configured disk capacity is allocated.
NOTE
In this mode, data store overcommitment may occur. Therefore, you are advised to set
the overcommitment ratio to lower than or equal to 50%. The overcommitment ratio is
determined by the ratio of Allocated Capacity to Total Capacity.
If the data store type is FusionStorage or Local RAM Disk, only this mode is
available. If the data store type is Local or SAN, this mode is unavailable.
n Thick provisioning lazy zeroed: The system allocates disk spaces based on
the disk capacity. However, data remaining on the physical device is zeroed
out only on first data write from the VM as required. In this mode, the disk
creation speed is faster than that of in the Ordinary mode, and the I/O
performance is medium between that of in the Ordinary and Thin
provisioning modes.
This mode is supported only when the data store is of the Local VIMS or
VIMS type.
– Capacity (GB): The OS must be installed on the first disk. Otherwise, the OS fails
to start. Allocate proper space for the first disk based on the OS size.
– Affected by Snapshot:
Value:
n Taken into snapshots
n Not taken into snapshots
After Not taken into snapshots is selected, the disk data will not be backed up
when a snapshot is taken for the VM and will not be restored after the VM is
restored using a snapshot.
n If a snapshot is taken for a VM, and disks on the VM are detached from the
VM and not attached to any other VM, the disks will be attached to the VM
after the VM is restored using the snapshot. However, data on the disks will
not be restored.
n If a snapshot is taken for a VM and disks on the VM are deleted, the disks will
not appear on the VM after the VM is restored using the snapshot.
Be aware of the following configuration restrictions:
n When the data store type is SAN, Local, or Local RAM Disk, a snapshot
cannot be created for the disk being created. Therefore, the disk will not be
affected by snapshots and this parameter is unavailable by default.
n When the data store type is Local VIMS, VIMS, NAS, Advanced SAN, or
FusionStorage and the disk type is Sharing, a snapshot cannot be created for
the disk being created. Therefore, the disk will not be affected by snapshots.
– Persistency:
Value range:
n Persistent: All operations on the disk will be recorded in the disk.
n Nonpersistent: All operations on disks will not be recorded in the disk, but in
a cache file stored in the data store as the disk. All operation records will be
lost after the VM stops.
Be aware of the following configuration restriction:
A disk can be set to Nonpersistent only when its disk type is Ordinary and the
data store type is Local VIMS, VIMS, NAS or Local RAM Disk.
16 Click Next.
The Confirm page is displayed. Verify that the information about the VM to be created
is correct.
Create a bare VM.
17 Click Finish.
The VM creation starts. It takes about 10 minutes to create a VM.
View the creation process.
18 Click click here in the Information dialog box.
You can view the creation process on the Task Center page.
After the VM is created, you can view this VM in the following positions:
– VM tab page: displays all VMs and templates.
– Navigation tree: displays the last 20 VMs and templates that were queried.
Follow-up Procedure
After the VM is created, you need to manually install an OS and Tools for it. For details, see
Installing a Windows VM and Installing a Linux VM.
You can configure network attributes for a VM only after its OS and Tools are installed:
l IP address: If the VM port group connection mode is set to subnet, the system
automatically allocates an IP address to the VM. If VM port group connection mode is
set to VLAN, users of the VM need to manually configure the IP address for the VM
NIC.
l MAC address: The NIC MAC address can be manually changed. For details, see
Modifying VM NIC Attributes.
----End
Scenarios
Install and configure an operating system (OS) and application software on a bare VM on the
FusionCompute.
NOTICE
Computer names of VMs on the same network segment cannot be duplicate. Otherwise, VMs
using the same computer name may become unreachable.
If the VMs become unreachable due to name duplication, troubleshoot the problem by
following operations provided in Network Connection Fails After a VM Restarts in the
FusionCompute V100R005C10 Troubleshooting.
Prerequisites
Conditions
l You have obtained the image file to be installed.
l You have obtained the installation files for the software to be installed.
l The firewall on the maintenance terminal is disabled.
l You have logged in to the FusionCompute.
l You have obtained the intelligent network interface card (iNIC) driver ISO file from the
iNIC software package if an iNIC is deployed in the system.
The software package name is FusionCompute
V100R005C10SPC700_GuestOSDrivers.zip, and the ISO file name is
FusionCompute V100R005C10SPC700_GuestOS.iso.
To obtain the software package
– For enterprise users, visit http://support.huawei.com/enterprise and choose
Downloads > IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
– For telecom carrier users, visit http://support.huawei.com and choose Software >
Carrier IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
NOTE
Verify the obtained software packages. For details, see Verifying Software Packages.
l To install one of the following OSs, the patch KB891861 (available at the OS official
website) is required:
– Windows 2000 Server SP4
– Windows 2000 Advanced Server SP4
Procedure
Mount an ISO file to the VM.
NOTE
The subsequent operations are only effective for the following OSs (If the OS on the VM is not
included, use common Internet file system to mount the ISO file). For details, see Mounting a CD/
DVD-ROM Drive or an ISO File.
l SUSE Linux Enterprise Server 10 SP, SUSE Linux Enterprise Server 11 SP and later
l Ubuntu 11.04 Server and later
l Ubuntu 12.04 Desktop and later
l Red Hat 3.0 32-bit
l Red Hat 3.4 32-bit
l CentOS 6.1 and later
l Red Hat 6.1 and later
l Oracle Linux Server release 6.1, 6.2, 6.3, 6.4, and 6.5
l Debian GUN/Linux 5.1.10 and later
l GreatTurbo Enterprise Server release 12.2 64-bit
l Scientific Linux release 6.3 32-bit
l Scientific Linux release 6.5 32- and 64-bit
l NeoKylin 6.0 and 6.1 64-bit
l GENTOO Customized 32-bit
l OpenSUSE 11.3 64-bit
l Red Flag Asianux Server 4 SP2
l Windows of all versions
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
4 Locate the row that contains the VM to which an ISO file is to be mounted, click Log in
using VNC.
The VM desktop is displayed.
You can log in to a VM using noVNC or TightVNC. The TightVNC is dependent on the
Java (TM) plug-in, while the noVNC is independent from the Java (TM) plug-in.
Therefore, noVNC does not support operations related to the Java (TM) plug-in, such as
mounting a CD/DVD-ROM drive or ISO image to a VM or forcibly restarting or
stopping a VM in the VNC window.
Before you use Java (TM) plug-in, ensure that the bit version of the browser matches that
of the Java plug-in. For example, a 32-bit browser supports only a 32-bit Java plug-in.
NOTICE
Do not close the VNC window during the mounting process. Otherwise, the ISO file or
CD–ROM drive will be automatically unmounted.
5 Click and then click Mount Local CD/DVD-ROM Drive in the displayed menu.
6 Select the directory where the ISO file or the CD/DVD-ROM drive is located.
– To mount a CD/DVD-ROM drive, select CD/DVD-ROM, and select the directory
where the CD/DVD-ROM drive is located.
– To mount an ISO file, select File, and click Browse to select the file.
– To mount a local directory as a CD/DVD-ROM drive, select Device path, click
Browse to select a local folder or drive letter.
7 Select Restart the VM now to install the OS.
8 Click Confirm.
An information dialog box is displayed.
9 Click OK.
11 In the Virtual Network Computing (VNC) login window, click , and click Unmount
CD/DVD-ROM Drive in the newly displayed menu.
A dialog box is displayed.
12 Click Yes.
A dialog box is displayed.
13 Click OK.
The ISO file is unmounted from the VM.
Install the OS patch.
The KB891861 patch is required before the OS installation if the VM OS is Windows 2000
Server SP4 or Windows 2000 Advanced Server SP4.
14 Check whether the OS of the VM is Windows 2000 Server SP4 or Windows 2000
Advanced Server SP4.
– If yes, go to 15.
– If no, go to 16.
15 Install the KB891861 patch.
Install the Tools.
Tools provides drivers for VMs. It improves VM input/output (I/O) performance, monitors
VM hardware, and enables other advanced functions on VMs. After you create a bare VM and
install an operating system (OS) on the VM, install the Tools on the VM.
16 Install the Tools on the VM. For details, see Installing the Tools on a Windows VM.
Install the iNIC driver.
If a host uses an iNIC, iNIC drivers must be installed on all VMs on the host. Otherwise, VM
NICs cannot be detected and the VM network is unavailable.
If a host uses an iNIC, you are advised to install iNIC drivers on all VMs that run on the site
where the host is located to prevent VM network fault after VM migration.
17 Install the iNIC driver on the VM. For details, see Installing the iNIC Driver on a
Windows VM.
Initialize the user disk.
If the VM has no user disks, this step is not required.
18 Initialize the user disk.
For details, see Initializing Disks on a Windows VM.
Install the required applications.
Select the installation method based on the format of the application installation file.
NOTICE
l If the VM is restarted or power cycled before being converted to a template, its SID
configuration will become invalid, and you need to configure it again.
l After the VM SID is configured, the VM specifications configuration is not required.
22 Configure the SID for the VM. For details, see Configuring the VM SID
Customization.
Configure the VM specifications attributes.
Configure specifications attribute customization for a VM. If the VM is used as a template for
creating VMs. this function enables the created VMs have the following functions:
l Have a random initial password
l Support customization of VM specifications attributes, such as the host name, password,
and IP address
This function is not required when:
l If the random initial password and VM specifications attribute customization functions
are not required, do not configure this function.
l The VM runs the Windows 2000 Server SP4 or Windows 2000 Advanced Server SP4
OS. The two OSs do not support this function.
l The VM SID has been configured. SID configuration includes specifications attributes
configuration. For details about VM SID configuration, see Configuring the VM SID
Customization.
NOTE
23 Configure the specifications attributes for the VM. For details, see Configuring
Specifications Attribute Customization for a Windows VM.
----End
NOTICE
Computer names of VMs on the same network segment cannot be duplicate. Otherwise, VMs
using the same computer name may become unreachable.
If the VMs become unreachable due to name duplication, troubleshoot the problem by
following operations provided in Network Connection Fails After a VM Restarts in the
FusionCompute V100R005C10 Troubleshooting.
Prerequisites
Conditions
l You have obtained the image file to be installed.
l You have obtained the installation files for the software to be installed.
l The firewall on the maintenance terminal is disabled.
l You have logged in to the FusionCompute.
l You have obtained the intelligent network interface card (iNIC) driver ISO file from the
iNIC software package if an iNIC is deployed in the system.
The software package name is FusionCompute
V100R005C10SPC700_GuestOSDrivers.zip, and the ISO file name is
FusionCompute V100R005C10SPC700_GuestOS.iso.
To obtain the software package
– For enterprise users, visit http://support.huawei.com/enterprise and choose
Downloads > IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
– For telecom carrier users, visit http://support.huawei.com and choose Software >
Carrier IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
NOTE
Verify the obtained software packages. For details, see Verifying Software Packages.
Procedure
Mount an ISO file to the VM.
NOTE
The subsequent operations are only effective for the following OSs (If the OS on the VM is not
included, use common Internet file system to mount the ISO file). For details, see Mounting a CD/
DVD-ROM Drive or an ISO File.
l SUSE Linux Enterprise Server 10 SP, SUSE Linux Enterprise Server 11 SP and later
l Ubuntu 11.04 Server and later
l Ubuntu 12.04 Desktop and later
l Red Hat 3.0 32-bit
l Red Hat 3.4 32-bit
l CentOS 6.1 and later
l Red Hat 6.1 and later
l Oracle Linux Server release 6.1, 6.2, 6.3, 6.4, and 6.5
l Debian GUN/Linux 5.1.10 and later
l GreatTurbo Enterprise Server release 12.2 64-bit
l Scientific Linux release 6.3 32-bit
l Scientific Linux release 6.5 32- and 64-bit
l NeoKylin 6.0 and 6.1 64-bit
l GENTOO Customized 32-bit
l OpenSUSE 11.3 64-bit
l Red Flag Asianux Server 4 SP2
l Windows of all versions
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
4 Locate the row that contains the VM to which an ISO file is to be mounted, click Log in
using VNC.
The VM desktop is displayed.
You can log in to a VM using noVNC or TightVNC. The TightVNC is dependent on the
Java (TM) plug-in, while the noVNC is independent from the Java (TM) plug-in.
Therefore, noVNC does not support operations related to the Java (TM) plug-in, such as
mounting a CD/DVD-ROM drive or ISO image to a VM or forcibly restarting or
stopping a VM in the VNC window.
Before you use Java (TM) plug-in, ensure that the bit version of the browser matches that
of the Java plug-in. For example, a 32-bit browser supports only a 32-bit Java plug-in.
NOTICE
Do not close the VNC window during the mounting process. Otherwise, the ISO file or
CD–ROM drive will be automatically unmounted.
5 Click and then click Mount Local CD/DVD-ROM Drive in the displayed menu.
6 Select the directory where the ISO file or the CD/DVD-ROM drive is located.
– To mount a CD/DVD-ROM drive, select CD/DVD-ROM, and select the directory
where the CD/DVD-ROM drive is located.
– To mount an ISO file, select File, and click Browse to select the file.
– To mount a local directory as a CD/DVD-ROM drive, select Device path, click
Browse to select a local folder or drive letter.
7 Select Restart the VM now to install the OS.
8 Click Confirm.
An information dialog box is displayed.
9 Click OK.
NOTICE
Note the following points:
l If the VM is configured to synchronize time with the host, the hardware clock must be
set to Coordinated Universal Time (UTC).
l When a VM has multiple disks, install the OS on the first disk, whose identifier may be
xvda, hda, sda or xen-vbd-51712.
l Set the system partition as the primary partition.
l You are advised to use the Ext2 or Ext3 file system for the customized partition. If
RAID or LVM file system is used, the following events may occur:
– The OS cannot generate random passwords.
– During the VM creation, the computer attributes (such as the computer name and IP
address) of the VM cannot be configured using a VM attributes template.
10 Install and configure the Linux OS on the VM based to the OS installation guide and the
user requirements.
The installation of other OSs on VMs is the same as that on physical servers. This
section uses SUSE Linux Enterprise Server 11 SP1 64-bit as an example to describe
how to install a Linux OS on a VM.
11 If the OS is the SUSE Linux series, log in to the OS after the OS installation and modify
the configuration item as required.
Change the value of DHCLIENT_PRIMARY_DEVICE in the /etc/sysconfig/
network/dhcp configuration file to yes.
Unmount the ISO file.
12 In the Virtual Network Computing (VNC) login window, click , and click Unmount
CD/DVD-ROM Drive in the newly displayed menu.
A dialog box is displayed.
13 Click Yes.
A dialog box is displayed.
14 Click OK.
The ISO file is unmounted from the VM.
Replace the kernel file.
15 Determine whether the kernel file of the VM needs to be replaced based on Table 1-3.
– If yes, go to 16.
– If no, go to 17.
18 Install the iNIC driver on the VM. For details, see Installing the iNIC Driver on a
Linux VM.
Initialize the user disk.
If the VM has no user disks, this step is not required.
19 Initialize the user disk.
For details, see Initializing Disks on a Linux VM.
Install the required applications.
Select the installation method based on the format of the application installation file.
l .iso file: Install by mounting the CD/DVD-ROM drive.
l Non-.iso file: Copy the application installation file to the VM and execute the file. For
details, see the following steps.
Configure network attributes for a Linux VM. If the Linux VM is converted to a template to
create other VMs or clone the Linux VM to a new VM, this configuration is required in the
following scenarios:
l The created VMs require manual IP address configuration, and the VM runs a Red Flag
operating system (OS).
l The created VMs automatically obtain IP addresses using the Dynamic Host
Configuration Protocol (DHCP), and the VM runs the Linux OS. This configuration,
including activating NIC and enabling DHCP service, enables the created VMs to access
networks and automatically obtain dynamic IP addresses.
23 Configure the VM NICs. For details, see Configuring Linux VM Network Attributes.
Configure the VM specifications attributes.
NOTE
l Configure specifications attribute customization for a VM. If the VM is used as a template for
creating VMs. this function enables the created VMs have the following functions:
– Have a random initial password
– Support customization of VM specifications attributes, such as the host name, password, and
IP address
l If the random initial password and VM specifications attribute customization functions are not
required, do not configure this function.
l If the system partition of a VM OS is RAID file systems, this function cannot take effect.
If the system partition of a VM OS is LVM file system, this function can take effect only when the
logical volume named lv_root serves as the primary partition. If multiple partitions have been
configured for the volume group to which the system disk belongs , this function does not take
effect.
24 Configure the specifications attributes for the VM. For details, see Configuring
Specifications Attribute Customization for a Linux VM.
----End
Converting a template Convert an existing VM template to a VM, which has the same
to a VM attribute as the template.
The template disappears after the converting is complete.
Importing a VM from a Export a template from a peer site, and import the template to
template the current site to create a VM that has similar specifications
with the template.
Before importing a VM, obtain an .ova or .ovf template.
The .ovf template contains an .ovf file and a .vhd file.
During the VM importing process, you can configure VM
attributes except the following attributes for the VM, which are
identical to the template attributes:
l VM OS type and version
l Number and size of VM disks
l Number of VM NICs
Prerequisites
Conditions
l The VM that is used to create a VM template is in the Stopped state.
l You have logged in to the FusionCompute.
Procedure
Select the creation method for the VM template.
1 Select the creation method based on site requirements.
– If you want to convert a VM to a VM template, go to 2.
– If you want to clone a VM or VM template to a VM template, go to 7.
NOTE
– VM to template conversion
Convert a VM to a VM template. All parameters of the template are from the VM. The VM is
unavailable after the converting is complete.
– VM to template cloning
Clone a VM to a VM template. Some parameters can be modified so that they are different
from that of the VM. The VM is still available after the cloning is complete.
– Template to template cloning
Clone a VM template to a new VM template. Some parameters can be modified so that they
are different from that of the original VM template. The VM template is still available after the
cloning is complete.
Convert a VM to a VM template.
2 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
3 Ensure that the VM meets the requirements for creating a template.
– If the VM runs the Windows OS, configure the VM security identifier (SID),
specifications attribute customization, and kernel memory dump function. For
details, see Configuring the VM SID Customization, Configuring Specifications
Attribute Customization for a Windows VM, and Enabling the Windows
Kernel Memory Dump Function.
Configuring the VM SID Customization: Windows VMs can be added to a
Windows domain only when their SIDs are different. Therefore, before converting a
Windows VM to a template, configure its SID to differentiate the VM from others.
During the SID configuration, enable the template that is to be converted from the
VM to support VM specifications attribute customization, that is, VMs created
using the template can use custom specifications, such as computer names,
passwords, and IP addresses, and to allow VMs created using the template to
generate a random password for initial login.
Configuring Specifications Attribute Customization for a Windows VM: Enable the
template that is to be converted from the VM to support VM specifications attribute
customization, that is, VMs created using the template can use custom
specifications, such as computer names, passwords, and IP addresses, and to allow
VMs created using the template to generate a random password for initial login.
To prevent network exceptions caused by the VM created using a template, you are
advised to set the VM to obtain its IP address using DHCP. To make the VM use a
static IP address, manually change its IP address after the VM is created.
– If the VM runs the Linux OS, configure the VM random passwords and NICs. For
details, see Configuring Specifications Attribute Customization for a Linux VM
and Configuring Linux VM Network Attributes.
Configuring Specifications Attribute Customization for a Linux VM: Enable the
template that is to be converted from the VM to support VM specifications attribute
customization, that is, VMs created using the template can use custom
specifications, such as computer names, passwords, and IP addresses, and to allow
VMs created using the template to generate a random password for initial login.
Configuring Linux VM NICs: Configure the VM NICs for a Linux VM in the
following scenarios before converting the VM to a template:
n The created VMs require manual IP address configuration, and the VM runs a
Red Flag operating system (OS).
n The created VMs automatically obtain IP addresses using the Dynamic Host
Configuration Protocol (DHCP), and the VM runs the Linux OS. This
configuration, including activating NIC and enabling DHCP service, enables
the created VMs to access networks and automatically obtain dynamic IP
addresses.
NOTE
If the file system of Linux VMs has been encrypted, for example, system encryption is
selected during NeoKylin OS installation, templates created using the Linux VMs do not
support Customize using the Customization Wizard and Customize using an existing
VM attribute profile during VM creation using the templates.
4 Locate the row that contains the VM to be converted, choose More, and click Convert
to template.
A dialog box is displayed.
5 Click OK.
A dialog box is displayed.
6 Click OK.
.
10 Choose the creation location for the VM template.
If a VM is attached to a host, the VM can only run on this host and cannot be migrated to
another host. To determine whether to reserve resources in the host for the VM, select
one of the following based on site requirements:
– Do not reserve resources for the VM: specifies that the host reserves computing
resources for the VM only when this VM is in the running state.
– Permanently reserve resources for the VM: specifies that the host reserves
computing resource for the VM even when this VM is stopper or hibernated.
11 To attach a GPU to the VM, select Attach GPU in Advanced Settings, and select the
GPU to be attached.
If a GPU is attached to a VM, the VM is automatically attached to the host providing the
VM and the GPU. The VM can be migrated to another host only after the GPU is
detached from the VM.
12 To attach a USB device to the VM, select Attach USB device in Advanced Settings,
and select the USB device to be attached.
If a USB device is attached to a VM, the VM cannot be migrated to another host. If VM
with HA enabled is migrated to another host, the USB device becomes unavailable.
13 Click Next.
The Properties page is displayed, as shown in Figure 1-7.
VM is twice that of another VM, this VM has priority to use twice the CPU
resources as the other VM.
– CPU Reserved (MHz): Specifies the minimum computing capability of the VM. For
example, if the VM has one CPU and Reserved (MHz) is set to 2000, the minimum
computing capability of the VM is 2000 MHz.
– CPU Limit (MHz): Specifies the maximum computing capability of the VM. For
example, if the VM has one CPU and Limit (MHz) is set to 2000, the maximum
computing capability of the VM is 2000 MHz.
– Memory Quota: Specifies the memory weight a VM can obtain in resource
contention. The quota indicates the relative priority of a VM. For example, if the
memory quota of a VM is twice that of another VM, this VM has priority to use
twice the memory resources as the other VM.
– Memory Reserved (MB): Specifies the minimum physical memory resources of the
VM. If Reserved (MB) is set to 0, the system reserves the minimum required
memory resources for the VM.
17 Configure the other attributes of the VM.
– HA: Specifies whether to enable the HA function. The HA feature allows VMs to
migrate to another host if the current host is faulty. If the VM is bound to a host, it
cannot be migrated, and will automatically start after the host runs properly.
– Clock synchronization policy: If Synchronize with host clock is selected, the VM
periodically synchronizes time with the host. If no, the user can set the VM time.
– Policy for handling blue screen of death (BSOD): Specifies the policy used when
the BSOD occurs.
– VNC keyboard settings:Specifies the keyboard used for VNC login.
– CPU hot add (This parameter is available only when the OS meets the requirements
for CPU hot add.):
n Disable: CPU resource control policy modification takes effect immediately.
CPU quantity modification takes effect after the VM restarts.
n Enable CPU hot add: The operations performed to add CPUs, adjust CPU
resource control policies take effect without VM restart. The VM needs to be
restarted for the operation performed to reduce the number of CPUs to take
effect.
– Memory hot add(This parameter is available only when the OS meets the
requirements for memory hot add.):
n Disable: Memory resource control policy modification takes effect
immediately. Memory size modification takes effect after the VM restarts.
n Enable memory hot add: The operations performed to increase memory size
take effect without VM restart. The VM needs to be restarted for the operation
performed to reduce the memory size to take effect.
18 Configure the advanced attributes of the VM.
– Swap partition: Swap partition is used when a VM is hibernated or the VM is
configured with memory overcommitment. If the memory swapping is disabled,
space in the swap partition is released. Therefore, the VM cannot be hibernated and
memory overcommitment function cannot be used.
– Upgrade mode:
n Automatic: After the system pushes a virtualization software upgrade package
to a VM, the VM automatically installs the software.
20 Configure the distributed switch and port group for each NIC.
The NIC properties are determined by the port group on the distributed switch to which
the NIC connects.
21 Configure the following attributes for each disk:
– Data storage:
n The Thin provisioning mode can be selected only when virtual storage is
deployed.
n If the data store is set to RDM, the disk created using the data store cannot be
used as a system disk.
– Configuration mode:
n Common: The system allocates disk space based on the disk capacity. During
disk creation in this mode, data remaining on the physical device will be reset
to 0. The performance of the disks in this mode is better than that in the other
two modes, but the creation duration may be longer than that required in the
other modes.
It is recommended that system disks use this configuration mode.
n Thin provisioning: In this mode, the system allocates part of the configured
disk capacity for the first time, and allocates the rest disk capacity based on the
storage usage of the disk until all the configured disk capacity is allocated.
NOTE
In this mode, data store overcommitment may occur. Therefore, you are advised to set
the overcommitment ratio to lower than or equal to 50%. The overcommitment ratio is
determined by the ratio of Allocated Capacity to Total Capacity.
If the data store type is FusionStorage or Local RAM Disk, only this mode is
available. If the data store type is Local or SAN, this mode is unavailable.
n Thick provisioning lazy zeroed: The system allocates disk spaces based on
the disk capacity. However, data remaining on the physical device is zeroed
out only on first data write from the VM as required. In this mode, the disk
creation speed is faster than that of in the Ordinary mode, and the I/O
performance is medium between that of in the Ordinary and Thin
provisioning modes.
This mode is supported only when the data store is of the Local VIMS or
VIMS type.
– Affected by Snapshot:
Value:
n Taken into snapshots
n Not taken into snapshots
After Not taken into snapshots is selected, the disk data will not be backed up
when a snapshot is taken for the VM and will not be restored after the VM is
restored using a snapshot.
n If a snapshot is taken for a VM, and disks on the VM are detached from the
VM and not attached to any other VM, the disks will be attached to the VM
after the VM is restored using the snapshot. However, data on the disks will
not be restored.
n If a snapshot is taken for a VM and disks on the VM are deleted, the disks will
not appear on the VM after the VM is restored using the snapshot.
Be aware of the following configuration restrictions:
n When the data store type is SAN, Local, or Local RAM Disk, a snapshot
cannot be created for the disk being created. Therefore, the disk will not be
affected by snapshots and this parameter is unavailable by default.
n When the data store type is Local VIMS, VIMS, NAS, Advanced SAN, or
FusionStorage and the disk type is Sharing, a snapshot cannot be created for
the disk being created. Therefore, the disk will not be affected by snapshots.
– Persistency:
Value range:
n Persistent: All operations on the disk will be recorded in the disk.
n Nonpersistent: All operations on disks will not be recorded in the disk, but in
a cache file stored in the data store as the disk. All operation records will be
lost after the VM stops.
Be aware of the following configuration restriction:
A disk can be set to Nonpersistent only when its disk type is Ordinary and the
data store type is Local VIMS, VIMS, NAS or Local RAM Disk.
22 Click Next.
The Confirm page is displayed. Verify that the information about the VM to be created
is correct.
23 Click Finish.
The VM template creation starts.
24 Click click here in the Information dialog box.
You can view the creation process on the Task Center page.
After the template is created, you can view this template in the following positions:
– VM tab page: displays all VMs and templates.
– Navigation tree: displays the last 20 VMs and templates that were queried.
----End
Prerequisites
Conditions
l You have obtained the ID of VM template that is used to create a VM.
l You have logged in to the FusionCompute.
Procedure
Search for a VM template.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Convert a template to a VM.
4 Locate the row that contains the template, choose More, and click Convert to VM.
A dialog box is displayed.
5 Click OK.
A dialog box is displayed.
6 Click OK.
7 Locate the row that contains the newly converted VM, click Power On.
A dialog box is displayed.
8 Click OK.
A dialog box is displayed.
9 Click OK.
The VMs starts.
Log in to the VM.
10 After the VM is created, locate the row that contains the template, click Log In Using
VNC.
Prerequisites
Conditions
l You have obtained the ID of VM template that is used to create a VM.
l You have logged in to the FusionCompute.
Procedure
Search for a VM template.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Select the creation location for the VM.
4 Locate the row that contains the template, choose More, and click Deploy VM Using A
Template.
If a VM is attached to a host, the VM can only run on this host and cannot be migrated to
another host. To determine whether to reserve resources in the host for the VM, select
one of the following based on site requirements:
– Do not reserve resources for the VM: specifies that the host reserves computing
resources for the VM only when this VM is in the running state.
– Permanently reserve resources for the VM: specifies that the host reserves
computing resource for the VM even when this VM is stopper or hibernated.
7 To attach a GPU to the VM, select Attach GPU in Advanced Settings, and select the
GPU to be attached.
If a GPU is attached to a VM, the VM is automatically attached to the host providing the
VM and the GPU. The VM can be migrated to another host only after the GPU is
detached from the VM.
8 To attach a USB device to the VM, select Attach USB device in Advanced Settings,
and select the USB device to be attached.
NOTICE
When you install the OS by following the operations provided in Follow-up Procedure,
ensure that the type and version of the OS to be installed are consistent with what you
select here. Otherwise, the VM may become faulty.
CPU cores in each group can be provided by one or more cores on a physical CPU.
The number of CPU cores in each group is the number of cores per socket. For
details about a CPU socket, see Introduction to Creating VMs. The supported
number of CPU sockets and the supported number of cores per socket vary
depending on operating systems (OSs). Therefore, configure this parameter based
on the OS capabilities.
– Memory
12 To modify the QoS settings, click QoS Settings and configure the parameters.
– CPU Quota: Specifies the CPU weight a VM can obtain in resource contention. The
quota indicates the relative priority of a VM. For example, if the CPU quota of a
VM is twice that of another VM, this VM has priority to use twice the CPU
resources as the other VM.
– CPU Reserved (MHz): Specifies the minimum computing capability of the VM. For
example, if the VM has one CPU and Reserved (MHz) is set to 2000, the minimum
computing capability of the VM is 2000 MHz.
– CPU Limit (MHz): Specifies the maximum computing capability of the VM. For
example, if the VM has one CPU and Limit (MHz) is set to 2000, the maximum
computing capability of the VM is 2000 MHz.
– Memory Quota: Specifies the memory weight a VM can obtain in resource
contention. The quota indicates the relative priority of a VM. For example, if the
memory quota of a VM is twice that of another VM, this VM has priority to use
twice the memory resources as the other VM.
– Memory Reserved (MB): Specifies the minimum physical memory resources of the
VM. If Reserved (MB) is set to 0, the system reserves the minimum required
memory resources for the VM.
13 Configure the other attributes of the VM.
– HA: Specifies whether to enable the HA function. The HA feature allows VMs to
migrate to another host if the current host is faulty. If the VM is bound to a host, it
cannot be migrated, and will automatically start after the host runs properly.
– Policy for handling blue screen of death (BSOD): Specifies the policy used when
the BSOD occurs.
– Clock synchronization policy: If Synchronize with host clock is selected, the VM
periodically synchronizes time with the host. If no, the user can set the VM time.
– Boot device:Specifies the default boot device of the VM.
– VNC keyboard settings:Specifies the keyboard used for VNC login.
– CPU hot add (This parameter is available only when the OS meets the requirements
for CPU hot add.):
n Disable: CPU resource control policy modification takes effect immediately.
CPU quantity modification takes effect after the VM restarts.
n Enable CPU hot add: The operations performed to add CPUs, adjust CPU
resource control policies take effect without VM restart. The VM needs to be
restarted for the operation performed to reduce the number of CPUs to take
effect.
– Memory hot add(This parameter is available only when the OS meets the
requirements for memory hot add.):
n Disable: Memory resource control policy modification takes effect
immediately. Memory size modification takes effect after the VM restarts.
n Enable memory hot add: The operations performed to increase memory size
take effect without VM restart. The VM needs to be restarted for the operation
performed to reduce the memory size to take effect.
14 Configure the advanced attributes of the VM.
– Swap partition: Swap partition is used when a VM is hibernated or the VM is
configured with memory overcommitment. If the memory swapping is disabled,
space in the swap partition is released. Therefore, the VM cannot be hibernated and
memory overcommitment function cannot be used.
– Upgrade mode:
n Automatic: After the system pushes a virtualization software upgrade package
to a VM, the VM automatically installs the software.
n Manual: After the system pushes a virtualization software upgrade package to
a VM, a message is displayed on the VM for users to determine whether to
install the software.
– Block device settings:Specifies whether VM disks of the basic block storage type
support live migration from basic block storage to virtualized storage and whether
VM disks of the FusionStorage type support host-based replication DR.
n Disable: VM disks cannot be live migrated from a block device to a virtualized
storage device. In this mode, the storage device performance is not affected.
n Enable: VM disks can be live migrated from a block device to a virtualized
storage device. In this mode, the storage device performance deteriorates.
– NIC type
n HW_X_NET: specifies a common VM NIC that is used by VMs by default.
n HW_V_NET: specifies a high-performance VM NIC that provides high
bandwidth using the multiple CPU core concurrent technology. Select
HW_V_NET only when the VM OSs support the NIC type. Otherwise, the
VM NICs become unavailable. For details about the OSs supporting the
HW_V_NET NIC type, see VM OSs Supporting HW_V_NET NICs.
NOTE
HW_V_NET specifies a common VM NIC. If the host on which the VM is running uses
intelligent network interface cards (iNICs), select HW_V_NET. Otherwise, a message is
displayed, indicating a NIC type error.
– Antivirus:Specifies whether to enable the antivirus function for a VM. This
parameter is unchecked by default.
After the antivirus function is enabled, the VM can be set to either of the following
types:
n Secure service VM: A service VM that provides secure user VMs with
antivirus services, such as virus scanning, removal, and real-time monitoring
functions. Its VM template is provided by the antivirus vendor.
n Secure user VM: An end user VM that uses the antivirus function provided by
the secure service VM.
The function takes effect only after the host has the antivirus function enabled. For
details, see Enabling the Host Antivirus Function. For details about the VM
antivirus function and its deployment plans, see section VM Antivirus
Management in the VM Antivirus Management.
– Multi-disk VM I/O acceleration:Specifies whether to enable multi-disk VM I/O
acceleration. This function is disabled by default.
The NIC properties are determined by the port group on the distributed switch to which
the NIC connects.
17 Configure the following attributes for each disk:
– Data storage:
n The Thin provisioning mode can be selected only when virtual storage is
deployed.
n If the data store is set to RDM, the disk created using the data store cannot be
used as a system disk.
– Configuration mode:
n Common: The system allocates disk space based on the disk capacity. During
disk creation in this mode, data remaining on the physical device will be reset
to 0. The performance of the disks in this mode is better than that in the other
two modes, but the creation duration may be longer than that required in the
other modes.
It is recommended that system disks use this configuration mode.
n Thin provisioning: In this mode, the system allocates part of the configured
disk capacity for the first time, and allocates the rest disk capacity based on the
storage usage of the disk until all the configured disk capacity is allocated.
NOTE
In this mode, data store overcommitment may occur. Therefore, you are advised to set
the overcommitment ratio to lower than or equal to 50%. The overcommitment ratio is
determined by the ratio of Allocated Capacity to Total Capacity.
If the data store type is FusionStorage or Local RAM Disk, only this mode is
available. If the data store type is Local or SAN, this mode is unavailable.
n Thick provisioning lazy zeroed: The system allocates disk spaces based on
the disk capacity. However, data remaining on the physical device is zeroed
out only on first data write from the VM as required. In this mode, the disk
creation speed is faster than that of in the Ordinary mode, and the I/O
performance is medium between that of in the Ordinary and Thin
provisioning modes.
This mode is supported only when the data store is of the Local VIMS or
VIMS type.
– Affected by Snapshot:
Value:
n Taken into snapshots
n Not taken into snapshots
After Not taken into snapshots is selected, the disk data will not be backed up
when a snapshot is taken for the VM and will not be restored after the VM is
restored using a snapshot.
n If a snapshot is taken for a VM, and disks on the VM are detached from the
VM and not attached to any other VM, the disks will be attached to the VM
after the VM is restored using the snapshot. However, data on the disks will
not be restored.
n If a snapshot is taken for a VM and disks on the VM are deleted, the disks will
not appear on the VM after the VM is restored using the snapshot.
Be aware of the following configuration restrictions:
n When the data store type is SAN, Local, or Local RAM Disk, a snapshot
cannot be created for the disk being created. Therefore, the disk will not be
affected by snapshots and this parameter is unavailable by default.
n When the data store type is Local VIMS, VIMS, NAS, Advanced SAN, or
FusionStorage and the disk type is Sharing, a snapshot cannot be created for
the disk being created. Therefore, the disk will not be affected by snapshots.
– Persistency:
Value range:
n Persistent: All operations on the disk will be recorded in the disk.
n Nonpersistent: All operations on disks will not be recorded in the disk, but in
a cache file stored in the data store as the disk. All operation records will be
lost after the VM stops.
Be aware of the following configuration restriction:
A disk can be set to Nonpersistent only when its disk type is Ordinary and the
data store type is Local VIMS, VIMS, NAS or Local RAM Disk.
Configure attributes of the VM specifications template.
VM attributes include the computer name, administrator password of the OS, and IP address.
If the VM attributes are not configured, the VM attributes remain identical to those of the VM
template. To customize VM attributes, the following operations are required for the VM
template:
l If the VM runs the Windows OS, configure the VM security identifier (SID),
specifications attribute customization, and kernel memory dump function. For details,
see Configuring the VM SID Customization, Configuring Specifications Attribute
Customization for a Windows VM, and Enabling the Windows Kernel Memory
Dump Function.
Configuring the VM SID Customization: Windows VMs can be added to a Windows
domain only when their SIDs are different. Therefore, before converting a Windows VM
to a template, configure its SID to differentiate the VM from others. During the SID
configuration, enable the template that is to be converted from the VM to support VM
specifications attribute customization, that is, VMs created using the template can use
custom specifications, such as computer names, passwords, and IP addresses, and to
allow VMs created using the template to generate a random password for initial login.
Configuring Specifications Attribute Customization for a Windows VM: Enable the
template that is to be converted from the VM to support VM specifications attribute
customization, that is, VMs created using the template can use custom specifications,
such as computer names, passwords, and IP addresses, and to allow VMs created using
the template to generate a random password for initial login.
To prevent network exceptions caused by the VM created using a template, you are
advised to set the VM to obtain its IP address using DHCP. To make the VM use a static
IP address, manually change its IP address after the VM is created.
l If the VM runs the Linux OS, configure the VM random passwords and NICs. For
details, see Configuring Specifications Attribute Customization for a Linux VM and
Configuring Linux VM Network Attributes.
Configuring Specifications Attribute Customization for a Linux VM: Enable the
template that is to be converted from the VM to support VM specifications attribute
customization, that is, VMs created using the template can use custom specifications,
such as computer names, passwords, and IP addresses, and to allow VMs created using
the template to generate a random password for initial login.
Configuring Linux VM NICs: Configure the VM NICs for a Linux VM in the following
scenarios before converting the VM to a template:
– The created VMs require manual IP address configuration, and the VM runs a Red
Flag operating system (OS).
– The created VMs automatically obtain IP addresses using the Dynamic Host
Configuration Protocol (DHCP), and the VM runs the Linux OS. This
configuration, including activating NIC and enabling DHCP service, enables the
created VMs to access networks and automatically obtain dynamic IP addresses.
NOTE
If the file system of Linux VMs has been encrypted, for example, system encryption is selected
during NeoKylin OS installation, templates created using the Linux VMs do not support
Customize using the Customization Wizard and Customize using an existing VM attribute
profile during VM creation using the templates.
18 Configure the VM attributes.
– Do not customize: The VM attributes remain identical to those of the VM template.
If this option is selected, go to 25.
– Customize using the Customization Wizard: The VM attributes are to be created
using the Customization Wizard. If this option is selected, go to 19.
If the VM runs the Ubuntu OS, the computer name cannot contain underscores (_).
Otherwise, the computer name configured here is invalid.
NOTICE
Computer names of VMs on the same network segment cannot be duplicate. Otherwise,
VMs using the same computer name may become unreachable.
If the VMs become unreachable due to name duplication, troubleshoot the problem by
following operations provided in Network Connection Fails After a VM Restarts in
the FusionCompute V100R005C10 Troubleshooting.
21 If the VM run the Windows OS, select a domain or a workgroup for the VM.
– If Workgroup is selected, enter the workgroup name.
– If Windows server domain is selected, enter the domain name, domain username,
and domain password.
22 If the VM attributes are created using the Customization Wizard, to save the attributes,
select Save as computer attributes and specify VM attribute name and Description.
23 Click Next.
The Configure NIC page is displayed.
24 Click the arrow on the left of IPv4 or IPv6, expand the configuration option, and
configure the IPv4 or IPv6 attribute as planned. You can configure both the IPv4 and
IPv6 attributes.
If Use the following IP address and Use the following DNS server addresses are
selected, configure the following parameters:
– IPv4
If Use the following IP address and Use the following DNS server addresses are
selected, configure the following parameters:
n IP address
n Subnet mask
n Default gateway
n Preferred DNS server
n Alternate DNS server
– IPv6
Can be set to Use DHCP service to automatically obtain IPv6 address, Use
router advertisement function to automatically obtain IPv6 address, or Use
static IPv6 address.
To use the IPv6 forwarding function, choose Network Pool > IPv6 forwarding
settings and enable this function.
If Use static IPv6 address and Manually enter DNS server address are selected,
configure the following parameters:
n IPv6 address
n Subnet prefix length
n Default gateway
n Preferred DNS server
n Alternate DNS server
NOTE
When setting specifications of a Windows VM that needs to be added to the Windows domain, you
must select Use the following DNS server addresses to set the DNS server to be a server in the
Windows domain and specify at least the preferred DNS server address. If multiple DNS servers exist
in the Windows domain, you are advised to specify both the preferred and alternate DNS server
addresses.
25 Click Next.
The Confirm page is displayed. Verify that the information about the VM to be created
is correct.
Create a VM based on a template.
26 Click Finish.
The VM creation starts. It takes about 10 minutes to create a VM.
27 Click click here in the Information dialog box.
You can view the creation process on the Task Center page.
After the VM is created, you can view this VM in the following positions:
– VM tab page: displays all VMs and templates.
– Navigation tree: displays the last 20 VMs and templates that were queried.
After a VM is created, you can configure the following VM network attributes:
– IP address: If the VM port group connection mode is set to subnet, the system
automatically allocates an IP address to the VM. If VM port group connection mode
is set to VLAN, users of the VM need to manually configure the IP address for the
VM NIC.
– MAC address: The NIC MAC address can be manually changed. For details, see
Modifying VM NIC Attributes.
Log in to the VM.
28 Locate the row that contains the VM after the VM is successfully created, and click
Start.
The VM is powered on.
29 Locate the row that contains the template, click Log In Using VNC.
The login is successful.
If the VM is created using a template, the initial password for logging in to the VM
varies depending on the configurations during VM template creation.
– The initial password is the customized password, if the following conditions are
met:
n During VM template creation, the VM specification attributes are configured.
(For details, see Configuring Specifications Attribute Customization for a
Windows VM or Configuring Specifications Attribute Customization for a
Linux VM.)
n During VM creation using the template, the VM password is customized.
– The initial password is a random password (which can be queried on the Summary
page of the VM), if the following conditions are met:
n During VM template creation, the VM specification attributes are configured.
(For details, see Configuring Specifications Attribute Customization for a
Windows VM or Configuring Specifications Attribute Customization for a
Linux VM.)
n During VM creation using the template, the VM password is not customized.
– The initial password is the same as that of the VM template, if the VM specification
attributes are not configured.
NOTE
If the VM template runs is the Windows 2000, Windows Server 2003, or Windows XP OS, and it
is used to create multiple VMs whose global universal identifications (GUIDs) are the same, the
created VMs cannot obtain system patches. To avoid this problem, manually modify the VM
registries. For details, see the case 903262 provided at the OS official website.
----End
Scenarios
On the FusionCompute, create a VM using the local VM template.
You can modify the settings of some parameters to customize the VM template when creating
a VM using the local template.
A VM template can be in OVA or OVF format. A VM template in OVA format contains only
one OVA file. A VM template in OVF format consists of one OVF file and multiple VHD
files.
l OVF file: provides the description information about the VM. The file name is the same
as the VM template, for example, template01.xml.
l VHD file: VM disk file. A VM disk file is generated for each VM disk. The file name
format is template name-Disk slot number.vhd, for example, template01-1.vhd.
Prerequisites
Conditions
l All tasks required in the software commissioning phase are complete, and the computing,
storage, and network resources are available.
l You have obtained and shared the VM template file, and the VM template file is
accessible to the FusionCompute. The shared name is the same as the name of the folder
in which the template file is stored.
l The firewall on the maintenance terminal is disabled.
Procedure
Check whether a VM needs to be imported for the placeholder VM.
NOTE
The VM importing operation can be performed on the placeholder VM for only once. If you need to
perform the operation for the placeholder VM for multiple times, log in to the UltraVR and start the
consistency check.
l If yes, go to 1.
l If no, go to 9.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description, or UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type, or Status.
4 Locate the row that contains the target VM and choose More > Import VM.
The Import VM page is displayed, as shown in Figure 1-12.
– File path:The path format is \\IP address of the shared server\name of the folder in
which the template file is located.
– Username and Password:
n Only a shared server that runs the Windows XP SP1 OS supports logins
without passwords.
n If a username is registered in multiple domains, enter the username with the
specified domain name. For example, enter Domain\w00123456.
NOTE
This account is used only for accessing the shared directory. To ensure system security, you
are advised to use the username and password that can access only the shared directory.
6 Click Next.
The Confirm page is displayed. Verify that the information about the VM to be created
is correct.
7 Click Create.
A dialog box shown in Figure 1-13 is displayed.
If you switch to the page for the first time, the template selection module needs loading.
Therefore, allow the plug-in to run in the displayed Java information dialog box.
NOTE
The VM template is transferred between the local PC and a host using the Hypertext Transfer
Protocol (HTTP), which provides low security. Therefore, exercise caution when importing or
exporting a VM template.
15 Click Browse and select the OVF or OVA file in the displayed dialog box.
Go to 18 after this step.
Configure the importing information about the VM template on a network server.
16 Select Network Server, and click Next.
The Import VM page is displayed.
17 Enter the path to the VM template. The path is the HTTP address of the OVF or OVA
file in the template on the network server.
NOTE
HTTP provides low security. You are advised to select an HTTPS address.
Configure the VM attributes.
18 Click Next.
The VM Settings page is displayed, as shown in Figure 1-15.
– CPU
– Number of cores per socket: This parameter is mandatory only when GuestNUMA
is enabled for the cluster.VM CPUs can be evenly divided into multiple groups.
CPU cores in each group can be provided by one or more cores on a physical CPU.
The number of CPU cores in each group is the number of cores per socket. For
details about a CPU socket, see Introduction to Creating VMs. The supported
number of CPU sockets and the supported number of cores per socket vary
depending on operating systems (OSs). Therefore, configure this parameter based
on the OS capabilities.
– Memory
25 To modify the QoS settings, click QoS Settings and configure the parameters.
– CPU Quota: Specifies the CPU weight a VM can obtain in resource contention. The
quota indicates the relative priority of a VM. For example, if the CPU quota of a
VM is twice that of another VM, this VM has priority to use twice the CPU
resources as the other VM.
– CPU Reserved (MHz): Specifies the minimum computing capability of the VM. For
example, if the VM has one CPU and Reserved (MHz) is set to 2000, the minimum
computing capability of the VM is 2000 MHz.
– CPU Limit (MHz): Specifies the maximum computing capability of the VM. For
example, if the VM has one CPU and Limit (MHz) is set to 2000, the maximum
computing capability of the VM is 2000 MHz.
– Memory Quota: Specifies the memory weight a VM can obtain in resource
contention. The quota indicates the relative priority of a VM. For example, if the
memory quota of a VM is twice that of another VM, this VM has priority to use
twice the memory resources as the other VM.
– Memory Reserved (MB): Specifies the minimum physical memory resources of the
VM. If Reserved (MB) is set to 0, the system reserves the minimum required
memory resources for the VM.
26 Configure the other attributes of the VM.
– HA: Specifies whether to enable the HA function. The HA feature allows VMs to
migrate to another host if the current host is faulty. If the VM is bound to a host, it
cannot be migrated, and will automatically start after the host runs properly.
– Clock synchronization policy: If Synchronize with host clock is selected, the VM
periodically synchronizes time with the host. If no, the user can set the VM time.
– Policy for handling blue screen of death (BSOD): Specifies the policy used when
the BSOD occurs.
– VNC keyboard settings:Specifies the keyboard used for VNC login.
– CPU hot add (This parameter is available only when the OS meets the requirements
for CPU hot add.):
n Disable: CPU resource control policy modification takes effect immediately.
CPU quantity modification takes effect after the VM restarts.
n Enable CPU hot add: The operations performed to add CPUs, adjust CPU
resource control policies take effect without VM restart. The VM needs to be
restarted for the operation performed to reduce the number of CPUs to take
effect.
– Memory hot add(This parameter is available only when the OS meets the
requirements for memory hot add.):
VM attributes include the computer name, administrator password of the OS, and IP address.
If the VM attributes are not configured, the VM attributes remain identical to those of the VM
template. To customize VM attributes, the following operations are required for the VM
template:
l If the VM runs the Windows OS, configure the VM security identifier (SID),
specifications attribute customization, and kernel memory dump function. For details,
see Configuring the VM SID Customization, Configuring Specifications Attribute
Customization for a Windows VM, and Enabling the Windows Kernel Memory
Dump Function.
Configuring the VM SID Customization: Windows VMs can be added to a Windows
domain only when their SIDs are different. Therefore, before converting a Windows VM
to a template, configure its SID to differentiate the VM from others. During the SID
configuration, enable the template that is to be converted from the VM to support VM
specifications attribute customization, that is, VMs created using the template can use
custom specifications, such as computer names, passwords, and IP addresses, and to
allow VMs created using the template to generate a random password for initial login.
Configuring Specifications Attribute Customization for a Windows VM: Enable the
template that is to be converted from the VM to support VM specifications attribute
customization, that is, VMs created using the template can use custom specifications,
such as computer names, passwords, and IP addresses, and to allow VMs created using
the template to generate a random password for initial login.
To prevent network exceptions caused by the VM created using a template, you are
advised to set the VM to obtain its IP address using DHCP. To make the VM use a static
IP address, manually change its IP address after the VM is created.
l If the VM runs the Linux OS, configure the VM random passwords and NICs. For
details, see Configuring Specifications Attribute Customization for a Linux VM and
Configuring Linux VM Network Attributes.
Configuring Specifications Attribute Customization for a Linux VM: Enable the
template that is to be converted from the VM to support VM specifications attribute
customization, that is, VMs created using the template can use custom specifications,
such as computer names, passwords, and IP addresses, and to allow VMs created using
the template to generate a random password for initial login.
Configuring Linux VM NICs: Configure the VM NICs for a Linux VM in the following
scenarios before converting the VM to a template:
– The created VMs require manual IP address configuration, and the VM runs a Red
Flag operating system (OS).
– The created VMs automatically obtain IP addresses using the Dynamic Host
Configuration Protocol (DHCP), and the VM runs the Linux OS. This
configuration, including activating NIC and enabling DHCP service, enables the
created VMs to access networks and automatically obtain dynamic IP addresses.
NOTE
If the file system of Linux VMs has been encrypted, for example, system encryption is selected
during NeoKylin OS installation, templates created using the Linux VMs do not support
Customize using the Customization Wizard and Customize using an existing VM attribute
profile during VM creation using the templates.
If the VM runs the Ubuntu OS, the computer name cannot contain underscores (_).
Otherwise, the computer name configured here is invalid.
NOTICE
Computer names of VMs on the same network segment cannot be duplicate. Otherwise,
VMs using the same computer name may become unreachable.
If the VMs become unreachable due to name duplication, troubleshoot the problem by
following operations provided in Network Connection Fails After a VM Restarts in
the FusionCompute V100R005C10 Troubleshooting.
31 If the VM run the Windows OS, select a domain or a workgroup for the VM.
– If Workgroup is selected, enter the workgroup name.
– If Windows server domain is selected, enter the domain name, domain username,
and domain password.
32 If the VM attributes are created using the Customization Wizard, to save the attributes,
select Save as computer attributes and specify VM attribute name and Description.
33 Click Next.
The Configure NIC page is displayed.
34 Click the arrow on the left of IPv4 or IPv6, expand the configuration option, and
configure the IPv4 or IPv6 attribute as planned. You can configure both the IPv4 and
IPv6 attributes.
If Use the following IP address and Use the following DNS server addresses are
selected, configure the following parameters:
– IPv4
If Use the following IP address and Use the following DNS server addresses are
selected, configure the following parameters:
n IP address
n Subnet mask
n Default gateway
n Preferred DNS server
n Alternate DNS server
– IPv6
Can be set to Use DHCP service to automatically obtain IPv6 address, Use
router advertisement function to automatically obtain IPv6 address, or Use
static IPv6 address.
To use the IPv6 forwarding function, choose Network Pool > IPv6 forwarding
settings and enable this function.
If Use static IPv6 address and Manually enter DNS server address are selected,
configure the following parameters:
n IPv6 address
n Subnet prefix length
n Default gateway
n Preferred DNS server
n Alternate DNS server
NOTE
When setting specifications of a Windows VM that needs to be added to the Windows domain, you
must select Use the following DNS server addresses to set the DNS server to be a server in the
Windows domain and specify at least the preferred DNS server address. If multiple DNS servers exist
in the Windows domain, you are advised to specify both the preferred and alternate DNS server
addresses.
35 Click Next.
The Confirm page is displayed. Verify that the information about the VM to be created
is correct.
Create a VM.
36 Click Create.
The VM creation starts.
37 Click click here in the Information dialog box.
You can view the creation process on the Task Center page.
After the VM is created, you can view this VM in the following positions:
– VM tab page: displays all VMs and templates.
– Navigation tree: displays the last 20 VMs and templates that were queried.
After a VM is created, you can configure the following VM network attributes:
– IP address: If the VM port group connection mode is set to subnet, the system
automatically allocates an IP address to the VM. If VM port group connection mode
is set to VLAN, users of the VM need to manually configure the IP address for the
VM NIC.
– MAC address: The NIC MAC address can be manually changed. For details, see
Modifying VM NIC Attributes.
NOTE
If the local PC where the template is located runs the Windows 7 operating system (OS), an error
message "The CNA failed to connect to the shared directory" may be displayed due to the OS
settings. To address this problem, perform the following operations:
1. On the local PC, click Start, enter regedit in the search box, and press Enter.
2. Choose HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control >
Session Manager > Memory Management, and change the value of LargeSystemCache to
1.
3. Choose HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services >
LanmanServer > Parameters, and change the value of Size to 3.
4. Restart the local PC, and import the VM using the VM template again.
Log in to the VM.
38 After the VM is created, locate the row that contains the template, click Log In Using
VNC.
The login is successful.
If the VM is created using a template, the initial password for logging in to the VM
varies depending on the configurations during VM template creation.
– The initial password is the customized password, if the following conditions are
met:
n During VM template creation, the VM specification attributes are configured.
(For details, see Configuring Specifications Attribute Customization for a
Windows VM or Configuring Specifications Attribute Customization for a
Linux VM.)
n During VM creation using the template, the VM password is customized.
– The initial password is a random password (which can be queried on the Summary
page of the VM), if the following conditions are met:
n During VM template creation, the VM specification attributes are configured.
(For details, see Configuring Specifications Attribute Customization for a
Windows VM or Configuring Specifications Attribute Customization for a
Linux VM.)
n During VM creation using the template, the VM password is not customized.
– The initial password is the same as that of the VM template, if the VM specification
attributes are not configured.
NOTE
If the VM template runs is the Windows 2000, Windows Server 2003, or Windows XP OS, and it
is used to create multiple VMs whose global universal identifications (GUIDs) are the same, the
created VMs cannot obtain system patches. To avoid this problem, manually modify the VM
registries. For details, see the case 903262 provided at the OS official website.
----End
NOTE
Declaration: This feature is a high-risk feature. Using this feature complies with industry practices.
However, end user data may be required for implementing the feature. Exercise caution and obtain end
user's consent when using this feature.
A VM clone inherits the configurations and data of its parent VM at the cloning time point. If the end
user data is involved, obtain end user's consent before you clone the VM.
Prerequisites
Conditions
l You have obtained the ID of VM that is used to create a VM.
l The VM is in the Stopped or Running state.
l You have logged in to the FusionCompute.
l If you want to make a clone from a running VM, the VM must meet the following
requirements:
– The VM has the Tools run properly on it.
– The disks on the original VM use virtualized storage or FusionStorage and are not
shared.
l If the VM runs the Linux OS, configure the NICs. For details, see Configuring Linux
VM Network Attributes.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Select the creation location for the VM.
4 Locate the row that contains the VM, choose More, and click Clone VM.
The Location page is displayed, as shown in Figure 1-17.
If a VM is attached to a host, the VM can only run on this host and cannot be migrated to
another host. To determine whether to reserve resources in the host for the VM, select
one of the following based on site requirements:
– Do not reserve resources for the VM: specifies that the host reserves computing
resources for the VM only when this VM is in the running state.
– Permanently reserve resources for the VM: specifies that the host reserves
computing resource for the VM even when this VM is stopper or hibernated.
7 To attach a GPU to the VM, select Attach GPU in Advanced Settings, and select the
GPU to be attached.
If a GPU is attached to a VM, the VM is automatically attached to the host providing the
VM and the GPU. The VM can be migrated to another host only after the GPU is
detached from the VM.
8 To attach a USB device to the VM, select Attach USB device in Advanced Settings,
and select the USB device to be attached.
NOTICE
When you install the OS by following the operations provided in Follow-up Procedure,
ensure that the type and version of the OS to be installed are consistent with what you
select here. Otherwise, the VM may become faulty.
The number of CPU cores in each group is the number of cores per socket. For
details about a CPU socket, see Introduction to Creating VMs. The supported
number of CPU sockets and the supported number of cores per socket vary
depending on operating systems (OSs). Therefore, configure this parameter based
on the OS capabilities.
– Memory
12 To modify the QoS settings, click QoS Settings and configure the parameters.
– CPU Quota: Specifies the CPU weight a VM can obtain in resource contention. The
quota indicates the relative priority of a VM. For example, if the CPU quota of a
VM is twice that of another VM, this VM has priority to use twice the CPU
resources as the other VM.
– CPU Reserved (MHz): Specifies the minimum computing capability of the VM. For
example, if the VM has one CPU and Reserved (MHz) is set to 2000, the minimum
computing capability of the VM is 2000 MHz.
– CPU Limit (MHz): Specifies the maximum computing capability of the VM. For
example, if the VM has one CPU and Limit (MHz) is set to 2000, the maximum
computing capability of the VM is 2000 MHz.
– Memory Quota: Specifies the memory weight a VM can obtain in resource
contention. The quota indicates the relative priority of a VM. For example, if the
memory quota of a VM is twice that of another VM, this VM has priority to use
twice the memory resources as the other VM.
– Memory Reserved (MB): Specifies the minimum physical memory resources of the
VM. If Reserved (MB) is set to 0, the system reserves the minimum required
memory resources for the VM.
13 Configure the other attributes of the VM.
– HA: Specifies whether to enable the HA function. The HA feature allows VMs to
migrate to another host if the current host is faulty. If the VM is bound to a host, it
cannot be migrated, and will automatically start after the host runs properly.
– Clock synchronization policy: If Synchronize with host clock is selected, the VM
periodically synchronizes time with the host. If no, the user can set the VM time.
– Policy for handling blue screen of death (BSOD): Specifies the policy used when
the BSOD occurs.
– VNC keyboard settings:Specifies the keyboard used for VNC login.
– CPU hot add (This parameter is available only when the OS meets the requirements
for CPU hot add.):
n Disable: CPU resource control policy modification takes effect immediately.
CPU quantity modification takes effect after the VM restarts.
n Enable CPU hot add: The operations performed to add CPUs, adjust CPU
resource control policies take effect without VM restart. The VM needs to be
restarted for the operation performed to reduce the number of CPUs to take
effect.
– Memory hot add(This parameter is available only when the OS meets the
requirements for memory hot add.):
n Disable: Memory resource control policy modification takes effect
immediately. Memory size modification takes effect after the VM restarts.
n Enable memory hot add: The operations performed to increase memory size
take effect without VM restart. The VM needs to be restarted for the operation
performed to reduce the memory size to take effect.
15 Click Next.
The Set VM page is displayed, as shown in Figure 1-19.
The NIC properties are determined by the port group on the distributed switch to which
the NIC connects.
17 Configure the following attributes for each disk:
– Data storage:
n The Thin provisioning mode can be selected only when virtual storage is
deployed.
n If the data store is set to RDM, the disk created using the data store cannot be
used as a system disk.
NOTE
To clone a running VM, the data store selected for the clone must meet either of the
following requirements:
n The data store to be selected is the same as the one used by the parent VM.
n The data store to be selected is different from the one used by the parent VM, but the
two data stores are associated with the host accommodating the parent VM.
– Configuration mode:
n Common: The system allocates disk space based on the disk capacity. During
disk creation in this mode, data remaining on the physical device will be reset
to 0. The performance of the disks in this mode is better than that in the other
two modes, but the creation duration may be longer than that required in the
other modes.
It is recommended that system disks use this configuration mode.
n Thin provisioning: In this mode, the system allocates part of the configured
disk capacity for the first time, and allocates the rest disk capacity based on the
storage usage of the disk until all the configured disk capacity is allocated.
NOTE
In this mode, data store overcommitment may occur. Therefore, you are advised to set
the overcommitment ratio to lower than or equal to 50%. The overcommitment ratio is
determined by the ratio of Allocated Capacity to Total Capacity.
If the data store type is FusionStorage or Local RAM Disk, only this mode is
available. If the data store type is Local or SAN, this mode is unavailable.
n Thick provisioning lazy zeroed: The system allocates disk spaces based on
the disk capacity. However, data remaining on the physical device is zeroed
out only on first data write from the VM as required. In this mode, the disk
creation speed is faster than that of in the Ordinary mode, and the I/O
performance is medium between that of in the Ordinary and Thin
provisioning modes.
This mode is supported only when the data store is of the Local VIMS or
VIMS type.
– Affected by Snapshot:
Value:
n Taken into snapshots
n Not taken into snapshots
After Not taken into snapshots is selected, the disk data will not be backed up
when a snapshot is taken for the VM and will not be restored after the VM is
restored using a snapshot.
n If a snapshot is taken for a VM, and disks on the VM are detached from the
VM and not attached to any other VM, the disks will be attached to the VM
after the VM is restored using the snapshot. However, data on the disks will
not be restored.
n If a snapshot is taken for a VM and disks on the VM are deleted, the disks will
not appear on the VM after the VM is restored using the snapshot.
Be aware of the following configuration restrictions:
n When the data store type is SAN, Local, or Local RAM Disk, a snapshot
cannot be created for the disk being created. Therefore, the disk will not be
affected by snapshots and this parameter is unavailable by default.
n When the data store type is Local VIMS, VIMS, NAS, Advanced SAN, or
FusionStorage and the disk type is Sharing, a snapshot cannot be created for
the disk being created. Therefore, the disk will not be affected by snapshots.
– Persistency:
Value range:
n Persistent: All operations on the disk will be recorded in the disk.
n Nonpersistent: All operations on disks will not be recorded in the disk, but in
a cache file stored in the data store as the disk. All operation records will be
lost after the VM stops.
Be aware of the following configuration restriction:
A disk can be set to Nonpersistent only when its disk type is Ordinary and the
data store type is Local VIMS, VIMS, NAS or Local RAM Disk.
18 Click Next.
The Confirm page is displayed. Verify that the information about the VM to be created
is correct.
Create a VM based on a template.
19 Click Finish.
The VM creation starts. It takes about 10 minutes to create a VM.
20 Click click here in the Information dialog box.
You can view the creation process on the Task Center page.
After the VM is created, you can view this VM in the following positions:
– VM tab page: displays all VMs and templates.
– Navigation tree: displays the last 20 VMs and templates that were queried.
Log in to the VM.
21 After the VM is created, locate the row that contains the template, click Log In Using
VNC.
The login is successful.
----End
2 VM Adjustment
Scenarios
On FusionCompute, modify CPU attributes when the CPU performance of the VM cannot
meet the requirements for system running.
When different CPU hot add policies are used, the conditions for the modification to take
effect are different, as shown in
l Disable: CPU resource control policy modification takes effect immediately. CPU
quantity modification takes effect after the VM restarts.
l Enable CPU hot add: The operations performed to add CPUs, adjust CPU resource
control policies take effect without VM restart. The VM needs to be restarted for the
operation performed to reduce the number of CPUs to take effect.
NOTICE
l If the VM CPU type is changed from single-core to multi-core or from multi-core to
single-core, the VM OS may fail to work due to an exception. If you still determine to
change the CPU type of a VM running the Windows Server 2003 or Windows XP, log in
to the VM using Virtual Network Computing (VNC) to manually change the CPU driver
after changing the CPU type.
l To prevent the computing performance of the VM from deteriorating, ensure that the
number of VM CPUs does not exceed CPU cores on the host.
l For details about types of operating systems (OSs) that support CPU hot add and CPU
hot add configuration, see Configuring the CPU Hot Add Policy for a VM.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped or Running state.
l If the VM runs any of the following OSs and the number of VM CPU cores needs to be
increased to greater than 32, upgrade the system kernel by performing steps provided in
Failed to Start the Linux VM That Has Greater Than 32 CPU Cores:
– CentOS 6.1, 6.2, 6.3, 6.4, 6.5, and 6.6 (32-/64-bit)
– Red Hat Enterprise Linux 6.1, 6.2, 6.3, 6.4, 6.5, and 6.6 (32-/64-bit)
– Oracle Linux Server release 6.1, 6.2, 6.3, 6.4, 6.5, and 6.6 (32-/64-bit)
– Red Flag Asianux Server 4 SP2 (32-/64-bit)
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Modify CPU attributes.
4 Click the name of the VM to be modified.
The Summary page is displayed.
5 Click CPU on the Hardware tab page.
The CPU page is displayed, as shown in Figure 2-1.
– CPU Limit (MHz): Specifies the maximum computing capability of the VM. For
example, if the VM has one CPU and Limit (MHz) is set to 2000, the maximum
computing capability of the VM is 2000 MHz.
9 (Optional) Set the CPUs to be bound with the VM in CPU Advanced Settings. For
details, see Binding a VM and CPU Cores.
10 Click OK.
A dialog box is displayed.
11 Click OK.
You can view the task progress on the Task Tracing page.
Change the CPU driver.
12 Determine whether to change the CPU driver based on the OS type of the VM and the
CPU attributes adjustment mode.
After changing the CPU type of the VM running the Windows Server 2003 or Windows
XP OS from single-CPU to multi-CPU or from multi-CPU to single-CPU, you must log
in to the VM to manually change the CPU driver.
13 Log in to the VM using the VNC.
The following operations take the Windows Server 2003 OS as an example:
14 On the Start menu of the VM, right-click Computer and choose Properties.
15 Click Device Manager on the Hardware page.
16 In the navigation tree on the left, expand Computer and double-click ACPI
Multiprocessor PC or Advanced Configuration and Power Interface (ACPI) PC.
– If you need to change the VM from single-CPU to multi-CPU, change the driver
from Advanced Configuration and Power Interface (ACPI) PC to ACPI
Multiprocessor PC.
– If you need to change the VM from multi-CPU to single-CPU, change the driver
from ACPI Multiprocessor PC to Advanced Configuration and Power
Interface (ACPI) PC.
17 Click Update Driver on the Driver page.
18 Update the driver instructed by the hardware update wizard and based on the actual
requirements.
Restart the VM.
NOTICE
Restarting the VM will cause service interruption. You are advised to perform this operation
in off-peak hours and inform the service administrator in advance.
19 Check whether the VM needs to be restarted to make the CPU modification take effect.
– If the VM is in the Running state, the CPU hot add function is disabled, and the
number of VM CPUs is changed, go to 20.
– If the VM is in the Running state, the CPU hot add function is enabled, and the
number of VM CPUs is reduced, go to 20.
– In other scenarios, the VM does not need to be restarted and no further action is
required.
20 In the upper part of the page, click Operation and choose Restart.
A dialog box is displayed.
21 Click OK.
A dialog box is displayed.
22 Click OK.
You can view the task progress on the Task Tracing page.
----End
Scenarios
Bind a VM and physical CPU cores on a host to limit the range where the CPU cores on the
host can be used.
Prerequisites
l You have logged in to the FusionCompute.
l The VM is in the Stopped or Running state.
l The VM has been bound to a host.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
6 Enter the CPU core serial number in CPU Advanced Settings in required format.
The CPU core serial number starts from 0. For example, if 14 CPU cores are available,
the CPU core serial number range is from 0 to 13.
NOTE
The number of CPU cores to be bound to the VM must be greater than or equal to the number of
CPUs on the VM.
– If the number of CPU cores to be bound to the VM is equal to the number of CPUs on the VM,
the VM can only use the bound CPU cores.
– If the number of CPU cores to be bound to the VM is greater than the number of CPUs on the
VM, the VM can flexibly select CPU cores from the bound ones.
7 Click OK.
A dialog box is displayed.
8 Click OK.
You can view the task progress on the Task Tracing page.
----End
Scenarios
On the FusionCompute, adjust the memory size, quota, and reservation of a VM when the
memory specifications cannot support the VM operation.
The conditions for the adjustment for VM memory size, memory quota, and memory
reservation to take effect differ depending on the memory hot add policies.
NOTE
For details about OSs supporting memory hot add and configuring the memory hot add policy, see
Configuring the Memory Hot Add Policy for a VM.
The actually available memory size of a VM is less than that configured for it because a part
of VM memory is used by video memory. For example, if the configured VM memory size is
4 GB, the actually available memory size is 3.99 GB because the default video memory size is
8192 KB. In this example, the actually available memory is calculated by the following
formula: [(4*1024-8)/1024] GB.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped or Running state.
l The following conditions have been met if you need to add memory to a running VM
that has memory hot add enabled:
– The added memory size must be an integer that is a multiple of 1024 MB.
– The VM initial memory must be less than or equal to 31 GB.
– The total added memory size cannot be greater than 32 GB.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Adjust memory specifications.
NOTICE
Restarting the VM will cause service interruption. You are advised to perform this operation
in off-peak hours and inform the service administrator in advance.
Scenarios
On the FusionCompute, expand the capacity of a disk on a VM.
l Disk capacity expansion is supported only by data stores of the following types: Local
VIMS, VIMS, NAS, and FusionStorage.
l If a disk is created on a NAS data store and is set to the Common mode, the disk
capacity cannot be expanded on a running VM.
l If a disk is created on a FusionStorage data store and you expand the disk capacity when
the VM is running, the expansion takes effect only after the VM is power cycled.
l If a disk is created on a Local VIMS, VIMS or NAS data store and you expand the disk
capacity when the VM is running, the expansion takes effect immediately if the VM runs
one of the following operating systems (OSs), and takes effect upon VM restart if the
VM runs other OSs:
– Windows Server 2003
– Windows Server 2008
– Windows XP
– Windows 7
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped or Running state.
l The capacity of the VM disk to be expanded is greater than or equal to 4 GB.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
The supported disk sizes (GB) of different disk types are as follows:
– VIMS or NAS: 1 to 65536
NOTE
The capacity of a VIMS or NAS disk can be added to 2043 GB if the current capacity of a
VIMS or NAS disk is less than 2043 GB, but can be added to 65536 GB if the current
capacity is greater than 2043 GB.
– Local VIMS: 1 to 2043
– FusionStorage: 1 to 32768
NOTE
l Do not create a spanned volume, logical volume manager (LVM), or software RAID to merge
multiple disks as one partition on a VM.
l If multiple disks are merged as one partition, used space on the disks cannot be queried on
FusionCompute.
l Only disks created on virtualized data stores or FusionStorage storage can be attached to VMs
protected by the host-based replication disaster recovery (DR) function. Other disks, such as disks
that have been restored using file-level restoration, raw device mapped disks, local disks, and disks
created on SAN storage, cannot be attached to the VMs.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped or Running state.
l A free disk exists in the data store associated with the host.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
NOTE
When attaching disks, you can set the disk slot numbers. If you do not set the disk slot numbers,
the disk number increases in an ascending order by default.
7 Select the disk bus type.
Raw device mapped disks can only be connected to the SCSI bus. Other disks can only
be connected to the IDE bus.
The raw device mapping mode only applies to VMs running certain OSs, such as Red
Hat Linux Enterprise 5.4, 5.5, 6.1, and 6.2 64-bit. For details about the supported OS list,
see the OS description for PVSCSI in the FusionAdaptor Compatibility List. To
download the FusionAdaptor Compatibility List, visit http://support.huawei.com/
enterprise and choose Product Support > Cloud Computing & Data Centers >
FusionCloud > FusionSphere > FusionAdaptor.
8 Select a disk.
9 Click OK.
A dialog box is displayed.
10 Click OK.
The disk is attached to the VM. You can view the task progress on the Task Tracing
page.
Initialize the new user disk.
l If the disk to be attached is a newly created disk, after it is attached to a VM, log in to the
VM and follow the steps provided below to format the disk.
l If the disk to be attached has data stored on it, and the disk drive letter is the same with
that on the VM, log in to the VM and change the disk state from Offline to Online.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped or Running state.
NOTE
Table 2-1 OSs supporting disk detaching when the VMs are running
OS Type OS Version
CentOS CentOS
5.0/5.1/5.2/5.3/5.4/5.5/5.6/5.7/5.8/5.9/5.10/6.0/6.1/
6.2/6.3/6.4/6.5 32-/64-bit
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
If the disk to be detached is a raw device mapped disk and the logical unit number (LUN) the
disk uses is to be attached to a physical server, adhere to the following precautions:
l Do not delete the raw device mapped disk and the data store.
l Add a device partition before attaching the LUN to a physical server.
For details, see How to Attach a Raw Device Mapped Disk That Has Been Detached from
a VM to a Physical Server.
----End
Scenarios
On the FusionCompute, add a network interface card (NIC) to a VM.
l A NIC cannot be added to a running VM that runs the Windows 2000 operating system
(OS) but can be added to the VM when the VM is in the stopped state.
l An intelligent NIC (iNIC) can be added only from stopped VM.
l A VM supports a maximum of 12 NICs.
l An iNIC and common NIC cannot be simultaneously used by VMs on the same server.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped or Running state.
l The VM has Tools installed and Tools is running properly if you add a NIC to a VM that
is in the running state.
l To add a NIC when the VM is running, the VM must be installed with Tools, and the
Tools are running properly.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Add a NIC.
4 Click the name of the VM to which a NIC is to be added.
The Summary page is displayed.
5 Click NIC on the Virtual Hardware tab page.
The NIC page is displayed.
6 Click Add NIC.
A dialog box is displayed.
7 Select the distributed virtual switch (DVS) and port group for the NIC.
8 Click OK.
A dialog box is displayed.
9 Click OK.
You can view the task progress on the Task Tracing page.
Information about the new NIC is displayed on the NIC page after the NIC is added.
Follow-up Procedure
After a NIC is added to a running VM, some VM OSs cannot identify the newly added NIC.
To resolve this issue, manually activate the NIC and configure the NIC information.
----End
NOTE
In the system that uses iNICs, to delete iNICs from a stopped Windows VM, delete them in reverse
numerical order. Otherwise, iNIC configuration information is disordered, and undeleted iNICs can be
available only after reconfiguration.
For example, on a stopped Windows VM that has three iNICs, iNIC 1, iNIC 2, and iNIC 3, if iNIC 2 is
deleted, configuration information of iNIC 3 will become that of iNIC 2. Therefore, you need to
reconfigure iNIC 3.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped or Running state.
l The VM has Tools installed and Tools is running properly if you delete a NIC from a
VM that is in the running state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
You can view the task progress on the Task Tracing page.
Information about the NIC is not displayed on the NIC page after the deletion is
complete.
Follow-up Procedure
After deleting a NIC from a Linux VM, you are advised to delete the configuration
information of this NIC. Otherwise, if you add another NIC to the VM, the NIC name number
becomes discontinuous.
For example, a Linux VM (VM A) has two NICs (eth0 and eth1). After eth1 is deleted from
VM A, if you add another NIC to VM A, the NIC name becomes eth2 due to the residual
configuration information of eth1.
9 Log in to the VM, run the following command to edit the file of the NIC rules:
vi /etc/udev/rules.d/70-persistent-net.rules
10 Press i to enter editing mode and delete the udev rules of the NIC that has been deleted.
For example, if eth1 has been deleted, delete the following information in bold:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="28:6e:d4:88:b5:df", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="28:6e:d4:1f:
38:b0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
11 Press Esc to exit editing mode and enter :wq to save the modification and exit.
12 Determine the VM IP address assignment mode.
– If the VM IP address is assigned using Dynamic Host Configuration Protocol
(DHCP), no further action is required.
– If the VM IP address is manually assigned, go to 13.
13 Mount the obtained FusionCompute V100R005C10SPC700_Customization.iso file to
the VM.
For details about mounting, see Mounting a CD/DVD-ROM Drive or an ISO File.
14 Run the following command to delete the configuration file of the NIC that has been
deleted:
rm -f ifcfg-ethXX
For example, if eth1 has been deleted, run the following command:
rm -f ifcfg-eth1
----End
Scenarios
On FusionCompute, mount a CD/DVD-ROM drive of the local PC or an ISO file to a VM to
install the operating system (OS) and applications on the VM.
l You can mount a CD/DVD-ROM drive or an ISO file to a VM only when the VM is in
the Running state.
NOTE
You can mount a CD/DVD-ROM drive or an ISO file using either of the following modes.
l Share mode: An ISO file can be mounted to a VM that runs any OS in share mode, which requires
complicated operations. However, CD/DVD-ROM drives are not supported.
l Local mode: An ISO file or a CD/DVD-ROM drive can be mounted to a VM that runs a specified
OS (listed in Table 2-2) in local mode, which does not require complicated operations.
The local mode is recommended. If the OS version is too early to support the local mode, use the share
mode.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Running state.
l An image has been obtained and shared, is accessible from FusionCompute (This is
mandatory only when an ISO file is to be mounted using the share mode.)
l The ISO file complies with the ISO 9660 standard.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
– If yes, go to 5.
– If no, go to 12.
Mount an ISO file or a CD/DVD-ROM drive using the local mode.
5 Locate the row that contains the VM to which an ISO file is to be mounted, click Log in
using VNC.
The VM desktop is displayed.
You can log in to a VM using noVNC or TightVNC. The TightVNC is dependent on the
Java (TM) plug-in, while the noVNC is independent from the Java (TM) plug-in.
Therefore, noVNC does not support operations related to the Java (TM) plug-in, such as
NOTICE
Do not close the VNC window during the mounting process. Otherwise, the ISO file or
CD–ROM drive will be automatically unmounted.
6 Click and then click Mount Local CD/DVD-ROM Drive in the displayed menu.
7 Select the directory where the ISO file or the CD/DVD-ROM drive is located.
– To mount a CD/DVD-ROM drive, select CD/DVD-ROM, and select the directory
where the CD/DVD-ROM drive is located.
– To mount an ISO file, select File, and click Browse to select the file.
– To mount a local directory as a CD/DVD-ROM drive, select Device path, click
Browse to select a local folder or drive letter.
8 (Optional) To restart the VM, select Restart the VM now to install the OS.
9 Click Confirm.
A dialog box is displayed.
If Restart the VM now to install the OS is selected, the VM will automatically restart
and the displayed information dialog box is automatically closed.
10 Click OK.
The CD/DVD-ROM drive is mounted to the VM.
11 Click Yes in the Connection dialog box to connect to the VM again if Restart the VM
now to install the OS is selected. Otherwise, the CD/DVD-ROM drive or ISO file is
automatically detached after the VNC login window is closed.
Mount an ISO file using the share mode.
12 Locate the row that contains the VM to which an ISO file is to be mounted, click Log in
using VNC.
The VM desktop is displayed.
13 Click and then click Mount Shared CD/DVD-ROM Drive in the displayed menu.
NOTE
This account is used only for accessing the shared directory. To ensure system security, you
are advised to use the username and password that can access only the shared directory.
15 (Optional) To restart the VM, select Restart the VM now to install the OS.
16 Click Confirm.
A dialog box is displayed.
If Restart the VM now to install the OS is selected, the VM will automatically restart
and the displayed information dialog box is automatically closed.
17 Click OK.
The ISO file is mounted to the VM. You can view the task progress on the Task Tracing
page.
----End
Scenarios
On the FusionCompute, unmount a CD/DVD-ROM drive or an ISO file from a VM.
You can unmount a CD/DVD-ROM drive or an ISO file from a VM only when the VM is in
the Running state.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l A CD/DVD-ROM drive or an ISO file has been mounted to a VM.
l The VM is in the Running state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
5 Click and then click Unmount CD/DVD-ROM Drive in the displayed menu.
A dialog box is displayed.
6 Click Yes.
A dialog box is displayed.
7 Click OK.
The CD/DVD-ROM drive or ISO file is unmounted from the VM.
----End
Scenarios
On FusionCompute, attach a graphics processing unit (GPU) on a host to a VM to enable the
VM to support high-performance graphics applications.
A VM can attach a maximum of two GPUs in passthrough mode, and the two GPUs must be
provided by the same host.
A VM cannot attach GPUs of both modes (passthrough and virtualization) at the same time.
After a GPU is attached to a VM, the VM does not support the following functions:
l VM high availability (HA).
l VM live migration.
l VM hibernation.
l VM snapshots.
l VM online cloning.
l VM exporting.
l Cluster scheduling driven by scheduling policies.
l Virtual Network Computing (VNC) login (only after a GPU in passthrough mode is
attached to a VM and it takes effect). You can log in to the VM using the remote login
mode.
Prerequisites
Conditions
l An available GPU exists on the host.
l The VM to which a GPU is to be attached does not have a GPU and is in the Stopped or
Running state.
NOTE
– After being attached to a VM that is in the Running state, a GPU takes effect upon VM power
recycling.
– If a GPU is attached to a VM in the Stopped state, the system selects the host on which the
GPU is located when the VM starts. If resources on the host are insufficient, the VM fails to
start.
l The reserved memory of the VM is set to the maximum value.
l The VM has been assigned an IP address for remote login to the VM after the GPU takes
effect.
l You have logged in to the FusionCompute.
l You have obtained the VM GPU driver.
If the GPU is in the passthrough mode, obtain the GPU driver from the official website
of the GPU vendor.
If the GPU is in virtualization mode, contact Technical Support.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
A dialog box is displayed, listing all the GPU which can be attached to the VM, as
shown in Figure 2-9.
NOTE
– If the VM is in the Running state, the available GPUs in the host on which the VM is running
are displayed.
– If the VM is in the Stopped state, the available GPUs in the cluster to which the VM belongs
are displayed.
7 Select a GPU, and click OK.
A dialog box is displayed.
8 Click OK.
The GPU is attached to the VM. You can view the task progress on the Task Tracing
page.
9 Determine the VM state.
– If the VM is in the Running state, go to 10.
– If the VM is in the Stopped state, go to 11.
10 Power cycle the VM for the attached GPU to take effect.
Install a GPU driver.
l After the GPU is attached to the VM, a GPU driver must be installed to put the GPU into
service.
l If a GPU driver has already been installed on the VM, no new GPU driver is required.
11 Copy the GPU driver to the VM.
Scenarios
On the FusionCompute, detach a graphics processing unit (GPU) from a VM to release
occupied system resources.
Prerequisites
Conditions
l A GPU has been attached to the VM.
l The VM from which a GPU is to be detached is in the Stopped state.
l You have logged in to the FusionCompute.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Detach a GPU.
4 Click the name of the VM from which a GPU is to be detached.
The Summary page is displayed.
5 Click GPU on the Hardware page.
The GPU page is displayed.
6 Locate the row that contains the GPU to be detached, click Detach GPU.
A dialog box is displayed.
7 Click OK.
A dialog box is displayed.
8 Click OK.
The GPU is detached from the VM. You can view the task progress on the Task Tracing
page.
----End
Prerequisites
Conditions
l A USB device has been installed on the host VM to which a USB device is to be
attached.
– The USB device takes effect immediately after being attached to a running VM.
– If the USB device on a host is attached to a stopped VM, the system will select the host to
start the VM. If resources on the host are insufficient, the system will select another host to
start the VM. Under this condition, the VM cannot use the USB device.
l The kb944704 patch must be installed on the VM if the VM runs Windows Server 2003.
Otherwise, after the USB device is attached to the VM, the VM stops responding or
displays a blank screen.
You can obtain the patch from the official website of the OS.
l You have logged in to the FusionCompute.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
– When the VM is in the running state, the USB devices that are not attached to the VM on the
host are displayed.
– When the VM is in the stopped state:
n If no USB device is attached to the VM, the USB devices that are not attached to any
VM in the cluster are displayed.
n If a USB device is attached to the VM, the USB devices that are not attached to any VM
on the host are displayed.
----End
Additional Information
Related Tasks
After a USB device is ejected from the VM OS, the VM does not recognize the device. To
make the VM access the USB device again, you can use any of the following methods:
l Manually pull out the USB device and plug it in again.
l Detach the USB device from the VM and attach it to the VM again. For details about
USB device detaching, see Detaching a USB Device.
l Restart the VM.
Scenarios
On the FusionCompute, detach a USB device from the VM.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l You have safely uninstalled the USB device based on the VM operating system (OS)
requirements. If the VM runs the Windows OS, you can click the icon in the lower right
part of the VM desktop to uninstall the device. If the VM runs the Linunx OS, you can
run the umount command to uninstall the device.
l The VM from which a USB device is to be detached is stopped or running.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Detach a USB device.
4 Click the name of the VM from which a USB device is to be detached.
The Summary page is displayed.
5 Click USB Device on the Hardware tab page.
The USB Device page is displayed.
6 Locate the row that contains the USB device to be detached, and click Detached VM.
A dialog box is displayed.
7 Click OK.
A dialog box is displayed.
8 Click OK.
The USB device is detached from the VM. You can view the task progress on the Task
Tracing page.
----End
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Change the name of the NIC.
4 Click the name of the VM for which the NIC name is to be changed.
The Summary page is displayed.
After the port group of a NIC is changed, the NIC uses the network attributes of the new port
group, such as the bandwidth limit, Dynamic Host Configuration Protocol (DHCP)
quarantine, and binding between the IP and Media Access Control (MAC) addresses.
9 Locate the row that contains the NIC for which the port group is to be changed, click
More, and select Change port.
A dialog box is displayed.
10 Select a new port group for the NIC in the port group list, and click OK.
A dialog box is displayed.
11 Click OK.
The port group is changed. The NIC page is displayed, showing information about the
new port group.
Change the MAC address of the NIC.
12 Locate the row that contains the NIC, click More, and select Modify MAC.
A dialog box is displayed.
NOTE
For Linux VMs, if the MAC address is changed, the NIC ID is automatically changed (for
example, from eth0 to eth1), which results in communication interruption. You can use either of
the following methods to address this problem:
– Log in to the VM using the Virtual Network Computing (VNC) and reconfigure the VM IP
address.
– Log in to the VM using VNC, delete the VM operating system (OS) specification file, and
restart the VM to restore the mapping between the MAC address and the NIC. For example,
If the operating system OS is SUSE Linux Enterprise Server 11 SP1 64-bit, the VM OS
specification file is stored in /etc/udev/rules.d/70-persistent-net.rules.
----End
Scenarios
On the FusionCompute, configure HA policies for a VM.
l Enabled: Specifies whether to enable the HA function. The HA feature allows VMs to
migrate to another host if the current host is faulty. If the VM is bound to a host, it
cannot be migrated, and will automatically start after the host runs properly.
l Disabled: If the host on which the VM runs is faulty, the VM immediately stops.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped or Running state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped or Running state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Change the startup mode of a VM.
----End
Scenarios
On the FusionCompute, configure policies for handling the blue screen of death (BSOD) for a
VM.
You can configure the policy for handing the BSOD of a VM only when the VM is in the
Stopped state.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped state.
l A Tools has been installed on the VM.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
----End
Scenarios
On the FusionCompute, change the clock synchronization policies for a VM.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM for which the clock synchronization policy is to be changed is stopped.
l A Tools has been installed on the VM.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Configure the clock synchronization policy for the VM.
4 Click the name of the VM for which the clock synchronization policy is to be changed.
A page is displayed providing VM information.
5 Click Clock synchronization policy on the Options tab page.
The Clock synchronization policy page is displayed.
6 Configure the clock synchronization policy for the VM.
– Select Synchronize with host clock: The VM periodically synchronizes time with
the host.
– Deselect Synchronize with host clock: The user can set the VM time.
7 Click OK.
A dialog box is displayed.
8 Click OK.
The clock synchronization policy for the VM is changed. You can view the task progress
on the Task Tracing page.
----End
If the CPU hot add function is enabled for all VMs, calculate the VM density based on Table
2-3. A single VM supports a maximum of 12 NICs and 11 disks.
24 75
32 45
64 30
128 30
256 30
320 30
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped state.
l The Tools (2.1.0.3 or later) has been installed on the VM.
l Table 2-4 lists all VM operating systems (OSs) that support CPU hot add. The support
for CPU hot add is disabled for VMs running some of the OSs by default. To use the
CPU hot add function, you must enable the support on the host on which the VMs are
running. For details about how to enable the support, see the procedure below.
Linux Novell SUSE Linux No. You must If a VM running the Novell
32-bit Enterprise Server 11 manually make SUSE Linux Enterprise Server 11
SP0 CPU hot add OS has less than eight vCPUs and
take effect. you need to increase the number
of CPUs on the VM to more than
eight, you must first increase the
number of vCPUs on the VM to
eight, restart the VM, and then
increase the number of vCPUs to
the desired number.
Linux Novell SUSE Linux No. You must If a VM running the Novell
64-bit Enterprise Server 11 manually make SUSE Linux Enterprise Server 11
SP0 CPU hot add OS has less than eight vCPUs and
take effect. you need to increase the number
of CPUs on the VM to more than
eight, you must first increase the
number of vCPUs on the VM to
eight, restart the VM, and then
increase the number of vCPUs to
the desired number.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
NOTE
You can also configure the memory host add policy for the VM. For details, see Configuring the
Memory Hot Add Policy for a VM.
7 Click OK.
A dialog box is displayed.
8 Click OK.
The CPU hot add policy of the VM is configured. You can view the task progress on the
Task Tracing page.
Make CPU hot add take effect.
NOTE
Some Linux VMs do not support CPU hot add to immediately take effect. You need to manually make it
take effect. For details about OSs that require manual intervene, see Table 2-4. Skip this task if your VM
OS supports CPU hot add to immediately take effect.
9 Locate the row that contains the VM to which an ISO file is to be mounted, click Log in
using VNC.
The VM desktop is displayed.
10 Log in to the VM using VNC as user root.
11 Run the following commands to query the number of CPUs on the VM:
cd /sys/devices/system/cpu/
ls |grep cpu
For example, the VM has six CPUs that are numbered from 0 to 5 if the following
information is displayed:
cpu0
cpu1
cpu2
cpu3
cpu4
cpu5
cpufreq
cpuidle
13 Compare the CPUs in command output of 11 and 12 to determine the offline CPUs (hot
added CPUs that do not take effect).
For example, CPUs 4 and 5 among the six CPUs are offline if CPUs 0 to 3 are online.
14 Run the following command repeatedly to make all the offline CPUs online one by one:
echo 1 > /sys/devices/system/cpu/cpuTarget CPU number/online
For example, run the following command: echo 1 > /sys/devices/system/cpu/cpu5/
online
----End
Additional Information
Related Tasks
Related Concepts
Scenarios
On FusionCompute, configure the memory hot add policy for a VM in the Stopped state.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped state.
l The Tools (2.1.0.3 or later) has been installed on the VM.
l Table 2-5 lists all VM operating systems (OSs) that support memory hot add. The
support for memory hot add is disabled for VMs running some of the OSs by default. To
use the memory hot add function, you must enable the support on the host on which the
VMs are running. For details about how to enable the support, see the procedure below.
Oracle Linux Server No. You must Only Oracle Linux Server
release 5.7 manually release 5.7 that uses the Red
make memory Hat compatible Kernel
hot add take 2.6.18-274.el5 kernel supports
effect. memory hot add.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Configure the memory hot add policy for a VM.
4 Click the name of the target VM.
The Summary page is displayed.
5 Click Memory/CPU hot add on the Options page.
The Memory/CPU hot add page is displayed.
6 Select a memory hot add policy.
Memory hot add policies include:
– Disable: Memory resource control policy modification takes effect immediately.
Memory size modification takes effect after the VM restarts.
– Enable memory hot add: The operations performed to increase memory size take
effect without VM restart. The VM needs to be restarted for the operation
performed to reduce the memory size to take effect.
NOTE
You can also configure the CPU host add policy for the VM. For details, see Configuring the
CPU Hot Add Policy for a VM.
7 Click OK.
A dialog box is displayed.
8 Click OK.
The memory hot add policy of the VM is configured. You can view the task progress on
the Task Tracing page.
Modify the VM OS.
NOTE
Memory hot add can be enabled for some VM Linux OSs only after the OSs are modified. Skip this task
if your VM OS does not need modification.
16 Press Esc and enter :wq to save the configuration and exit the vi editor.
17 Restart the VM.
No further action is required.
18 Locate the row that contains the VM to which an ISO file is to be mounted, click Log in
using VNC.
The VM desktop is displayed.
26 Locate the row that contains the VM to which an ISO file is to be mounted, click Log in
using VNC.
The VM desktop is displayed.
27 Log in to the VM using VNC as user root.
28 Determine whether to make hot added memory resources online in batches.
– If yes, go to 29.
– If no, go to 30.
29 Run the following command to make hot added memory resources online in batches:
sh /etc/.uvp-monitor/mem_online.sh
After this step, no further action is required.
30 Run the following command to check the memory status and then make a note of the IDs
of the memory modules in the offline state:
grep line /sys/devices/system/memory/*/state
31 Run the following command to make the memory modules online one by one:
echo online > /sys/devices/system/memory/memoryIDs of a memory module in the
offline state/state
For example, run the echo online > /sys/devices/system/memory/memory17/state
command.
----End
Scenarios
Enable or disable memory swapping for a VM. After memory swapping is disabled for a VM,
the disk space reserved for the swap partition is released.
If the storage space for the VM is insufficient, disable memory swapping. If a data store has
free space, enable memory swapping and create the disk containing a swap partition on the
data store.
A VM with memory swapping disabled cannot be hibernated and does not support memory
overcommitment.
Memory swapping is enabled by default. You are advised to use the default settings.
NOTE
A swap partition is created on a data store and stores memory data, thereby providing a space for
memory swapping on a VM. The partition functions include:
l When a VM is in the Hibernated state, all memory data is written on the swap partition, which
can be used to rapidly restore memory data when the VM wakes up.
l On a host that has memory overcommitment enabled, if the host processes excessive host memory
workload, the VM memory swapped will be sent to the swap partition to implement the memory
overcommitment function.
During VM creation, if memory swapping is enabled, the system automatically creates a swap partition
on the data store where the VM system disk is created. The swap partition size (GB) can be calculated
according to the following formula: Swap partition size = Roundup[(Memory size (GB) x 1024 + 128) x
11/10240]
For example, if the VM memory size is 4 GB, the swap partition size is 5 GB: (4 x 1024 + 128) x
11/10240 = 4.5 ≈ 5
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped state.
l The reserved memory set for Memory Resource Control is greater than or equal to the
VM memory size.
Procedure
l Disable memory swapping.
a. On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
b. Select VM in the navigation tree on the left, enter the search criteria on the VM
page, and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and
UUID.
c. (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
NOTE
The system automatically upgrades the VM only when Tools in running properly on the VM.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped or Running state.
l The VM has the Tools run properly on it.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Set the VM upgrade mode.
4 Click the name of the target VM.
The Summary page is displayed.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Stopped state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
NOTE
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Running, Stopped, or hibernated state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Configure the I/O upper limit for a disk.
4 Click the name of the target VM.
The Summary page is displayed.
5 Click Disk on the Hardware tab page.
The Disk page is displayed.
6 Locate the row that contains the target disk, click More, and select Set I/O Upper
Limit.
A dialog box is displayed.
7 Configure the following parameters to set the I/O upper limit for the disk:
– Max. read rate
– Max. write rate
– Max. read requests per second
– Max. write requests per second
8 Click OK.
Prerequisites
l You have logged in to the FusionCompute.
l The VM is in the Stopped state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Edit antivirus settings.
4 Click the name of the target VM.
Prerequisites
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
Prerequisites
l You have logged in to the FusionCompute.
l The VM is in the Stopped state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
----End
Scenarios
On the FusionCompute, set the VM boot firmware. The VM boot firmware can be Basic
Input/Output System (BIOS) or Unified Extensible Firmware Interface (UEFI). UEFI is
successor of BIOS.
NOTE
l After the VM boot firmware is set and an operating system (OS) is successfully installed for the
VM, the VM boot firmware cannot be changed. Otherwise, the VM OS fails to start.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l If the VM boot firmware is set to UEFI, the VM supports only the following OSs:
– Windows 8.1 64-bit
– Windows Server 2008 Enterprise R2 64-bit
– Red Hat Enterprise Linux 6.0, 6.1, 6.2, 6.3, and 6.4 64-bit
– Novell SUSE Linux Enterprise Server 11 (SP0, SP1, SP2, and SP3) 64-bit
– Ubuntu 12.04.2 server 64-bit
l If the boot firmware of a VM running the Linux OS is set to UEFI, you must specify the
boot file. Otherwise, the VM OS fails to start. For details, see A VM Running the
Linux OS Fails to Start After Its Boot Firmware Is Set to UEFI.
l If the boot firmware of a VM running the Windows 8.1 64-bit OS is set to UEFI, the VM
OS display resolution cannot be changed.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
----End
Scenarios
On FusionCompute, set the keyboard layout for Virtual Network Computing (VNC) login to a
VM. The setting takes effect immediately.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Set the VNC keyboard layout for a VM.
4 Locate the target VM and click its name.
The Summary page is displayed.
5 On the Options page, click VNC Keyboard Settings.
The VNC Keyboard Settings page is displayed.
6 Select a VNC keyboard layout for the VM.
7 Click OK.
A dialog box is displayed.
8 Click OK.
The VNC keyboard layout is successfully set for the VM. You can view the task progress
on the Task Tracing page.
----End
3 VM Reclamation
3.1 Deleting a VM
3.1 Deleting a VM
Scenarios
On the FusionCompute, delete a VM that is no longer used so that the system can reclaim the
resources occupied by the VM. After the VM is deleted, the system automatically deletes the
snapshots of the VM.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The state of the VM to be deleted is Running, Stopped, Recycling, or Hibernated.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Delete a VM.
4 Select a deletion mode.
– To safely delete the VM, choose More > Safe delete.
– To delete the VM in common mode, choose More > Delete.
NOTE
– Safe delete: Overwrites all data on the VM disks to ensure that the deleted data is not
recoverable. This mode is secure, but the deletion process takes a longer time and consumes
more system resources.
– Delete: Wipes out a disk by destroying the file system on the disk. The deletion process in
this mode takes a shorter time but allows data recovery using the information that survived
the wipe-out. Therefore, this deletion mode is insecure.
A dialog box is displayed.
5 Set the deletion mode.
4 VM Operation Management
4.1 Starting/Waking Up a VM
4.2 Hibernating a VM
4.3 Stopping a VM
4.4 Restarting a VM
4.5 Migrating a VM
4.6 Migrating a Whole VM
4.7 Restoring a VM
4.8 Configuring Object Rights
4.9 Logging In to a VM Using VNC
4.10 Binding a VM to a Host
4.11 Unbinding a VM from a Host
4.12 Querying the OS Type
4.13 Exporting the VM List
4.14 Configuring VM List Display Options
4.1 Starting/Waking Up a VM
Scenarios
On the FusionCompute, start or wake up a VM that is in the Stopped or Hibernated state.
NOTE
If a large number of VMs on a host start or stop concurrently, host workload will sharply increase,
resulting in adverse impact on other VMs on this host. Therefore, start or stop the VMs in batches.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The status of the VM to be started or woken up is Stopped or Hibernated.
l If the incompatible migration cluster (IMC) mode has been enabled for the cluster where
the VM is located, the VM CPU generation is earlier than or equal to the IMC mode
configured for the cluster.
l The CPU generation of the host accommodating the VM to be woken up must be later
than or equal to that of the host where the VM is running when the VM is hibernated.
Otherwise, the VM hibernation fails.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Start or wake up a VM.
4 Locate the row that contains the VM to be started or woken up, click Start.
NOTE
If Start is not available for a stopped VM, go to the task center to view whether a task related to
template deployment has not finished. If so, start the VM after the task is complete.
A dialog box is displayed.
5 Click OK.
A dialog box is displayed.
6 Click OK.
The VM is started or woken up when its state changes to running.
NOTE
----End
4.2 Hibernating a VM
Scenarios
On the FusionCompute, hibernate a VM that is not in use to release the occupied system
resources. After a VM is hibernated, the memory status of the VM is saved as a file in the
disk. Once a hibernated VM is woken up, the system reloads the VM and restores its memory
status based on the saved file.
Some operating systems (OSs) do not support VM hibernation. For details, see Supported
OSs.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Running state.
l The VM has the Tools run properly on it.
l Memory swapping has been enabled for the VM. For details about how to enable the
memory swapping function, see Enabling or Disabling Memory Swapping.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Hibernate a VM.
4 Locate the row that contains the VM to be hibernated, click More, and select Hibernate.
A dialog box is displayed.
5 Click OK.
A dialog box is displayed.
6 Click OK.
The VM is hibernated when its state changes to Hibernated.
NOTE
----End
4.3 Stopping a VM
Scenarios
On the FusionCompute, stop the VM that is not used to release the occupied system
resources.
l To safely stop a VM, the VM must be in the Running state and the Tools on the VM is
running properly.
l To forcibly stop a VM, the VM must be in the Running, Stopping, Restarting,
Hibernated, or Resuming state.
NOTE
If a large number of VMs on a host start or stop concurrently, host workload will sharply increase,
resulting in adverse impact on other VMs on this host. Therefore, start or stop the VMs in batches.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l To safely stop a VM, the VM must be in the Running state and the Tools on the VM is
running properly.
l To forcibly stop a VM, the VM must be in the Running, Stopping, Restarting,
Hibernated, or Resuming state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
– Safely stop: Stops a VM by stopping its operating system (OS). This mode automatically
saves data and is secure. However, it takes a long time for the VM to stop in this mode.
Therefore, select this mode when the VM runs properly.
– Forcibly stop: Stops a VM forcibly. This operation may damage data in the VM disk.
Therefore, select this mode only when the VM OS is abnormal and the VM cannot be safely
stopped.
A dialog box is displayed.
5 Click OK.
A dialog box is displayed.
6 Click OK.
The VM is stopped when its state changes to Stopped.
NOTE
If a task of safely stopping a VM cannot be successfully executed after a long period of time, a
VM OS fault may occurs. You can log in to the VM using Virtual Network Computing (VNC) to
check the failure cause, or forcibly stop the VM.
----End
4.4 Restarting a VM
Scenarios
On the FusionCompute, restart a VM when faults occur, for example, the VM responds
slowly to user's operations or users cannot log in to the VM.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Running state.
l The VM has a Tools run properly on it before the safe restart.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Select a restart mode.
4 Select a restart mode.
– If Safely restart is selected, go to 5.
– If Forcibly restart is selected, go to 8.
NOTE
– Safely restart: Restarts a VM by restarting its operating system (OS). A restart in this mode
automatically saves data and is secure, but takes a long time. Therefore, select this mode
when the VM runs properly.
– Forcibly restart: Restarts a VM forcibly. Select this mode when the VM OS is faulty.
Safely restart a VM.
5 Locate the row that contains the VM to be restarted, click More, and select Restart.
A dialog box is displayed.
6 Click OK.
A dialog box is displayed.
7 Click OK.
The VM is restarted when its state changes to Running.
NOTE
You can view the task progress on the Task Tracing page.
----End
4.5 Migrating a VM
Scenarios
VM migration refers to the process that a running VM is moved from one host to another host
without service interruption.
If the service load is over light or heavy on the host where the VMs run or the host is faulty,
migrate the VMs to ensure that they work properly.
l If the service load is too heavy on the host or the host is faulty, migrate the VMs to
another host to prevent service interruption due to a host exception.
l If the service load is too light on multiple hosts, migrate the VMs to a small number of
hosts to consolidate host resources and then power off the idle hosts. This improves
resource utilization and reduces power consumption.
For details about requirements on VM migration, see VM Migration Requirements.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Running state.
l The VM has the Tools run properly on it.
l No GPU and USB device are attached to the VM.
l You have obtained the name of the host to which the VM is to be migrated.
l If the CPU generations of the source host and destination host are different, enable the
incompatible migration cluster (IMC) function for the cluster. For details, see Cluster
Management > Configuring the IMC Function for a Cluster in the FusionCompute
V100R005C10 Host and Cluster Management Guide.
l If the VM needs to be migrated to a host in another cluster, the memory overcommitment
settings of the clusters housing the source host and destination host must be the same. To
check the memory overcommitment settings of a cluster, click the cluster name on the
Computing Pool page and then click Summary.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
– You can select Change data storage to migrate disks of a VM. For details, see Migrating
Disks of VMs in the FusionCompute V100R005C10 Storage Management Guide.
– You can select Change host and data storeto migrate a running VM from a host to another
host and migrate disks on the VM from a data store to another data store, see Migrating a
Whole VM in the FusionCompute V100R005C10 Virtual Machine Management Guide.
6 Click Next.
7 Select the host to which the VM is migrated.
8 If you want to bind the VM to the host, select Bind to the selected destination host.
9 Click Migrate.
A dialog box is displayed.
10 Click OK.
A dialog box is displayed.
11 Click OK.
The VM is migrated to the destination host when its state changes to Running.
You can view the task progress on the Task Tracing page.
NOTE
If VM migration fails, the possible causes are:
– The communication between the source and destination hosts is interrupted or faulty.
– The VM disk is not accessible from the destination host.
– The destination host is faulty, restarted, or has entered maintenance mode.
– The CPU models on the source and destination hosts are not compatible.
– The BIOS configuration items of the source and destination hosts are not consistent. For
example, the Advanced Processor parameters on the Advanced page of the source and
destination hosts are not consistent.
Locate the fault based on the preceding causes. If the fault locating fails, migrate the VM to anther
host.
----End
If VM disks are on a data store from a virtualized local hard disk or virtualized SAN storage
and the data store is not associated with the destination host, you can migrate the whole VM.
It is recommended that you select Change data store to live migrate VMs that use shared
storage, which takes a short time.
NOTE
Declaration: This feature is a high-risk feature. Using this feature complies with industry practices. However,
end user data may be required for implementing the feature. Exercise caution and obtain end user's consent
when using this feature.
Migration of a whole VM changes the location where VM disks are placed. Therefore, if VM disks store user
data, migrate the VM after you have obtained users' consent.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Running state.
l The VM has the Tools run properly on it.
l No GPU and USB devices are attached to the VM.
l You have obtained the name of the destination host to which the VM is to be migrated.
l If the CPU generations of the source host and destination host are different, enable the
incompatible migration cluster (IMC) function for the cluster. For details, see Cluster
Management > Configuring the IMC Function for a Cluster in the FusionCompute
V100R005C10 Host and Cluster Management Guide.
l If the VM needs to be migrated to a host in another cluster, the memory overcommitment
settings of the clusters accommodating the source and destination hosts must be the
same. To check the memory overcommitment settings of a cluster, click the cluster name
on the Computing Pool page and then click Summary.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
10 Select Migrate all disks or Migrate disk one by one based on the site requirements.
– Migrate all disks: migrates all disks on the VM.
– Migrate disk one by one: migrates only the selected one or more VM disks.
11 Perform the required operation based on the selected migration mode.
– If you select Migrate all disks, go to 12.
– If you select Migrate disk one by one, go to 15.
12 Click View Disk List to check whether the VM disks support migration.
The list displays the causes for the disks that do not support migration.
13 Select the destination data store, and set Migration rate.
The value of Migration rate can be:
– Quick: The system resource usage is high if this option is selected. Select this value
if the service load is light.
– Medium: The system resource usage is low if this option is selected.
14 To change the configuration mode of the destination disk, locate the row that contains
the disk in the Select destination configuration mode area, click Destination
Configuration Mode, and select the desired configuration mode.
– Common: The system allocates disk space based on the disk capacity. During disk
creation in this mode, data remaining on the physical device will be reset to 0. The
performance of disks in this mode is better than that in the other two modes, but the
creation duration may be longer than that required in the other modes.
It is recommended that VM system disks use this configuration mode.
– Thin provisioning: In this mode, the system allocates part of the configured disk
capacity for the first time, and allocates the rest disk capacity based on the storage
usage of the disk until all the configured disk capacity is allocated.
NOTE
In this mode, data store overcommitment may occur. Therefore, you are advised to set the
overcommitment ratio to lower than or equal to 50%. The overcommitment ratio is
determined by the ratio of Allocated Capacity to Total Capacity.
– Thick provisioning lazy zeroed: The system allocates disk spaces based on the
disk capacity. However, data remaining on the physical device is zeroed out only on
first data write from the VM as required. In this mode, the disk creation speed is
faster than that of in the Common mode, and the I/O performance is medium
between that of in the Common and Thin provisioning modes.
This mode is supported only when the data store is created on virtualized local hard
disks or a virtualized SAN storage device.
After this step, go to 19.
15 Locate the row that contains the disk to be migrated, and click Select in the Destination
Data Store column.
A dialog box is displayed.
16 Select the destination data store, and click OK.
17 To change the configuration mode of the destination disk, select the desired
configuration mode from the Destination Configuration Mode drop-down list.
– Common: The system allocates disk space based on the disk capacity. During disk
creation in this mode, data remaining on the physical device will be reset to 0. The
performance of disks in this mode is better than that in the other two modes, but the
creation duration may be longer than that required in the other modes.
It is recommended that VM system disks use this configuration mode.
– Thin provisioning: In this mode, the system allocates part of the configured disk
capacity for the first time, and allocates the rest disk capacity based on the storage
usage of the disk until all the configured disk capacity is allocated.
NOTE
In this mode, data store overcommitment may occur. Therefore, you are advised to set the
overcommitment ratio to lower than or equal to 50%. The overcommitment ratio is
determined by the ratio of Allocated Capacity to Total Capacity.
– Thick provisioning lazy zeroed: The system allocates disk spaces based on the
disk capacity. However, data remaining on the physical device is zeroed out only on
first data write from the VM as required. In this mode, the disk creation speed is
faster than that of in the Common mode, and the I/O performance is medium
between that of in the Common and Thin provisioning modes.
This mode is supported only when the data store is created on virtualized local hard
disks or a virtualized SAN storage device.
18 Set Migration rate.
The value of Migration rate can be:
– Quick: The system resource usage is high if this option is selected. Select this value
if the service load is light.
– Medium: The system resource usage is low if this option is selected.
19 Click Migrate.
A message is displayed, indicating that the VM migration task has been submitted
successfully.
The migration task starts. You can click Query Task to view the migration progress.
To cancel a migration task, locate the row that contains the task, and click Cancel. After
a task for migrating multiple disks is canceled, the migrated disks are in the destination
location, and the disks that are not migrated or are being migrated are in the source
location.
If the selected disks have been attached to a VM, some disks cannot be migrated if the
in-progress migration task is canceled. If such a case occurs, the VM can be used as
normal, but some disks on the destination data store, such as a swap partition, may not be
displayed on the system portal. Therefore, when you query information about this data
store at this time on the system portal, VM information can be displayed but disk
information cannot be displayed. To migrate the invisible disks from this data store to
other data stores, you need to migrate all disks on the VM to other data stores first.
NOTE
If VM migration fails, the possible causes are:
– The network communication between the source and destination hosts is interrupted.
– The VM disk is not accessible from the destination host.
– The destination host is faulty, is being restarted, or has entered maintenance mode.
– The CPU models on the source and destination hosts are incompatible.
– The BIOS settings of the source and destination hosts are inconsistent. For example, the
Advanced parameters on the Advanced Processor page of the source and destination hosts
are inconsistent.
Locate the fault based on the preceding causes. If the fault locating fails, migrate the VM to anther
host.
----End
4.7 Restoring a VM
Scenarios
In the specified deletion delay period, manually restore a VM that is marked to be deleted in
delayed deletion mode.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Recycling state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
----End
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is not a Virtualization Resource Management (VRM) VM or a graphics
processing unit (GPU) VM.
NOTE
You cannot configure object rights for and perform the following operations on the VRM VMs:
Restarting, forcibly restart. stopping. forcibly stopping, migrating, cloning VM, creating snapshot,
attaching disk, deleting, safely deleting, and exporting VM
Procedure
Configure object rights for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
10 (Optional) On the VM Template page, click Advanced on the top of the VM list and
enter or select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host and Status.
11 Locate the row that contains the target VM template and choose More > Configure
Object Rights.
A dialog box is displayed, as shown in Figure 4-3.
----End
The VM must be in the Running, Migrating, Hibernating, or Stopping state and has no
GPU attached.
NOTE
l If an administrator has logged in to a user VM using VNC, the VM user cannot log in to the VM.
l Declaration: This feature is a high-risk feature. Using this feature complies with industry
practices. However, end user data may be required for implementing the feature. Exercise caution
and obtain end user's consent when using this feature.
This operation involves VM user privacy issues. Ensure that your login complies with local laws.
l If operations have been performed to power cycle a VM after you log in to the VM using noVNC,
the noVNC window cannot be automatically reconnected after the VM power cycling. Therefore,
you must close the noVNC window and log in to the VM using noVNC again after the VM is
successfully power cycled.
l If the login fails, see VNC Login Troubleshooting.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Running, Migrating, Hibernating, or Stopping state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Log in to a VM using VNC.
4 Locate the row that contains the VM name and click Log in using VNC.
The VNC login page is displayed.
You can log in to a VM using noVNC or TightVNC. The TightVNC is dependent on the
Java (TM) plug-in, while the noVNC is independent from the Java (TM) plug-in.
Therefore, noVNC does not support operations related to the Java (TM) plug-in, such as
mounting a CD/DVD-ROM drive or ISO image to a VM or forcibly restarting or
stopping a VM in the VNC window.
Before you use Java (TM) plug-in, ensure that the bit version of the browser matches that
of the Java plug-in. For example, a 32-bit browser supports only a 32-bit Java plug-in.
The following browsers support noVNC:
To ensure security, disable SSL 3.0 for the browser if you log in to the VM using noVNC.
For example, if the browser is Internet Explorer, choose Internet Options > Advanced >
Security on the browser and deselect Use SSL 3.0.
During the first login using TightVNC:
– If a pop-up blocking message is displayed, click the message, select Always Allow Pop-ups
from This Site as prompted, and log in to the VM again using VNC.
– If the Warning-Security dialog box is displayed, select Always trust content from this
publisher, and click Run.
After you log in to a VM using VNC, the following operations cannot be performed:
– Lower the screen resolution and color quality settings on the VM.
– Press Ctrl or Alt on the keyboard.
You are advised to click Ctrl or Alt on the VNC toolbar.
– Press Ctrl+Alt+Del on the keyboard.
You are advised to click Send Ctrl-Alt-Del on the VNC toolbar to switch to the page for
entering the username and password.
----End
Prerequisites
Conditions
Procedure
Search for a VM.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
You can view the task progress on the Task Tracing page.
----End
Prerequisites
Conditions
l A VM has been bound to a host in a cluster.
l The VM to be unbound is in the Stopped or Running state.
l You have logged in to the FusionCompute.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
8 Click OK.
The VM is unbound from the host.
You can view the task progress on the Task Tracing page.
----End
Prerequisites
Conditions
You have logged in to the FusionCompute.
Procedure
Search for a VM.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
----End
Prerequisites
Conditions
You have logged in to the FusionCompute.
Procedure
a cluster or on a host, click Computing Pool and click after you click the cluster or
the host on the navigation tree, respectively.
3 Click OK and save the VM list as instructed.
The VM list is save as an .xls file named in the format of VMs+Time+Digits.xls.
----End
Prerequisites
Conditions
You have logged in to the FusionCompute.
Procedure
2 On the VM page, click on the top of the VM list and click Display Options in the
displayed dialog box.
A dialog box is displayed.
5 Template Management
Prerequisites
Conditions
l The VM that is used to create a VM template is in the Stopped state.
l You have logged in to the FusionCompute.
Procedure
Select the creation method for the VM template.
1 Select the creation method based on site requirements.
– If you want to convert a VM to a VM template, go to 2.
– If you want to clone a VM or VM template to a VM template, go to 7.
NOTE
– VM to template conversion
Convert a VM to a VM template. All parameters of the template are from the VM. The VM is
unavailable after the converting is complete.
– VM to template cloning
Clone a VM to a VM template. Some parameters can be modified so that they are different
from that of the VM. The VM is still available after the cloning is complete.
– Template to template cloning
Clone a VM template to a new VM template. Some parameters can be modified so that they
are different from that of the original VM template. The VM template is still available after the
cloning is complete.
Convert a VM to a VM template.
2 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
6 Click OK.
Clone a VM template or VM to VM template.
7 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
8 Ensure that the VM meets the requirements for creating a template.
– If the VM runs the Windows OS, configure the VM security identifier (SID),
specifications attribute customization, and kernel memory dump function. For
details, see Configuring the VM SID Customization, Configuring Specifications
Attribute Customization for a Windows VM, and Enabling the Windows
Kernel Memory Dump Function.
Configuring the VM SID Customization: Windows VMs can be added to a
Windows domain only when their SIDs are different. Therefore, before converting a
Windows VM to a template, configure its SID to differentiate the VM from others.
During the SID configuration, enable the template that is to be converted from the
VM to support VM specifications attribute customization, that is, VMs created
using the template can use custom specifications, such as computer names,
passwords, and IP addresses, and to allow VMs created using the template to
generate a random password for initial login.
Configuring Specifications Attribute Customization for a Windows VM: Enable the
template that is to be converted from the VM to support VM specifications attribute
customization, that is, VMs created using the template can use custom
specifications, such as computer names, passwords, and IP addresses, and to allow
VMs created using the template to generate a random password for initial login.
To prevent network exceptions caused by the VM created using a template, you are
advised to set the VM to obtain its IP address using DHCP. To make the VM use a
static IP address, manually change its IP address after the VM is created.
– If the VM runs the Linux OS, configure the VM random passwords and NICs. For
details, see Configuring Specifications Attribute Customization for a Linux VM
and Configuring Linux VM Network Attributes.
Configuring Specifications Attribute Customization for a Linux VM: Enable the
template that is to be converted from the VM to support VM specifications attribute
customization, that is, VMs created using the template can use custom
specifications, such as computer names, passwords, and IP addresses, and to allow
VMs created using the template to generate a random password for initial login.
Configuring Linux VM NICs: Configure the VM NICs for a Linux VM in the
following scenarios before converting the VM to a template:
n The created VMs require manual IP address configuration, and the VM runs a
Red Flag operating system (OS).
n The created VMs automatically obtain IP addresses using the Dynamic Host
Configuration Protocol (DHCP), and the VM runs the Linux OS. This
configuration, including activating NIC and enabling DHCP service, enables
the created VMs to access networks and automatically obtain dynamic IP
addresses.
NOTE
If the file system of Linux VMs has been encrypted, for example, system encryption is
selected during NeoKylin OS installation, templates created using the Linux VMs do not
support Customize using the Customization Wizard and Customize using an existing
VM attribute profile during VM creation using the templates.
9 Locate the row that contains the template or VM to be cloned to a VM template, choose
More, and click Clone as template.
The Location page is displayed, as shown in Figure 5-1.
.
10 Choose the creation location for the VM template.
If a VM is attached to a host, the VM can only run on this host and cannot be migrated to
another host. To determine whether to reserve resources in the host for the VM, select
one of the following based on site requirements:
– Do not reserve resources for the VM: specifies that the host reserves computing
resources for the VM only when this VM is in the running state.
– Permanently reserve resources for the VM: specifies that the host reserves
computing resource for the VM even when this VM is stopper or hibernated.
11 To attach a GPU to the VM, select Attach GPU in Advanced Settings, and select the
GPU to be attached.
If a GPU is attached to a VM, the VM is automatically attached to the host providing the
VM and the GPU. The VM can be migrated to another host only after the GPU is
detached from the VM.
12 To attach a USB device to the VM, select Attach USB device in Advanced Settings,
and select the USB device to be attached.
VM is twice that of another VM, this VM has priority to use twice the CPU
resources as the other VM.
– CPU Reserved (MHz): Specifies the minimum computing capability of the VM. For
example, if the VM has one CPU and Reserved (MHz) is set to 2000, the minimum
computing capability of the VM is 2000 MHz.
– CPU Limit (MHz): Specifies the maximum computing capability of the VM. For
example, if the VM has one CPU and Limit (MHz) is set to 2000, the maximum
computing capability of the VM is 2000 MHz.
– Memory Quota: Specifies the memory weight a VM can obtain in resource
contention. The quota indicates the relative priority of a VM. For example, if the
memory quota of a VM is twice that of another VM, this VM has priority to use
twice the memory resources as the other VM.
– Memory Reserved (MB): Specifies the minimum physical memory resources of the
VM. If Reserved (MB) is set to 0, the system reserves the minimum required
memory resources for the VM.
17 Configure the other attributes of the VM.
– HA: Specifies whether to enable the HA function. The HA feature allows VMs to
migrate to another host if the current host is faulty. If the VM is bound to a host, it
cannot be migrated, and will automatically start after the host runs properly.
– Clock synchronization policy: If Synchronize with host clock is selected, the VM
periodically synchronizes time with the host. If no, the user can set the VM time.
– Policy for handling blue screen of death (BSOD): Specifies the policy used when
the BSOD occurs.
– VNC keyboard settings:Specifies the keyboard used for VNC login.
– CPU hot add (This parameter is available only when the OS meets the requirements
for CPU hot add.):
n Disable: CPU resource control policy modification takes effect immediately.
CPU quantity modification takes effect after the VM restarts.
n Enable CPU hot add: The operations performed to add CPUs, adjust CPU
resource control policies take effect without VM restart. The VM needs to be
restarted for the operation performed to reduce the number of CPUs to take
effect.
– Memory hot add(This parameter is available only when the OS meets the
requirements for memory hot add.):
n Disable: Memory resource control policy modification takes effect
immediately. Memory size modification takes effect after the VM restarts.
n Enable memory hot add: The operations performed to increase memory size
take effect without VM restart. The VM needs to be restarted for the operation
performed to reduce the memory size to take effect.
18 Configure the advanced attributes of the VM.
– Swap partition: Swap partition is used when a VM is hibernated or the VM is
configured with memory overcommitment. If the memory swapping is disabled,
space in the swap partition is released. Therefore, the VM cannot be hibernated and
memory overcommitment function cannot be used.
– Upgrade mode:
n Automatic: After the system pushes a virtualization software upgrade package
to a VM, the VM automatically installs the software.
20 Configure the distributed switch and port group for each NIC.
The NIC properties are determined by the port group on the distributed switch to which
the NIC connects.
21 Configure the following attributes for each disk:
– Data storage:
n The Thin provisioning mode can be selected only when virtual storage is
deployed.
n If the data store is set to RDM, the disk created using the data store cannot be
used as a system disk.
– Configuration mode:
n Common: The system allocates disk space based on the disk capacity. During
disk creation in this mode, data remaining on the physical device will be reset
to 0. The performance of the disks in this mode is better than that in the other
two modes, but the creation duration may be longer than that required in the
other modes.
It is recommended that system disks use this configuration mode.
n Thin provisioning: In this mode, the system allocates part of the configured
disk capacity for the first time, and allocates the rest disk capacity based on the
storage usage of the disk until all the configured disk capacity is allocated.
NOTE
In this mode, data store overcommitment may occur. Therefore, you are advised to set
the overcommitment ratio to lower than or equal to 50%. The overcommitment ratio is
determined by the ratio of Allocated Capacity to Total Capacity.
If the data store type is FusionStorage or Local RAM Disk, only this mode is
available. If the data store type is Local or SAN, this mode is unavailable.
n Thick provisioning lazy zeroed: The system allocates disk spaces based on
the disk capacity. However, data remaining on the physical device is zeroed
out only on first data write from the VM as required. In this mode, the disk
creation speed is faster than that of in the Ordinary mode, and the I/O
performance is medium between that of in the Ordinary and Thin
provisioning modes.
This mode is supported only when the data store is of the Local VIMS or
VIMS type.
– Affected by Snapshot:
Value:
n Taken into snapshots
n Not taken into snapshots
After Not taken into snapshots is selected, the disk data will not be backed up
when a snapshot is taken for the VM and will not be restored after the VM is
restored using a snapshot.
n If a snapshot is taken for a VM, and disks on the VM are detached from the
VM and not attached to any other VM, the disks will be attached to the VM
after the VM is restored using the snapshot. However, data on the disks will
not be restored.
n If a snapshot is taken for a VM and disks on the VM are deleted, the disks will
not appear on the VM after the VM is restored using the snapshot.
Be aware of the following configuration restrictions:
n When the data store type is SAN, Local, or Local RAM Disk, a snapshot
cannot be created for the disk being created. Therefore, the disk will not be
affected by snapshots and this parameter is unavailable by default.
n When the data store type is Local VIMS, VIMS, NAS, Advanced SAN, or
FusionStorage and the disk type is Sharing, a snapshot cannot be created for
the disk being created. Therefore, the disk will not be affected by snapshots.
– Persistency:
Value range:
n Persistent: All operations on the disk will be recorded in the disk.
n Nonpersistent: All operations on disks will not be recorded in the disk, but in
a cache file stored in the data store as the disk. All operation records will be
lost after the VM stops.
Be aware of the following configuration restriction:
A disk can be set to Nonpersistent only when its disk type is Ordinary and the
data store type is Local VIMS, VIMS, NAS or Local RAM Disk.
22 Click Next.
The Confirm page is displayed. Verify that the information about the VM to be created
is correct.
23 Click Finish.
The VM template creation starts.
24 Click click here in the Information dialog box.
You can view the creation process on the Task Center page.
After the template is created, you can view this template in the following positions:
– VM tab page: displays all VMs and templates.
– Navigation tree: displays the last 20 VMs and templates that were queried.
----End
Before exporting a running VM as a VM template, ensure that the VM does not contain disks
whose attribute is Not taken into snapshots and that the VM disks are created on virtualized
data stores, including data stores converted from virtualized local disks, virtualized storage
area network (SAN) storage devices, and network attached storage (NAS) storage devices.
If a stopped VM has disks created on a non-virtualized data store, before exporting the VM as
a VM template, ensure that the VM has no snapshots.
NOTE
Declaration: This feature is a high-risk feature. Using this feature complies with industry practices.
However, end user data may be required for implementing the feature. Exercise caution and obtain end
user's consent when using this feature.
After the VM template is exported, the template can be imported into the system again and used to
create a VM that inherits all its data. If the end user data is involved, obtain end user's consent before
you export the VM template.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l You have shared the read and write permission on the directory to which the template is
to be exported with the user of the local PC or remote server. The share name is the same
as the name of the directory containing the template to be exported.
l You have disabled the firewall on the local PC.
Procedure
Search for a template or a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
– CIFS: The protocol used when you export the template to a local PC or a remote
server.
– NFS: The protocol used when you export the template to the NFS server.
8 Set the following parameters about the template to be exported:
– Name
– Folder: The format of the directory is \\IP address of the shared server\Name of
the folder to which the template to be exported.
– Username and Password:
n Only a shared server that runs the Windows XP SP1 OS supports logins
without passwords.
n If a user account is registered in multiple domains, add the domain name in
front of the username. For example, enter Domain\w00123456.
NOTE
This account is used only for accessing the shared directory. To ensure system security, you
are advised to use the username and password that can access only the shared directory.
If you switch to the page for the first time, the template selection module needs loading.
Therefore, allow the plug-in to run in the displayed Java information dialog box.
NOTE
The VM template is transferred between the local PC and a host using the Hypertext Transfer
Protocol (HTTP), which provides low security. Therefore, exercise caution when importing or
exporting a VM template.
10 Set the following parameters about the template to be exported:
– Name
– Folder: Click Browse and select a local folder in the displayed dialog box to export
the template.
– The template is exported as an OVA or OVF file.
11 If the template is to be exported to the image server, and a template with the same name
is stored on the image server, select Overwrite existing template to export the new
template to the image server.
After the new template overwrites the existing template on the image server, the
registration is not required.
12 Click OK.
A dialog box is displayed.
13 Click OK.
You can view the task progress on the Task Tracing page.
NOTE
A VM template can be in OVA or OVF format. A VM template in OVA format contains only one
OVA file. A VM template in OVF format consists of one OVF file and multiple VHD files.
– OVF file: provides the description information about the VM. The file name is the same as
the VM template, for example, template01.xml.
– VHD file: VM disk file. A VM disk file is generated for each VM disk. The file name format
is template name-Disk slot number.vhd, for example, template01-1.vhd.
----End
A VM template can be in OVA or OVF format. A VM template in OVA format contains only
one OVA file. A VM template in OVF format consists of one OVF file and multiple VHD
files.
l OVF file: provides the description information about the VM. The file name is the same
as the VM template, for example, template01.xml.
l VHD file: VM disk file. A VM disk file is generated for each VM disk. The file name
format is template name-Disk slot number.vhd, for example, template01-1.vhd.
If the template fails to import, see Common Faults for Importing or Export a VM or VM
Template.
Prerequisites
Conditions
l All tasks required in the software commissioning phase are complete, and the computing,
storage, and network resources are available.
l You have obtained and shared the VM template file, and the VM template file is
accessible to the FusionCompute. The shared name is the same as the name of the folder
in which the template file is stored.
l The firewall on the maintenance terminal is disabled.
l You have logged in to the FusionCompute.
Procedure
Select the template source.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Click Import Template.
The Select Import Source page is displayed.
3 Select the template source.
– To import the template from a shared directory, go to 4.
Before importing the template from a shared directory, share the folder that contains
VM template on the local PC or network device to the current host user, so that the
host can access the template using the network address, and authenticate the
template using the username and password.
– To import the template from the local PC, go to 6.
Before importing the template from the local PC, ensure the VM template is stored
on the local PC.
– To import template from a network server, go to 8.
Before importing from a network server, ensure that the VM template is stored on a
network server that supports HTTP so that the host can access the template using
the HTTP address without authentication.
Configure the importing information about the VM template in a shared directory.
4 Select Shared directory, and click Next.
The Import Template page is displayed, as shown in Figure 5-4.
If you switch to the page for the first time, the template selection module needs loading.
Therefore, allow the plug-in to run in the displayed Java information dialog box.
NOTE
The VM template is transferred between the local PC and a host using the Hypertext Transfer
Protocol (HTTP), which provides low security. Therefore, exercise caution when importing or
exporting a VM template.
7 Click Browse and select the OVF or OVA file in the displayed dialog box.
The NIC properties are determined by the port group on the distributed switch to which
the NIC connects.
13 Configure the following attributes for each disk:
– Data storage:
n The Thin provisioning mode can be selected only when virtual storage is
deployed.
n If the data store is set to RDM, the disk created using the data store cannot be
used as a system disk.
– Configuration mode:
n Common: The system allocates disk space based on the disk capacity. During
disk creation in this mode, data remaining on the physical device will be reset
to 0. The performance of the disks in this mode is better than that in the other
two modes, but the creation duration may be longer than that required in the
other modes.
It is recommended that system disks use this configuration mode.
n Thin provisioning: In this mode, the system allocates part of the configured
disk capacity for the first time, and allocates the rest disk capacity based on the
storage usage of the disk until all the configured disk capacity is allocated.
NOTE
In this mode, data store overcommitment may occur. Therefore, you are advised to set
the overcommitment ratio to lower than or equal to 50%. The overcommitment ratio is
determined by the ratio of Allocated Capacity to Total Capacity.
If the data store type is FusionStorage or Local RAM Disk, only this mode is
available. If the data store type is Local or SAN, this mode is unavailable.
n Thick provisioning lazy zeroed: The system allocates disk spaces based on
the disk capacity. However, data remaining on the physical device is zeroed
out only on first data write from the VM as required. In this mode, the disk
creation speed is faster than that of in the Ordinary mode, and the I/O
performance is medium between that of in the Ordinary and Thin
provisioning modes.
This mode is supported only when the data store is of the Local VIMS or
VIMS type.
– Affected by Snapshot:
Value:
n Taken into snapshots
n Not taken into snapshots
After Not taken into snapshots is selected, the disk data will not be backed up
when a snapshot is taken for the VM and will not be restored after the VM is
restored using a snapshot.
n If a snapshot is taken for a VM, and disks on the VM are detached from the
VM and not attached to any other VM, the disks will be attached to the VM
after the VM is restored using the snapshot. However, data on the disks will
not be restored.
n If a snapshot is taken for a VM and disks on the VM are deleted, the disks will
not appear on the VM after the VM is restored using the snapshot.
Be aware of the following configuration restrictions:
n When the data store type is SAN, Local, or Local RAM Disk, a snapshot
cannot be created for the disk being created. Therefore, the disk will not be
affected by snapshots and this parameter is unavailable by default.
n When the data store type is Local VIMS, VIMS, NAS, Advanced SAN, or
FusionStorage and the disk type is Sharing, a snapshot cannot be created for
the disk being created. Therefore, the disk will not be affected by snapshots.
– Persistency:
Value range:
n Persistent: All operations on the disk will be recorded in the disk.
n Nonpersistent: All operations on disks will not be recorded in the disk, but in
a cache file stored in the data store as the disk. All operation records will be
lost after the VM stops.
Be aware of the following configuration restriction:
A disk can be set to Nonpersistent only when its disk type is Ordinary and the
data store type is Local VIMS, VIMS, NAS or Local RAM Disk.
14 Click Next.
The VM Attributes page is displayed, as shown in Figure 5-6.
VM attributes include the computer name, administrator password of the OS, and IP address.
If the VM attributes are not configured, the VM attributes remain identical to those of the VM
template. To customize VM attributes, the following operations are required for the VM
template:
l If the VM runs the Windows OS, configure the VM security identifier (SID),
specifications attribute customization, and kernel memory dump function. For details,
see Configuring the VM SID Customization, Configuring Specifications Attribute
Customization for a Windows VM, and Enabling the Windows Kernel Memory
Dump Function.
Configuring the VM SID Customization: Windows VMs can be added to a Windows
domain only when their SIDs are different. Therefore, before converting a Windows VM
to a template, configure its SID to differentiate the VM from others. During the SID
configuration, enable the template that is to be converted from the VM to support VM
specifications attribute customization, that is, VMs created using the template can use
custom specifications, such as computer names, passwords, and IP addresses, and to
allow VMs created using the template to generate a random password for initial login.
Configuring Specifications Attribute Customization for a Windows VM: Enable the
template that is to be converted from the VM to support VM specifications attribute
customization, that is, VMs created using the template can use custom specifications,
such as computer names, passwords, and IP addresses, and to allow VMs created using
the template to generate a random password for initial login.
To prevent network exceptions caused by the VM created using a template, you are
advised to set the VM to obtain its IP address using DHCP. To make the VM use a static
IP address, manually change its IP address after the VM is created.
l If the VM runs the Linux OS, configure the VM random passwords and NICs. For
details, see Configuring Specifications Attribute Customization for a Linux VM and
Configuring Linux VM Network Attributes.
Configuring Specifications Attribute Customization for a Linux VM: Enable the
template that is to be converted from the VM to support VM specifications attribute
customization, that is, VMs created using the template can use custom specifications,
such as computer names, passwords, and IP addresses, and to allow VMs created using
the template to generate a random password for initial login.
Configuring Linux VM NICs: Configure the VM NICs for a Linux VM in the following
scenarios before converting the VM to a template:
– The created VMs require manual IP address configuration, and the VM runs a Red
Flag operating system (OS).
– The created VMs automatically obtain IP addresses using the Dynamic Host
Configuration Protocol (DHCP), and the VM runs the Linux OS. This
configuration, including activating NIC and enabling DHCP service, enables the
created VMs to access networks and automatically obtain dynamic IP addresses.
NOTE
If the file system of Linux VMs has been encrypted, for example, system encryption is selected
during NeoKylin OS installation, templates created using the Linux VMs do not support
Customize using the Customization Wizard and Customize using an existing VM attribute
profile during VM creation using the templates.
20 Configure the VM attributes.
– Do not customize: The VM attributes remain identical to those of the VM template.
If this option is selected, go to 27.
– Customize using the Customization Wizard: The VM attributes are to be created
using the Customization Wizard. If this option is selected, go to 21.
If the VM runs the Ubuntu OS, the computer name cannot contain underscores (_).
Otherwise, the computer name configured here is invalid.
NOTICE
Computer names of VMs on the same network segment cannot be duplicate. Otherwise,
VMs using the same computer name may become unreachable.
If the VMs become unreachable due to name duplication, troubleshoot the problem by
following operations provided in Network Connection Fails After a VM Restarts in
the FusionCompute V100R005C10 Troubleshooting.
23 If the VM run the Windows OS, select a domain or a workgroup for the VM.
– If Workgroup is selected, enter the workgroup name.
– If Windows server domain is selected, enter the domain name, domain username,
and domain password.
24 If the VM attributes are created using the Customization Wizard, to save the attributes,
select Save as computer attributes and specify VM attribute name and Description.
25 Click Next.
The Configure NIC page is displayed.
26 Click the arrow on the left of IPv4 or IPv6, expand the configuration option, and
configure the IPv4 or IPv6 attribute as planned. You can configure both the IPv4 and
IPv6 attributes.
If Use the following IP address and Use the following DNS server addresses are
selected, configure the following parameters:
– IPv4
If Use the following IP address and Use the following DNS server addresses are
selected, configure the following parameters:
n IP address
n Subnet mask
n Default gateway
n Preferred DNS server
n Alternate DNS server
– IPv6
Can be set to Use DHCP service to automatically obtain IPv6 address, Use
router advertisement function to automatically obtain IPv6 address, or Use
static IPv6 address.
To use the IPv6 forwarding function, choose Network Pool > IPv6 forwarding
settings and enable this function.
If Use static IPv6 address and Manually enter DNS server address are selected,
configure the following parameters:
n IPv6 address
n Subnet prefix length
n Default gateway
n Preferred DNS server
n Alternate DNS server
NOTE
When setting specifications of a Windows VM that needs to be added to the Windows domain, you
must select Use the following DNS server addresses to set the DNS server to be a server in the
Windows domain and specify at least the preferred DNS server address. If multiple DNS servers exist
in the Windows domain, you are advised to specify both the preferred and alternate DNS server
addresses.
27 Click Next.
The Confirm page is displayed. Verify that the information about the VM to be created
is correct.
Create a VM template.
28 Click Create.
The template creation starts.
29 Click click here in the Information dialog box.
You can view the creation process on the Task Center page.
NOTE
If the local PC where the template is located runs the Windows 7 operating system (OS), an error
message "The CNA failed to connect to the shared directory" may be displayed due to the OS
settings. To address this problem, perform the following operations:
1. On the local PC, click Start, enter regedit in the search box, and press Enter.
2. Choose HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control >
Session Manager > Memory Management, and change the value of LargeSystemCache to
1.
3. Choose HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services >
LanmanServer > Parameters, and change the value of Size to 3.
4. Restart the local PC, and import the VM using the VM template again.
----End
Prerequisites
Conditions
You have logged in to the FusionCompute.
Procedure
Search for the VM template to be deleted.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Delete a VM template.
4 Select a deletion mode.
– If you select Safe delete, go to 5.
– If you select Delete, go to 10.
NOTE
– Safe delete: Overwrites all data on the VM disks to ensure that the deleted data is not
recoverable. This mode is secure, but the deletion process takes a longer time and consumes
more system resources.
– Delete: Wipes out a disk by destroying the file system on the disk. The deletion process in
this mode takes a shorter time but allows data recovery using the information that survived
the wipe-out. Therefore, this deletion mode is insecure.
Delete a template using the Safe delete mode.
5 Locate the row that contains the template to be deleted, click More, and select Safe
delete.
A dialog box is displayed.
6 Set the deletion mode.
– Delete now: In this mode, the template will be deleted without delay.
– Delete in Specified hours: In this mode, the VM template will be deleted after the
specified time interval concludes. During the time interval, the VM template turns
to the Recycling state and all resources for the template are reserved. You can
restore the template before the time interval concludes.
7 Enter the deletion delay if you select Delete in Specified hours.
The value range is 1 to 168.
8 Click OK.
A dialog box is displayed.
9 Click OK.
The template is deleted when its state changes to Deleted.
Delete a template in the Delete mode.
10 Locate the row that contains the template to be deleted, click More, and select Delete.
A dialog box is displayed.
11 Click OK.
A dialog box is displayed.
12 Click OK.
A dialog box is displayed.
13 Click OK.
You can view the task progress on the Task Tracing page.
----End
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM template is in the Recycling state.
Procedure
Search for the VM template.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
----End
Prerequisites
Conditions
You have logged in to the FusionCompute.
You have changed the value of mem_for_icache for domain 0 as planned. For details, see
Configuring Domain 0.
Procedure
Search for the VM template.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Configure the iCache function.
4 Click the VM template name.
The Summary page is displayed.
5 In the upper part of the page, click Operation and select Configure iCache.
The iCache Configuration page is displayed.
NOTE
If iCache is enabled on the host, the host cannot be selected.
6 In the host list, select a host to provide memory resources for the iCache function, and
click OK.
A dialog box is displayed.
7 Click OK.
The VM and Template page is displayed. You can view the iCache configuration
progress on the Task Center page.
----End
6 Specifications Management
NOTE
Among the operating systems (OSs) supported by the FusionCompute, the following OSs do not support
customized VM attributes:
l Windows 2000 Advanced Server SP4
l Windows 2000 Server SP4
Prerequisites
Conditions
You have logged in to the FusionCompute.
Procedure
Configure the basic information.
1 On the FusionCompute, choose VM and Template > Template and Specifications.
The Template and Specifications page is displayed.
2 Select VM Specifications, and click Create.
The Basic Information page is displayed.
3 Configure the following basic information:
– Target VM OS type
– VM attribute name
– Description
4 Click Next.
The Customize Attributes page is displayed, as shown in Figure 6-1.
If the VM runs the Ubuntu OS, the computer name cannot contain underscores (_).
Otherwise, the computer name configured here is invalid.
NOTICE
Computer names of VMs on the same network segment cannot be duplicate. Otherwise,
VMs using the same computer name may become unreachable.
If the VMs become unreachable due to name duplication, troubleshoot the problem by
following operations provided in Network Connection Fails After a VM Restarts in
the FusionCompute V100R005C10 Troubleshooting.
6 If the VM run the Windows OS, select a domain or a workgroup for the VM.
– If Workgroup is selected, enter the workgroup name.
– If Windows server domain is selected, enter the domain name, domain username,
and domain password.
7 Enter the number of NICs the VM uses.
8 Click Next.
The NIC Settings page is displayed.
Configure the NIC attributes.
9 Select the target NIC.
10 Click the arrow on the left of IPv4 or IPv6, expand the configuration option, and
configure the IPv4 or IPv6 attribute as planned. You can configure both the IPv4 and
IPv6 attributes.
If Use the following IP address and Use the following DNS server addresses are
selected, configure the following parameters:
– IPv4
If Use the following IP address and Use the following DNS server addresses are
selected, configure the following parameters:
n IP address
n Subnet mask
n Default gateway
n Preferred DNS server
n Alternate DNS server
– IPv6
Can be set to Use DHCP service to automatically obtain IPv6 address, Use
router advertisement function to automatically obtain IPv6 address, or Use
static IPv6 address.
To use the IPv6 forwarding function, choose Network Pool > IPv6 forwarding
settings and enable this function.
If Use static IPv6 address and Manually enter DNS server address are selected,
configure the following parameters:
n IPv6 address
n Subnet prefix length
n Default gateway
n Preferred DNS server
n Alternate DNS server
NOTE
When setting specifications of a Windows VM that needs to be added to the Windows domain, you
must select Use the following DNS server addresses to set the DNS server to be a server in the
Windows domain and specify at least the preferred DNS server address. If multiple DNS servers exist
in the Windows domain, you are advised to specify both the preferred and alternate DNS server
addresses.
11 Click Next.
The Confirm page is displayed.
Check the configured parameters.
12 Ensure all the information is correct, and click Finish.
A dialog box is displayed.
13 Click OK.
The VM attribute template is created.
----End
Configure the VM attributes as required and save them as a template, so that VMs to be
created can be set with the same attributes quickly. VM attributes include:
l Computer name
l Password
l IP address
l Default gateway
Prerequisites
Conditions
You have logged in to the FusionCompute.
Procedure
Configure the basic information.
1 On the FusionCompute, choose VM and Template > Template and Specifications.
The Template and Specifications page is displayed.
2 Click the VM Specifications page, locate the row that contain the template to be
modified, click Modify.
The Basic Information page is displayed.
3 Configure the following basic information:
– Target VM OS type
– VM attribute name
– Description
4 Click Next.
The Customize Attributes page is displayed, as shown in Figure 6-2.
If the VM runs the Ubuntu OS, the computer name cannot contain underscores (_).
Otherwise, the computer name configured here is invalid.
NOTICE
Computer names of VMs on the same network segment cannot be duplicate. Otherwise,
VMs using the same computer name may become unreachable.
If the VMs become unreachable due to name duplication, troubleshoot the problem by
following operations provided in Network Connection Fails After a VM Restarts in
the FusionCompute V100R005C10 Troubleshooting.
6 If the VM run the Windows OS, select a domain or a workgroup for the VM.
– If Workgroup is selected, enter the workgroup name.
– If Windows server domain is selected, enter the domain name, domain username,
and domain password.
7 Enter the number of NICs the VM uses.
8 Click Next.
The NIC Settings page is displayed.
Configure the NIC attributes.
9 Select the target NIC.
10 Click the arrow on the left of IPv4 or IPv6, expand the configuration option, and
configure the IPv4 or IPv6 attribute as planned. You can configure both the IPv4 and
IPv6 attributes.
If Use the following IP address and Use the following DNS server addresses are
selected, configure the following parameters:
– IPv4
If Use the following IP address and Use the following DNS server addresses are
selected, configure the following parameters:
n IP address
n Subnet mask
n Default gateway
n Preferred DNS server
n Alternate DNS server
– IPv6
Can be set to Use DHCP service to automatically obtain IPv6 address, Use
router advertisement function to automatically obtain IPv6 address, or Use
static IPv6 address.
To use the IPv6 forwarding function, choose Network Pool > IPv6 forwarding
settings and enable this function.
If Use static IPv6 address and Manually enter DNS server address are selected,
configure the following parameters:
n IPv6 address
n Subnet prefix length
n Default gateway
n Preferred DNS server
n Alternate DNS server
NOTE
When setting specifications of a Windows VM that needs to be added to the Windows domain, you
must select Use the following DNS server addresses to set the DNS server to be a server in the
Windows domain and specify at least the preferred DNS server address. If multiple DNS servers exist
in the Windows domain, you are advised to specify both the preferred and alternate DNS server
addresses.
11 Click Next.
The Confirm page is displayed.
Check the configured parameters.
12 Ensure all the information is correct, and click Finish.
A dialog box is displayed.
13 Click OK.
The VM attribute template is modified.
----End
Prerequisites
Conditions
You have logged in to the FusionCompute.
Procedure
4 Click OK.
The VM attribute template is deleted.
----End
7 Snapshot Management
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is running, stopped or hibernated.
l The VM has the Tools run properly on it.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Create a snapshot.
4 Locate the row that contains the target VM, click More, and select Create Snapshot.
A dialog box is displayed.
7 Click OK.
A dialog box is displayed.
If Create memory snapshot is selected, only memory data that is generated before you
click OK is saved in the snapshot.
8 Click OK.
A dialog box is displayed.
9 Click OK.
The snapshot is created.
You can view the task progress on the Task Tracing page.
You can click the VM name and view the task progress on the Snapshot page of VM
details.
NOTICE
If snapshot creation starts, wait for 1 minute and then perform another snapshot creation
operation. Otherwise, snapshot creation fails.
----End
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l A snapshot has been taken for the VM.
l The VM is in the Running, Stopped or Hibernated state.
l If the incompatible migration cluster (IMC) mode has been enabled for the cluster where
the VM is located, the CPU generation in the VM snapshot is earlier than or equal to the
IMC node configured for the cluster. Otherwise, the snapshot cannot be used to revert a
VM to its earlier state.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
Restore the VM.
4 Click the name of the VM to be restored.
A page is displayed providing VM information.
5 Locate the snapshot list on the Snapshots tab page, and select the snapshot used for
restoring the VM based on the creation time of the snapshot.
NOTE
If the name of any snapshot starts with TempSnapshot_ and the current VM has no in-progress
tasks, this snapshot is a residual snapshot created due to an exception of a former task, such as
cloning a VM. Delete such snapshots.
6
NOTICE
The current data on the VM will be overwritten by the data in the snapshot. Therefore,
exercise caution when running this command.
During snapshot deletion, if actual available space on the data store used by the VM for which
a snapshot is being deleted is less than 10%, stop the snapshot deletion operation. To delete a
snapshot for a VM, the data store used by the VM must have sufficient storage space. If the
data store space is insufficient, you can use the following methods to handle this issue:
l If the data store is created on virtualized SAN storage, follow operations described in
Expanding Capacity for a Data Store (Provided by a Virtualized SAN Device) to expand
data store capacity.
l If VMs that use the data store can be migrated, follow the operations described in
Migrating Disks on a Data Store to migrate disks of some VMs to other data stores.
l If the data store is created on local hard disks, delete unused disks on the data store.
Prerequisites
Conditions
You have logged in to the FusionCompute.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
5 Locate the snapshot list on the Snapshots tab page, and select the snapshot to be deleted.
6 Click Delete.
A dialog box is displayed.
7 Click OK.
A dialog box is displayed.
8 Click OK.
The snapshot is deleted. You can view the task progress on the Task Tracing page.
----End
8 Tools Management
8.1 Introduction
8.2 Installing the Tools
8.3 Uninstalling the Tools
8.4 Upgrading the Tools
8.5 Checking the Status and Version of the Tools
8.1 Introduction
Overview
Tools provides drivers for VMs. It improves VM input/output (I/O) performance, monitors
VM hardware, and enables other advanced functions on VMs. After you create a bare VM and
install an operating system (OS) on the VM, install the Tools on the VM.
Functions
After the Tools is installed and activated on a VM, the VM provides the following functions:
Declaration: This feature is a high-risk feature. Using this feature complies with industry practices.
However, end user data may be required for implementing the feature. Exercise caution and obtain end
user's consent when using this feature.
You can use Tools to query the name of the host housing the VM, the NIC IP address, system time, and
VM idle values.
Precautions
l Do not install any Non-Huawei Tools on VMs running on the Huawei FusionCompute
system.
l Ensure that the Tools matches the OS version of the VM.
l Do not perform any of the following operations when installing a Tools; otherwise, the
installation may fail or the system may be unstable after installation:
– Forcibly exiting the installation process
Prerequisites
Conditions
l The operating system (OS) has been installed on the VM.
l Tools has not been installed on the VM. If the Tools has been installed, uninstall it based
on the operations provided in Uninstalling the Tools from a Windows VM.
l The free space of the system disk is greater than 32 MB.
l You have obtained the password of user Administrator if the VM runs the Windows
Server 2008 or Windows 7 OS.
Procedure
Mount Tools to the VM.
The Tools installation file is stored on the host. The VM can connect to the installation file
only after Tools is mounted to the VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 In the navigation tree on the left, select the VM.
The VM page is displayed.
3 Locate the row that contains the VM, choose More, and click Install Tools.
A dialog box is displayed.
4 Click OK.
A dialog box is displayed.
5 Click OK.
Log in to the VM using VNC.
6 Locate the row that contains the VM to which an ISO file is to be mounted, click Log in
using VNC.
The VM desktop is displayed.
Install the Tools.
7 On the VM desktop displayed in the VNC window, choose Start > Computer.
The Computer window is displayed.
----End
Additional Information
Related Tasks
Uninstalling the Tools from a Windows VM
Related Concepts
Introduction
Scenarios
Tools provides drivers for VMs. It improves VM input/output (I/O) performance, monitors
VM hardware, and enables other advanced functions on VMs. After you create a bare VM and
install an operating system (OS) on the VM, install the Tools on the VM.
Prerequisites
Conditions
l The operating system (OS) has been installed on the VM.
l Tools has not been installed on the VM. If the Tools has been installed, uninstall it based
on the operations provided in Uninstalling the Tools from a Linux VM.
l The free space of the system disk is greater than 20 MB.
l You have installed the gzip tool for the VM OS. For details about gzip installation, see
the product documentation of the OS in use. The software package can be decompressed
using the tar command.
l You have replaced the operating system kernel file for the VM if the VM runs the Red
Hat Enterprise Linux 4.7/6.0 (32-/64-bit) or CentOS 4.7/6.0 (32-/64-bit). For details, see
Replacing VM OS Kernel Files.
Procedure
Mount Tools to the VM.
The Tools installation file is stored on the host. The VM can connect to the installation file
only after Tools is mounted to the VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
Table 8-1 Directories for mounting a CD/DVD-ROM drive or ISO file to a VM running
the Linux OS
Linux Version Supported CD/DVD- Mounting
ROM Drive Type Directory
13 Run the following commands to copy the Tools installation package to the root
directory:
cp uvp-tools-linux-xxx.tar.bz2 /root
cd /root
Table 8-2 lists the mapping between OS versions and Tools versions.
NOTE
Run the ./install -i command to install the Tools if the VM runs one of the following OS:
– DOPRA ICTOM V002R003 EIMP
– DOPRA ICTOM V002R003 IMAOS
– Red Hat Enterprise Linux 3.0
– Red Hat Enterprise Linux 3.4
Verify the installation.
NOTE
After Tools is installed, restart the VM for Tools to take effect. If an iNIC driver is required, install the
iNIC driver before performing the following operations to reduce VM restart times.
Additional Information
Related Tasks
Uninstalling the Tools from a Linux VM
Related Concepts
Introduction
Scenarios
Uninstall the Tools from a VM if the Tools malfunctions or you have misoperated the VM.
NOTICE
After you uninstall the Tools, install it again in a timely manner. Otherwise, the VM
performance deteriorates, VM hardware cannot be monitored, and other advanced VM
functions becomes unavailable.
For details about Tools functions, see Introduction.
The method of uninstalling a Tools is the same as that of uninstalling a common software
application. This section uses a VM running the Windows 7 as an example to describe how to
uninstall the Tools from a Windows VM.
Prerequisites
Conditions
A Tools has been installed on the VM.
Procedure
Uninstall the Tools.
1 Log in to the VM using Virtual Network Computing (VNC).
2 On the VM desktop displayed in the VNC window, choose Start > Control Panel.
3 Click Uninstall a program.
4 Uninstall GPL PC Drivers for Windows x.x.x.xx as prompted.
Follow-up Procedure
1. After you uninstall the Tools, install it again in a timely manner. Otherwise, the VM
performance deteriorates, VM hardware cannot be monitored, and other advanced VM
functions becomes unavailable.
For details, see Installing the Tools on a Windows VM.
2. After the Tools is uninstalled, the VM NIC configuration information is lost. Therefore,
if NIC information is configured before the uninstallation, reconfigure the NIC.
----End
Additional Information
Related Tasks
Installing the Tools on a Windows VM
Related Concepts
Introduction
NOTICE
After you uninstall the Tools, install it again in a timely manner. Otherwise, the VM
performance deteriorates, VM hardware cannot be monitored, and other advanced VM
functions becomes unavailable.
For details about Tools functions, see Introduction.
Prerequisites
Conditions
A Tools has been installed on the VM.
Procedure
Uninstall the Tools.
1 Log in to the VM as user root using Virtual Network Computing (VNC)
2 On the VM desktop displayed in the VNC window, right-click the desktop, and choose
Open in Terminal.
The command line interface (CLI) window is displayed.
3 Run the following command to uninstall the Tools:
/etc/.uvp-monitor/uninstall
The Tools is uninstalled if the following information is displayed:
The PV driver is uninstalled successfully.
Reboot the system for the uninstallation to take effect.
NOTE
If the VM runs the DOPRA ICTOM V002R003 EIMP, DOPRA ICTOM V002R003 IMAOS, Red
Hat Enterprise Linux 3.0, or Red Hat Enterprise Linux 3.4 OS, perform the following operations to
uninstall the Tools:
1. Enter the directory where the Tools installation package is decompressed.
The directory name is in the uvp-optimization-xxx format.
2. Run the ./install –u command to uninstall the Tools.
4 Run the following command to restart the VM:
reboot
Follow-up Procedure
After you uninstall the Tools, install it again in a timely manner. Otherwise, the VM
performance deteriorates, VM hardware cannot be monitored, and other advanced VM
functions becomes unavailable.
For details, see Installing the Tools on a Linux VM.
----End
NOTE
Declaration: This feature is a high-risk feature. Using this feature complies with industry practices.
However, end user data may be required for implementing the feature. Exercise caution and obtain end
user's consent when using this feature.
The system pushes Tools to VMs during the upgrade process.
l If the Tools upgrade mode is set to Automatic, the Tools will be automatically upgraded.
l If the Tools upgrade mode is set to Manual, the system displays a message to ask the
VM user whether to upgrade the Tools.
If the VM upgrade modes set by the administrator and the VM user are different,
the VM upgrade mode in effect is Automatic.
– Linux VM: The upgrade mode cannot be set on a Linux VM OS.
Prerequisites
Conditions
You have logged in to the FusionCompute.
Procedure
Search for a VM.
1 On the FusionCompute, choose VM and Template.
The VM and Template page is displayed.
2 Select VM in the navigation tree on the left, enter the search criteria on the VM page,
and click Search.
The query result is displayed.
Search criteria can be Name, IP Address, MAC Address, ID, Description and UUID.
3 (Optional) On the VM page, click Advanced on the top of the VM list and enter or
select the search criteria, and then click Search.
The query result is displayed.
Search criteria can be IP Address, ID, Name, MAC Address, Description, UUID,
Cluster/Host, Type and Status.
DR VM and placeholder VM apply only to the host-based remote replica DR scenario.
For details about how to query a DR VM or placeholder VM, see the FusionSphere
Solution Documentation.
View the Tools version.
4 Click the name of the VM to be queried.
9.1 Introduction
9.2 Installing the iNIC Driver
9.3 Uninstalling the iNIC Driver
9.4 Upgrading an iNIC Driver
9.1 Introduction
The intelligent network interface card (iNIC) driver can be installed on a host and on a VM.
This section provides a brief introduction to the iNIC driver installation on a VM.
The FusionCompute system automatically installs an iNIC driver on the host during host
operating system (OS) installation. An administrator needs to install an iNIC driver on a VM
after the VM OS is installed.
If a host uses an iNIC, iNIC drivers must be installed on all VMs on the host. Otherwise, VM
NICs cannot be detected and the VM network is unavailable.
If a host uses an iNIC, you are advised to install iNIC drivers on all VMs that run on the site
where the host is located to prevent VM network fault after VM migration.
Some VM OSs do not support iNICs. For details about the OSs, see Supported OSs. You are
not advised to deploy VMs running these OSs on hosts that uses iNICs.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Running state.
l The VM has the Tools run properly on it.
l You have obtained the ISO file that contains the iNIC driver.
The software package name is FusionCompute
V100R005C10SPC700_GuestOSDrivers.zip, and the ISO file name is
FusionCompute V100R005C10SPC700_GuestOS.iso.
To obtain the software package
– For enterprise users, visit http://support.huawei.com/enterprise and choose
Downloads > IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
– For telecom carrier users, visit http://support.huawei.com and choose Software >
Carrier IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
NOTE
Verify the obtained software packages. For details, see Verifying Software Packages.
Procedure
1 Log in to the VM using Virtual Network Computing (VNC) and mount a CD/DVD-
ROM drive or ISO file to the VM.
The FusionCompute V100R005C10SPC700_GuestOS.iso is the required ISO file to
be mounted.
2 In the VNC window, choose Start > Computer, and double-click the icon of the VM
CD/DVD-ROM drive.
The directory that contains the installation program of the iNIC driver is displayed.
3 In the iNICDriver/windows directory, double-click the iNIC driver installation program
and install the iNIC driver as prompted.
Table 9-1 lists the mapping between OS versions and iNIC driver versions.
Windows XP iNIC_Installer_XP_x.x.x.xx.exe
Windows 7 iNIC_Installer_Win7_x.x.x.xx.exe
Windows 8 iNIC_Installer_Win8_x.x.x.xx.exe
----End
Additional Information
Related Tasks
Uninstalling the iNIC Driver from a Windows VM
Related Concepts
Introduction
Scenarios
If a host uses an iNIC, iNIC drivers must be installed on all VMs on the host. Otherwise, VM
NICs cannot be detected and the VM network is unavailable.
If a host uses an iNIC, you are advised to install iNIC drivers on all VMs that run on the site
where the host is located to prevent VM network fault after VM migration.
Prerequisites
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Running state.
l The VM has the Tools run properly on it.
l You have obtained the ISO file that contains the iNIC driver.
The software package name is FusionCompute
V100R005C10SPC700_GuestOSDrivers.zip, and the ISO file name is
FusionCompute V100R005C10SPC700_GuestOS.iso.
To obtain the software package
– For enterprise users, visit http://support.huawei.com/enterprise and choose
Downloads > IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
– For telecom carrier users, visit http://support.huawei.com and choose Software >
Carrier IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
NOTE
Verify the obtained software packages. For details, see Verifying Software Packages.
Procedure
Mount a CD/DVD-ROM drive to the Linux VM.
1 Log in to the VM using VNC as user root, and mount a CD/DVD-ROM drive or ISO file
to the VM.
The FusionCompute V100R005C10SPC700_GuestOS.iso is the required ISO file to
be mounted.
2 On the VM desktop displayed in the VNC window, right-click the desktop, and choose
Open in Terminal.
The command line interface (CLI) window is displayed. If the Linux OS does not
provide a graphical user interface (GUI), run commands on the VM OS interface.
3 Run the following commands to mount a CD/DVD-ROM drive to the VM:
mount Path to be mounted xvdd
For example, mount /dev/sr0 xvdd
Table 9-2 lists the directories for mounting a CD/DVD-ROM drive or ISO file to a
Linux VM.
Table 9-2 Directories for mounting a CD/DVD-ROM drive or ISO file to a Linux VM
4 Run the following command to switch to the path saving the driver package:
cd xvdd/iNICDriver/linux
5 Run the following command to view the iNIC driver:
ls
Table 9-3 lists the mapping between OS versions and iNIC driver versions.
cd /root
sh install.sh
cd inic-linux
sh install.sh
NOTE
If the VM runs a Red Hat 3.0, Red Hat 3.4 OS, the directory that contains the driver package
varies depending on the OS kernel versions.
To check the VM OS kernel version, run the following command:
uname -a
If information similar to the following is displayed, the directory that contains the driver package
has smp in the directory name.
Linux xxxx-SMP
----End
Additional Information
Related Tasks
Uninstalling the iNIC Driver from a Linux VM
Related Concepts
Introduction
Scenarios
Uninstall the intelligent network interface card (iNIC) driver from a VM if the driver
malfunctions due to misoperations.
If the VM runs on a host that uses an iNIC, reinstall the iNIC driver after it is uninstalled. If
no iNIC driver is installed, the VM NICs cannot be detected and the VM network is
interrupted.
The method of uninstalling an iNIC driver is the same as that of uninstalling a common
software application. This section uses a VM running the Windows 7 as an example to
describe how to uninstall the iNIC driver from a Windows VM.
Prerequisites
Conditions
The iNIC driver has been installed on the VM.
Procedure
Uninstall the iNIC driver from the Windows VM.
1 Log in to the VM using Virtual Network Computing (VNC).
2 On the VM desktop displayed in the VNC window, choose Start > Control Panel.
3 Click Uninstall a program.
4 Uninstall Huawei iNIC x.x.x.xx as prompted.
Follow-up Procedure
If the VM runs on a host that uses an iNIC, reinstall the iNIC driver after it is uninstalled. If
no iNIC driver is installed, the VM NICs cannot be detected and the VM network is
interrupted.
----End
Additional Information
Related Tasks
Installing the iNIC Driver on a Windows VM
Related Concepts
Introduction
Scenarios
Uninstall the intelligent network interface card (iNIC) driver from a VM if the driver
malfunctions due to misoperations.
Prerequisites
Conditions
The iNIC driver has been installed on the VM.
Procedure
Uninstall the iNIC driver from the Linux VM.
Follow-up Procedure
If the VM runs on a host that uses an iNIC, reinstall the iNIC driver after it is uninstalled. If
no iNIC driver is installed, the VM NICs cannot be detected and the VM network is
interrupted.
----End
l If the iNIC driver upgrade mode is set to Automatic, the system automatically upgrades
the iNIC driver.
l If the iNIC driver upgrade mode is set to Manual, the system displays a message to ask
the VM user whether to upgrade the iNIC driver.
l For an administrator: Set the PC driver upgrade mode for each VM on the
FusionCompute. For details, see Setting the VM Upgrade Mode.
l For a VM user: Click the Tools icon in the lower right corner on the VM desktop.
If the VM upgrade modes set by the administrator and the VM user are different, the VM
upgrade mode in effect is Automatic.
10 VM Antivirus Management
Deployment Plan
Figure 10-1 shows the deployment plan of the antivirus system.
…
GVM GVM GVM GVM
Restrictions
The FusionCompute antivirus virtualization function has the following restrictions on the
system:
l Only one secure service VM can be deployed on one host.
l This function applies only to the VMs running the following OSs:
– Windows 7 (32-bit)
– Windows Server 2003 (32-bit)
– Windows Server 2008 (32-bit)
– Windows Server 2008 (64-bit)
– Windows Server 2008 R2 (64-bit)
l The Tools version for a secure user VM must be 1.3.10 or later. It is recommended that
you use the Tools of the latest version.
l Hosts do not support iNICs.
Impacts
The FusionCompute antivirus virtualization function and Graphics Processing Unit (GPU)
sharing function cannot be enabled on a host at the same time. However, the GPU
passthrough or virtualization function can be used when antivirus virtualization is enabled on
the same host.
The FusionCompute antivirus virtualization function has the following restrictions on secure
service VMs:
l Memory snapshots cannot be taken for secure service VMs.
l Secure service VMs cannot be stopped or hibernated, because they must provide real-
time services.
l A secure service VM cannot be automatically migrated from a host due to dynamic
resource scheduling or a host failure, because it is bound to the host.
The FusionCompute antivirus virtualization function has the following restrictions on secure
user VMs:
l Memory snapshots cannot be taken for secure user VMs.
l A secure user VM must be migrated to a host that has a secure service VM deployed due
to dynamic resource scheduling or a host failure, because secure user VMs use antivirus
functions provided by a secure service VM.
Therefore, each host in a cluster must have the antivirus virtualization function enabled
and a secure service VM deployed.
Prerequisites
You have logged in to the FusionCompute.
Data
You have planned the IP addresses for the secure service VMs to connect to the antivirus
management center.
Software
You have obtained required software listed in Table 10-1.
Antivirus management center Purchase the software, license, and product documents
software from an antivirus vendor.
Secure service VM template The system supports the antivirus software provided by
Trend Micro. For details about how to obtain the
software, license, and product documents, visit http://
www.trendmicro.com and contact customer service.
Process
Figure 10-2 shows the process of deploying the antivirus system for VMs on FusionCompute.
Start
End
Procedure
NOTE
The following provides a universal process. The actual process may vary depending on different
antivirus vendors. For details about how to deploy and use antivirus software products from different
antivirus vendors, see the antivirus software product documentation.
NOTE
The Tools version for a secure user VM must be 1.3.10 or later. It is recommended that you use the
Tools of the latest version.
If the user VM is not a newly created one, for example, is imported or deployed from a template,
or is created by cloning a parent VM, check the version of Tools installed on the VM after the VM
is created.
A Appendix
NOTE
If the security certificate has not been installed during Internet Explorer configuration, the browser may
prompt users with a web page display exception message when they log in to FusionCompute for the
first time or log in to VMs using Virtual Network Computing (VNC). In this case, press F5 to refresh the
web page.
Prerequisites
Conditions
l The Internet Explorer browser used for logging in to FusionCompute is an official
release from Internet Explorer 9 to Internet Explorer 11.
l You have obtained the IP address of the VRM node.
Data
Data preparation is not required for this operation.
Procedure
Enter the login page.
1 Open Internet Explorer.
2 Enter http://IP address of the VRM node and press Enter.
NOTE
– If a firewall is deployed between the local PC and FusionCompute, open ports 80, 8080, 43,
and 8443 on the firewall. If ports 80 and 8080 cannot be opened on the firewall, enter
https://IP address of the VRM node:8443 in the address box.
– If the local PC uses the Windows Server 2003 or Windows XP operating system (OS),
connection to FusionCompute from the PC using the Hypertext Transfer Protocol Secure
(HTTPS) protocol may file. In such cases, if the connection is triggered through an Internet
Explorer browser, the PC prompts the user to choose a digital certificate. If the connection is
triggered through a Google Chrome browser, the PC displays a message indicating that the
server certificate is invalid. To address this issue, see http://support.microsoft.com/kb/
968730/zh-cn.
– The HTTPS protocol used by FusionCompute supports only TLS 1.0. If SSL 2.0, SSL 3.0,
TLS 1.1, or TLS 1.2 is used, the FusionCompute system cannot be accessed. You must open
the browser, choose Internet Options > Advanced > Security, and select only Use TLS 1.0
among the protocols.
– If Internet Explorer slows down after running for a period of time and no data is required to be
saved, press F6 on the current page to move the cursor to the address bar of the browser. Then,
press F5 to refresh the page and increase the browser running speed.
3 Click Continue to this website (not recommended).
In common mode, the FusionCompute login page is displayed, as shown in Figure A-1.
In single sign-on (SSO) mode, the FusionManager login page is displayed, as shown in
Figure A-2.
– Cookies
– History
16 Click Delete.
Historical data is deleted.
Configure compatibility view settings.
17 Press Alt to show the menu bar and choose Tools > Compatibility View Settings on the
menu bar.
The Compatibility View Settings dialog box is displayed.
18 Click Add.
The address for logging in to the current system is added to the compatibility view.
19 Click Close.
20 Close Internet Explorer, open it again, and log in to the FusionCompute.
The settings take effect after the browser is restarted.
----End
Prerequisites
Conditions
l The Firefox browser used for logging in to FusionCompute is an official release from
Mozilla Firefox 21 to Mozilla Firefox 33.
l You have obtained the floating IP address of the VRM.
Data
Data preparation is not required for this operation.
Procedure
Scenarios
Log in to FusionCompute to manage virtual, service, and user resources in a centralized
manner.
Prerequisites
Conditions
l The browser for logging in to FusionCompute is available.
l The Internet Explorer or Mozilla Firefox is set properly. For details, see Setting Internet
Explorer Browser in the FusionCompute V100R005C10 Software Install Guide or
FusionCompute V100R005C10 Software Install Guide.
l The browser resolution is set to 1280 x 1024 or higher based on the service requirement
to ensure the optimum display effect on the FusionCompute.
NOTE
If the security certificate has not been installed during Internet Explorer configuration, the browser may
prompt users with a web page display exception message when they log in to FusionCompute for the
first time or log in to VMs using Virtual Network Computing (VNC). In this case, press F5 to refresh the
web page.
The system supports the following browsers:
l Internet Explorer 9 to Internet Explorer 11
l Mozilla Firefox 21 to Mozilla Firefox 33
l Google Chrome 21 to Google Chrome 39
Data
Table A-1 lists the data required for performing this operation.
Procedure
NOTE
– If a firewall is deployed between the local PC and FusionCompute, open ports 80, 8080, 43,
and 8443 on the firewall. If ports 80 and 8080 cannot be opened on the firewall, enter
https://IP address of the VRM node:8443 in the address box.
– If Internet Explorer slows down after running for a period of time and no data is required to be
saved, press F6 on the current page to move the cursor to the address bar of the browser. Then,
press F5 to refresh the page and increase the browser running speed.
The login page is displayed.
After the SSO is configured, if you open the login page of the FusionCompute, the
system switches to the login page of the FusionManager. However, multiple users cannot
log in to the FusionCompute using the same account.
3 Perform the required operation based on the login page.
– If the FusionCompute login page shown in Figure A-3 is displayed, single sign-on
(SSO) is not configured. Go to 4.
– If the FusionManager login page shown in Figure A-4 is displayed, SSO has been
configured. Go to 5.
4 Set the Username and Password, select the required User type and Login type, and
click Login. If you attempt to log in to the system again after the initial login fails, you
also need to set the Verification code.
Enter the username and password based on the rights management mode configured
during VRM installation.
– Common login mode: The initial login username is admin and the password is
Huawei@CLOUD8!.
– Rights separation login mode: The username and password of the system
administrator is sysadmin/Sysadmin#, the username and password of the security
administrator is secadmin/Secadmin#, and the username and password of the
security auditor is secauditor/Secauditor#.
NOTE
– If it is your first login using the admin username, the system asks you to change the password
of the admin username.
– The new password must meet the following requirements:
n It contains a minimum of eight characters and a maximum of 32 characters.
n It contains at least one space or one of the following special characters: `~!@#$%^&*()-
_=+\|[{}];:'",<.>/?.
n It contains at least two of the following character types:
○ Uppercase letters
○ Lowercase letters
○ Digits
The FusionCompute operation page is displayed after you log in to the system.
The login operation is complete.
5 Set the Username and Password, If you attempt to log in to the system again after the
initial login fails, you also need to set the Verification code.
– Common login mode: Log in to the system using the FusionManager system
account. After the login, you can only perform query-related operations.
– Rights separation login mode: The username and password of the system
administrator is sysadmin/Sysadmin#, the username and password of the security
administrator is secadmin/Secadmin#, and the username and password of the
security auditor is secauditor/Secauditor#.
6 Click Login to log in to the FusionCompute management system.
NOTE
The user is automatically logged out of the FusionCompute management system if one of the
following conditions is met:
– The current user's session times out.
– The system administrator deletes the current user.
– The system administrator manually locks the current user out.
After you log in to FusionCompute, you can learn the system and its functions from the online
help, product tutorial, and alarm help. If you save the URLs of the documents, you can access
them even when you are logged out of the FusionCompute system.
----End
Prerequisites
Conditions
You have logged in to the VM and switched to the installation window.
Procedure
NOTICE
Do not stop or restart the VM during the OS installation. Otherwise, the OS installation will
fail.
2 Click Next.
The installation confirmation window is displayed, as shown in Figure A-6.
7 Click Next.
The Installing Windows window is displayed, and the OS installation begins, as shown
in Figure A-11.
The installation takes about 50 minutes. The VM restarts during the installation. Log in
to the VM again and configure the OS as prompted.
----End
Prerequisites
Conditions
You have logged in to the VM and switched to the installation window.
Procedure
NOTICE
Do not stop or restart the VM during the OS installation. Otherwise, the OS installation will
fail.
2 In the Welcome window, specify Language and Keyboard Layout, select I Agree to
the License Terms, and click Next.
The Media Check window is displayed, as shown in Figure A-13.
3 Click Next.
The Installation Mode window is displayed, as shown in Figure A-14.
10 In the System View navigation tree, choose linux > Hard Disks > sda.
The sda window is displayed, as shown in Figure A-20.
NOTE
The size of a swap partition is as twice as the memory size and is less than the system disk size.
Reserve a minimum of 10 MB space for the Ext3 partition that will be created later.
14 Set Format partition to Swap, set Mount partition to swap, and click Finish.
The Expert Partitioner window is displayed.
15 Choose linux > Hard Disks > sda, and click Add to create a customized partition.
The Add Partition on /dev/sda window is displayed.
16 Select Primary Partition, and click Next.
The partition size configuration window is displayed.
NOTE
19 Click Accept.
The Installation Settings window is displayed.
20 Determine whether the preinstalled software needs to be installed.
– If yes, go to 21.
– If no, go to 24.
21 Click Software on the Overview tab page.
The Software Selection and System Tasks window is displayed, as shown in Figure
A-25.
----End
Scenarios
To install the Tools on a Linux VM, replace the operating system (OS) kernel files on the VM.
NOTICE
Huawei warrants that the Linux OS functions properly on Huawei VMs after the VM OS
kernel files are replaced by Huawei's kernel files. Huawei's warranty does not extend to any
consequential losses due to the use of the kernel files during the kernel file replacement
process. The disclaimer is as follows.
Disclaimer
Please read through the terms in this disclaimer if you use the Linux operating system
(OS). You may use kernel files provided by Huawei or other vendors. However, by using
kernel files provided by Huawei, you agree to accept and comply with the items set out
in this disclaimer. If you do not find the items reasonable, you shall not use the kernel
files provided by Huawei.
The kernels of some Linux OS versions provided by third-party vendors may be unsound. If
the Linux OS you use is listed below, please upgrade your OS to the latest version to ensure
that it functions properly on Huawei VMs.
l Red Hat Linux Enterprise 4.7 32-/64-bit
l Red Hat Linux Enterprise 6.0 32-/64-bit
l CentOS 4.7 32-/64-bit
l CentOS 6.0 32-/64-bit
l Ubuntu desktop 10.04 64-bit
l Fedora 12 32-bit
If the Linux OS cannot be upgraded to the latest version due to any reason, you are advised to
replace the original OS kernel files with Huawei kernel files free of charge.
Huawei only warrants that the Linux OS functions properly on Huawei VMs after the OS
kernel files are replaced. Huawei makes no express or implied warranty, statutory or
otherwise, for any incompatibility problems caused by the kernel file replacement. However,
Huawei can provide assistance in diagnosing the problems. Huawei shall not have liability for
any after-sale services for OS problems resulting from the kernel file replacement. Huawei
disclaims any warranty on technical support or maintenance provided by the Linux OS
provider. Huawei does not assume any and all liability for damages, including but not limited
to direct, indirect, special, incidental and consequential damages due to the use of the kernel
files during kernel file replacement.
Prerequisites
Conditions
l The OS has been installed on the VM.
l You have obtained the ISO file that contains the new kernel files.
The software package name is FusionCompute
V100R005C10SPC700_GuestOSDrivers.zip, and the ISO file name is
FusionCompute V100R005C10SPC700_GuestOS.iso.
To obtain the software package
– For enterprise users, visit http://support.huawei.com/enterprise and choose
Downloads > IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
– For telecom carrier users, visit http://support.huawei.com and choose Software >
Carrier IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
NOTE
Verify the obtained software packages. For details, see Verifying Software Packages.
Procedure
Mount an ISO file.
1 Log in to the VM using VNC as user root.
2 For details, see Mounting a CD/DVD-ROM Drive or an ISO FileMounting a CD/
DVD-ROM Drive or an ISO File.
The FusionCompute V100R005C10SPC700_GuestOS.iso is required ISO file to be
mounted.
Replace the kernel file.
3 On the VM desktop displayed in the VNC window, right-click the desktop, and choose
Open in Terminal.
The command line interface (CLI) window is displayed.
4 Run the following command to create the xvdd directory:
mkdir xvdd
5 Run the following commands to mount a CD/DVD-ROM drive to the VM:
mount Path to be mounted xvdd
For example, mount /dev/sr0 xvdd
Table A-3 lists the directories for mounting a CD/DVD-ROM drive or ISO file to a VM
running the Linux OS.
Table A-3 Directories for mounting a CD/DVD-ROM drive or ISO file to a VM running
the Linux OS
Linux Version Supported CD/DVD- Mounting
ROM Drive Type Directory
6 Run the following command to enter the path saving the kernel package:
cd xvdd/pvDriver/kernel\ patch
7 Run the following command to view the kernel file name:
ls
8 Run the following command to copy the new kernel file to the root folder:
cp Kernel file name /root
For example, cp kernel_patch-redhat_enterprise_linux_4.7.tar.gz /root.
9 Run the following commands to decompress the package containing the kernel files:
cd /root
tar -xzf Name of the package
For example, run the tar -xzf kernel_patch-redhat_enterprise_linux_4.7.tar.gz
command.
10 Run the following command to replace the existing kernel files with the copied kernel
files:
NOTE
Ignore the alerts that may be displayed during the kernel replacement process.
11 Run the following command to restart the OS of the VM to make the new kernel files
take effect:
reboot
No further action is required.
----End
Scenarios
Windows VMs can be added to a Windows domain only when their SIDs are different.
Therefore, before converting a Windows VM to a template, configure its SID to differentiate
the VM from others.
NOTICE
l If the VM is restarted or power cycled before being converted to a template, its SID
configuration will become invalid, and you need to configure it again.
l After the VM SID is configured, the VM specifications configuration is not required.
NOTE
Declaration: This feature is a high-risk feature. Using this feature complies with industry practices.
However, end user data may be required for implementing the feature. Exercise caution and obtain end
user's consent when using this feature.
This operation configures user VM registries and the script executed for the initial startup. If the end
user data is involved, obtain end user's consent before you perform this operation.
Prerequisites
Conditions
l The OS and the Tools have been installed on the VM.
l You have obtained the software package of the ISO image that contains the configuration
file.
Procedure
Delete the historical file.
1 In the VNC login window, enable the user administrator of the OS and delete other
users.
2 Go to the root directory of drive C and check whether the setpass.vbs,
getInterfaceIndex.bat, network.inf, os.inf, and passwd.inf files exist.
If yes, delete these files.
Check the VM OS version.
3 Perform the required steps based on the VM OS version.
– If the OS is Windows XP, perform 4 to 11.
– If the OS is Windows 7, perform 17 to 27.
– If the OS is Windows 8, perform 32 to 42.
– If the OS is Windows Server 2003, perform 47 to 58.
– If the OS is Windows Server 2008, perform 63 to 73.
– If the OS is Windows Server 2012, perform 78 to 88.
NOTE
The Windows Server 2012 R2 Datacenter 64-bit OS does not support SID configuration.
– If the OS is not mentioned above, VM SID configuration is not supported.
Configure SID for a Windows XP VM.
4 In the VNC login window, enable the user administrator of the OS and delete other
users.
5 Mount the ISO image that contains the configuration file.
The ISO image name is FusionCompute V100R005C10SPC700_Customization.iso.
NOTE
If you did not obtain the ISO image, you can copy the configuration file from the /home/
GalaX8800/customization directory on any host in the cluster.
6 Copy the sysprep folder of the VM OS in the ISO image to the root directory of drive C
on the VM.
7 Change the following parameters in the sysprep.inf file in the C:\sysprep directory on
the VM:
a. Between the quotation marks on the right of AdminPassword, set the password for
logging in to the current VM.
b. ProductKey: Change it to the serial number of the purchased Windows OS.
c. Set the value of TimeZone to the local time zone index value.
You can visit http://msdn.microsoft.com/en-us and enter Microsoft Time Zone
Index Values in the search box to query the required local time zone index value.
d. Change the value of LanguageGroup to the language group ID of the local
language.
You can visit http://support.microsoft.com/?ln=en-us and enter Language Group
IDs in the search box to query the required language group ID.
8 Mount the OS ISO file to the VM.
9 Decompress the DEPLOY.CAB file in the ISO file to the SUPPORT\TOOLS\
directory.
10 Copy all the files generated after DEPLOY.CAB is decompressed to the C:\sysprep
directory on the VM.
11 In the command line interface (CLI) of the VM in the VNC login window, run the
following command to configure the VM SID:
C:\sysprep\sysprep -mini -noreboot -reseal -quiet
12 On the VM desktop displayed in the VNC window, click Start, and enter regedit in the
search box, and press Enter.
A dialog box is displayed.
13 Choose HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows >
CurrentVersion > Run.
All registry entries under Run are displayed.
14 Double-click (Default).
A dialog box is displayed.
15 Enter c:\setpass.vbs in Value data.
16 Click OK.
The dialog box is closed.
No further action is required.
Configure SID for a Windows 7 VM.
17 In the VNC login window, enable the user administrator of the OS and delete other
users.
18 Mount the ISO image that contains the configuration file.
The ISO image name is FusionCompute V100R005C10SPC700_Customization.iso.
NOTE
If you did not obtain the ISO image, you can copy the configuration file from the /home/
GalaX8800/customization directory on any host in the cluster.
19 Copy the X86 or X64 folder of the VM OS in the ISO image to the C:\Windows
\System32 directory on the VM.
– If the VM runs a 32-bit OS, copy the X86 folder.
– If the VM runs a 64-bit OS, copy the X64 folder.
20 Modify the VM directory file on the VM.
The default system language is zh-CN, which indicates the simple Chinese.
To change the language to English, change zh-CN to en-US.
For more language settings, enter Available Language Packs at the Microsoft
official website to search for language IDs.
c. Set the value of TimeZone to the current time zone name and change the value of
RegisteredOwner in the previous row to the name of the country you currently
reside.
You can visit http://msdn.microsoft.com/en-us and enter Microsoft Time Zone
Index Values in the search box to query the time zone name.
21 In the CLI, run the following command to configure the VM SID:
– If the VM runs a 32-bit OS, run the C:\Windows\System32\X86\professional
\SysprepCmd.cmd command.
– If the VM runs a 64-bit OS, run the C:\Windows\System32\X64\professional
\SysprepCmd.cmd command.
NOTE
a. In the VM directory file, locate the Value tags between the Password tags as well
as between the AdministratorPassword tags and set the password for logging in to
the current VM in the two pairs of Value tags.
b. Change the system language setting in the following field to the current VM OS
language:
<InputLocale>zh-CN</InputLocale>
<SystemLocale>zh-CN</SystemLocale>
<UILanguage>zh-CN</UILanguage>
<UILanguageFallback>zh-CN</UILanguageFallback>
<UserLocale>zh-CN</UserLocale>
The default system language is zh-CN, which indicates the simple Chinese.
To change the language to English, change zh-CN to en-US.
For more language settings, enter Available Language Packs at the Microsoft
official website to search for language IDs.
c. Set the value of TimeZone to the current time zone name and change the value of
RegisteredOwner in the previous row to the name of the country you currently
reside.
You can visit http://msdn.microsoft.com/en-us and enter Microsoft Time Zone
Index Values in the search box to query the time zone name.
36 In the CLI, run the following command to configure the VM SID:
– If the VM runs a 32-bit OS, run the C:\Windows\System32\X86\professional
\SysprepCmd.cmd command.
– If the VM runs a 64-bit OS, run the C:\Windows\System32\X64\professional
\SysprepCmd.cmd command.
NOTE
a. In the VM directory file, locate the Value tags between the Password tags as well
as between the AdministratorPassword tags and set the password for logging in to
the current VM in the two pairs of Value tags.
b. Change the system language setting in the following field to the current VM OS
language:
<InputLocale>zh-CN</InputLocale>
<SystemLocale>zh-CN</SystemLocale>
<UILanguage>zh-CN</UILanguage>
<UILanguageFallback>zh-CN</UILanguageFallback>
<UserLocale>zh-CN</UserLocale>
The default system language is zh-CN, which indicates the simple Chinese.
To change the language to English, change zh-CN to en-US.
For more language settings, enter Available Language Packs at the Microsoft
official website to search for language IDs.
c. Set the value of TimeZone to the current time zone name and change the value of
RegisteredOwner in the previous row to the name of the country you currently
reside.
a. In the VM directory file, locate the Value tags between the Password tags as well
as between the AdministratorPassword tags and set the password for logging in to
the current VM in the two pairs of Value tags.
b. Change the system language setting in the following field to the current VM OS
language:
<InputLocale>zh-CN</InputLocale>
<SystemLocale>zh-CN</SystemLocale>
<UILanguage>zh-CN</UILanguage>
<UILanguageFallback>zh-CN</UILanguageFallback>
<UserLocale>zh-CN</UserLocale>
The default system language is zh-CN, which indicates the simple Chinese.
To change the language to English, change zh-CN to en-US.
For more language settings, enter Available Language Packs at the Microsoft
official website to search for language IDs.
c. Set the value of TimeZone to the current time zone name and change the value of
RegisteredOwner in the previous row to the name of the country you currently
reside.
You can visit http://msdn.microsoft.com/en-us and enter Microsoft Time Zone
Index Values in the search box to query the time zone name.
82 In the CLI, run the following command to configure the VM SID:
C:\Windows\System32\X64\professional\SysprepCmd.cmd
83 In the CLI, enter regedit, and press Enter.
A dialog box is displayed.
84 Choose HKEY_LOCAL_MACHINE > SYSTEM > Setup.
All registry entries under Setup are displayed.
85 Change the value of Cmdline from oobe\windeploy.exe to X64\professional
\deploy.cmd using the OS registry editor.
86 Choose HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows NT >
CurrentVersion > Winlogon.
All registry entries under Winlogon are displayed.
87 Change the value of DefaultPassword to the password for logging in to the current VM
using the registry editor.
NOTE
Declaration: This feature is a high-risk feature. Using this feature complies with industry practices.
However, end user data may be required for implementing the feature. Exercise caution and obtain end
user's consent when using this feature.
This operation modifies user VM registries. If the end user data is involved, obtain end user's consent
before you perform this operation.
NOTE
Prerequisites
Conditions
l The OS and the Tools have been installed on the VM.
l The VM SID has not been configured.
Procedure
Delete the historical file.
1 In the VNC login window, enable the user administrator of the OS and delete other
users.
2 Go to the root directory of drive C and check whether the setpass.vbs,
getInterfaceIndex.bat, network.inf, os.inf, and passwd.inf files exist.
If yes, delete these files.
Modify registration entries.
3 On the VM desktop displayed in the VNC window, click Start, and enter regedit in the
search box, and press Enter.
A dialog box is displayed.
4 Choose HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows NT >
CurrentVersion > Winlogon.
All registry entries under Winlogon are displayed.
5 Check whether DefaultUserName, DefaultPassword, and AutoAdminLogon are listed
in the registry entries.
– If yes, go to 9.
– If no, go to 6.
6 Choose Edit > New > String Value.
The default name New Value #1 is displayed in the right pane.
7 Right-click New Value #1, and choose Rename.
Change the default name New Value #1 to DefaultUserName.
8 Perform 6 to 7 twice to change the default names to DefaultPassword and
AutoAdminLogon respectively.
9 Double-click DefaultUserName, DefaultPassword, and AutoAdminLogon one by
one, and enter Administrator, the current password of Administrator, and 1 in the
Value data dialog box, respectively.
If this VM is used as a template to create other VMs, the Administrator password of a
created VM applies with the following rules:
– If VM attributes are configured during creation, the password is the same as the
configured password.
NOTE
If the current VM does not have the password of Administrator, do not set the value of
DefaultPassword.
10 Delete AutoLogonCount if it is listed in the registry entries.
11 Choose HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows >
CurrentVersion > Run.
All registry entries under Run are displayed.
12 Double-click (Default).
A dialog box is displayed.
13 Enter c:\setpass.vbs in Value data.
14 Click OK.
The dialog box is closed.
15 Check whether the Clock synchronization policy parameter of the VM is set to
Synchronize with host clock.
– If yes, go to 16.
– If no, no further action is required.
16 Choose HKEY_LOCAL_MACHINE > SYSTEM > Setup > HuaweiPV.
17 Delete SetTime.
----End
Scenarios
Enable the kernel memory dump function for a Windows operating system (OS) so that fault
information can be collected in the event of a Windows VM fault to facilitate fault locating
and rectification.
The following operations use Windows 7 as an example to describe enable the kernel
memory dump function. For details about how to enable kernel memory dump for other
Windows OSs, see the product documentation for the OSs.
Prerequisites
Conditions
None
Procedure
1 On the VM desktop displayed in the VNC window, click Start, enter sysdm.cpl in the
search box, and press Enter.
The System Properties dialog box shown in Figure A-27 is displayed.
2 Click Advanced.
Advanced settings are displayed.
3 In the Startup and Recovery area, click Settings.
The Startup and Recovery dialog box shown in Figure A-28 is displayed.
----End
Scenarios
Configure specifications attribute customization for a VM. If the VM is used as a template for
creating VMs. this function enables the created VMs have the following functions:
l Have a random initial password
l Support customization of VM specifications attributes, such as the host name, password,
and IP address
If the random initial password and VM specifications attribute customization functions are not
required, do not configure this function.
NOTE
Declaration: This feature is a high-risk feature. Using this feature complies with industry practices.
However, end user data may be required for implementing the feature. Exercise caution and obtain end
user's consent when using this feature.
This operation configures the user VM script executed for the initial startup. If the end user data is
involved, obtain end user's consent before you perform this operation.
If the system partition of a VM OS is RAID file systems, this function cannot take effect.
If the system partition of a VM OS is LVM file system, this function can take effect only
when the logical volume named lv_root serves as the primary partition. If multiple partitions
have been configured for the volume group to which the system disk belongs , this function
does not take effect.
NOTE
Generally, the default system partition of the Red Hat 6.3 or 6.4 OS is LVM. You can check whether lv_root
serves as the primary partition by performing the following operations:
1. Run lvdisplay to check whether a logical disk exists on the VM.
l If no, the VM does not have an LVM file system. No further action is required.
l If yes, make a note of LV NAME and VG NAME values for each record.
2. Run df –h to query names of file systems that are attached to /.
If the file system name is /dev/mapper/VG NAME-lv_root, lv_root serves as the system primary
partition.
The following is an example command output:
Prerequisites
Conditions
l The OS and the Tools have been installed on the VM.
l The NetworkManager service is not running on the VM OS. Otherwise, the service will
conflict with custom network attributes when the VM is used as a template to create
VMs.
NOTE
You can run service NetworkManager status to check whether the Network Manager service is
running.
If the service is running, run service NetworkManager stop to stop the service and run chkconfig
NetworkManager off to block the service to from starting upon VM startup.
l The Red Hat 7 series and CentOS 7 series OSs support the ifconfig command. However,
if the ifconfig command cannot be used, handle the exception by performing steps
provided in ifconfig Command Unavailable in Red Hat 7 and CentOS 7 OSs.
Procedure
1 Run the following command to open the rc file using the visual interface (vi) editor:
– If the VM runs the SUSE, Ubuntu or Debian OS, run the vi /etc/init.d/rc command.
– If the VM runs the Red Hat 7 series and CentOS 7 series OS, run the chmod
+x /etc/rc.d/rc.local and vi /etc/rc.d/rc.local commands.
– If the VM runs other OSs, run the vi /etc/rc.d/rc command.
2 Press i to enter editing mode.
3 Add a command statement based on the following requirements:
– If exit 0 is displayed at the end of the file, enter /bin/bash /etc/init.d/setpasswd.sh
at the row just before exit 0.
– If exit 0 is not displayed, enter /bin/bash /etc/init.d/setpasswd.sh at the end of the
file.
4 Press Esc, enter :wq, and press Enter.
The system saves the configuration and exits the vi editor.
----End
Scenarios
Configure network attributes for a Linux VM. If the Linux VM is converted to a template to
create other VMs or clone the Linux VM to a new VM, this configuration is required in the
following scenarios:
l The created VMs require manual IP address configuration, and the VM runs a Red Flag
operating system (OS).
l The created VMs automatically obtain IP addresses using the Dynamic Host
Configuration Protocol (DHCP), and the VM runs the Linux OS. This configuration,
including activating NIC and enabling DHCP service, enables the created VMs to access
networks and automatically obtain dynamic IP addresses.
If the VMware hypervisor is used, VMs that are created using a template cannot automatically
obtain IP addresses using DHCP.
This section uses SUSE Linux11 SP1 OS as an example to describe how to configure network
attributes for a Linux VM. For details about the configuration methods for other OSs, see
product documents for the target OS.
Prerequisites
Conditions
l The OS and the Tools have been installed on the VM.
l If the VMs created using a template need to be assigned IP addresses automatically by
the DHCP server, the FusionCompute V100R005C10SPC700_GuestOSDrivers.zip
software package has been downloaded and the FusionCompute
V100R005C10SPC700_Customization.iso has been obtained from the decompressed
package.
To obtain the software package
– For enterprise users, visit http://support.huawei.com/enterprise and choose
Downloads > IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
– For telecom carrier users, visit http://support.huawei.com and choose Software >
Carrier IT > FusionCloud > FusionSphere > FusionCompute >
V100R005C10SPC700.
Procedure
Delete files in the network rule directory.
1 Run the following command to view the files in the network rule directory:
ls -l /etc/udev/rules.d
2 Run the following commands to delete the rule files whose file names contain persistent
and net in the network rule directory:
The following commands are examples:
rm /etc/udev/rules.d/30-net_persistent-names.rules
Table A-4 Directories for mounting a CD/DVD-ROM drive or ISO file to a VM running
the Linux OS
Linux Version Supported CD/DVD- Mounting
ROM Drive Type Directory
12 Run the following commands to copy the Linux script in the ISO file to the home folder:
cp -r xvdd/linux/ /home
cd /home
13 Run the following command to back up the configuration file of the original NIC and
create the configuration file of the new NIC:
sh /home/linux/autoConfigLinuxNetwork.sh /etc/sysconfig/network
NOTE
The path in the preceding command varies depending on the VM OS. Generally, the directory is:
– SUSE series: /etc/sysconfig/network/
– Red Hat/Oracle/Fedora/CentOS series: /etc/sysconfig/network-scripts/
– Ubuntu/Debian series: /etc/network/interfaces
If the following information is displayed, the command is executed successfully:
backup old config files ...
create new config files ...
done !!!
Commonly there are two methods of network configuration for a Linux VM, which are as
follows:
l NetworkManager: automatic network configuration function provided by a Linux OS
l Traditional method using ifup
If the shortcut keys provided in the steps do not take effect in practice due to OS version or
language diversities, use Tab, ←, and → keys to select the required options.
17 Press Alt+T and select Traditional Method with ifup.
18 Press F10 to save the configuration and exit the control center.
19 Hold down Alt and press Q.
The command-line interface is displayed.
----End
Scenarios
The following disks can be used only after they are initialized:
l User disks on a newly created VM
l Disks that are newly attached to a VM
If the disk is attached to a Windows VM during VM startup process, you may fail to locate
the disk during the disk initialization process. You can handle this failure by following the
steps provided in Failed to Attach the Disk During Windows VM Startup Process.
If the Windows VM uses a raw device mapped disk and the disk fails to be located during the
initialization process, uninstall the Tools, install the Tools of the latest version, and then
initialize the disk. For details about how to uninstall the Tools, see Uninstalling the Tools
from a Windows VM. For details about how to install the Tools of the latest version, see
Uninstalling the Tools from a Windows VM.
This section uses Windows 7 as an example to describe how to initialize disks on a Windows
VM.
Prerequisites
Conditions
l You have log in to the VM using Virtual Network Computing (VNC).
l The VM has a user disk that has not been initialized.
Procedure
1 On the VM desktop displayed in the VNC window, click Start, right-click Computer,
and choose Manage.
The Computer Management window is displayed.
2 In the navigation tree, choose Storage > Disk Management.
The Initialize Disk window is displayed in the right pane.
NOTE
The Initialize Disk window may not be displayed if the disk is on a non-Windows-7 VM. To
resolve this problem, set the disk state from Offline to Online, and then initialize the disk.
The Initialize Disk window cannot be displayed if the disk is in the Offline state. To
resolve this problem, right-click the disk, choose Online, then right-click the disk again,
and choose Initialize Disk.
3 Select the disk to be initialized, and select a partition mode for the disk.
4 Click OK.
The Initialize Disk window is closed.
5 Right-click the unallocated areas on the disk, and choose New Simple Volume.
The New Simple Volume Wizard window is displayed.
6 Create a simple disk as prompted.
----End
Additional Information
Related Tasks
Merging Partitions on a Windows VM
Related Concepts
None
Prerequisites
Conditions
l You have log in to the VM using Virtual Network Computing (VNC).
l The VM has a user disk that has not been initialized.
l The VM OS supports the current VM disk capacity.
Procedure
NOTE
On the user VMs that have the Tools installed, the number of the new user disks starts from /dev/xvde
and increases in alphabetical order, for example, /dev/xvde, /dev/xvdf, and /dev/xvdg.
The following sections use SUSE 11 64-bit to explain how to partition and format a new user disk and
how to attach it to a directory.
1 Check whether the original size of the VM is smaller than 2 TB.
– If yes, go to 2.
– If no, go to 20.
2 Log in to the user VM, right-click on the OS desktop, and choose Open Terminal to
switch to the command line interface (CLI).
NOTE
Assume that a new 10 GB disk (the first disk) has been added to the VM and the disk needs to be
set as the primary partition in ext3 format and be automatically attached to the /mnt/sample
directory upon system start.
3 Run the following command to view information about the disk:
fdisk -l
The following information is displayed:
...
Disk /dev/xvde: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
7 Enter the number of the primary partition (for example, 3), and press Enter.
The following information is displayed:
...
First cylinder (1-1305, default 1):
8 Press Enter.
Assume that the default start cylinder number is used.
The following information is displayed:
...
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-1305, default 1305):
9 Press Enter.
Assume that the default end cylinder number is used.
The following information is displayed:
...
Using default value 1305
12 Run the following command to set the ext3 format for the file system:
The ext3 format is used as an example.
mkfs -t ext3 /dev/xvde3
The following information is displayed:
...
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
13 Run the following commands to attach the new partition to the /mnt/sample directory.
The /mnt/sample directory is used as an example.
mkdir /mnt/sample
mount /dev/xvde3 /mnt/sample
14 Run the following command to view the result:
df -TH
The following information is displayed:
15 Determine whether to set automatic attaching upon system start for the new disk.
– If yes, go to 16.
– If no, no further action is required.
16
NOTICE
– Do not set automatic attaching upon system start for unformatted disks, which will
cause user VMs to fail to start.
– If a new disk, for which automatic attaching upon system start has been set, needs to
be detached, the automatic mounting configuration information must first be deleted.
Otherwise, user VMs fail to start after the disk is detached.
Run the following command to open the fstab file using the visual interface (vi) editor:
vi /etc/fstab
17 Press i to enter editing mode.
18 Move the cursor to the end of the file, press Enter, and enter the following command:
/dev/xvde3 /mnt/sample ext3 defaults 1 1
19 Press Esc, enter :wq, and press Enter.
The system saves the configuration and exits the vi editor.
After this step is complete, no further action is required.
20 Log in to the user VM, right-click on the OS desktop, and choose Open Terminal to
switch to the CLI.
NOTE
Assume that a new 2048 GB disk (the first disk) has been added to the VM and the disk needs to
be set as the primary partition in ext3 format and be automatically attached to the /mnt/sample
directory upon system start.
21 Run the following command to view the newly added disk:
parted /dev/xvde
The following information is displayed:
GNU Parted 1.8.8
Using /dev/xvde
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)
(parted)
(parted)
2048GiB primary
(parted)
29 Run the following command to attach the newly created partitions to a specific directory:
The following operations use the /mnt/sample directory as an example.
mkdir /mnt/sample
mount /dev/xvde1 /mnt/sample
30 Run the following command to view the attaching result:
df -TH
The following information is displayed:
Filesystem Type Size Used Avail Use% Mounted on
...
/dev/xvde1 ext3 2.2T 208M 2.1T 1% /mnt/sample
31 Determine whether to set automatic attaching upon system start for the new disk.
– If yes, go to 32.
– If no, no further action is required.
32
NOTICE
– Do not set automatic attaching upon system start for unformatted disks, which will
cause user VMs to fail to start.
– If a new disk, for which automatic attaching upon system start has been set, needs to
be detached, the automatic mounting configuration information must first be deleted.
Otherwise, user VMs fail to start after the disk is detached.
Run the following command to open the fstab file using the visual interface (vi) editor:
vi /etc/fstab
33 Press i to enter editing mode.
34 Move the cursor to the end of the file, press Enter, and enter the following command:
/dev/xvde1 /mnt/sample ext3 defaults 1 1
35 Press Esc, enter :wq, and press Enter.
The system saves the configuration and exits the vi editor.
After this step is complete, no further action is required.
----End
Additional Information
Related Tasks
Creating Partitions on a Linux VM
Related Concepts
None
Prerequisites
Conditions
l You have log in to the VM using Virtual Network Computing (VNC).
l Disk capacity has been expanded on the VM.
Procedure
1 On the VM desktop displayed in the VNC window, click Start, right-click Computer,
and choose Manage.
----End
Additional Information
Related Tasks
Initializing Disks on a Windows VM
Related Concepts
None
Scenarios
After disk capacity on a VM is expanded, log in to the VM to create a partition, thereby
allowing the newly added space to be used.
This section uses SUSE Linux Enterprise Server 11 SP1 64-bit as an example to describe
how to initialize disks on a Linux VM.
Prerequisites
Conditions
l Disk capacity has been expanded on the VM, and new disk has taken effect.
l You have log in to the VM using Virtual Network Computing (VNC).
Procedure
1 Check whether the capacity of the disk after the capacity expansion exceeds 2 TB.
– If no, go to 2.
– If yes, go to 21.
2 Log in to the VM, right-click on the desktop of the VM, and choose terminal to enter
the command line interface (CLI).
NOTE
This section uses the following specifications as an example to describe how to create a partition
on a Linux VM:
– Disk name: /dev/xvde
– Original disk size: 30 GB
– Disk size after expansion: 40 GB
– Existing partition: /dev/xvde3
– Partition to be created: /dev/xvde4
3 Run the following command to view information about the disk:
fdisk -l
If information similar to the following is displayed, the capacity of disk /dev/xvde has
been expanded to 40 GB and has a partition named /dev/xvde3:
Disk /dev/xvde: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1a1453ef
Device Boot Start End Blocks Id System
/dev/xvde3 1 3916 31455238+ 83 Linux
7 Enter the number of the primary partition (for example, 4), and press Enter.
The following information is displayed:
...
First cylinder (3917-5221, default 3917):
8 Press Enter.
Assume that the default start cylinder number is used.
The following information is displayed:
...
Using default value 3917
Last cylinder, +cylinders or +size{K,M,G} (3917-5221, default 5221):
9 Press Enter.
WARNING: Re-reading the partition table failed with error 16: Device or
resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
14 Run the following commands to attach the new partition to the /mnt/new directory.
The /mnt/new directory is used as an example.
mkdir /mnt/new
mount /dev/xvde4 /mnt/new
15 Run the following command to view the result:
df -TH
16 Determine whether to set automatic attaching upon system start for the new disk.
– If yes, go to 17.
– If no, no further action is required.
17
NOTICE
– Do not set automatic attaching upon system start for unformatted disks, which will
cause user VMs to fail to start.
– If a new disk, for which automatic attaching upon system start has been set, needs to
be detached, the automatic mounting configuration information must first be deleted.
Otherwise, user VMs fail to start after the disk is detached.
Run the following command to open the fstab file using the visual interface (vi) editor:
vi /etc/fstab
18 Press i to enter editing mode.
19 Move the cursor to the end of the file, press Enter, and enter the following command:
/dev/xvde4 /mnt/new ext3 defaults 1 1
20 Press Esc, enter :wq, and press Enter.
The system saves the configuration and exits the vi editor.
After this step is complete, no further action is required.
21 Log in to the VM, right-click on the desktop of the VM, and choose terminal to enter
the CLI.
22 Run the following command to view information about the disk whose capacity has been
expanded:
parted /dev/xvde
The following information is displayed:
...
(parted)
– If the following information is displayed, enter Fix, press Enter, and go to 25. If no
information is displayed, simply go to 25.
...
Warning: Not all of the space available to /dev/xvde appears to
be used, you can fix the GPT to use all of the space (an extra 209715200
blocks) or continue with the current setting?
Fix/Ignore?
24 If the following information is displayed, enter Fix, press Enter, and go to 25. If no
information is displayed, go to 25.
...
Warning: Not all of the space available to /dev/xvde appears to be
used, you can fix the GPT to use all of the space (an extra 209715200 blocks)
or continue with the current setting?
Fix/Ignore?
25 Enter unit GiB print and press Enter if the following information is displayed:
Disk /dev/xvde: 2306GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
(parted)
(parted)
27 Enter the name of the newly created partition and press Enter. For example, enter
TestExtend and press Enter.
The following information is displayed:
...
File system type? [ext2]?
28 Enter the file system type of the newly created partition and press Enter. For example,
enter ext3 and press Enter.
The following information is displayed:
...
Start?
29 Enter the start location of the new partition and press Enter. For example, enter
2050GiB and press Enter.
The following information is displayed:
...
End?
30 Enter the end location of the newly created partition and press Enter. For example, enter
2100GiB and press Enter.
The following information is displayed:
...
End?
(parted)
Make a note of the newly created partition number 2. Then the newly created partition
is /dev/xvde2.
32 Enter quit to switch back to the CLI of the VM.
33 Run the following command to format the newly created partition:
mkfs.ext3 /dev/xvde2
The following information is displayed:
...
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
34 Run the following commands to attach the partition to the specified directory:
The following commands use /mnt/testextend as an example.
mkdir /mnt/testextend
mount /dev/xvde2 /mnt/testextend
35 Run the following command to check the attaching result:
df -TH
The following information is displayed:
Filesystem Type Size Used Avail Use% Mounted on
...
/dev/xvde2 ext3 53G 189M 50G 1% /mnt/testextend
36 Determine whether to set automatic attaching upon system start for the new disk.
– If yes, go to 37.
– If no, no further action is required.
37
NOTICE
– Do not set automatic attaching upon system start for unformatted disks, which will
cause user VMs to fail to start.
– If a new disk, for which automatic attaching upon system start has been set, needs to
be detached, the automatic mounting configuration information must first be deleted.
Otherwise, user VMs fail to start after the disk is detached.
Run the following command to open the fstab file using the visual interface (vi) editor:
vi /etc/fstab
38 Press i to enter editing mode.
39 Move the cursor to the end of the file, press Enter, and enter the following command:
----End
Additional Information
Related Tasks
Initializing Disks on a Linux VM
Related Concepts
None
Scenarios
Install the antivirus software client driver on a secure user VM. Only Windows VMs can be
set to secure user VMs.
NOTE
This section describes how to install the antivirus software client driver on one VM. To install the driver
on multiple VMs in batches or upgrade the driver, see the FusionCompute V100R005C10SPC700
Virtualization antivirus client driver batch installation and upgrade instructions.
To obtain the document:
l For enterprises, visit http://support.huawei.com/enterprise and choose Downloads > IT >
FusionCloud > FusionSphere > FusionSphere SIA > V1.2.10.170.
l For carriers, visit http://support.huawei.com and choose Software > Carrier IT > FusionCloud >
FusionSphere > FusionSphere SIA > FusionSphere SIA V1.2.10.170.
Conditions
l You have logged in to the FusionCompute.
l The VM is in the Running state.
l The VM has the Tools run properly on it.
l You have obtained the package that contains the antivirus software client driver.
FusionSphere SIA V1.2.10.170_GuestOSDriver for FusionSphere V100R005C10.zip
To obtain the package:
– For enterprises, visit http://support.huawei.com/enterprise and choose Downloads >
IT > FusionCloud > FusionSphere > FusionSphere SIA > V1.2.10.170.
– For carriers, visit http://support.huawei.com and choose Software > Carrier IT >
FusionCloud > FusionSphere > FusionSphere SIA > FusionSphere SIA
V1.2.10.170.
NOTE
Verify the obtained software packages. For details, see Verifying Software Packages.
Procedure
----End
A.2 FAQs
A.2.1 VNC Login Troubleshooting
Procedure
Fault 1: The system displays "This function requires the Java (TM) plug-in. Please download
and install the Java plug-in."
Fault 2: The system displays "The version of the Java (TM) plug-in you have installed is
earlier than 1.7.0_65. Please download and install a later version to support this function."
Solution: Download the corresponding version of the Java plug-in as instructed. If the Virtual
Network Computing (VNC) login fails again after the Java plug-in is installed, uninstall all
the Java plug-ins and reinstall them.
Fault 3: A message is displayed indicating that the Java (TM) plug-in expired or is not safe.
Solution:
l Click Run and log in to a VM using VNC. The information will be displayed again upon
next login.
Solution:
Login Faults
Fault 1: After Log In Using VNC is clicked, a dialog box is blocked.
Solution:
l Disable the pop-up blocker of the browser.
l Configure the pop-up blocker settings to always see pop-ups for the site.
Fault 2: If "The web site certificate cannot be validated. Do you want to continue?" is
displayed, the VM login using VNC fails after No is clicked.
Solution:
1. Deregister the current user.
2. Close all the pages of the browser.
3. Log in to the FusionCompute again.
4. Click Log In Using VNC.
5. Click Always trust the issuer's content.
6. Click Yes.
Fault 3: The system displays "The VM attached with a GPU cannot be logged in to using
VNC after the GPU works. Detach the GPU from the VM and try again or log in to the VM
by running mstsc."
Solution:
l Detach the GPU from the VM, close the VNC login page, and log in to the VM using
VNC again.
l Log in the VM in remote mode.
Fault 4: The VNC login is unavailable after the FusionCompute is upgraded or rolled back
after upgrade.
Solution:
1. In the Java installation directory (for example, C:\Program Files\Java\jre7\bin),
double-click javacpl.exe to open the Java Control Panel window.
2. Click Settings to open the Temporary Files Settings window.
3. Deselect Keep temporary files on my computer.
4. Click Delete Files, select all the files in the displayed dialog box, and click OK.
Fault 5: During the VNC login, a message is displayed indicating that the Java security
settings have blocked an application from running.
Solution:
1. In the Java installation directory (for example, C:\Program Files\Java\jre7\bin),
double-click javacpl.exe to open the Java Control Panel window.
2. Lower the security level on the Security.
NOTE
A Java version later than Java 8 Update 20 is not configured with security level Medium. Therefore,
only security levels High and Very High are available. To lower the security level, you can add the
application programs that are allowed by security level Medium in earlier versions to Exception Site
List one by one. Therefore, a Java version later than Java 8 Update 20 reduces the risks caused by a
lower security level.
Fault 6: During VNC login, a dialog box is displayed asking you to enter the password.
Solution:
1. In the Java installation directory (for example, C:\Program Files\Java\jre7\bin),
double-click javacpl.exe to open the Java Control Panel window.
2. Click Settings to open the Temporary Files Settings window.
3. Deselect Keep temporary files on my computer.
4. Click Delete Files, select all the files in the displayed dialog box, and click OK.
Solution:
1. In the Java installation directory (for example, C:\Program Files\Java\jre7\bin),
double-click javacpl.exe to open the Java Control Panel window.
2. Click Settings to open the Temporary Files Settings window.
3. Deselect Keep temporary files on my computer.
4. Click Delete Files, select all the files in the displayed dialog box, and click OK.
5. Clear the browser cache, restart the browser, mount the CD/DVD-ROM drive again, and
check whether the CD/DVD-ROM drive works properly.
– If yes, no further action is required.
– If no, go to6.
6. Log in to the host accommodating the VM, run the service rcdromsvc restart command
to restart the CD/DVD-ROM drive, and mount the CD/DVD-ROM drive again:
service rcdromsvc restart
Input Delay
Fault 1: When a user inputs information using a keyboard, the VNC window responds
slowly.
Possible Causes:
l The network delay is high.
l The CPU or memory usage on the local PC is high.
l The Java plug-in cache is high.
l The host loads are high due to excessive VM VNC logins.
Solution: Typically, the VNC window responds to user inputs within 0.3 second. If the VNC
window takes more than 0.3 second to respond, check the system based on the preceding
possible causes, and troubleshoot the system.
Other Faults
Fault 1: The keyboard does not function in a VM.
Solution: Click Alt or Ctrl on the VNC toolbar to unlock the keyboard.
Fault 2: The browser does not respond if the user clicks Log In Using VNC.
Solution: If you have logged in to the VM using VNC, the login page is not displayed after
you click Log In Using VNC. Therefore, check whether the login page has been opened
already.
Fault 3: If multiple VNC windows are concurrently opened, the VNC windows may
repeatedly pop up when users are performing other operations, adversely affecting users'
operations.
Solution:
1. In the Java installation directory (for example, C:\Program Files\Java\jre7\bin),
double-click javacpl.exe to open the Java Control Panel window.
2. Click View on the Java tab, add parameter -Xms128M -Xmx256M -Xverify:none to
Runtime Parameters, click OK, and restart the browser.
NOTICE
When importing or exporting a VM or a VM template, do not perform the following
operations:
l Close the browser.
l Deregister the user.
l Power off the host related to the task.
l Close or refresh the task window.
Fault 1: After "The web site certificate cannot be validated. Do you want to continue?" is
displayed and the user selects No, the task does not continue.
Solution: Restart the browser, log in to the system, and create the task again. When Always
trust the issuer's content is displayed, click Yes.
Fault 2: When FusionCompute is loading a plug-in, the loading is blocked due to the Java
security settings.
Solution:
1. In the Java installation directory (for example, C:\Program Files\Java\jre7\bin),
double-click javacpl.exe to open the Java Control Panel window.
2. Lower the security level on the Security.
NOTE
A Java version later than Java 8 Update 20 is not configured with security level Medium. Therefore,
only security levels High and Very High are available. To lower the security level, you can add the
application programs that are allowed by security level Medium in earlier versions to Exception Site
List one by one. Therefore, a Java version later than Java 8 Update 20 reduces the risks caused by a
lower security level.
Fault 3: During template importing or exporting, the progress bar does not move for a long
period of time.
Solution:
1. Check whether the communication between the local PC and the host in the
FusionCompute system is normal. If the template is imported from a network server, you
also need to check whether the communication between the local PC and the network
server is normal.
2. If the network communication is normal, close the page displaying the existing
importing or exporting task, and import or export the template again.
Scenarios
After VM installation, stop the VM power management service for VMs that run the Red Hat
Enterprise Linux 4.4 32-bit or 64-bit or CentOS 4.4 32-bit or 64-bit operating system (OS).
Otherwise, the VMs may fail to be safely stopped.
Prerequisites
Conditions
The OS has been installed on the VM.
Procedure
----End
A.2.4 Failed to Start the Linux VM That Has Greater Than 32 CPU
Cores
Scenarios
If the VM runs any of the following OSs and the number of VM CPU cores needs to be
increased to greater than 32, upgrade the system kernel:
l CentOS 6.1, 6.2, 6.3, 6.4, 6.5, and 6.6 (32-/64-bit)
l Red Hat Enterprise Linux 6.1, 6.2, 6.3, 6.4, 6.5, and 6.6 (32-/64-bit)
l Oracle Linux Server release 6.1, 6.2, 6.3, 6.4, 6.5, and 6.6 (32-/64-bit)
l Red Flag Asianux Server 4 SP2 (32-/64-bit)
Prerequisites
Conditions
You have obtained the following RPM packages (available at http://ftp.riken.jp/Linux/
centos/6/updates/x86_64/Packages/) for upgrading the system kernel:
l kernel-2.6.32-504.12.2.el6.x86_64.rpm
l kernel-firmware-2.6.32-504.12.2.el6.noarch.rpm
Procedure
1 Use WinSCP to copy the RPM packages to any directory of the VM.
For example, copy the packages to the /home directory.
2 Use PuTTY to log in to the VM OS.
Ensure that username root is used to establish the connection.
3 Run the following command to switch to the directory where the RPM packages are
saved:
cd /home
4 Run the following command to install the RPM packages:
rpm -ivh kernel-2.6.32-504.12.2.el6.x86_64.rpm
rpm -ivh kernel-firmware-2.6.32-504.12.2.el6.noarch.rpm
5 After the packages are installed, run the following command to restart the VM and make
the new kernel take effect:
reboot
----End
Possible Causes
The host accommodates the VM is migrated to another cluster.
Procedure
Bind the VM to the host.
1 On FusionCompute, click VM and Template.
The VM and Template page is displayed.
2 Click VM in the left pane, enter the search criteria, and click Search.
3 Click the VM name.
The VM summary page is displayed.
4 Choose Options > VM-Host Binding.
5 Select Bind the VM to a host and select the host that provides local storage to the VM.
6 Click OK.
A dialog box is displayed.
7 Click OK.
8 Restart the VM.
To unbind the VM from the host, perform the following operations:
Unbind the VM from the host.
9 On FusionCompute, click VM and Template.
The VM and Template page is displayed.
10 Click VM in the left pane, enter the search criteria, and click Search.
11 Click the VM name.
The VM summary page is displayed.
12 Choose Options > VM-Host Binding.
13 Deselect Bind the VM to a host and click OK.
A dialog box is displayed.
14 Click OK.
----End
Related Information
None
Symptom
After memory overcommitment is enabled for the cluster, some VMs in the cluster fail to
start.
Possible Causes
Before memory overcommitment is enabled for the cluster, the VM memory reservation
values of some VMs in the cluster are changed. After memory overcommitment is enabled for
the cluster, other VMs may fail to start due to memory insufficiency.
Procedure
----End
Related Information
None
Symptom
The VM fails to start if you install the SUSE 10 SP1 32-bit operating system (OS) on the VM
using an ISO file and make the VM use the smp or bigsmp kernel. Figure A-29 is displayed
when the fault occurs.
Possible Causes
The xen_bus modules of default smp and bigsmp kernels of the SuSE 10 SP1 32-bit OS have
defects. Therefore, when loading the modules, the system fails to respond.
Fault Diagnosis
None
Procedure
1 Click on the Virtual Network Computing (VNC) login window to restart the VM.
The VM startup screen is displayed.
2 On the screen for selecting the boot device, enter harddisk to make the VM start from
the hard disk.
3 When the screen for selecting the GNU GRUB is displayed, select Fauksafe -- SUSE
Linux Enterprise Server 10 SP1 within 8 seconds and press Enter.
4 Install the OS as instructed and configure required parameters, such the password for
user root.
5 Log in to the VM as user root.
6 Run the following command to query the name of smp and bigsmp software packages:
7 Run the following command to uninstall the smp and bigsmp software packages:
rpm -e Software package name
For example, run the rpm -e xen-kmp-smp-3.0.4_13138_2.6.16.46_0.12-0.40
command.
8 Restart the VM and select SUSE Linux Enterprise Server 10 SP1 on the screen for
selecting the GNU GRUB.
Check whether you can log in to the VM.
– If yes, no further action is required.
– If no, contact technical support.
----End
Related Information
None
Possible Causes
The system queries disks by in default hd mode during VM startup.
Fault Diagnosis
None
Procedure
Step 1 Click NO.
A message is displayed indicating that the system fails to initialize the catalog.
Step 2 Click OK.
A manual installation screen is displayed, as shown in Figure A-33.
Step 7 Enter hdd and press Enter. (hdd indicates the CD/DVD-ROM drive used in the system.)
The screen shown in Figure A-38 is displayed.
Step 9 Install the OS and press e to enter editing mode as shown in Figure A-40 when the window
shown in Figure A-39 is displayed.
Step 11 Move the cursor to the right of the content highlighted in red, as shown in Figure A-42.
Step 16 Run the following command on the command-line interface (CLI) to open the menu.lst file
using the vi editor:
vi /boot/grub/menu.lst
Step 17 Press i to enter editing mode.
----End
Related Information
None
Possible Causes
The hda is set to noprobe in the menu.lst configuration file when the VM OS is installed
using the ISO file in default installation mode. As a result, the system fails to detect /dev/hda1
and /dev/hda2 disks.
Fault Diagnosis
None
Procedure
Step 1 Click on the Virtual Network Computing (VNC) window to forcibly restart the VM.
NOTE
l During VM restart, click Yes when a dialog box, asking you whether to connect again, is displayed.
l Do not close the VNC window during the OS installation. If you close the VNC window by mistake,
mount the OS ISO file again.
Step 2 During VM restart, press e when the window shown in Figure A-46 is displayed.
The window shown in Figure A-47 is displayed.
NOTE
If you do not press e during the VM restart, the window shown in Figure A-48 is displayed. Then you
can forcibly restart the VM and perform this step again.
Step 3 Select the second line (kernel /boot/vmlinuz) and press e to enter editing mode as shown in
Figure A-49.
Step 4 Move the cursor to the right of the content highlighted in red, as shown in Figure A-50.
Step 8 Run the following command on the command-line interface (CLI) to open the menu.lst file
using the vi editor:
vi /boot/grub/menu.lst
Step 9 Press i to enter editing mode.
Step 11 Press Esc to exit editing mode and enter :wq to save the modification and exit.
----End
Related Information
None
Possible Causes
The Oracle Linux 5.7 64-bit OS uses the 2.6.32-200.13.1.el5uek kernel as the default boot
option. However, when the OS runs on the Xen hypervisor, the system does not load the Xen
front-end driver by default. Therefore, the system cannot discover disks, and the VM fails to
start.
Fault Diagnosis
None
Procedure
5 Press any key within the specified time to enter the window for selecting a kernel, as
shown in Figure A-54.
6 Select Oracle Linux Server–base (2.6.18-274.el5) and press Enter to start the system.
7 Configure the system as instructed and log in to the VM OS as user root.
8 Right-click on the VM desktop and select Open Terminal from the shortcut menu.
9 Run the following command to switch to the /boot directory:
cd /boot
10 Run the following command to repair the 2.6.32-200.13.1.el5uek kernel.
mkinitrd -f initrd-2.6.32-200.13.1.el5uek.img 2.6.32-200.13.1.el5uek --builtin=ehci-
hcd --builtin=ohci-hcd --builtin=uhci-hcd --with=xen-blkfront --with=xen-netfront
Description of the parameters in the command is as follows:
– --builtin=ehci-hcd --builtin=ohci-hcd --builtin=uhci-hcd indicates that the ehci-
hcd, ohci-hcd, and uhci-hcd of the target kernel of the mkinitrd command are
builtin modules.
– --with=xen-blkfront --with=xen-netfront indicates that the script for loading the
xen-blkfront and xen-netfront upon VM startup needs to be added to the initrd boot
file in the target kernel of the mkinitrd command.
11 Run the reboot command to restart the VM and press any key when the window shown
in Figure A-53 is displayed.
12 On the window for selecting a kernel, select Oracle Linux Server
(2.6.32-200.13.1.el5uek) and press Enter to start and log in to the system.
----End
Related Information
None
Possible Causes
The VM OS cannot locate the UEFI boot file. Therefore, the OS cannot start.
Procedure
Configure the boot file.
After the OS is successfully installed on the VM, you are required to restart the VM OS.
During the OS restart process, press Delete to enter the UEFI setup screen and perform the
following operations:
1 Move the cursor to Boot Maintenance Manager shown in Figure A-55 and press
Enter.
2 Move the cursor to Boot From File shown in Figure A-56 and press Enter.
3 On the Boot From File screen, move the cursor to the first option NO VOLUME
LABEL shown in Figure A-57 and press Enter.
6 Move the cursor to grub.efi shown in Figure A-59 and press Enter.
9 Move the cursor to Add Boot Option shown in Figure A-61 and press Enter.
11 After grub.efi is selected, enter the Modify Boot Option Description screen shown
Figure A-63.
12 Press Enter to enter description information for Input the Description shown in Figure
A-64.
13 Press Enter to confirm the information. Figure A-65 shows the screen.
14 Press F10 to save the configuration and press Y to confirm the operation. Figure A-66
shows the screen for confirming the operation.
15 Press Esc to switch to the Boot Option screen and then select Change Boot Order
shown in Figure A-67.
17 Select the description you entered in 12 and press + to move it to the top. Figure A-69
shows the screen.
18 Press F10 to save the configuration, press Y to confirm the operation, press Esc to
switch to the initial screen, and select Continue.
----End
Related Information
None
Symptom
After the Ubuntu 11.10 Server operating system (OS) is installed on a VM, the VM OS fails
to be loaded and information similar to the following is displayed:
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx does not exist.
Dropping to a shell!
(initramfs)
Possible Causes
The Ubuntu 11.10 OS cannot start from the XEN PV hard disk.
Fault Diagnosis
None
Procedure
Make the system load the VM OS based on modified GRUB options.
1 Restart the VM and press e on the OS selection screen shown in Figure A-70 to enter the
screen for editing the GRUB boot options, as shown in Figure A-71.
2 Locate the last second row and enter the following command on the right of ro:
xen_emul_unplug=never
Figure A-72 shows the GRUB boot options after the command is added.
3 Press F10 to save the GRUB boot options and restart the VM.
The VM OS starts based on the modified GRUB boot options.
NOTE
Modifications on the GRUB boot options take effect for only one time. If the VM restarts before
this task is complete, modify the GRUB boot options again.
Add the XEN PV hard disk driver to the OS and update the initramfs file.
4 Log in to the VM OS using the username and password configured during the OS
installation.
5 Run the following command to enter the password of the current user and switch to user
root:
sudo -i
6 Run the following commands to add the XEN PV hard disk driver:
echo "xen-platform-pci" >> /etc/initramfs-tools/modules
echo "xen-blkfront" >> /etc/initramfs-tools/modules
7 Run the following command to view the execution result of the preceding commands:
cat /etc/initramfs-tools/modules
The following information is displayed:
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
xen-platform-pci
xen-blkfront
If xen-platform-pci and xen-blkfront are displayed at the end of the command output,
the commands are successfully executed.
8 Run the following command to update the initramfs files:
update-initramfs -u
The VM can be used after the command is successfully executed.
----End
Related Information
None
A.2.13 How to Attach a Raw Device Mapped Disk That Has Been
Detached from a VM to a Physical Server
Scenarios
After a logical unit number (LUN) on a storage area network (SAN) device is attached to a
VM as a disk, detach the disk, and attach the LUN to a physical server.
Procedure
6 Run the following command to attach the partition to the physical server.
----End
Symptom
When a Window VM is started after an unexpected power failure, the following symptoms
may occur:
l A user disk drive letter is not displayed in Computer.
l After you right-click Computer and choose Manage > System Tools > Device
Manager, an unknown device is displayed for the Storage volumes node.
l After you right-click Computer and choose Manage > Storage > Disk Management, a
disk without a drive letter is displayed. Error messages are displayed if you attempt to
perform operations on the disk.
Possible Causes
The power failure occurred when the user disk initialization was just complete, causing some
information about the disk registry to be lost.
Fault Diagnosis
None
Procedure
Step 1 Right-click Computer and choose Manage.
The Computer Management window is displayed.
Step 2 In the navigation tree, choose System Tools > Device Manager.
Step 3 Delete Unknown device from Storage volumes in the pane in the middle of the window.
Step 4 Right-click the computer name in the top part of the pane and choose Scan for hardware
changes.
After the scan is complete, the fault is rectified if the user disk drive letter is displayed in
Computer.
----End
Related Information
None
Symptom
The ifconfig command cannot be used to query network information after the Red Hat 7 or
CentOS 7 OS is installed.
Possible Causes
The net-tools tool is not installed during OS installation.
Procedure
1 Mount the ISO image of the OS to the VM using the CD/DVD-ROM drive.
For details, see Mounting a CD/DVD-ROM Drive or an ISO File.
2 Log in to the VM using Virtual Network Computing (VNC).
3 Right-click the VM desktop displayed in the VNC window and choose Open in
Terminal from the shortcut menu.
4 Run the following command to create a xvdd directory:
mkdir /dev/xvdd
5 Run the following command to attach the CD/DVD-ROM drive to the VM:
----End
Related Information
None
Possible Causes
During the VM startup or restart process, the Tools on the VM does not take effect. VM
drivers scan devices and update the system registry. If you attach the disk to the VM before
driver initialization is complete, exceptions may occur during system registry update.
Therefore, the disk fails to be attached. Figure A-73 shows the displayed error message.
Procedure
3 Select Search automatically for updated driver software in the displayed page, as
shown in Figure A-75.
4 After the update, click Close shown in Figure A-76 to close the page.
5 Click Scan for hardware changes to scan hardware again or restart the VM. The status
of the attached disk becomes normal, shown in Figure A-77.
----End
Related Information
None
Symptom
If you install 64-bit Linux operating systems (OSs) using the installation wizard, the graphical
user interface (GUI) of some OSs may fail to display after the OSs start in default settings. If
you log in to the VM using Virtual Network Computing (VNC), erratic display occurs and
you cannot perform any operation on the VM.
Possible Causes
The xorg-x11-drv-cirrus graphics processor unit (GPU) driver of the preceding Linux OSs
has a defect that causes the GUIs of the OSs fail to display in the virtualization environment.
Fault Diagnosis
None
Procedure
1 Obtain the xorg-x11-drv-cirrus driver from the official website of the OS vendor.
2 Log in to the VM using VNC and perform the following steps to manually change the
startup parameters to enable the VM OS to start in command-line interface (CLI) mode if
the VM starts in the GUI mode by default:
a. Press any key when the system startup screen is displayed to enter the GRUB menu
that is shown in Figure A-78.
b. Press E when the GRUB menu is being started, as shown in Figure A-79.
c. Use the down arrow (↓) to select the kernel startup parameter and press E, as shown
in Figure A-80.
d. Add 3 to the end of the kernel startup parameter. Press Enter to switch to the upper-
level menu and press B to start the VM. Figure A-81 shows the related page.
3 Use WinSCP to copy the obtained driver file to the VM. You must ensure that the VM
network has been configured to allow for this operation.
4 Run the following command on the VM as user root to install the file:
rpm -U --nodeps --force Obtained driver file
5 Run the following command to restart the VM:
reboot
----End
Related Information
None
Symptom
The error message shown in Figure A-82 is displayed when a user installs Tools on a VM
running the Windows Server 2003 SP0 operating system (OS).
Possible Causes
The OS version is too old.
Fault Diagnosis
Upgrade the OS.
Procedure
1 Upgrade the Windows Server 2003 SP0 OS to Windows Server 2003 SP1 or later based
on upgrade method provided by the OS provider.
----End
Related Information
None
Symptom
A user uninstalls the Tools and reinstalls it again. However, the Tools reinstallation suspends.
The following operations use Windows Server 2008 operating system (OS) as an example to
describe how to rectify this failure.
Possible Causes
VMs for which the upgrade is not complete are stopped or an exception occurs during Tools
uninstallation. Therefore, residual Xen PCI driver information exists in the Windows OS,
which adversely affects the next Tools installation.
Fault Diagnosis
None
Procedure
1 Open the task manager of the OS and terminate the Tools installation process in the task
manager.
Figure A-83 shows the OS task manager.
2 Perform the following steps to manually uninstall the Xen PCI driver:
a. Right-click Computer and choose Manage. Figure A-84 shows the displayed
drop-down list.
b. Select the xenpci driver marked with an exclamation mark (!) on the displayed
page, right-click the driver, and choose Unintall.
c. In the displayed dialog box shown in Figure A-85, select Delete the driver
software for this device and click OK.
Related Information
None
Symptom
After Linux VMs that have Tools installed are started in batches, a user uses the extended API
to query the VM IP addresses. However, the user occasionally fails to obtain the IP addresses.
After logging in to the VM, the user runs the ifconfig command and finds that no IP address
is configured for the VM NIC.
After analysis of the VM startup log, it is found that the VM NIC does not start during the
network service startup process.
Possible Causes
Configuration file ifcfg-eth* is renamed ifcfg-eth*.bak. Some Linux OSs cannot identify
ifcfg-eth*.bak, and the VM NIC does not start during the network service startup process. As
a result, the VM cannot obtain an IP address from the DHCP service.
Fault Diagnosis
None
Procedure
----End
Related Information
None
A.2.21 System Breakdown of Red Hat Enterprise Linux 5.3 and 5.4
64-Bit OSs Caused by IPv6
Symptom
After the IPv6 module is loaded for the VM running the Red Hat Enterprise Linux 5.3 or 5.4
64-Bit OS, the VM occasionally breaks down during the running process.
Possible Causes
The Red Hat Enterprise Linux 5.3 and 5.4 64-Bit OSs have a system vulnerability. Attackers
on the local network can exploit this vulnerability by sending IPv6 packets to the targeted
system, which causes the VM OS to break down.
Fault Diagnosis
None
Procedure
b. Modify the /etc/sysconfig/network file and ensure that the IPv6 configuration item
is set as follows:
NETWORKING_IPV6=no
----End
Related Information
None
(initramfs)
Possible Causes
The Ubuntu 11.10 OS cannot start from the FusionCompute virtual hard disk.
Fault Diagnosis
During the VM startup process, modify the boot file to enter the VM OS. Then, add the
FusionCompute virtual hard disk driver to the VM OS and update the initramfs file.
Procedure
Make the system load the VM OS based on the modified boot file.
1 Restart the VM and press e on the OS selection screen shown in Figure A-87 to enter the
screen for editing the boot file, as shown in Figure A-88.
2 Locate the last second row and enter the following command to the right of ro:
xen_emul_unplug=never
Figure A-89 shows the boot file after the command is added.
3 Press F10 to save the boot file and then restart the VM.
The VM OS starts based on the modified boot file.
NOTE
Modifications on the boot file take effect for only one time. If the VM restarts before this task is
complete, modify the boot file again.
Add the FusionCompute virtual hard disk driver to the OS and update the initramfs file.
4 Log in to the VM OS using the username and password configured during the OS
installation.
5 Run the following command, enter the password of the currently logged-in user, and
switch to user root:
sudo -i
6 Run the following commands to add the FusionCompute virtual hard disk driver:
echo "xen-platform-pci" >> /etc/initramfs-tools/modulesecho "xen-blkfront"
>> /etc/initramfs-tools/modules
7 Run the following command to view the execution result of the preceding commands:
cat /etc/initramfs-tools/modules
Information similar to the following is displayed:
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
xen-platform-pci
xen-blkfront
If xen-platform-pci and xen-blkfront are displayed at the end of the command output,
the commands are successfully executed.
8 Run the following command to update the initramfs file:
update-initramfs -u
The VM becomes available after the command is successfully executed.
----End
Related Information
None
A.2.23 System Time of the Woken-Up Red Hat and CentOS VMs
Is Eight Hours Earlier than the Current UTC Time
Symptom
After VMs running the Red Hat and CentOS operating systems (OSs) are woken up from the
hibernated state, the system time of the VMs is eight hours earlier than the current
Coordinated Universal Time (UTC) time.
Possible Causes
If the security mechanism SELinux of the Red Hat OS is set to the forcible mode, the
hwclock command is blocked. Therefore, the /proc/xen/xenbus (proc_xen_t) file cannot be
read from or written into, and the time on the hardware clock cannot be written into the
system clock after the VM is woken up from the hibernated state. As a result, the VM system
time is eight hours earlier than the current UTC time.
Fault Diagnosis
Disable SELinux for the CentOS and Red Hat OSs.
Procedure
Make the VM load the OS.
1 Run the following command on the Linux terminal: The screen shown in Figure A-90 is
displayed.
setup
3 Set Security Level to Disabled and SELinux to Disabled and click OK to save the
settings. Figure A-92 shows screen after the configuration.
4 Switch back to the setup screen and select Quit to exit the setup screen. Figure A-93
shows the displayed screen.
----End
Related Information
None
Symptom
Kernel panics occasionally occur during the startup of the OpenSUSE 11.3 (64-bit) OS.
Possible Causes
The OpenSUSE 11.3 (64-bit) OS has a vulnerability, which results in the conflict between
using and deleting the timer in the preloadtrace module and causes the system kernel to crash
as a result. For details about the vulnerability and how to fix it, see https://
sourceware.org/git/gitweb.cgi?
p=systemtap.git;a=commit;h=f2b610b6295628ae1fef744421c293883f1e4298.
Fault Diagnosis
None
Procedure
1 Run the following command to change the name of preloadtrace.ko in the /lib/
modules/2.6.34-12-desktop/systemtap directory to preloadtrace.ko_bak:
mv /lib/modules/2.6.34-12-desktop/systemtap/preloadtrace.ko /lib/modules/
2.6.34-12-desktop/systemtap/preloadtrace.ko_bak
This method resolves the issue by deleting the preloadtrace module.
----End
Related Information
None
Procedure
1 Right-click the new volume and choose Extend Volume in the shortcut menu.
The page shown in Figure A-95 is displayed.
2 In the Extend Volume Wizard dialog box that is displayed, click Next.
The page shown in Figure A-96 is displayed.
3 Click Next.
The page shown in Figure A-97 is displayed.
4 Click Finish, as shown in Figure A-98. The extended disk is displayed on the computer
management page, as shown in Figure A-99.
NOTE
When extending the disk partition (volume), pay attention to Microsoft's limitations on the size
and number of partition clusters. For the NTFS in a Windows OS later than Windows 2000, the
default cluster size is 4 KB if the partition size is less than 16 TB, and the default cluster size is 8
KB if the partition size ranges from 16 TB to 32 TB. For details, see https://
support.microsoft.com/zh-cn/kb/140365. If the cluster size for the partition before capacity
expansion differs from that after capacity expansion, the system displays a message indicating that
the volume extension fails because the number of clusters exceeds the upper limit supported by the
NTFS. Therefore, the volume can be extended to the maximum size supported by the current
cluster.
You can handle this issue as follows:
– You can create a new partition for the disk space to be extended. In this case, the system sets
a proper cluster size for the new partition.
– If the disk space to be extended must reside in the same partition as the original disk, back
up existing data on the partition to another disk, delete the partition, and format it together
with the disk space to be extended. However, this method is complicated, and you are
advised to use the preceding method to create a new partition.
----End
Related Information
None
Table A-5
OS Bit Remarks constraint
Scenarios
On FusionCompute, enable the antivirus function for a host to provide VMs on it with virus
scan, removal, and real-time monitoring services. For details about the antivirus function and
its deployment plans, see VM Antivirus Management in the FusionCompute V100R005C10
Virtual Machine Management Guide.
NOTE
The antivirus virtualization function and GPU sharing function cannot be enabled on a host at the same
time.
Prerequisites
Conditions
You have logged in to FusionCompute.
Procedure
Step 1 On FusionCompute, click Computing Pool.
Step 2 In the navigation tree on the left, select the site, cluster, and host.
The Getting Started page is displayed.
Step 5 Enter the number of the required secure user VMs on the host.
NOTE
Each host supports a maximum of 50 secure user VMs. However, the number of supported VMs on a
host varies depending on the antivirus software. If the number exceeds the upper limit of the software,
the antivirus functions become invalid.
----End
A.2.29 Compatibility
For details about the compatibility for servers, I/O devices, storage devices. and operating
systems (OSs), log in to compatibility check assistant.
Type OS
Type OS
Type OS
Type OS
Table A-8 lists the OSs that do not allow FusionCompute to use intelligent network interface
cards (iNICs).
Type OS
Table A-9 lists the OSs that do not support the VM hibernation function provided by
FusionCompute.
Type OS
Procedure
Step 1 Login to http://support.huawei.com/enterprise.
Step 2 Download OpenPGP Signature Verification Guide.
The download path is http://support.huawei.com/enterprise/toolsinfo?
idAbsPath=0602_ROOT|
8221819&pid=8221819&show=showServiceDetail&versionid=TV1000000016.
Step 3 Verifying the software package integrity by referring OpenPGP Signature Verification Guide.
----End
A.2.32 Disclaimer
Please read through the terms in this disclaimer if you use the Linux operating system
(OS). You may use kernel files provided by Huawei or other vendors. However, by using
kernel files provided by Huawei, you agree to accept and comply with the items set out
in this disclaimer. If you do not find the items reasonable, you shall not use the kernel
files provided by Huawei.
The kernels of some Linux OS versions provided by third-party vendors may be unsound. If
the Linux OS you use is listed below, please upgrade your OS to the latest version to ensure
that it functions properly on Huawei VMs.
l Red Hat Linux Enterprise 4.7 32-/64-bit
l Red Hat Linux Enterprise 6.0 32-/64-bit
l CentOS 4.7 32-/64-bit
l CentOS 6.0 32-/64-bit
l Ubuntu desktop 10.04 64-bit
l Fedora 12 32-bit
If the Linux OS cannot be upgraded to the latest version due to any reason, you are advised to
replace the original OS kernel files with Huawei kernel files free of charge.
Huawei only warrants that the Linux OS functions properly on Huawei VMs after the OS
kernel files are replaced. Huawei makes no express or implied warranty, statutory or
otherwise, for any incompatibility problems caused by the kernel file replacement. However,
Huawei can provide assistance in diagnosing the problems. Huawei shall not have liability for
any after-sale services for OS problems resulting from the kernel file replacement. Huawei
disclaims any warranty on technical support or maintenance provided by the Linux OS
provider. Huawei does not assume any and all liability for damages, including but not limited
to direct, indirect, special, incidental and consequential damages due to the use of the kernel
files during kernel file replacement.
Disk Data storage Specifies the name of the data store. UserDataStore01
configurati Configure the data store on each
ons disk.
l The Thin provisioning mode
can be selected only when
virtual storage is deployed.
l If the data store is set to RDM,
the disk created using the data
store cannot be used as a system
disk.
This parameter is mandatory.
Disk Data storage Specifies the name of the data store. UserDataStore01
configurati Configure the data store on each
ons disk.
l The Thin provisioning mode
can be selected only when
virtual storage is deployed.
l If the data store is set to RDM,
the disk created using the data
store cannot be used as a system
disk.
This parameter is mandatory.
Disk Data storage Specifies the name of the data store. UserDataStore01
configurati Configure the data store on each
ons disk.
l The Thin provisioning mode
can be selected only when
virtual storage is deployed.
l If the data store is set to RDM,
the disk created using the data
store cannot be used as a system
disk.
This parameter is mandatory.
Disk Data storage Specifies the name of the data store. UserDataStore01
configurati Configure the data store on each
ons disk.
l The Thin provisioning mode
can be selected only when
virtual storage is deployed.
l If the data store is set to RDM,
the disk created using the data
store cannot be used as a system
disk.
This parameter is mandatory.
A.3.11 VM Parameters
Table A-22 Parameter description
Catego Paramete Description Modifiable Example
ry r Value
B Glossary
B.1 A-E
B.2 F-J
B.3 K-O
B.4 P-T
B.5 U-Z
B.1 A-E
A
active directory A directory service created by Microsoft for Windows domain networks. It is included
in most Windows Server operating systems, such as Windows Standard Server,
Windows Enterprise Server, and Windows Datacenter Server.
AD See active directory
B
bare VM A VM that has an identity but does not occupy any CPU, memory, storage, or network
resource in the system.
Baseboard A dedicated micro controller embedded in the main board of a computer (especially a
Management server).
Controller
BMC See Baseboard Management Controller
C
CBT See Changed Block Tracking
Changed Block An incremental data backup function. With this function enabled, the system uses a
Tracking bitmap to keep track of VM storage blocks as they change following the last backup.
Therefore, the system only backs up the data blocks that have been changed since the
last backup.
CNA See Computing Node Agent
Computing Node This is deployed on a computing node and used to manage the VMs and VM
Agent mounting on the computing node.
D
disk The logical storage disk of a VM, which can either be a system disk or user disk.
distributed virtual A virtual switch (created on a physical server) that uses software to implement data
switch switching between VMs on the same or different servers.
Distributed Virtual A module used to manage distributed virtual switches (DVSs). Deployed in the same
Switch Management cluster with the Virtual Resource Management (VRM) node, the DVSM creates,
deletes, maintains, and presents DVSs in the system. Each cluster has a DVSM
module.
Dom0 See Domain 0
Domain Domain includes Dom0 and DomU.
Domain 0 A modified Linux kernel and the only VM that operates on the Xen Hypervisor. Dom0
can access physical I/O resources and interwork with other VMs operating on the
system. Dom0 must be started before other domains.
Domain U Paravirtualized VMs operating on the Xen Hypervisor are called Domain U PV
Guests, which supports the operating system whose kernel has been modified, such as
Linux, Solaris, FreeBSD, and other UNIX operating systems. Fully virtualized VMs
are called Domain U HVM Guests, which supports the operating system whose kernel
does not need to be modified, for example, Windows.
DomU See Domain U
DPM See Dynamic Power Management
DRS See Dynamic Resource Scheduler
DVS See distributed virtual switch
DVSM See Distributed Virtual Switch Management
Dynamic Power A module that intelligently powers on or off idle physical servers based on the system
Management load on the network.
Dynamic Resource A module that uses intelligent scheduling algorithms to flexibly schedule resources
Scheduler and dynamically balance system load to improve user experience.
E
Elastic Load Balancer A component that provides load balancing services for tenants. End users can apply
for an ELB and associate their hosts with the ELB. The ELB evenly distributes service
requests to the associated hosts based on customized load balancing policies. The ELB
helps improve service stability and reliability.
Elastic Service A point from which to control VM resources and virtual block storage resources. It
Controller provides an open ECi interface.
elastic virtual switch A virtual switch that implements data switching, virtual local area network (VLAN)
isolation, Dynamic Host Configuration Protocol (DHCP) isolation, bandwidth
limiting, and priority setting.
ELB See Elastic Load Balancer
Equipment Serial This uniquely identifies a set of equipment.
Number
ESN See Equipment Serial Number
EVS See elastic virtual switch
B.2 F-J
F
FCSAN See fibre channel storage area network
fiber channel storage A type of storage area network (SAN) that uses fiber channels between servers and
area network storage devices. FC SAN devices provide high performance but high costs, and are
gradually replaced by IP SAN devices.
full clone Full copy of the consolidated sum of delta disks and base disk of a virtual machine.
Each full clone is entirely separated from the parent VM and can have different system
disks or software from the parent VM. Full clones apply to common office automation
scenarios.
hierarchical storage A storage mechanism that stores the most-frequently accessed IP SAN data on a solid-
state drive (SSD) to speed up access, stores the less-frequently accessed data on a
Serial Attached SCSI (SAS) drive, and stores the seldom accessed data on a Serial
Advanced Technology Attachment (SATA) drive.
Host A physical server that runs virtual software. VMs can be created on a host.
Hypervisor The software layer on a virtual server, which manages the VMs on the server and
helps VMs share the hardware resources of the virtual server. The Xen Hypervisor is a
software layer between the hardware and operating system, which performs CPU
scheduling and partitioning between VMs. The Xen Hypervisor controls VM
migration between hardware devices and other VM-related operations (because the
VMs share a processing environment). The Xen Hypervisor does not process
networks, storage devices, videos, or other I/O resources.
Image An exact copy of all running software on a server used for quick installation of the
VM operating system and software.
iNIC Intelligent Network Interface Card
Integrated Storage This centrally manages multiple storage systems.
Management
IP storage area A type of storage area network (SAN) that uses IP channels between servers and
network storage devices. IP SAN device performance is not as good as the FC SAN device
performance, but the use of IP SAN devices is not restricted by transmission distances.
With the IP bandwidth improvement, IP SAN devices will gradually replace FC SAN
devices.
IP SAN See IP storage area network
iSCSI Internet Small Computer Systems Interface
ISM See Integrated Storage Management
B.3 K-O
L
LB Load Balancer
linked clone A duplicate of a virtual machine that uses the same base disk as the original and a
chain of delta disks to keep track of the differences between the original and the clone.
This reduces the need for disk space and allows multiple VMs to use the same
software installation. Linked clones apply to scenarios that require VMs using the
same software installation, for example, call centers. System disks on linked clones
can have slight differences from the system disk on the parent VM. The differences
are stored on delta disks of the linked clones.
linked cloning A technology used to generate a quick copy of VMs by creating a delta disk instead of
copying an entire virtual hard disk.
linked snapshot A snapshot taken only for the memory or storage changes of a VM. A VM can be
restored using multiple relevant linked snapshots. A snapshot can be taken for the
memory or storage resource.
Live Migration Also known as hot migration, this is a method of migrating virtual machines (VMs)
without interrupting services.
local storage Storage space provided by a computing node agent (CNA).
logical cluster A logical group consisting of servers with the same attributes, such as CPU, storage,
and distributed virtual switch (DVS), in a physical cluster. The VM HA function takes
effect only for servers in the same logical cluster.
LUN Logical Unit Number
B.4 P-T
P
placeorder VM When the host-based replication disaster recovery (DR) is used, and you add VMs to a
protection group, UltraVR automatically creates placeorder VMs at the DR site based
on the VM specifications and resource mappings of the VMs added to the protection
group. Then UltraVR synchronizes data of the protected VMs with the placeorder
VMs. When executing the recovery plan, UltraVR can start the placeorder VMs at the
DR site to quickly restore services. UltraVR can also use a placeorder VM to clone
and start a VM to test the recovery plan. This process exerts no adverse impact on data
synchronization between the protected VM and the placeorder VM. After the recovery
plan is executed, UltraVR will stop and delete the clone.
POE See Provisioning Orchestration Engine
port group A group of ports with the same attributes on a distributed virtual switch (DVS) or
virtual software switch (VSS). In a hypervisor, all DVS settings, such as virtual local
area network (VLAN) and network flow control, are configured on a port group basis.
PortGroup See port group
Pre-boot Execution This technology enables computers to boot from the network. This technology is the
Environment successor of Remote Initial Program Load (RPL). The PXE works in client/server
mode. The PXE client resides in the ROM of a network card. When the computer
boots up, the BIOS invokes the PXE client to the memory. The PXE client obtains an
IP address from the DHCP server and downloads the operating system from the
remote server through TFTP.
Provisioning This exposes the unified service provisioning interface and synchronizes services
Orchestration Engine between components in the SingleCLOUD system.
PXE See Pre-boot Execution Environment
Software Client Software running on a common PC to process the virtual desktop protocol.
Storage Area Network A network dedicated to transporting data for storage and retrieval.
storage cold migration A storage migration mode that allows data migration on a disk only after all VMs on
the disk are stopped.
storage resource pool A collection of storage resources. For example, an IP storage area network (IP SAN)
functions as a storage resource pool for a cluster.
Storage Thin Storage thin provisioning is the act of using virtualization technology to give the
Provisioning appearance of more physical storage resources than is actually available. It allows
storage space to be easily allocated to users on an on-demand and auto-scale basis.
This optimizes utilization of available storage resources.
T
TC See Thin Client
Thin Client A terminal with lower processing power than a Thick Client that processes the virtual
desktop protocol, serves as the client of the remote desktop, and provides an access
method for users.
Thin LUN A logical storage unit created in the thin pool. The thin LUN is accessible to the host.
Thin Pool A thin pool is implemented based on storage thin provisioning. It allows storage space
to be dynamically allocated to users on demand. This optimizes utilization of available
storage resources.
Tools Tools is a virtualized driver for VMs. Tools improves VM performance, enables VM
hardware monitoring and advanced VM functions, such as migration, snapshot taking,
and on-line CPU adjustment.
B.5 U-Z
U
Unified Virtualization Virtual management software that divides the computing resource into multiple VM
Platform resources.
UVP See Unified Virtualization Platform
V
vCPU See Virtual CPU
VDS See Virtual Distributed Switch
vFW See Virtual Firewall
VIMS See Virtual Image Management System
Virtual CPU A hyper-thread on a server with multiple physical CPUs, which have multiple physical
cores on each CPU and multiple hyper-threads on each core.
Virtual Disk A file in the host file system. For a customer operating system, it functions as a
physical disk drive. The file can be configured on the host or a remote file system.
After configuring a VM with a virtual disk, you can install a new operating system to
the disk file without having to repartition a physical disk or restart the host. Virtual
disks on the VMware Workstation can be mapped to the partitions on the host.
Virtual Distributed A virtual switch (created on a physical server) that uses software to implement data
Switch switching between VMs on the same or different servers.
Virtual Firewall A network firewall service or appliance running in a virtualized environment to
provide the usual packet filtering and monitoring functions like a physical network
firewall.
Virtual Image A high-performance cluster file system that enables the FusionManager to connect to
Management System storage resources through a unified interface, which allows multiple VMs to gain
access to an integrated storage pool to improve resource utilization efficiency. The
VIMS, as the basis for virtualizing multiple storage servers, provides services such as
live migration, dynamic resources scheduling, and high availability for storage
devices.
Virtual Local Area An end-to-end logical network across different network segments and networks,
Network constructed using the network management software based on the switching LAN.
Network resources and users are logically divided based on a certain principle and a
physical LAN is logically divided into multiple broadcasting domains (VLANs). The
hosts on a VLAN can directly communicate with each other whereas different VLANs
cannot. This efficiently suppresses broadcasting packets.
Virtual Machine One or multiple computer systems virtualized from a physical server.
Virtual Machine A function that controls the scheduling policy configuration and the control points of
Dispatch the policy dispatching.
Virtual Machine An operation that can be performed to a running VM. After the hibernated VM is
Hibernate started, it restores all programs before the hibernation.
Virtual Machine IP The IP address assigned to a VM, corresponding to the IP address of a physical
Address machine. The VM can communicate with other devices on the network through the IP
address.
Virtual Memory Virtualized memory for a VM allocated based on the physical memory. Even if the
memory is not physically contiguous, it is contiguous for the VM. The VM can
randomly save and obtain data in its virtual memory without affecting the memory
accessibility of other VMs on the same physical machine.
Virtual Network Card A network card for VMs that corresponds to that of a physical machine. Multiple
virtual network cards can be created for a single VM. The virtual network card can
connect to the physical network card in bridge mode for data transmission.
Virtual Resource Huawei-developed virtualization management software, which comprises Huawei
Management infrastructure products and the Unified Virtualization Platform (UVP).
Virtual Server This is where the operating system and applications run based on various
virtualization technologies, unlike the original physical server. When using certain
resources of the physical server, the virtual server is the same as the physical server
for users. Both partitions and VMs are considered virtual servers.
Virtual Service A virtual appliance that provides layer 3 or layer 4 services on a virtual network. It can
Gateway contain one or multiple service instances including vRouter, vFirewall, vDHCP, NAT,
and VPN. The FusionManager supports VSG service implementation through a
vFirewall or a system VM.
Virtual Software This is deployed on a computing node and performs the virtual network switching
Switch function for the VMs on the node.
VLAN See Virtual Local Area Network
VM See Virtual Machine
VM High Availability With this, the O&M system continuously monitors all physical hosts and
automatically migrates all VMs off a faulty host.
VM Migration A technology used to migrate VMs to another hardware resource for VM operations.
VM Specifications A set of pre-defined VM attributes for creating VMs with unified specifications.
VM template A template used to create VMs that have the same specifications. A VM template is a
VM in essence. A VM and a VM template can convert to each other as required. After
a VM is converted to a VM template, only its isTemplate attribute is changed to true.
VMD See Virtual Machine Dispatch
VRM See Virtual Resource Management
VSG See Virtual Service Gateway
VSS See Virtual Software Switch