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
CLI-based Configuration Guide - Virtualization
AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R009

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the virtualization feature supported by the device.

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).
How Do I Obtain and Install the Createova Tool?

How Do I Obtain and Install the Createova Tool?

The installation requirements of the createova tool are as follows:
  • The QEMU tool has been installed. For details, see How Do I Obtain and Install the QEMU Tool?.
  • The createova tool and image file have been obtained and saved in the same directory in the Linux operating system. To obtain the createova tool, log in to Huawei enterprise support website (Createova Tool), and obtain the createova tool.

The procedure for installing the createova tool is as follows:

  1. Run the sudo chmod +x createova command to install the createova tool.
  2. Run the sudo createova –h command to view how to use corresponding commands in the createova tool.
    Build a OVA from an Disk image.
    Accepts user inputs Hardware configuration.
    
    
    Option Params Description [value range]{default value}
    ------------------- --------- -----------------------------------------------
    
    Help:
    -h | -help Display this help message
    
    Input/Output Options:
    -d | -disk <path> Disk image file for VM
    -b | -bus Bus for disk {[usb][ide][scsi][virtio]}
    -li| -localiso <path> ISO Image file for VM will pack in ova
    -ri| -remoteiso <path> ISO Image file for VM will not pack in ova
    -o | -output <path> Output directory for OVA file
    {/home/chenruirui/ovacreate}
    -n | -name [<name>] Create OVA with different name than image
    If <name> is not specified, a name will be
    automatically generated from the VM options
    {}
    -hwex <string> Optional custom for special config
    Virtual Machine Hardware Options:
    -c | -cpus <cpus> Number of CPUs for VM [1-8]{1}
    -m | -memory <MB> Amount of memory for VM [256-8192]{1024}
    -s | -serial <serials> Number of Serials for VM [0-2]{1}
    -ns | -nics <nics> Number of ethernet NICS for VM [1-8]{1}
    -ea | -eth_adapter <string> Ethernet adapter type [Rtl8139,E1000,virtio]{e10 00}
    
    Virtual Machine Description Options:
    -ot | -os_type <string> Description VM's OS type {Other Linux 64bit}
    -p | -product <string> Description of VM product {}
    -v | -vendor <string> Name of VM vendor {huawei}
    -vs | -version_short <str> Short version string {v1.0.0}
    -pu | -product_url <URL> URL of VM product {http://www.huawei.com}
    -vu | -vendor_url <URL> URL of vendor {http://www.huawei.com}
    
    Examples:
    Examples:
    createova
    Build OVA with a interaction, you can input all the configurations
    
    createova -d vmar.qcow2
    Build OVA 'vmar.ova' from vmar.qcow2 with default values for all options
    
    createova -d vmar.qcow2 -li u12.iso
    Build OVA 'vmar.ova' from vmar.qcow2 and u12.iso with default values for all options
    
    createova -d vmar.qcow2 -n myvm
    Build OVA 'myvm.ova' from vmar.qcow2 with default values for all options
    
    createova -d vmar.qcow2 -o /var/www/html
    Build OVA from vmar.qcow2 and store the OVA in /var/www/html
    
    createova -d vmar.qcow2 -c 6 -m 2048 -ns 6
    Build OVA with 6 CPUs, 2GB memory, 6 NICs
    
Translation
Download
Updated: 2019-05-06

Document ID: EDOC1000177806

Views: 9811

Downloads: 38

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next