No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionAccess Desktop Solution V100R006C20 Windows Desktop Management Guide 09 (FusionSphere V100R006C10 or Earlier)

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Creating a VM Template (Linked Clone, Full Memory, or QuickPrep)

Creating a VM Template (Linked Clone, Full Memory, or QuickPrep)

Scenarios

On the FusionCompute portal, create a linked clone, full memory, or QuickPrep VM template as required.

Prerequisites

  • You have obtained the template tool FusionAccess_Windows_Installer_V100R006C20SPC102.iso.
  • You have logged in to the VM using the Administrator account.

Data

For details about key data and parameters, see the description given in specific procedures.

Procedure

(Optional) Deleting local users

NOTE:

A local user of the Windows system can log in to each Windows VM created by the image. For security reasons, you are advised to delete unnecessary local users in the Windows system as needed.

  1. Delete unnecessary local users in the Windows system as needed. For details, see Deleting Local Users of Windows System.

Use the template tool to configure the VM OS.

  1. Mount the template tool FusionAccess_Windows_Installer_V100R006C20SPC102.iso to the VM.
  2. On the VM, double-click the CD/DVD-ROM drive.

    NOTE:

    On some VM, after you double-click the CD-ROM, the FusionAccess Windows Installer window is displayed.

  3. Double-click run.bat.

    The FusionAccess Windows Installer window is displayed, as shown in Figure 3-7.

    NOTE:
    • On Windows 7 or Windows Server 2008, the system asks you to enable the .net 3.5 function. Then the tool window is displayed automatically and you do not need to restart the OS.
    • On other OSs, the tool window is displayed without asking you to install .net 4.0.
    Figure 3-7 FusionAccess Windows Installer

  4. Click Create Template and create a linked clone, full memory, or QuickPrep VM template as prompted.

    NOTE:
    • During the operation, if you are prompted to restart the VM, use the Administrator account to log in to the VM after the VM is restarted.
    • If an exception occurs during the restart (restart fails), manually start the VM, mount the template tool ISO file again, and go to the template tool directory to reinstall the template tool.
    • If the template VM is added to domain A, the VMs that are provisioned using the template can be added to only domain A.
    • During template creation, ensure that the VM can communicate with the AD server and parse the domain name of the AD server.
    • If Configure user login is not selected during the template creation, the VMs cannot be assigned to users in the Users group during quick desktop provisioning.

    Based on the template type, configure domain information on the Domain Configuration page according to Table 3-14.

    Table 3-14 Template domain configuration information

    Template Type

    Domain Configuration Information

    Linked clone or full memory

    Set the following parameters on the page shown in Figure 3-8:
    • Set Domain to the domain where the VM is to be added.
    • Set Account to a domain account that has the rights to add other domain accounts.
    • Set Password to the password of the domain account that has the rights to adding other domain accounts.
    • Set OU to the OU where the VMs reside. The OU must exist in the domain and domain accounts can be delegated to it. If domain accounts cannot be delegated to the domain, this item is mandatory.

      For example, OU1/OU2/OU3, where / indicates hierarchical relationships.

    • Set Domain user (group) to the domain user (group) to which the VMs provisioned using the template will be assigned. The domain user (group) is an existing domain user (group) in the active AD server.
    • Local user group controls the permissions of a domain user (group) on VMs.

      If you want to set Local user group to Users, select Configure user login on the Function page. Users in the Users group do not have the administrator rights and can perform operations in a limited range. For example, a user in the Users group cannot modify the OS settings and registry.

    Figure 3-8 Domain configuration for a linked clone and full memory template

    QuickPrep

    Set the following parameters on the page shown in Figure 3-9:
    • Set Domain to the domain where the VM is to be added.
    • Set Account to a domain account that has the rights to add other domain accounts.
    • Set Password to the password of the domain account that has the rights to adding other domain accounts.
    • Set OU to the OU where the VMs reside. The OU must exist in the domain and domain accounts can be delegated to it. If domain accounts cannot be delegated to the domain, this item is mandatory.

      For example, OU1/OU2/OU3, where / indicates hierarchical relationships.

    Figure 3-9 Domain configuration for a QuickPrep template

Install application software.

  1. Install application software on the VM.
  • If the desktop type is GPU passthrough or GPU hardware virtualization, follow the service provisioning process for common VMs. However, before installing application software, bind VMs to GPUs and install GPU drivers. For details, see F112_High-Performance Graphics Processing (GPU Pass-through) and F112_High-Performance Graphics Processing (M60-based GPU Hardware Virtualization)in FusionAccess Desktop Solution V100R006C20 Feature Guide.
  • Some security software (antivirus software, safeguards, and firewalls) may conflict with the Microsoft encapsulation tool and cause VM creation failure, the blue screen of death (BSOD), or a blank screen for created VMs. Therefore, install security software only after VMs are successfully provisioned.
  • It is recommended that Kingsoft V8+ terminal security system software be installed on VMs to perform operations such as clearing viruses, optimizing operating systems, clearing junk files, repairing vulnerabilities, and managing software.
  • If the Trend Micro cloud security software is used, add the C:\Program Files\Huawei and C:\Windows\System32 directories to the exception list. If the 64-bit operating system is used, add the C:\Program Files (x86)\Huawei directory.
The installation method varies with the format of the application software to be installed:
  • If the application software is an .iso file, mount the CD-ROM drive to the VM and run the installation program.
  • If the application software is not an .iso file, find the application software in C:\ on the VM and run the installation program.
NOTE:
  • After the installation is complete, unmount the CD-ROM drive from the VM. Otherwise, the CD-ROM drive cannot be mounted to another VM that runs on the same host.
  • To avoid affecting VM connections, disable any firewall in antivirus software or enable the ports required by the HDP on the firewall before installing the application software. For details about the ports required by the HDP, see Description > Communication Matrix in FusionAccess Desktop Solution V100R006C20 Product Documentation.
  • After installing the application software, you are advised to clone the VM. If the VM data storage type is not virtual storage, power off the VM and clone it:

    In the row of the VM to be cloned, choose More > Clone VM and click Next as prompted. Then click Finish to perform the VM cloning operation.

    The VM cloning progress is displayed on the task center. Ensure that the cloned VM is in stopped status.

    If this operation is not performed, you need to create a bare VM again and install and configure the VM OS when template encapsulation fails. To reduce repeated operations, you are advised to clone the VM.

    Cloning a VM takes about 20 minutes. You are advised to perform this operation during off-peak hours.

(Optional) Install the desktop experience package.

Installing the desktop experience package enables users to experience and operate the Windows 7 OS on the Windows Server 2008 R2 OS.

  1. Whether to use the Windows Server 2008 R2 OS?

  2. For details, see Installing the Desktop Experience Package.

(Optional) Configuring a New Path to Inherit Profiles.

  1. The user profile varies with user accounts. As a result, the custom configurations in the template may be invalid for different user accounts logging in to user VMs.For details about how to inherit custom configurations in the template, see Configuring and Inheriting the Administrator Profiles.

Convert the VM into a template.

  1. Remove the mount file.
  2. Shut down the VM.

    • Before shutting down the VM, ensure that the IP address and DNS server addresses can be obtained automatically.
    • To create a full memory VM template, ensure that the Enable option is not selected in Options > Swap Partition after the VM is shut down.

  3. On the FusionCompute portal, choose VM and Template > VM.
  4. In the row that contains the VM to be converted, choose More > Convert to Template.

    A dialog box is displayed.

  5. Click OK.

    A dialog box is displayed.

  6. Click OK.
(Optional) Enable the iCache function.

This operation needs to be performed only on linked clone VM templates.

After the iCache function is enabled on a VM, the system stores frequently accessed data in the iCache to increase the data access rate. Enable the iCache function only when the VM requires this function.

  • The iCache function takes effect only after the iCache function is enabled for the template and the VM created from this template is running on the host that provides the iCache function.
  • The iCache function can be configured only when the data storage type is NAS, Virtual local disk, or LUN Pome. This function cannot be configured if the storage type is FusionStorage.
  1. On the FusionCompute portal, choose VM and Template > Template.
  2. Locate the row that contains the new template, and choose More > Configure iCache.

    The Configure iCache page is displayed.

    NOTE:

    If the physical memory required by iCache is not configured on the host or the host is abnormal, the host cannot be selected.

  3. In the host list, select a host to provide memory resources for the iCache function, and click OK.

    You can view the iCache configuration progress on the Task Center page.

Configure the template.

  1. On the FusionAccess portal, click Desktop.
  2. In the navigation tree, choose Service Configuration > VM Template.
  3. In the right pane, locate the row that contains the VM template to be provisioned, and set parameters based on application scenarios.

    • Service type: Select VDI.
    • Type: Select the corresponding template type.

  4. Click OK.
  5. Click Confirm in the displayed dialog box.

    A message stating Template Configuration saved successfully is displayed.

  6. Click Back and check the template type.

    The template creation task is complete.

Translation
Download
Updated: 2019-04-25

Document ID: EDOC1000182394

Views: 22116

Downloads: 59

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next