Brocade Mobility RFS Controller CLI Reference Guide (Supporting software release 5.5.0.0 and later) User Manual

Page 85

Advertising
background image

Brocade Mobility RFS Controller CLI Reference Guide

67

53-1003098-01

2

virtual-machine install <VM-NAME> type [disk|iso disk-size <SIZE>|vm-archive]

install-media [<FILE>|<URL>|<USB>] {autostart|memory|on|vcpus|vif-count|vnc}

virtual-machine install

Installs the VM. The install command internally creates a VM template, consisting of the specified
parameters, and starts the installation process.

<VM-NAME> – Specify the VM name.

type – Specify the install-media (image) type. The options are:

disk – Specifies the install media type as pre-installed OS disk image (located in the flash
memory)

iso disk-size <SIZE> – Specifies the install media type as ISO file. This is a single file, which
contains the OS bootable install media.

disk-size <SIZE> – If the install media type is ISO, specify the disk size in GB.

vm-archive – Specifies the install media type as VM archive. The VM archive file is a tar.gz file
consisting of a pre-installed OS disk image and an associated configuration file. The
configuration is a standard libvirt VM template consisting of VM specific
information.

After specifying the install media type, specify the location of the image. The image can be located in any
of the following supported locations: FLASH, USB, or a remote location, such as http, ftp, sftp, tftp.

install-media
[<FILE>|<URL>|<USB>]

Specifies the install media location

<FILE> – Specifies the install-media file is located on flash, for example flash:/cache

<URL> – Specifies the install-media file is located on a remote URL. Provide the URL using one of the
following formats:
tftp://<hostname|IP>[:port]/path/file
ftp://<user>:<passwd>@<hostname|IP>[:port]/path/file
sftp://<user>:<passwd>@<hostname|IP>[:port]>/path/file
http://<hostname|IP>[:port]/path/file

<USB> – Specifies the install-media file is located on a USB. Provide the USB path and file name
using the following format:
usb<n>:/path/file

After specifying the image location, you may provide the following information:

autostart – Optional. Specifies whether to autostart the VM on system reboot

ignore – Enables autostart on each system boot/reboot

start – Disables autostart (default setting)

memory – Optional. Defines the VM memory size

<512-8192> – Specify the VM memory from 512 - 8192 MB. The default is 2048 MB.

on – Optional. Executes the command on a specified device

<DEVICE-NAME> – Specify the service platform name.

vcpus – Optional. Specifies the number of VCPUS for this VM

<1-4> – Specify the number of VCPUS from 1- 4. The default setting is 4.

Contd...

vif-count – Optional. Configures or resets the VIF number for this VM

<0-2> – Specify the VIF number from 0 - 2. the default setting is 1. If assigning a virtual network

interface for the VM, optionally specify the following parameters:

vif-mac – Sets the MAC index for the virtual interfaces 1 & 2.

vif-to-vmif – Maps the virtual interface (1 or 2) to the selected VMIF interface. Specify the VMIF
interface index from 1 - 8. VMIFs are layer 2 interfaces on the Mobility bridge. Each custom VM
can have up to a maximum of 2 virtual Ethernet interfaces. By default, these interfaces are
internally
connected to the Dataplane bridge through VMIF1, which is an untagged port with
access VLAN 1.

vnc – Enables or disables VNC on the virtual interfaces 1 & 2

vnc – Optional. Disables/enables VNC port. When enabled, provides remote access to VGA through
the noVNC client.

disable – Disables VNC

enable – Enables VNC (default setting)

Advertising