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).
Exporting a VM Template

Exporting a VM Template

Scenarios

On the FusionCompute portal, export a template before the template is encapsulated. The imported template can be used as a baseline template. The system administrator can install application software or perform other customization on this baseline template and encapsulate it as a new template. It eliminates the need for installing and optimizing the OS repeatedly, increasing operation efficiency.

Prerequisites

  • You have logged in to FusionCompute.
  • You have shared the folder to which the template is to be exported with the local personal computer (PC) or remote server user and enabled read/write permission on the folder. The shared folder name must be the same as the name of the folder containing the template to be exported.
  • You have disabled the firewall on the local PC.

Data

Table A-2 lists the data to be obtained.

Table A-2 Data to be obtained

Parameter

Description

Example Value

Protocol

Specifies the protocol used to export the VM template.

Value:

  • CIFS: used to export a VM template to a local directory.
  • NFS: used to export a VM template to a remote server.

CIFS

Name

Specifies the name of the exported template.

template01

Folder

Specifies the folder to which the template is to be exported. Before exporting the template, share this folder with the local PC or remote server user and enable read/write permission on the folder. The shared folder name must be the same as the name of the folder containing the template to be exported.

The format is \\IP address of the shared server\Name of the local folder or \\IP address of the shared server\Name of the remote server folder.

\\192.168.100.11\Share

Username and Password

Specifies the username and password for logging in to the local PC or remote server.

If a user account is registered with multiple domains, enter the username with the specified domain name. For example, enter Domain\w00123456.

-

Procedure

Convert a VM into a template.

  1. On the FusionCompute portal, choose VM and Template > VM.
  2. Locate the row that contains the target VM, choose More > Shut Down, and click OK twice.
  3. When the VM is in the Stopped state, choose More > Convert to Template.

    A dialog box is displayed.

  4. Click OK.

    A dialog box is displayed.

  5. Click OK.

Export the template.

  1. Locate the row that contains the VM to be exported and choose Export Template.

    The Export Template page is displayed.

  2. Select the destination to which the template is exported, and click Next.

    Shared directory is used as an example.

  3. Set the following parameters about the template to be exported:

    • Protocol
    • Name
    • Folder
    • Format
    • Username and password
    NOTE:

    If the protocol type is CIFS, select Use the username and password of the share computer, and enter the username and password as prompted.

  4. Decide whether to overwrite the template of the same name in the destination folder.

  5. Select Overwrite existing template.
  6. Click OK.

    You can view the template export progress on the Task Center page.

    NOTE:

    A VM template consists of one xml file and multiple vhd files.

    • The xml file is a VM description file. When exporting a template, you need to specify the file name, for example, template01.xml.
    • The vhd files are VM system files. Each disk generates a vhd file. The file name is in Template name-xvdDrive letter.vhd format; for example, template01-xvda.vhd.

Translation
Download
Updated: 2019-04-25

Document ID: EDOC1000182394

Views: 20834

Downloads: 57

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