Sunteți pe pagina 1din 73

The privilege of HCNA/HCNP/HCIE:

m
o
c

With any Huawei Career Certification, you have the privilege on http://learning.huawei.com/en to enjoy:

1Comprehensive E-Learning Courses

.
i
e

ContentAll Huawei Career Certification E-Learning courses

Methods to get the E-learning privilege : submit Huawei Account and email being used for Huawei Account

w
a
u

h
.
g

registration to Learning@huawei.com .

2 Training Material Download

Content: Huawei product training material and Huawei career certification training material

MethodLogon http://learning.huawei.com/en and enter HuaWei Training/Classroom Training ,then you can

r
a
e
download training material in the specific training introduction page.
l
3 Priority to participate in Huawei Online Open Class(LVC) //
: all ICT technical domains like R&S, UC&C, Security,
ContentThe Huawei career certification training covering
p
tprofessional instructors
Storage and so on, which are conducted by Huawei
t
h
MethodThe plan and participate method please refer to LVC Open Courses Schedule
:
s
4Learning Tool: eNSP
e
c
eNSP (Enterprise Network Simulation r
Platform) is a graphical network simulation tool which is developed by
u
Huawei and free of charge. eNSP
o mainly simulates enterprise routers, switches as close to the real hardware as
s
it possible, which makes the e
lab practice available and easy without any real device.
R
In addition, Huawei has built up Huawei Technical Forum which allows candidates to discuss technical issues with
g
Huawei experts , share n
exam experiences with others or be acquainted with Huawei Products(
i
n
http://support.huawei.com/ecommunity/
r
a
Le
e TECHNOLOGIES CO., LTD. Huawei Confidential
HUAWEI
1
r
o

n
i
n

n
e
/

e
r
Mo

e
/
m

o
c
.

i
e
HUAWEI HCNA-Cloud Experiment Manualw
a
u
ISSUE 1.00
h
.
g
n
(For internal use only)
i
n
r
a
e
l
/
/
:
p
t
t
h
:
s
e
c
r
u
o
s
Re
g
n
Huawei Technologies CO., LTD.
i
n
All Rights Reserved
r
a
e

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Contents
1 Experiments on the FusionCompute ......................................................................................... 3
1.1 Objectives......................................................................................................................................................... 3

e
/
m

1.2 Basic Information ............................................................................................................................................. 3


1.3 Operation Tasks ................................................................................................................................................ 3

o
c
.

1.3.1 Creating a Bare VM ................................................................................................................................ 3

1.3.2 Installing a VM ..................................................................................................................................... 11

i
e
aw

1.4 Operation Tasks .............................................................................................................................................. 15

1.4.1 Creating a VM Using a System VM Template ...................................................................................... 15

u
h
.
2 Experiments on the FusionManager ........................................................................................
24
g
n
i
n
r
a
e
l
/
/
:
p
t
t
h
:
s
e
c
r
u
o
s
Re
g
n
i
n
r
a
Le

1.4.2 Live VM Migration ............................................................................................................................... 18

1.4.3 Online Modification of VM Specifications (CPU Parameters) ............................................................. 19

2.1 Objectives....................................................................................................................................................... 24

2.2 Experiment Deployment ................................................................................................................................ 24


2.3 Basic Information ........................................................................................................................................... 24
2.3.1 Introduction to Creating Applications ................................................................................................... 24

2.4 Operation Tasks .............................................................................................................................................. 27


2.4.1 Adding a Software Package .................................................................................................................. 27
2.4.2 Creating a VM Template ....................................................................................................................... 31

2.4.3 Canceling a Published VM Template .................................................................................................... 53


2.4.4 Deleting a VM Template ....................................................................................................................... 54

2.4.5 Creating a Service Catalog .................................................................................................................... 54


2.4.6 Creating a Service Template ................................................................................................................. 55
2.4.7 Creating an Application ........................................................................................................................ 68

2014-02-07

Huawei confidential. No spreading without permission.

Page 2 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

1 Experiments on the FusionCompute


1.1 Objectives
Upon completion of this chapter, you will be able to:

e
/
m

Use an ISO file to create virtual machines (VMs).

1.2 Basic Information


System administrator

Portal IP Address

Portal Account

192.168.30.4

admin/Huawei@123

o
c
.

u
h
.
g
n

1.3 Operation Tasks

i
e
aw

i
n
ar

1.3.1 Creating a Bare VM

e
l
//

Operation scenario: This section provides guidance for administrators to create bare VMs on the
FusionCompute Portal. Administrators can install OSs and application software on bare VMs.
Impact on the System: This operation has no adverse impact on the system.

:
p
tt

Preparations
Prerequisites

:
s
e

Software commissioning is completed based on service requirements. Computing, storage, and network
resources required for VM creation are ready.

c
r
u
o
s
e
R

You have logged in to the FusionCompute Portal.


Data
Category

ng

Create
Location

ni

r
a
e

Parameter

Description

Example
Value

Select a
location

This parameter is mandatory.

Cluster01

Specifies the cluster or host on which the VM is


located.
Possible values are:
Cluster: The VM will be created on a random host
in the cluster.
Host: The VM will be created on the specified host.

Bind to the
select host

This parameter is optional.

This parameter is valid only when Select a location is


set to Host.
If a VM is bound to a host, the VM can only run on this
host and cannot be migrated to another host. Otherwise,
the high availability (HA) function is unavailable.

2014-02-07

Huawei confidential. No spreading without permission.

Page 3 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Category

Parameter

Description

Example
Value

Advanced
Settings

Attach
graphics card

This parameter is optional.

Standard
VGA
Graphics
Adapter

If any available graphics card is on the host, you can


specify a graphics card for the VM.
If a graphics card is bound to a VM, the VM is
automatically bound to the host on which the VM and
the graphics card are located. The VM can be migrated
to another host only after the graphics card is detached
from the VM.

Attach USB
device

This parameter is optional.

o
c
.

If any available USB device is on the host, the user can


specify a USB device for the VM.

u
h
.
g
n

i
e
aw

If a USB device is bound to a VM, the VM is


automatically bound to the host on which the VM and
the USB device are located. The VM can be migrated
to another host only after the USB device is detached
from the VM.
Properties

VM name

i
n
ar

e
l
//

This parameter is mandatory.

VM001

A VM name can contain only letters, digits, and spaces.


It cannot start or end with a space, nor exceed 128
characters.

Specificati
ons

rn

ea

g
n
i

:
p
tt

OS type

This parameter is mandatory.

Windows

OS version

This parameter is mandatory.

Windows
Server 2008
R2
Datacenter
32bit

c
r
u
o
s
e
R
CPU

:
s
e

This parameter is mandatory.

This value cannot exceed the number of the physical


CPU cores on the host.
Value range: 164

Memory
(MB)

This parameter is mandatory.

Number of
disks

This parameter is optional.

2048

Value range: 1281,048,576


2

Value range: 111


Default value: 0

Number of
NICs

This parameter is optional.

Value range: 18
Default value: 1

2014-02-07

Huawei confidential. No spreading without permission.

e
/
m

Page 4 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Category

Parameter

Description

Example
Value

QoS
Settings

CPU Quota

This parameter is mandatory.

Medium

Specifies the proportion of CPU resources a VM can


obtain in resource contention. The quota indicates the
relative priority or importance of a VM. For example, if
the CPU quota of a VM is twice that of another VM,
this VM has the priority to use the CPU resources as
twice as that of the other VM.

e
/
m

o
c
.

CPU quotas are listed as follows:


Low: Number of CPUs x 500
Medium: Number of CPUs x 1000
High: Number of CPUs x 2000

u
h
.
g
n

Custom: 1128,000
Default value: Medium
CPU
Reserved
(MHz)

i
n
ar

This parameter is mandatory.

i
e
aw

No limit

Specifies the minimum computing capability of the


VM. For example, if the VM has one CPU and this
parameter is set to 2000, the minimum computing
capability of the VM is 2000 MHz.

e
l
//

:
p
tt

Minimum value: 0; maximum value: Number of CPUs


x 2933
Default value: 0
CPU Limit
(MHz)

This parameter is mandatory.

:
s
e

No limit

Specifies the maximum computing capability of the


VM. For example, if the VM has one CPU and this
parameter is set to 2000, the maximum computing
capability of the VM is 2000 MHz.
Not limit

c
r
u
o
s
e
R

Limited. Minimum value: 1; maximum value:


Number of CPUs x 2400

ng

Default value: No limit

i
n
r

a
e
L

2014-02-07

Huawei confidential. No spreading without permission.

Page 5 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

INTERNAL

Parameter

Description

Example
Value

Memory
Quota

This parameter is mandatory.

Medium

Specifies the proportion of memory resources a VM


can obtain in resource contention. The quota indicates
the relative priority or importance of a VM. For
example, if the memory quota of a VM is twice that of
another VM, this VM has the priority to use the
memory resources as twice as that of the other VM.

e
/
m

o
c
.

Memory quotas are listed as follows:


Low: Memory size x 5
Medium: Memory size x 10
High: Memory size x 20

u
h
.
g
n

Custom: Value range: 1209,715,200


Default value: Medium
Memory
Reserved
(MB)

i
n
ar

This parameter is mandatory.

i
e
aw

Specifies the minimum physical memory resources of


the VM. If this parameter is set to 0, the system does
not reserve a minimum percentage of physical memory
resources for the VM.

e
l
//

:
p
tt

Minimum value: 0; maximum value: configured


memory size
Default value: 0
Advanced
Attributes

HA

n
r
a

Le

2014-02-07

:
s
e

The HA feature allows VMs to migrate to another host


if the current host is faulty.

c
r
u
o
s
e
R
Policy for
handling blue
screen of
death
(BSOD)

g
n
i

This parameter is optional.

Clock
synchronizati
on policy

This parameter is mandatory.

Restart

Specifies the policy used when a blue screen of death


(BSOD) occurs.

Possible values are:


No processing: The system does not automatically
handle the BSOD.
HA: The system automatically re-creates a VM on
another host that is running properly.
Restart: The system restarts the faulty VM.

This parameter is optional.

Specifies whether the system time of the VM is


synchronized with the host which the VM is on. If yes,
the VM synchronizes with the host regularly. If no, the
user can set the system time of the VM.

Huawei confidential. No spreading without permission.

Page 6 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

INTERNAL

Parameter

Description

Example
Value

CPU hot
swap

This parameter is optional.

Disable

This parameter is valid only when the VM operating


system (OS) supports the CPU hot swap.
Possible values are:
Disable: All operations performed to modify CPU
properties of a VM take effect only after the VM is
restarted.
Enable CPU hot add: The operations performed to
add the number of CPUs and modify the CPU
resource control policies take effect without VM
restart. The operations performed to reduce the
number of CPUs take effect after the VM is
restarted.

NIC
Settings

Disk
Settings

Select
Distributed
Virtual
Switch
(DVS)

Set the parameters for each network interface card


(NIC).

e
l
//

Port Group

The NIC properties are determined by the port group


on the distributed virtual switch (DVS) to which the
NIC connects.

Data store

This parameter is mandatory.

:
p
tt

Configure the data store on each disk.

:
s
e

o
c
.

u
h
.
g
n

i
n
ar

This parameter is mandatory.

e
/
m

i
e
aw

UserDVSwi
tch1

UserPortGr
oup01
UserDataSt
ore01

The Thin provisioning mode can be selected only


when virtual storage is deployed.

c
r
u
o
s
e
R
Configuration
Mode

n
r
a

g
n
i

This parameter is mandatory.

Ordinary

Configure the allocation mode for each disk.


Possible values are:
Ordinary: The system allocates disk space based
the configured disk capacity.
Thin provisioning: This mode can be selected only
when virtual storage is deployed. 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. Do not select
this mode for the first disk. Otherwise, the
input/output (I/O) performance of the VM is lower
than that of a VM in the Ordinary mode.

Le

Default value: 0rdinary


Capacity
(GB)

2014-02-07

This parameter is mandatory.

20

Configure the capacity for each disk. The OS is


installed on the first disk by default. Allocate a proper
space for the first disk based on the OS size.

Huawei confidential. No spreading without permission.

Page 7 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

INTERNAL

Parameter

Description

Example
Value

Not affected
by snapshot

This parameter is optional.

Set the parameter for each disk.


If a disk is not affected by snapshots, the disk data will
not be backed up or restored when the VM is backed up
or restored using a snapshot.

Persistency

This parameter is valid only when Not affected by


snapshot is selected.
Possible values are:
Persistent: All operations on the disk will be
recorded in the disk.
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 data changes will be lost
after the VM stops.

u
h
.
g
n

Start the VM
after creation

Procedure
1.

i
n
ar

e
l
//

This parameter is optional.

i
e
aw

:
p
tt

On the FusionCompute, choose VDC Management > VM and Template.

:
s
e

The VM and Template page is displayed.


2.

In the Operation area on the Summary tab page, click Create VM.

c
r
u
o
s
e
R

The Location page is displayed.

n
r
a

g
n
i

Le

2014-02-07

o
c
.

Persistent

This parameter is optional.

Huawei confidential. No spreading without permission.

Page 8 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

3.

4.

INTERNAL

Select a location for the VM that you are creating.

Cluster: The VM will be created on a random host in the cluster.

Host: The VM will be created on the specified host.

If you select Host, to bind the VM to a host, select Bind to the select host.
If a VM is bound to a host, the VM can only run on this host and cannot be migrated to another
host. That is, HA is unavailable.

5.

If you want to bind a graphics card, select Attach graphics card under Advanced Settings and
select the graphics card.

i
e
aw

If a graphics card is bound to a VM, the VM is automatically bound to the host on which the VM
and the graphics card are located. The VM can be migrated to another host only after the graphics
card is unbound from the VM.
6.

u
h
.
g
n

If you want to bind a USB device, select Attach USB device under Advanced Settings and select
the graphics card.
If a USB device is bound to a VM, the VM is automatically bound to the host on which the VM
and the USB device are located. The VM can be migrated to another host only after the USB
device is unbound from the VM.

7.

i
n
ar

Click Next.

e
l
//

The Properties page is displayed.

n
r
a

g
n
i

c
r
u
o
s
e
R

:
s
e

:
p
tt

Le

8.

Enter a VM name and select an OS type and a version.

9.

Set the following hardware specifications of the VM:

2014-02-07

CPU

Memory (MB)

Huawei confidential. No spreading without permission.

o
c
.

Page 9 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Number of disks

Number of NICs

INTERNAL

10. To reset QoS, click QoS configurations and set the parameters.

CPU Quota: specifies the proportion of CPU resources a VM can obtain in resource contention.
The quota indicates the relative priority or importance of a VM. For example, if the CPU quota
of a VM is twice that of another VM, this VM has the priority to use the CPU resources as
twice as that of the other VM.

CPU Reserved (MHz): specifies the minimum computing capability of the VM. For example,
if the VM has one CPU and this parameter 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 this parameter is set to 2000, the maximum computing capability of
the VM is 2000 MHz.

Memory Quota: specifies the proportion of memory resources a VM can obtain in resource
contention. The quota indicates the relative priority or importance of a VM. For example, if the
memory quota of a VM is twice that of another VM, this VM has the priority to use the memory
resources as twice as that of the other VM.

Memory Reserved (MB): specifies the minimum physical memory resources of the VM. If this
parameter is set to 0, the system does not reserve a minimum percentage of physical memory
resources for the VM.

u
h
.
g
n

i
e
aw

i
n
ar

e
l
//

11. Set the advanced properties of the VM.

HA: After the HA function is enabled, VMs are automatically migrated to another host and run
properly if the current host is faulty.

Policy for handling blue screen of death (BSOD): specifies the policy for handling the VM
BSOD.

Clock policy: specifies whether the system time of the VM is synchronized with the host which
the VM is on. If yes, the VM synchronizes with the host regularly. If no, you can manually set
the system time of the VM.

CPU hot swap (This parameter is valid only when the VM OS supports CPU hot swap):

c
r
u
o
s
e
R

:
s
e

:
p
tt

Disable: All operations performed to modify CPU properties of a VM take effect only
after the VM is restarted.

Enable CPU hot add: The operations performed to add the number of CPUs and modify
the CPU resource control policies take effect without VM restart. The operations
performed to reduce the number of CPUs take effect after the VM is restarted.

g
n
i

12. Click Next.

n
r
a

The Set VM page is displayed.

13. Configure the DVS and port group for each NIC.

Le

The NIC properties are determined by the port group on the DVS to which the NIC connects.

14. Set the properties of each disk.

2014-02-07

o
c
.

Data store

Configuration mode
-

Ordinary: The system allocates disk space based the configured disk capacity.

Thin provisioning: This mode can be selected only when virtual storage is deployed. 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. Do not select this mode for the first disk. Otherwise,

Huawei confidential. No spreading without permission.

Page 10 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

the input/output (I/O) performance of the VM is lower than that of the VM in the
Ordinary mode.

Capacity (GB): The OS is installed on the first disk by default. Allocate a proper space for the
first disk based on the OS size.

Not affected by snapshot: If this option is selected, the disk data will not be backed up or
restored when the VM is backed up or restored using the snapshot.

Persistency:
-

Persistent: All operations on the disk will be recorded in the disk.

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 data changes will be lost after the VM stops.

u
h
.
g
n

i
e
aw

i
n
ar

e
l
//

15. Click Next.

c
r
u
o
s
e
R

:
s
e

:
p
tt

The Confirm page is displayed. Verify that the information about the VM to be created.
16. If you want to start the VM immediately the creation is completed, select Start the VM after
creation.
17. Click Finish.

The VM creation starts.

g
n
i

18. On the Complete page, click Query Task.

n
r
a

Result

Le

On the Task Center page that is displayed, view the creation progress.

Check whether all steps described in the previous procedure are performed.
Confirm: [OK?]__________________

1.3.2 Installing a VM
Operation scenario: This section provides guidance for service administrators to install and configure
an OS and application software on a bare VM on the FusionCompute Portal.
Impact on the System: This operation has no adverse impact on the system.

2014-02-07

Huawei confidential. No spreading without permission.

o
c
.

Page 11 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Preparations
Prerequisites
You have obtained the OS ISO file to be installed.
You have obtained the installation files for the software to be installed.

e
/
m

The firewall on the maintenance terminal is disabled.

o
c
.

You have logged in to the FusionCompute Portal.


Data

i
e
aw

To install one of the following OSs, the patch KB891861 (available in the OS official website) is
required:

u
h
.
g
n

Windows 2000 Server SP4


Windows 2000 Advanced Server SP4

i
n
ar

Procedure
Mounting a CD-ROM drive
1.

e
l
//

On the FusionCompute Portal, choose VDC Management > VM and Template.


The VM and Template page is displayed.

2.

:
p
tt

Locate the row that contains the VM to which an ISO file is to be mounted, click Operation, and
select Log in using VNC.
The VM desktop is displayed.

3.

Click Mount Local CD/DVD-ROM Drive.

4.

Select the directory of the CD/DVD-ROM drive.

:
s
e

To mount a physical CD-ROM drive, select CD/DVD-ROM and select the directory containing
the CD-ROM drive to be mounted.

c
r
u
o
s
e
R

If you want to mount an ISO file, select File, click Browse, and select the ISO file to be mounted.

n
r
a

g
n
i

Le

2014-02-07

Huawei confidential. No spreading without permission.

Page 12 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

e
/
m

o
c
.

u
h
.
g
n

i
e
aw

i
n
ar

5.

e
l
//

:
p
tt

Click Connect.
A dialog box is displayed.

6.

Click OK.

:
s
e

The CD-ROM drive is mounted to the VM.


7.

Click Restart the VM.

c
r
u
o
s
e
R

A dialog box is displayed.


8.

Click OK.

A dialog box is displayed.


9.

Click OK.

The VM restarts. After the restart is successful, the OS installation window is displayed.

n
r
a

g
n
i

Le

2014-02-07

Huawei confidential. No spreading without permission.

Page 13 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

e
/
m

o
c
.

u
h
.
g
n

i
e
aw

i
n
ar

e
l
//

Installing an OS

:
s
e

:
p
tt

10. Install and configure the Windows OS on the VM based on the OS installation guide and the user
requirements.

c
r
u
o
s
e
R

Unmounting a CD-ROM drive

11. On the Virtual Network Computing (VNC) login window, click Unmount CD/DVD-ROM Drive.
A dialog box is displayed.
12. Click Yes.

A dialog box is displayed.

g
n
i

13. Click OK.

n
r
a

Le

The CD/DVD-ROM drive is unmounted from the VM.


Installing the PV driver

14. On the FusionCompute, choose VDC Management > VM and Template.


The VM and Template page is displayed.

15. In the navigation tree on the left, right-click a VM and choose Install tools from the shortcut
menu.
A dialog box is displayed.
16. Click OK.
A dialog box is displayed.
17. Click OK.
18. On the VM desktop displayed in the VNC login window, choose Start > Computer.

2014-02-07

Huawei confidential. No spreading without permission.

Page 14 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

The Computer window is displayed.


19. Right-click CD Driver and choose Open from the shortcut menu.
20. Right-click the PV driver for the OS version and choose Run with administrator from the
shortcut menu. Then install the PV driver as prompted.

Result

e
/
m

Check whether all steps described in the previous procedure are performed.

o
c
.

Confirm: [OK?]__________________

1.4 Operation Tasks


1.4.1 Creating a VM Using a System VM Template

u
h
.
g
n

i
e
aw

Operation scenario: This section provides guidance for administrators to create VMs using the preset
system VM template on the FusionCompute Portal. The methods for creating a VM using the system
template are:

i
n
ar

Convert a template to a VM: All parameters of the VM are from the template. The template
disappears after the conversion is complete.

Deploy a VM using a template: A VM is create based on e template and its parameters can be
reset.

e
l
//

:
p
tt

Impact on the System: This operation has no adverse impact on the system.

Preparations
Prerequisites

:
s
e

You have obtained the ID of VM template that is used to create a VM.

c
r
u
o
s
e
R

You have logged in to the FusionCompute Portal.


Data

The same as the data required by creating a bare VM.

Procedure

g
n
i

Selecting a VM creation method

ea

rn

1.

Select a creation method based on site requirements:

To convert a template to a VM, go to step 2.

To deploy a VM using a template, go to step 9.

Converting a template to a VM
2.

On the FusionCompute Portal, choose VDC Management > VM and Template.


The VM and Template page is displayed.

3.

In the navigation tree on the left, right-click the VM template to be converted and choose Convert
to VM from the shortcut menu.
A dialog box is displayed.

4.

Click OK.
A dialog box is displayed.

2014-02-07

Huawei confidential. No spreading without permission.

Page 15 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

5.

Click OK.

6.

In the navigation tree, right-click the newly converted VM and choose Power On from the
shortcut menu.
A dialog box is displayed.

7.

Click OK.

e
/
m

A dialog box is displayed.


8.

Click OK.

o
c
.

Start the VM.


Then go to step 33.
Deploying a VM using a template
9.

On the FusionCompute Portal, choose VDC Management > VM and Template.

u
h
.
g
n

The VM and Template page is displayed.

i
e
aw

10. In the navigation tree on the left, right-click a template and choose Deploy VM Using A Template
from the shortcut menu.
The Location page is displayed.

i
n
ar

11. Select a location for the VM that you are creating.

Cluster: The VM will be created on a random host in the cluster.

e
l
//

Host: The VM will be created on the specified host.

12. If you select Host, to bind the VM to a host, select Bind to the select host.

:
p
tt

If a VM is mounted to a host, the VM can only run on this host and cannot be migrated to another
host. That is, HA is unavailable.
13. If you want to bind a graphics card, select Attach graphics card under Advanced Settings and
select the graphics card.

:
s
e

If a graphics card is bound to a VM, the VM is automatically bound to the host on which the VM
and the graphics card are located. The VM can be migrated to another host only after the graphics
card is unbound from the VM.

c
r
u
o
s
e
R

14. If you want to bind a USB device, select Attach USB device under Advanced Settings and select
the graphics card.
If a USB device is bound to a VM, the VM is automatically bound to the host on which the VM
and the USB device are located. The VM can be migrated to another host only after the USB
device is unmounted from the VM.

g
n
i

15. Click Next.

The Properties page is displayed.

n
r
a

16. Enter a VM name and select the OS type and version.

Le

17. Set the following hardware specifications of the VM:

CPU

Memory (MB)

18. To reset QoS, click QoS configurations and set the parameters.

2014-02-07

CPU Quota: specifies the proportion of CPU resources a VM can obtain in resource contention.
The quota indicates the relative priority or importance of a VM. For example, if the CPU quota
of a VM is twice that of another VM, this VM has the priority to use the CPU resources as
twice as that of the other VM.

CPU Reserved (MHz): specifies the minimum computing capability of the VM. For example,
if the VM has one CPU and this parameter is set to 2000, the minimum computing capability of
the VM is 2000 MHz.

Huawei confidential. No spreading without permission.

Page 16 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

CPU Limit (MHz): specifies the maximum computing capability of the VM. For example, if
the VM has one CPU and this parameter is set to 2000, the maximum computing capability of
the VM is 2000 MHz.

Memory Quota: specifies the proportion of memory resources a VM can obtain in resource
contention. The quota indicates the relative priority or importance of a VM. For example, if the
memory quota of a VM is twice that of another VM, this VM has the priority to use the memory
resources as twice as that of the other VM.

Memory Reserved (MB): specifies the minimum physical memory resources of the VM. If this
parameter is set to 0, the system does not reserve a minimum percentage of physical memory
resources for the VM.

19. Set the advanced properties of the VM.

i
e
aw

HA: After the HA function is enabled, VMs are automatically migrated to another host and run
properly if the current host is faulty.

Policy for handling blue screen of death (BSOD): specifies the policy for handling a VM
BSOD.

Clock policy: If this parameter is selected, the VM periodically synchronizes its time with the
host. If no, you can set the system time of the VM.

CPU hot swap (This parameter is valid only when the VM OS supports CPU hot swap):

u
h
.
g
n

i
n
ar

Disable: All operations performed to modify CPU properties of a VM take effect only
after the VM is restarted.

Enable CPU hot add: The operations performed to add the number of CPUs and modify
the CPU resource control policies take effect without VM restart. The operations
performed to reduce the number of CPUs take effect after the VM is restarted.

e
l
//

:
p
tt

20. Click Next.


The Set VM page is displayed.

21. Configure the DVS and port group for each NIC.

:
s
e

The NIC properties are determined by the port group on the DVS to which the NIC connects.

c
r
u
o
s
e
R

22. Set the properties of each disk.

n
r
a

Le

Data store

Configuration mode
-

Ordinary: The system allocates disk space based the configured disk capacity.

Thin provisioning: This mode can be selected only when virtual storage is deployed. 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. Do not select this mode for the first disk. Otherwise,
the I/O performance of the VM is lower than that of a VM in the Ordinary mode.

g
n
i

Not affected by snapshot: If this option is selected, the disk data will not be backed up or
restored when the VM is backed up or restored using the snapshot.

Persistency:
-

Persistent: All operations on the disk will be recorded in the disk.

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 data changes will be lost after the VM stops.

23. Set VM properties.


VM properties include the host name, password, and IP address. If you do not set VM properties,
the VM inherits the VM properties of the template.

2014-02-07

Do not customize: inherits the VM properties of the template. Go to step 30.

Huawei confidential. No spreading without permission.

o
c
.

Page 17 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Customize using the Customization Wizard: creates VM properties. Go to step 24.

Customize using existing VM attributes: uses existing VM properties. If you do not want to
reset VM properties, go to step 3. If you want to, go to step 24.

24. Click Next.


The Customize using the Customization Wizard page is displayed.

e
/
m

25. Enter the host name and administrator password of the VM.
26. If the VM runs the Windows OS, select a domain or a workgroup for the VM.

If you select Workgroup, enter the workgroup name.

If you select Windows Server Domain, enter the domain name, VM host name, and domain
password.

i
e
aw

27. If you select Customize using the Customization Wizard and want to save the properties, select
Save as Computer Attributes, and set VM Attributes Name and Description.

u
h
.
g
n

28. Click Next.


The NIC Settings page is displayed.
29. Set the NIC properties:

IP address

Subnet mask

Default gateway

Active DNS server

Standby DNS server

i
n
ar

e
l
//

:
p
tt

30. Click Next.

The Confirm page is displayed. Verify that the information about the VM to be created.
31. Click Finish.
The VM creation starts.

:
s
e

32. On the Complete page, click Query Task.

c
r
u
o
s
e
R

On the Task Center page that is displayed, view the creation progress.
Logging in to the VM

33. In the navigation tree on the left of the VM and Template page, right-click the VM and choose
Log in using VNC from the shortcut menu.

Result

g
n
i

Check whether all steps described in the previous procedure are performed.

n
r
aLive VM Migration
1.4.2
e
L

Confirm: [OK?]__________________

Operation scenario: On the FusionCompute Portal, migrate a VM to a specified host in the cluster to
which the VM belongs to implement manual resource scheduling.
Impact on the System: This operation has no adverse impact on the system.

Preparations
Prerequisites
You have logged in to the FusionCompute Portal.

2014-02-07

Huawei confidential. No spreading without permission.

o
c
.

Page 18 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

The VM is in the Running state.


The VM to be migrated is not bound to a host, and no graphics card or USB device are bound to the
VM.
You have obtained the name of the host to which the VM is to be migrated.

e
/
m

Procedure

o
c
.

Searching for a VM
1.

On the FusionCompute Portal, choose VDC Management > VM and Template.


The VM and Template page is displayed.

2.

On the VM tab page, enter the search criteria and click Search.

u
h
.
g
n

The search result is displayed.


Migrating a VM
3.

Locate the row that contains the VM to be migrated, click Operation, and select Migrate.

i
n
ar

The Migrate VM page is displayed.


4.

Select Change host as the migration mode.

5.

Click Next.

6.

Select the host to which the VM is migrated.

7.

If you want to bind the VM to the host, select Bind to the selected destination host.

8.

Click Migrate.
Click OK.
A dialog box is displayed.

10. Click OK.

:
s
e

e
l
//

:
p
tt

A dialog box is displayed.


9.

i
e
aw

The VM is migrated to the destination host when its state changes to Running.

c
r
u
o
s
e
R

On the Task Tracing tab page, you can view the task progress.

Result

Check whether all steps described in the previous procedure are performed.

g
n
1.4.3 Online
Modification of VM Specifications (CPU Parameters)
i
n
r
a
e
L
Confirm: [OK?]__________________

Operation scenario: When the CPU properties of a VM no longer meet the service requirement,
administrators can modify CPU properties online using the FusionCompute Portal.
The conditions for effective CPU properties are subject to the CPU hot swap policy:

Disable CPU hot swap: The policy for controlling CPU resources takes effect without VM restart.
The policies for adding CPUs and reducing the number of CPUs take effect only after the VM is
restarted.

Enable CPU hot add: The operations performed to add the number of CPUs and modify the CPU
resource control policies take effect without VM restart. The operations performed to reduce the
number of CPUs take effect after the VM is restarted.

2014-02-07

Huawei confidential. No spreading without permission.

Page 19 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Impact on the system: Ongoing services on the VM are stopped if you restart the VM for new CPU
properties to take effect. Therefore, you are advised to perform this operation during non-peak hours.

Preparations
Prerequisites

e
/
m

You have logged in to the FusionCompute Portal.

o
c
.

The VM is in the Running or Stopped state.


Data
Description

Number of CPUs

This parameter is mandatory.

u
h
.
g
n
2

This value cannot exceed the number of the


physical CPU cores on the host.

i
n
ar

Value range: 164


Quota

i
e
aw

Example
Value

Parameter

This parameter is mandatory.

Medium

e
l
//

Specifies the proportion of CPU resources a VM


can obtain in resource contention. The quota
indicates the relative priority or importance of a
VM. For example, if the CPU quota of a VM is
twice that of another VM, this VM has the priority
to use the CPU resources as twice as that of the
other VM.

:
p
tt

CPU quotas are listed as follows:


Low: Number of CPUs x 500

:
s
e

Medium: Number of CPUs x 1000


High: Number of CPUs x 2000

c
r
u
o
s
e
R

Custom: Value range: 1128,000


Default value: Medium

Reserved (MHz)

ng

i
n
r

ea

2014-02-07

This parameter is mandatory.

No limit

Specifies the minimum computing capability of


the VM. For example, if the VM has one CPU and
this parameter is set to 2000, the minimum
computing capability of the VM is 2000 MHz.
Minimum value: 0; maximum value: Number of
CPUs x Host CPU frequency
Default value: 0

Huawei confidential. No spreading without permission.

Page 20 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Parameter

Description

Example
Value

Limit (MHz)

This parameter is mandatory.

No limit

Specifies the maximum computing capability of


the VM. For example, if the VM has one CPU and
this parameter is set to 2000, the maximum
computing capability of the VM is 2000 MHz.
No limit

e
/
m

o
c
.

Limited. Minimum value: 1; maximum value:


Number of CPUs x Host CPU frequency
Default value: No limit

u
h
.
g
n

Procedure

i
n
ar

Searching for a VM
1.

On the FusionCompute Portal, choose VDC Management > VM and Template.

e
l
//

The VM and Template page is displayed.


2.

On the VM tab page, enter the search criteria and click Search.
The search result is displayed.

:
p
tt

Modifying CPU properties


3.

Click the name of the VM.


The Summary page is displayed.

4.

i
e
aw

:
s
e

On the Hardware tab page, click CPU.


The CPU page is displayed.

5.

6.

n
r
a

Le

7.

c
r
u
o
s
e
R

Specify the number of cores for the VM.

When the VM is running on Windows Server 2003 or Windows XP and the number of the VM's
cores is changed from one to multiple or from multiple to one, log in to the VM and manually
modify the CPU driver.

To prevent the computing performance of the VM from decreasing, ensure that the number of
the cores of the VM does not exceed CPU cores on the host.

g
n
i

Configure the following CPU resource control items:

CPU Quota: specifies the proportion of CPU resources a VM can obtain in resource contention.
The quota indicates the relative priority or importance of a VM. For example, if the CPU quota
of a VM is twice that of another VM, this VM has the priority to use the CPU resources as
twice as that of the other VM.

CPU Reserved (MHz): specifies the minimum computing capability of the VM. For example,
if the VM has one CPU and this parameter 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 this parameter is set to 2000, the maximum computing capability of
the VM is 2000 MHz.

Click OK.
A dialog box is displayed.

2014-02-07

Huawei confidential. No spreading without permission.

Page 21 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

8.

INTERNAL

Click OK.
On the Task Tracing tab page, you can view the task progress.
Modifying the VM driver

9.

Based on the VM OS type and the CPU adjustment method, determine whether to modify the VM
driver.

e
/
m

When the VM is running on Windows Server 2003 or Windows XP and the number of the VM's
cores is changed from one to multiple or from multiple to one, manually modify the CPU driver.

If yes, go to step 10.

If no, go to step 16.

o
c
.

10. Log in to the VM using VNC.


The following steps are performed on Windows Server 2003.

u
h
.
g
n

i
e
aw

11. On the Start menu bar of the VM, right-click My Computer and choose Properties form the
shortcut menu.
12. On the Hardware tab page, click Device Manager.

i
n
ar

13. In the navigation tree, expand the Computer node and double-click ACPI Multiprocessor PC or
Advanced Configuration and Power Interface (ACPI) PC.

If you need to change single-core to multiple-core, update Advanced Configuration and


Power Interface (ACPI) PC to ACPI Multiprocessor PC.

If you need to change multiple-core to single-core, update ACPI Multiprocessor PC to


Advanced Configuration and Power Interface (ACPI) PC.

e
l
//

:
p
tt

14. On the Driver tab page, click Update Driver.

15. Update the drive as instructed by the hardware update guide and according to the actual
requirement.
Restarting a VM

:
s
e

16. On the Options tab page, click CPU hot swap.


The CPU hot swap page is displayed.

c
r
u
o
s
e
R

17. View the current CPU hot swap policy.


Options of the CPU hot swap policy are:

ea

rn

Disable: All operations performed to modify CPU properties of a VM take effect only after the
VM is restarted.

Enable CPU hot add: The operations performed to add the number of CPUs and modify the
CPU resource control policies take effect without VM restart. The operations performed to
reduce the number of CPUs take effect after the VM is restarted.

g
n
i

18. Determine whether to restart the VM for the new CPU properties to take effect.

If yes, go to step 19.

If no, no further action is required.

19. In the Operation area on the Summary tab page, click Safely Restart.
A dialog box is displayed.
20. Click OK.
A dialog box is displayed.
21. Click OK.
The VM is restarted and its CPU properties are modified when the VM state changes to Running.

2014-02-07

Huawei confidential. No spreading without permission.

Page 22 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Result
Check whether all steps described in the previous procedure are performed.
Confirm: [OK?]__________________

e
/
m

o
c
.

u
h
.
g
n

i
e
aw

i
n
ar

e
l
//

n
r
a

g
n
i

c
r
u
o
s
e
R

:
s
e

:
p
tt

Le

2014-02-07

Huawei confidential. No spreading without permission.

Page 23 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

2 Experiments on the FusionManager


2.1 Objectives
Upon the completion of this chapter, you will be able to know how to:

e
/
m

Create applications and provision applications.

Upload software.

Create VM templates.

Create service catalogs and applications as well as publish applications.

o
c
.

2.2 Experiment Deployment

u
h
.
g
n

i
e
aw

This section provides guidance for you to provision a forum application. There is only one VM and the
covered software resources are:
apache > php > extension > discus. For details, see the FusionManager Service Issuing
Experiment Software Parameters Description Linux_Discuz.docx.

i
n
ar

For details about the required software packages, see the FusionManager Service Issuing Experiment
Software Package.

e
l
//

2.3 Basic Information

:
p
tt

Portal IP Address
System administrator

192.168.30.6

:
s
e

Portal Account

admin/Huawei@123

2.3.1 Introduction to Creating Applications


Overview

c
r
u
o
s
e
R

Cluster resources have been deployed during the initial configuration. The cluster resources are
computing, network, and storage resources.

g
n
i

Applications can only be created using service templates. Service templates consist of VM templates
and software packages. You can add elastic groups and configure policies for the elastic groups to
improve resource utilization. You can also add networks to connect the VMs to the networks.

n
r
a

Process

Le

Figure 2-1 shows the flowchart for creating applications.

2014-02-07

Huawei confidential. No spreading without permission.

Page 24 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Figure 2-1 Flowchart for creating applications


Start

e
/
m

Add a software package.

o
c
.

Add a VM template.

u
h
.
g
n

Create a catalog.

i
e
aw

i
n
ar

Create a service template.

e
l
//

Create an application.

:
p
tt

End

:
s
e

Table 2-1 describes each step included in the previous flowchart.

c
r
u
o
s
e
R

Table 2-1 Steps for creating applications


No.

Step

Description

Adding a
Software
Package

Add software packages required for application creation, and configure


commands and scripts to manage the software packages. When creating
service templates, theses software packages can be associated with VMs.
When an application is created using a service template, the system can
rapidly deploy the software package for the application based on the
commands and scripts configured.

Creating a
VM
Template

Create VM templates that apply to different OSs, and install software that is
required. When creating a service template, you can select the
corresponding VM template. In addition, VM templates can be combined
with different software packages during service template creation to
quickly create applications.

Creating a
Catalog

Create service catalogs to manage the service templates based on their


types.

n
r
a

Le

2014-02-07

g
n
i

Huawei confidential. No spreading without permission.

Page 25 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

No.

Step

Description

Creating a
Service
Template

Creating service templates as required using available VM templates and


software packages. You can add elastic groups to the created templates and
configure policies for the elastic groups, or add networks to connect the
VMs to the networks.

Creating an
Application

Select a service template to create applications for service provisioning. For


example, you can use the service template where the MySQL software
package and Linux VM template have been added to create a database
application that can provide database services.

Preparations

u
h
.
g
n

i
e
aw

Table 2-2 lists the software, documents, and tools required for application creation.

i
n
ar

Table 2-2 List of software, documents, and tools


Resource
Type

Resource
Name

Description

Software

OS ISO file

Obtain this file before creating VM


templates.

Prepared by
customers.

FusionComput
e
V100R003C00
_GuestOS.iso

This ISO file includes the PV driver and


the driver for intelligent network interface
card (iNIC).
PV driver: paravirtualization driver,
which is necessary for creating a VM
template
iNIC drive: required for creating a VM
template when iNIC is used. The iNIC
driver and the PV Driver are included
in the same ISO file.

http://support.huawei.
com/enterprise >
Software > IT >
FusionCloud >
FusionSphere >
FusionCompute >
FusionCompute
V100R003C00

The client software of the FusionManager,


which is required for creating VM
templates.

http://support.huawei.
com/enterprise >
Software > IT >
FusionCloud >
FusionSphere >
FusionManager

n
r
a

Le

g
n
i

c
r
u
o
s
e
R
puppetclient_li
nux.iso
puppetclient_w
indows.iso

e
l
//

:
s
e

:
p
tt

How to Obtain

Download and
decompress
FusionCompute
V100R003C00_Gues
tOSDrivers.zip.

Download and
decompress
FusionManager
V100R003C00_tool.
zip.
Application
software

2014-02-07

Purchase the application software (for


example, WinRAR) based on site
requirements.

Huawei confidential. No spreading without permission.

o
c
.

Prepared by
customers.

Page 26 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Resource
Type

Resource
Name

Description

How to Obtain

Document

OS installation
guide

Used to provide guidance for users to


install the OS on a VM template.

Prepared by
customers.

Tool

PC

It is used for service provisioning. The


requirements for PCs are as follows:
A browser has been installed.

Prepared by
customers.

o
c
.

NOTE

The browsers that are compatible with the


system are:

Internet Explorer 8.0 or later

Firefox 8.0 or later

The Java Plug-in 1.7.0_15 or later has


been installed to ensure that the VM
can be logged in through the PC using
VNC.

u
h
.
g
n

i
e
aw

i
n
ar

e
l
//

2.4 Operation Tasks

:
p
tt

2.4.1 Adding a Software Package

Table 2-3 lists the data that must be ready before you add a software package.

:
s
e

Table 2-3 Data required for adding a software package


Category
Basic
Information

ng

i
n
r

Parameter

c
r
u
o
s
e
R
Name

Description

Example Value

This parameter is mandatory.

xxx software package

Specifies the name of the software


package.

Software

This parameter is mandatory.

OS

This parameter is optional.

Linux

Specifies the OS applicable to the


software in the software package.

a
e
L

2014-02-07

e
/
m

Huawei confidential. No spreading without permission.

Page 27 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

INTERNAL

Parameter

Description

Example Value

File Format

This parameter is optional.

unknown

Specifies the type of the software in


the software package.
If the software fails to be
automatically installed and
uninstalled, select unknown. This
option requires you to provide
installation and uninstallation
commands.
If the software can be
automatically installed and
uninstalled, select msi or rpm.
The system automatically installs
the software, that is, you do not
need to specify any command for
this type of software. However, if
you specify commands, the
specified commands will be used
when applications are created.
Version

o
c
.

u
h
.
g
n

i
e
aw

i
n
ar

e
l
//

This parameter is mandatory.

e
/
m

7.2

Specifies the version of the software


in the software package.
Icon

:
p
tt

This parameter is optional.

Specifies the software package icon,


which can be selected from the icons
provided in the system.

c
r
u
o
s
e
R
Description

Configurati
on

n
r
a

Le

g
n
i

Attachment

:
s
e

This parameter is optional.

Provides supplementary information


about the software package.

This parameter is optional.

Specifies the scripts used to manage


the software.
Linux: An .sh file, for example,
install.sh
Windows: A .bat file, for
example, install.bat
The attachment must be smaller than
or equal to 2 GB.
If the software package cannot be
installed or uninstalled using only
one command, create a script
containing all the commands required
and upload the script.

2014-02-07

Huawei confidential. No spreading without permission.

Page 28 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

INTERNAL

Parameter

Description

Example Value

File target
path

This parameter is mandatory.


Specifies the directory where the
uploaded software package and
attachment are saved on the target
VM. The system automatically
searches this directory for the
installation package and
command scripts.
The directory must have been
created on the VM.

Linux: /opt/install/a
Windows: c:\install\a

This parameter is mandatory.


Provide installation commands if
the software fails to be
automatically installed.
If the software that the system
cannot automatically start must be
started immediately after being
installed, write the start command
in Install command.

install.sh {ip} {user} {pwd}

Uninstall
command

This parameter is optional.

uninstall.sh

Start
command

This parameter is optional.

Install
command

e
/
m

o
c
.

u
h
.
g
n

NOTE

i
e
aw

The address, user name, and


password must be specified
during the installation, and can
be regarded as parameters of
the installation command.
These parameters are
referenced in service template
design and application creation.

i
n
ar

c
r
u
o
s
e
R
Stop
command

n
r
a

g
n
i

e
l
//

:
p
tt

Provide uninstallation commands if


the software fails to be automatically
uninstalled.

:
s
e

startup.sh

After a VM is started, the system


automatically references this
command to start the software
deployed on this VM.
This parameter is optional.

stop.sh

Before stopping a VM, the system


automatically references this
command to stop the software. That
ensures that the software can be
started properly when the VM is
started next time.

e
LProcedure
Step 1 On the FusionManager, choose Catalog > Software Package. The Software Package page is
displayed.
Step 2 Click Add Software Package. The Add Software Package page is displayed.
Step 3 Configure the basic information about the software package.
The parameters to be set are Name, Software, OS, File format, Version, Icon, and Description.

2014-02-07

Huawei confidential. No spreading without permission.

Page 29 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Applicable OSs: All OSs applicable to the software in the software package.

Software type:
If the software fails to be automatically installed and uninstalled, select unknown. This option
requires you to provide installation and uninstallation commands.
If the software can be automatically installed and uninstalled, select msi or rpm. The system
automatically installs the software and you do not need to specify any command for this type of
software. However, if you specify commands, the specified commands will be used when
applications are created.

Icon: The software package icon displayed in the service template. It can be selected from the
icons provided in the system.
NOTE

Click the image on the right of Icon and select one of icons displayed.

u
h
.
g
n

Step 4 Click Next. The Add Configuration Commands page is displayed.


Step 5 Set the parameters based on the software type:

If you select unknown, go to step 6.

If you select msi or rpm, go to step 7.

o
c
.

i
e
aw

i
n
ar

Step 6 Configure the commands for uploading and installing or uninstalling the software package based on the
data plan:

e
l
//

File target path: specifies the directory where the uploaded software package and attachment are
saved on the target VM. The system automatically searches this directory for the installation
package and command scripts. To prevent such operation failures as installation failure due to
identical attachment file names, you are advised to include the software package name in the
attachment file path. For example, if the software package name is a, set the attach file path to
/opt/install/a on Linux and to c:\install\a on Windows.

:
s
e

:
p
tt

Install command: Provide installation commands. If you restart the software immediately after the
software installation is completed, write the startup command in Install command.

Uninstall command: Provide uninstallation commands.

Start command: After a VM is started, the system automatically references this command to start
the software deployed on this VM.

Stop command: Before stopping a VM, the system automatically references this command to stop
the software. That ensures that the software can be started properly when the VM is started next
time.

g
n
i

c
r
u
o
s
e
R

Then go to step 8.

n
r
a

Step 7 Upload the software package and configure commands for the software package as prompted based on
the data plan. Installation and uninstallation commands are optional. If you enter an installation or
uninstallation command manually, the entered command prevails.

Le

Step 8 Click Next. The Confirm Info page is displayed, on which you can check the configuration
information.

Step 9 Click Next. The system starts uploading the software package.
Step 10 When the "Successfully Uploaded" message is displayed, click Finish. The software package is added.
----End

2014-02-07

Huawei confidential. No spreading without permission.

Page 30 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Result
Check whether all steps described in the previous procedure are performed.
Confirm: [OK?]__________________

2.4.2 Creating a VM Template


This section describes how to create a VM template on Linux. For operations on the Windows, see the
product manual.
Figure 2-2 shows the flowchart for creating a VM template.
Figure 2-2 Flowchart for creating a VM template

u
h
.
g
n

Start

Configure basic information.

i
n
ar

Install an OS.

e
l
//

Disable the firewall on the VM.

Is the VMware Hypervisor


used?

i
e
aw

No

:
p
tt

Yes
Install VMware tools.

Install the PV driver.

Install the Puppet Client.

c
r
u
o
s
e
R
No

Is an iNIC installed?

:
s
e

Yes

Install an iNIC.

g
n
i

Configure a VM NIC.

n
r
a

Le

Is the VMware Hypervisor


used?

No

Configure a VM template.

Yes

Initialize the user disk.

Publish the VM template.

End

2014-02-07

Huawei confidential. No spreading without permission.

o
c
.

Page 31 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Table 2-4 lists the data that must be ready before you create a VM template.
Table 2-4 Data required for creating a VM template
Category

Parameter

Description

Example Value

Basic
Information

Name

This parameter is mandatory.

VM_01

e
/
m

Specifies the name of the VM template


to be created.

o
c
.

The name can contain only letters,


digits, hyphens (-), underscores (_), and
spaces. It is a string of 1 to 64
characters.
Image

This parameter is optional.


Specifies the image of the VM
template. You can click Click to
change the image to change an image
for the VM template.

Hypervisor

u
h
.
g
n

i
e
aw

i
n
ar

This parameter is mandatory.

e
l
//

fusioncubehypervisor

Specifies the virtual environment to


which the VM template belongs.
Resource
Cluster

This parameter is mandatory.

Description

This parameter is optional.

:
p
tt

Cluster01

Specifies the cluster to which the VM


template belongs.

:
s
e

VM template of User_01

It is a string of 0 to 1024 characters.

Basic VM
Specifications
(ss)

n
r
a

Le

g
n
i

OS type

c
r
u
o
s
e
R
OS version

This parameter is mandatory.

Linux

This parameter is mandatory.

Novell SUSE Linux


Enterprise Server 11 SP1
32bit
VMware: Novell SUSE
Linux Enterprise 11
32bit

Number of
CPUs

This parameter is mandatory.

Memory

This parameter is mandatory.

1GB

Number of
disks

This parameter is mandatory.

Capacity

This parameter is mandatory.

20GB

Specifies the system disk capacity (unit:


GB) required by the VM.
NOTE

The VM requires a minimum of 10 GB


system disk to have the Puppet Client

2014-02-07

Huawei confidential. No spreading without permission.

Page 32 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

Parameter

INTERNAL

Description

Example Value

installed.

It is an integer ranging from 1 to 2048.


Default value: 20
Thin
Provision

This parameter is mandatory.

e
/
m

Specifies whether to enable thin


provisioning. If thin provisioning is
enabled, the physical disk space is
shared and storage space is dynamically
allocated only when data is written into
the disk. Thin provisioning allows more
virtual memory space to be allocated
than the real memory available, because
most of users do not use all the memory
space allocated to them.
You are advised to disable thin
provisioning for disks that run
performance-intensive programs.

o
c
.

u
h
.
g
n

i
e
aw

i
n
ar

This mode cannot be enabled for disks


that do not support thin provisioning.

e
l
//

Default value: Disabled


Affected by
Snapshot

:
p
tt

This parameter is mandatory.

Specifies whether to take a snapshot for


a disk when the system is taking a
snapshot for a VM.

:
s
e

Default value: Yes

HA

n
r
a

g
n
i

c
r
u
o
s
e
R

Le

This parameter is optional.

Specifies whether to enable the HA


function for a VM. With this function
enabled, the VM will be automatically
migrated to another functional host if
the host providing this VM becomes
faulty. This function takes effect only
when HA is enabled for both the VM
and the resource cluster housing the
VM.
Default value: Enabled

Clock Sync

This parameter is optional.

Indicates whether to synchronize time


with the host.
Default value: Do not
select Synchronize with host clock.
VM
Specifications
(QoS)

2014-02-07

Limit (CPU)

This parameter is optional.

500MHz

Specifies the maximum CPU resource


that can be allocated by a server to a
VM.

Huawei confidential. No spreading without permission.

Page 33 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

Parameter

INTERNAL

Description

Example Value

It is the product of the number of


configured CPUs and the dominant
frequency of the server CPU. The
dominant frequency is automatically
obtained by the system.

e
/
m

Default value: 0, which indicates no


limit.

o
c
.

NOTE

If the VMware Hypervisor is used, -1


indicates no limit.

CPU Quota

This parameter is optional.

Medium

Memory
Quota

Specify the CPU and memory quotas


that a VM can obtain in resource
contention. The quota indicates the
relative priority or importance of a VM.
For example, if the quota of a VM is
twice that of another VM, this VM has
the priority to use the resources as twice
as that of the other VM.
High: The quota is 2000 for each
CPU and 20 for each MB of
memory.
Medium: The quota is 1000 for
each CPU and 10 for each MB of
memory.
Low: The quota is 500 for each CPU
and 5 for each MB of memory.

Medium

u
h
.
g
n

i
e
aw

i
n
ar

e
l
//

ng

i
n
r

a
e
L

c
r
u
o
s
e
R

:
s
e

:
p
tt

For example, if the CPU and memory


resource quota is set to Medium for a
VM that has two virtual CPUs and 1
GB memory, the VM has 2000 CPU
quotas (2 x 1000) and 10,240 memory
quotas (10 x 1024).
Configuration principles:
If users have no special
requirements on VM performance
indicators, use the default settings.
If users have special requirements
on VM performance indicators, set
this parameters based on user
requirements.

Value range:
If the CPU quota is Custom, the
value is an integer equal to (12000)
x Number of CPUs.
If the memory quota is Custom, the
value is an integer ranging from 1 to
20 x nMB, where n is the configured

2014-02-07

Huawei confidential. No spreading without permission.

Page 34 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

Parameter

INTERNAL

Description

Example Value

memory size. For example, if the


configured memory is 2 GB, the
maximum reserved memory is
40,960 GB.

e
/
m

Default value:
CPU quota: medium (1000 x
Number of CPUs)
Memory quota: medium (10 x nMB)
Reserved
(CPU,
Memory)

This parameter is optional.


Specifies the minimum CPU and
memory resources required by the
VM.
A VM can start only when the server
provides the minimum CPU and
memory resources required by the
VM.
If this parameter is specified, the
server will provide the reserved
CPU and memory resources for the
VM even if the server is heavily
loaded.

o
c
.

50

u
h
.
g
n

i
e
aw

i
n
ar

e
l
//

:
p
tt

For example, if a server has 2 GB


memory available and the reserved
value is set to 1 GB for VM 1 and VM
2 running on this server, both VMs can
obtain 1 GB memory.

n
r
a

g
n
i

c
r
u
o
s
e
R

:
s
e

Configuration principles:
If users have no special
requirements on VM performance
indicators, use the default settings.
If users have special requirements
on VM performance indicators, set
this parameters based on user
requirements.
Value range:
Reserved CPU: an integer ranging
from 0 to the maximum CPU limit.
Reserved memory: an integer
ranging from 0 to 1024 x nGB.
where n is the configured memory
size. For example, if the configured
memory is 2 GB, the maximum
reserved memory is 2048 GB.

Le

Default value: 0, which indicates that


no resource is reserved.
Software
Installation

2014-02-07

Username

This parameter is optional.

Admin

Specifies the user name of the PC

Huawei confidential. No spreading without permission.

Page 35 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

Parameter

Parameters

INTERNAL

Description

Example Value

sharing the OS and the application.


It is a string of 0 to 63 characters.
Password

This parameter is optional.

Admin123

e
/
m

Specifies the password of the PC


sharing the OS and the application.

o
c
.

It is a string of 0 to 63 characters.
Shared file
path

This parameter is optional.


Specifies the path of the PC sharing the
OS and the application. Communication
between the PC and the network must
be normal.

\\182.168.24.10\iso\wind
ows.iso

u
h
.
g
n

Folder names and file names can


contain only digits, letters, hyphens (-),
underscores(_), periods (.), and spaces.
If the file is not shared on the
network, you only need to enter the
file path, which is a string of 1 to 83
characters, for example,
\iso\linux.iso.
If the file is shared on the network,
you need to enter an IP address
followed by the file path, which is a
string of 1 to 100 characters, for
example,
\\182.168.24.10\iso\linux.iso.
If the VMware Hypervisor is used,
only a shared file can be used for
mounting CD-ROM drives. The IP
address in the name of the directory
storing the shared file must be the IP
address of the NFS server.

i
e
aw

i
n
ar

e
l
//

ng

i
n
r

a
e
L

c
r
u
o
s
e
R
Restart the
VM
immediately
after
mounting the
iso file

:
s
e

:
p
tt

This parameter is optional.

Select this option when installing an


OS.

Procedure
Configuring basic information
Step 1 On the FusionManager, choose Catalog > VM Template.
The VM Template page is displayed.
Step 2 Click Create VM Template.

2014-02-07

Huawei confidential. No spreading without permission.

Page 36 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

The Basic Info page is displayed.


Step 3 Set the following parameters about the VM template:
Name, Image, Hypervisor, Resource cluster, and Description
Step 4 Click Next.

e
/
m

The VM Template Specifications page is displayed.


Step 5 Set the following parameters about the VM:
OS type, OS version, Number of CPUs, Memory, Number of disks, Capacity, Thin provisioning,
Affected by Snapshot, HA, and Clock sync

o
c
.

i
e
aw

Thin provisioning: If thin provisioning is enabled, the physical disk space is shared and storage
space is dynamically allocated only when data is written into the disk. Thin provisioning allows
more virtual memory space to be allocated than the real memory available, because most of users
do not use all the memory space allocated to them. You are advised to disable thin provisioning for
disks that run performance-intensive programs.

u
h
.
g
n

This mode cannot be enabled for disks that do not support thin provisioning. Check the availability
of thin provisioning in the following way:
a.

e
l
//

The Resource Pool page is displayed.


b.

Choose Data Center > Data Center > Zone > Computing Resource Pool > Resource cluster.
The Summary page is displayed.

c.

:
p
tt

On the Storage page, check whether there are storage devices that support thin provisioning.
-

If yes, enable or disable thin provisioning.

If no, do not enable thin provisioning.

Affected by snapshot: specifies whether to take a snapshot for a disk when the system is
taking a snapshot for a VM.

HA: specifies whether to enable the HA function for a VM. With this function enabled, the
VM will be automatically migrated to another functional host if the host providing this
VM becomes faulty. The HA function takes effect for a VM only when it is enabled on
both the VM and the resource cluster housing the VM.

Clock sync: specifies whether to synchronize time with the host.

g
n
i
NOTE

n
r
a

i
n
ar

Choose Resource > Resource Pool.

c
r
u
o
s
e
R

:
s
e

For a VM that runs in a VMware Hypervisor, if VMware Tools are running, the VM automatically synchronizes
time with the host upon a restart even if the synchronization is not configured.

Step 6 Determine whether the VM template has special requirements for system performance.

Le

If yes, go to step 7.

If no, go to step 9.

Step 7 Click QoS Configuration to set the following QoS parameters:

2014-02-07

Huawei confidential. No spreading without permission.

Page 37 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Table 2-5 Parameters description


Parameter

Description

Example Value

Limit (CPU)

Specifies the maximum CPU resource that can be allocated by


a server to a VM.

500MHz

It is the product of the number of configured CPUs and the


dominant frequency of the server CPU. The dominant
frequency is automatically obtained by the system.

e
/
m

o
c
.

Default value: 0, which indicates no limit.


NOTE

If the VMware Hypervisor is used, -1 indicates no limit.

CPU Quota
Memory Quota

Specify the CPU and memory quotas that a VM can obtain in


resource contention. The quota indicates the relative priority or
importance of a VM. For example, if the quota of a VM is
twice that of another VM, this VM has the priority to use the
resources as twice as that of the other VM.
High: The quota is 2000 for each CPU and 20 for each MB
of memory.
Medium: The quota is 1000 for each CPU and 10 for each
MB of memory.
Low: The quota is 500 for each CPU and 5 for each MB of
memory.

i
e
aw

Medium

u
h
.
g
n

Medium

i
n
ar

e
l
//

:
p
tt

For example, if the CPU and memory resource quota is set to


Medium for a VM that has two virtual CPUs and 1 GB
memory, the VM has 2000 CPU quotas (2 x 1000) and 10,240
memory quotas (10 x 1024).

:
s
e

Configuration principles:
If users have no special requirements on VM performance
indicators, use the default settings.
If users have special requirements on VM performance
indicators, set this parameters as required.

n
r
a

Le

g
n
i

c
r
u
o
s
e
R

Value range:
If the CPU quota is Custom, the value is an integer equal to
(12000) x Number of CPUs.
If the memory quota is Custom, the value is an integer
ranging from 1 to 20 x nMB. where n is the configured
memory size. For example, if the configured memory is 2
GB, the maximum reserved memory is 40,960 GB.
Default value:
CPU quota: medium (1000 x Number of CPUs)
Memory quota: medium (10 x nMB)

2014-02-07

Huawei confidential. No spreading without permission.

Page 38 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Parameter

Description

Example Value

Reserved
(CPU,
Memory)

Specifies the minimum CPU and memory resources required


by a VM.
A VM can start only when the server provides the
minimum CPU and memory resources required by the VM.
If this parameter is specified, the server will provide the
reserved CPU and memory resources for the VM even if
the server is heavily loaded.

50

e
/
m

o
c
.

For example, if a server has 2 GB memory available and the


reserved value is set to 1 GB for VM 1 and VM 2 running on
this server, both VMs can obtain 1 GB memory.
Configuration principles:
If users have no special requirements on VM performance
indicators, use the default settings.
If users have special requirements on VM performance
indicators, set this parameters based on user requirements.

u
h
.
g
n

i
e
aw

i
n
ar

Value range:
Reserved CPU: an integer ranging from 0 to the maximum
CPU limit.
Reserved memory: an integer ranging from 0 to 1024 x
nGB. where n is the configured memory size. For example,
if the configured memory is 2 GB, the maximum reserved
memory is 2048 GB.

e
l
//

:
p
tt

Default value: 0, which indicates that no resource is reserved.

Step 8 Click Next.

c
r
u
o
s
e
R

:
s
e

The Create VM page is displayed.

Step 9 When the VM created success message is displayed, click Next.


The Install Software page is displayed.

g
n
i
NOTE

n
r
a

Le

If an empty VM is already created, click


Installation page.

Do not click Finish before the OS and software are successfully installed.

If the operation failed because the ISO file has been attached to other VMs, identify the VM to which the ISO
file is attached, enter the VM Template Management page, and click Detach.

After a VM template is created, the template occupies system resources regardless of whether the OS and
applications have been installed. Therefore, delete unnecessary VM templates on the VM Template
Management page.

on the VM Template Management page to enter the Software

Step 10 Determine whether to install non-ISO application software for the VM template.

2014-02-07

Huawei confidential. No spreading without permission.

Page 39 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

NOTE

To install non-ISO application software for a VM template, you need to copy the application software package saved
on the PC to the VM in shared mode, and install the package on the VM. Therefore, check that at least one NIC on
the VM belongs to the service plane. That ensures that the VM can be automatically allocated an IP address that can
communicate with the PC. If the VMware Hypervisor is used, delete the NIC configuration after installing non-ISO
application software and before publishing the VM template. If the VMware Hypervisor is used, click Change
Startup Mode to change the startup mode to boot from the CD-ROM drive.

If yes, go to step 11.

If no, go to step 25.

o
c
.

Configuring a NIC
Step 11 On the Install Software page, click OK.
The VM Template page is displayed.

u
h
.
g
n

Step 12 View the name and owning cluster of the VM template. Close the VM Template page.
Step 13 Click Resource.
The Resource page is displayed.

i
e
aw

i
n
ar

Step 14 In the navigation tree on the left, select the cluster housing the VM, and click the VM tab page in the
right pane.

e
l
//

Step 15 Enter the VM template information in the search field and click Search.
NOTE

:
p
tt

You can click Advanced to search for a VM template with more criteria.

Step 16 Click the VM name.


The Summary page is displayed.
Step 17 Under Operation, click Closed.

c
r
u
o
s
e
R

A dialog box is displayed.


Step 18 Click OK.

:
s
e

Step 19 When the VM state changes to Stopped, choose VM Hardware > NIC.
The VM NIC configuration page is displayed.

g
n
i

Step 20 Under NIC, click Add.

A dialog box is displayed.

n
r
a

Step 21 Set the parameters of the NIC that you want to add. Under Select Network, select the network to which
the NIC belongs.

Le

The parameters to be set are the name and MAC address.

Name: If you leave this parameter blank, the system automatically assigns a name.

MAC: specifies the physical address of the NIC. You can enter a MAC address or use the
automatically assigned MAC address.
NOTE

If no network is available to select, choose Data center > Data center > Zone > Network Resource Pool >
External Network and create an external network.

Step 22 Click Add.

2014-02-07

e
/
m

Huawei confidential. No spreading without permission.

Page 40 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

You are returned to the NIC configuration page. The NIC area displayed the added NIC.
Step 23 Under Operation on the Summary page, click Start/Wake up.
Step 24 You are returned to the Install Software page of the Create VM Template dialog box.
Installing an OS

e
/
m

Step 25 Set the OS parameters about the VM template as prompted based on the data plan.

o
c
.

NOTE

If the FusionCompute Hypervisor is used, you can mount the CD-ROM drive in shared mode. Alternatively, you

i
e
aw

can click VNC login, click


on the VM, and then select File (*.iso) to mount the CD-ROM drive. This
document uses the shared mode as an example when describing the detailed steps.

If the VMware Hypervisor is used, CD-ROM drives cannot be mounted using a locally shared file. An NSF
server must be configured in the vCenter to communicate with the FusionManager and mount CD-ROM drives.

If you click Close on the Software Installation page, the system asks you whether to save the VM template
being created. If you save the VM template as prompted, the VM information can be searched for on the VM
Template page. To continue the installation, click

u
h
.
g
n

i
n
ar

When installing an OS, select Restart the VM immediately after mounting the ISO file.

Step 26 Click Mount.

e
l
//

The Mount dialog box is displayed.


NOTE

:
p
tt

A host allows only one VM template to have a CD-ROM drive mounted. Therefore, if you want to exit the Software
Installation page when no software is being installed for the VM template, click Detach to unmount CD-ROM
drive from the VM first. If the VMware Hypervisor is used and the unmounting fails, click VNC login, eject the
CD-ROM drive, and try again.

Step 27 Click OK.

:
s
e

A dialog box is displayed indicating that the CD-ROM drive is unmounted successfully.
Step 28 Click OK.

c
r
u
o
s
e
R

The Install Software page is displayed.


Step 29 Click VNC Login.

g
n
i

The VM page is displayed.

rn

ea

NOTE

If a pop-up blocking message is displayed, select Always Allow Pop-ups from This Site for the browser, and
log in to the VNC again. On the VM Template Management page, click
page. Then retry the VNC login.

to go to the Install Software

If the Warning - Security dialog box is displayed, select Always trust content from this publisher, and click
Run.

If you cannot log in to the VM using the VNC, right-click


on the toolbar it the lower right corner of the
PC and choose Open Control Panel. Then in the Java Control Panel dialog box that is displayed, click the
Advanced tab page, expand Java Plug-in, and deselect Enabling the next-generation Java plug-in.

If
is not displayed on the toolbar in the lower right corner of the PC, click Start, enter cmd in the
Search programs and files text box, and enter java -version in the displayed command-line interface
(CLI). Check the version number in the command output, open the version path in the JRE program
installation directory, and execute javacpl.exe to display Java Control Panel.

2014-02-07

Huawei confidential. No spreading without permission.

Page 41 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

For example, if the Java version is 1.7.0_15 and the version path in the JRE program installation
directory is C:\Program Files\Java\jre7\bin, run javacpl.exe in this path to display Java Control
Panel.
Step 30 Install and configure the Linux OS by following the instructions provided by the OS guide.
About This Chapter

e
/
m

The following table lists the contents of this chapter.


Title

o
c
.

Description

2.1 Objectives
2.2 Experiment Deployment

u
h
.
g
n

2.3 Basic Information


2.4

i
e
aw

i
n
ar

e
l
//

CAUTION

Note the following points during the installation:

If you configure partitions on the Partitions page on the Summary tab page, you can create root and
swap partitions only, and they must be set to primary partitions. Set the sizes of the root and swap
partitions based on site requirements.

After the time of the Linux VM is set, restart the VM to ensure that the hardware time synchronizes
with the system time.

When configuring system partitions, use an Ext2 or Ext3 file system so that the random password
configured subsequently can take effect. If you use RAID or the LVM file system, the OS cannot
generate passwords randomly.

With the VM Hypervisor used, mouse operations are not allowed if the VMware Tools is not
installed and run on the VM. Therefore, use the keyboard to install the OS.

Install the Linux OS. The installation process slightly varies according to the OS editions.

The installation takes about 50 minutes. The duration varies depending on the OS you use.

g
n
i

c
r
u
o
s
e
R

:
s
e

:
p
tt

Disabling the firewall on the VM

n
r
a

Step 31 Enter the user name and password.

Le

The login page is displayed.

Step 32 On the desktop of the VM, choose Computer > YaST.


The YaST2 Control Center screen is displayed.

Step 33 Select Security and Uses from Groups, and click Firewall in the right pane.
The YaST2 window is displayed.
Step 34 Under Start-Up, select Disable Firewall Automatic. Then click Stop Firewall Now.
Step 35 Click Save Settings and Restart Firewall Now.

2014-02-07

Huawei confidential. No spreading without permission.

Page 42 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

The firewall settings are saved.


Step 36 Click Next.
A dialog box is displayed indicating whether to modify the settings of the firewall.
Step 37 Click Yes.

e
/
m

A dialog box is displayed.


Step 38 Click Finish.

o
c
.

The YaST2 window is displayed.


Step 39 Close the YaST2 Control Center screen.

i
e
aw

Step 40 Right-click the blank area of the VM desktop and choose Open in terminal from the shortcut menu.

u
h
.
g
n

The system enters the command-line mode.


Step 41 Run the following command to restart the VM:

i
n
ar

reboot
Replacing kernel files

e
l
//

Step 42 Refer to the following table to determine whether to replace kernel files for the VM.

If yes, go to step 43.

If no, go to step 44.

:
p
tt

Table 2-6 List of the OSs whose kernel files must be replaced
OS

:
s
e

Red Hat Enterprise Linux 4.7 32-bit


Red Hat Enterprise Linux 4.7 64-bit

c
r
u
o
s
e
R

CentOS 4.7 32-bit


CentOS 4.7 64-bit

Red Hat Enterprise Linux 6.0 32-bit


Red Hat Enterprise Linux 6.0 64-bit

g
n
i

Package Containing the Kernel Files


kernel_patch-redhat_enterprise_linux_4.7.tar.gz

kernel_patch-redhat_enterprise_linux_6.0.tar.gz

CentOS 6.0 32-bit


CentOS 6.0 64-bit

n
r
a

Le

Step 43 Replace the kernel files.


Installing the PV driver

2014-02-07

Huawei confidential. No spreading without permission.

Page 43 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

CAUTION

Before mounting the ISO file, ensure that no software is being installed on the VM.

Restart the VM before installing the PV driver. Otherwise, the installation fails.

Obtain the FusionCompute V100R003C00_GuestOS.iso file.

If the VMware Hypervisor is used, the PV driver is not required but the VMware Tools must be
installed.

Step 44 On the Software Installation page, configure the PV driver as prompted based on the data plan.
Step 45 Click Mount.

u
h
.
g
n

The Mount dialog box is displayed.


NOTE

o
c
.

i
e
aw

A host allows only one VM template to have a CD-ROM drive mounted. Therefore, if you want to exit the Software
Installation page when no software is being installed for the VM template, click Detach to unmount the CD-ROM
drive from the VM first. If the VMware Hypervisor is used and the unmounting fails, click VNC login, eject the
CD-ROM drive, and try again.

i
n
ar

Step 46 Click OK.

e
l
//

A dialog box is displayed indicating that the CD-ROM drive is mounted successfully.
Step 47 Click VNC Login.

:
p
tt

The VM page is displayed.


NOTE

:
s
e

If you cannot log in to the VM using the VNC, right-click


on the toolbar in the lower right corner of the PC
and choose Open Control Panel from the shortcut menu. Then in the Java Control Panel dialog box that is
displayed, click the Advanced tab page, expand Java Plug-in, and deselect Enabling the next-generation Java
plug-in.

c
r
u
o
s
e
R

If
is not displayed on the toolbar in the lower right corner of the PC, click Start, enter cmd in the Search
programs and files text box, and enter java -version in the displayed CLI. Check the version number in the
command output, open the version path in the JRE program installation directory, and execute javacpl.exe to
display Java Control Panel.
For example, if the Java version is 1.7.0_15 and the version path in the JRE program installation directory is
C:\Program Files\Java\jre7\bin, run javacpl.exe in this path to display Java Control Panel.

g
n
i

Step 48 Right-click in the blank area of the VM desktop and choose Open in terminal from the shortcut menu.

n
r
a

The system enters the command-line mode.

Le

Step 49 Run the following commands to mount the CD-ROM drive to the VM:
mkdir xvdd
mount /dev/sr0 xvdd
The CD-ROM drive is mounted to the VM if the following information is displayed:
mount:block device /dev/sr0 is write-protected,mounting read-only

The mounting path varies depending on the Linux edition:

2014-02-07

Huawei confidential. No spreading without permission.

Page 44 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Table 2-7 Mapping between the mounting path and the Linux edition
Linux Edition

Supported CD-ROM Drive

Mounting Path

CentOS 5.6

ISO file/CD-ROM drive

/dev/hdd

ISO file/CD-ROM drive

/dev/sr0

Red Hat 5.5 32-bit


SUSE 11 SP0 SP1

e
/
m

o
c
.

Step 50 Run the following command to switch to the xvdd/pvDriver/linux directory:


cd xvdd/pvDriver/linux
Step 51 Run the following command to view the installation package of the PV driver:

u
h
.
g
n

ls
The command output is as follows:

i
e
aw

i
n
ar

uvp-tools-linux-1.2.0.9.010.tar.bz2

Step 52 Run the following command to copy the PV driver installation package to the root directory:

e
l
//

NOTE

The directory varies according to the software version. The directory in the following command is used as an
example:

:
p
tt

cp uvp-tools-linux-1.2.0.9.010.tar.bz2 /root
cd /root

Step 53 Run the following command to decompress the PV driver:

:
s
e

bzip2 -d uvp-tools-linux-1.2.0.9.010.tar.bz2

c
r
u
o
s
e
R

tar -xvf uvp-tools-linux-1.2.0.9.010.tar

Step 54 Run the following command to switch to the directory in which the PV driver installation package is
saved:
cd uvp-tools-linux-1.2.0.9.010

g
n
i

Step 55 Run the following command to install the PV driver:

n
r
a

sh install

Le

The PV driver is installed if the following information is displayed:

The PV driver installed successfully.


Reboot the system for the installation to take effect.

Step 56 After the PV driver is installed successfully, run the following command to unmount the CD-ROM
drive:
umount xvdd
NOTE

The directory entered in the umount command must be the same as that entered in the mount command.

Step 57 Run the following command to restart the VM:

2014-02-07

Huawei confidential. No spreading without permission.

Page 45 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

reboot
Step 58 Enter the user name and password.
The login page is displayed.
Step 59 Right-click in the blank area of the VM desktop and choose Open in terminal from the shortcut menu.

e
/
m

The system enters the command-line mode.


Step 60 Run the following command to check whether the PV driver is installed:

o
c
.

ps -ef | grep uvp-monitor


root
root

4561
4567

1
4561

0 Jun29 ?
0 Jun29 ?

00:00:00 /usr/bin/uvp-monitor
00:00:00 /usr/bin/uvp-monitor

u
h
.
g
n

i
e
aw

If the information in black is displayed as shown above, the PV driver is installed successfully.
Installing the Puppet Client
NOTE

i
n
ar

Obtain the puppetclient_linux.iso file.

Step 61 On the Software Installation page that is displayed after the PV driver is installed, configure the
Puppet Client as prompted based on the data plan.

e
l
//

Step 62 Click Mount.

:
p
tt

The Mount dialog box is displayed.


NOTE

A host allows only one VM template to have the CD-ROM drive mounted. Therefore, if you want to exit the
Software Installation page when no software is being installed for the VM template, click Detach to unmount the
CD-ROM drive from the VM first. If the VMware Hypervisor is used and the unmounting fails, click VNC login,
eject the CD-ROM drive, and try again.

Step 63 Click OK.

c
r
u
o
s
e
R

:
s
e

A dialog box is displayed indicating that the CD-ROM drive is mounted successfully.
Step 64 Right-click in the blank area of the VM desktop and choose Open in terminal from the shortcut menu.
The system enters the command-line mode.

g
n
i

Step 65 Run the following commands to mount the CD-ROM drive to the VM:

n
r
a

Le

NOTE

If the VMware Hypervisor is used, modify the CD-ROM drive mounting directory based on the in-use OS version
by referring to related Hypervisor and OS documents.

mount /dev/xvdd xvdd


The CD-ROM drive is mounted to the VM if the following information is displayed:
mount:block device /dev/xvdd is write-protected,mounting read-only

Step 66 Determine whether the in-use OS is Red Hat Linux Enterprise 5.5 64-bit, CentOS 5.6 32-bit, or CentOS
5.6 64-bit.

If yes, go to step 67.

If no, go to step 69.

2014-02-07

Huawei confidential. No spreading without permission.

Page 46 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Step 67 Run the following command to check whether the command output contains disabled or permissive.
sestatus -v
The command output containing disabled is as follows:
SELinux status:

disabled

e
/
m

The command output containing permissive is as follows:


SELinux status:
SELinuxfs mount:
Current mode:
Mode from config file:

If yes, go to step 69.

If no, go to step 68.

o
c
.

enabled
/selinux
permissive
enforcing

u
h
.
g
n

i
e
aw

Step 68 Run the following command to set SELINUX in the /etc/selinux/config file to disabled, and then
restart the OS:

i
n
ar

vi /etc/selinux/config
SELINUX=disabled

e
l
//

:wq!
reboot

:
p
tt

Step 69 Step 69: Run the following command to switch to the directory containing the Puppet Client installation
package:
cd xvdd

Step 70 Step 70: Run the following command to install the Puppet Client software:
sh install.sh

c
r
u
o
s
e
R

:
s
e

The command output is as follows:

********Welcome to GalaxManager Agent Installer********


******************************
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1
Please make sure if the Operation System shown upon is right and select the proper item:
******************************
Please select the Operation System you want to install the agent to :
0 Quit
1 SUSE Linux Enterprise Server 11 (x86_64)
2 SUSE Linux Enterprise Server 11 (i586)
3 SUSE Linux Enterprise Server 11-SP1 (x86_64)
4 SUSE Linux Enterprise Server 11-SP1 (i586)
******************************
Please input your choice:3

n
r
a

Le

g
n
i

NOTE

The OSs listed in the command output are the same as the OSs supported by the FusionManager. The four OSs
displayed in the preceding command output are examples only.

Step 71 Type the ID of the required OS and press Enter.

2014-02-07

Huawei confidential. No spreading without permission.

Page 47 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

The Puppet Client is installed successfully if the following information is displayed:


GalaxManager Agent has been installed successfully!

Step 72 After the Puppet Client is installed, run the following command to unmount the CD-ROM drive:
cd ..

e
/
m

umount xvdd
Step 73 Run the following command to restart the VM:

o
c
.

reboot
Step 74 On the FusionManager, choose Resource > Device and select a host.
Step 75 On the Hardware page, click NIC.

u
h
.
g
n

Check the types of the NICs.


Determine whether the NICs are iNICs according to the NIC models.
Step 76 Check whether there are iNICs used on the hosts in the system.

If yes, go to step 77.

If no, go to step 90.

i
e
aw

i
n
ar

e
l
//

Installing the iNIC driver

:
p
tt

NOTE

Before mounting the ISO file, ensure that no software is being installed on the VM.

Obtain the FusionCompute V100R003C00_GuestOS.iso file.

Step 77 On the Install Software page that is displayed after the Puppet Client is installed, configure the iNIC
information as prompted based on the data plan.
Step 78 Click Mount.

c
r
u
o
s
e
R

:
s
e

The Mount dialog box is displayed.


NOTE

A host allows only one VM template to have a CD-ROM drive mounted. Therefore, if you want to exit the Software
Installation page when no software is being installed for the VM template, click Detach to unmount the CD-ROM
drive from the VM first. If the VMware Hypervisor is used and the detachment fails, click VNC login, eject the
CD-ROM drive, and try again.

g
n
i

Step 79 Click OK.

n
r
a

Le

A dialog box is displayed indicating that the CD-ROM drive is mounted successfully.

Step 80 Run the following commands to mount the CD-ROM drive to the VM:
NOTE

If the VMware Hypervisor is used, modify the CD-ROM drive mounting directory based on the in-use OS version
by referring to related Hypervisor and OS documents.

mount /dev/xvdd xvdd


The system displays a message indicating that the CD-ROM is successfully mounted to the VM.
Step 81 Run the following command to copy the iNIC driver to /home/linux:
cp -r ./xvdd/iNICDriver/linux/ /home/linux
2014-02-07

Huawei confidential. No spreading without permission.

Page 48 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

cd /home/linux
Step 82 Run the following command to decompress the iNIC driver installation package compatible with the
OS:
tar -zxf suse11sp1_64_1.2.2.100.1.tar.gz

e
/
m

NOTE

The following installation steps use the SUSE 11 SP1 64-bit installation package as an example.

o
c
.

Step 83 Run the following command to switch to the directory containing the iNIC driver installation package:
cd suse11sp1_64/2.6.32.12-0.7-default/
Step 84 Run the following command to install the iNIC driver:
rpm -ivh iNIC-SLES11.1-1.2.2.100.1.x86_64.rpm

u
h
.
g
n

i
e
aw

Step 85 After the iNIC driver is installed successfully, run the following command to unmount the CD-ROM
drive:

i
n
ar

cd
cd Desktop

e
l
//

umount xvdd
Step 86 Run the following command to restart the VM:

:
p
tt

reboot
Step 87 Enter the user name and password.
The login page is displayed.

:
s
e

Step 88 Right-click the blank area of the VM desktop and choose Open in terminal from the shortcut menu.

c
r
u
o
s
e
R

The system enters the command-line mode.


Step 89 Run the following command to check whether the iNIC is installed successfully:
ifconfig -a

If the command output contains the NIC information, and the number of NICs is the same as the
number specified in the VM specifications, the iNIC is installed successfully.

g
n
i

Configuring a VM NIC

n
r
a

Le

CAUTION
To ensure that the VM created using this VM template can connect to the network and automatically
obtain a dynamic IP address, the VM NIC must stay in the activated state and the Dynamic Host
Configuration Protocol (DHCP) service must be enabled on the VM template. This section uses SUSE
Linux 11 SP1 as an example. For details about the configuration methods for other OSs, see the
corresponding OS guide.

Step 90 Run the following commands to go to the network rule directory:


cd
2014-02-07

/etc/udev/rules.d/
Huawei confidential. No spreading without permission.

Page 49 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Step 91 Run the following command to view the files in the network rule directory:
ls -l
Step 92 Run the following command to delete the rule files whose file names contain persistent and net in the
network rule directory:
rm -r /etc/udev/rules.d/30-net_persistent-names.rules
rm -r /etc/udev/rules.d/70-persistent-net.rules //The word in Italics are subject to the actual user
environment.
Step 93 Run the following command to switch to the directory containing the VM NIC information:
cd /etc/sysconfig/network/
Step 94 Run the following command to query the VM NIC information:

u
h
.
g
n

ls -l
The following command output is displayed.
total 84
-rw-r--r--rw-r--r-drwxr-xr-x
drwxr-xr-x
-rw-r--r--

1
1
2
2
1

root
root
root
root
root

root
root
root
root
root

-rw-r--r--rw-r--r--rw-r--r-drwx------rw-r--r--rw-r--r-drwxr-xr-x

1
1
1
2
1
1
2

root
root
root
root
root
root
root

root 174 May 5 2010 ifcfg-lo


root 27165 May 5 2010 ifcfg.template
root 239 May 5 2010 ifroute-lo
root 4096 May 5 2010 providers
root
26 May 25 21:15 routes
root
26 May 25 21:15 routes.YaST2save
root 4096 May 25 23:16 scripts

NOTE

11772 May 25 20:47 config


6678 May 25 21:01 dhcp
4096 May 25 20:47 if-down.d
4096 May 25 23:16 if-up.d
191 May 25 21:16 ifcfg-eth2

c
r
u
o
s
e
R

o
c
.

i
e
aw

i
n
ar

e
l
//

:
s
e

:
p
tt

ifcfg-ethXX in the command output indicates that the NIC already has a configuration file. The preceding command
output indicates that NIC eth2 already has a configuration file, and other NICs do not have.

Step 95 Check whether the command output contains a NIC configuration file ifcfg-ethXX.

If yes, go to step 100.

g
n
i

If no, go to step 96.

Step 96 Run the following command to create an ifcfg-eth2 file using the visual interface (vi) editor:

n
r
a

Le

vi ifcfg-eth2

Step 97 Press i to enter the edit mode.

Step 98 Enter the following information at the end of the ifcfg-eth2 file.
BOOTPROTO="dhcp"
ONBOOT="yes"
STARTMODE="onboot"

Step 99 Press ESC and enter :wq to save the configuration and exit the vi editor.
Step 100 Check whether the command output contains the NIC configuration file for all the eight NICs (eth0 to
eth7).

2014-02-07

Huawei confidential. No spreading without permission.

Page 50 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

If yes, go to step 102.

If no, go to step 101.

INTERNAL

NOTE

The system can have a maximum of eight NICs. To ensure that all the NICs of the VM can work properly, configure
the configuration files for all the NICs.

e
/
m

Step 101 Run the following command to copy the existing NIC configuration files for the NICs that do not have a
configuration file.

o
c
.

The following example commands are used to copy the configuration file of NIC eth2 to NIC eth0, eth1,
and eth3 to eth7:
cp ifcfg-eth2 ifcfg-eth0
cp ifcfg-eth2 ifcfg-eth1

u
h
.
g
n

cp ifcfg-eth2 ifcfg-eth3
cp ifcfg-eth2 ifcfg-eth4

i
e
aw

i
n
ar

cp ifcfg-eth2 ifcfg-eth5
cp ifcfg-eth2 ifcfg-eth6

e
l
//

cp ifcfg-eth2 ifcfg-eth7
Configuring a VM template

:
p
tt

NOTE

If you want to specify different passwords or customize computer names for the VMs that are created using a VM
template, perform the following steps. If the VMware Hypervisor is used, random VM passwords are not supported.

Step 102 Run the following command on the VM to open the rc file using the vi editor:

:
s
e

If the VM runs SUSE, run the vi /etc/init.d/rc command.

If the VM runs Red Hat or CentOS, run the vi /etc/rc.d/rc command.

c
r
u
o
s
e
R

Step 103 Press i to enter the edit mode.

Step 104 In front of exit 0 in the file, add the following:


sh /etc/init.d/setpasswd.sh

g
n
i
NOTE

n
r
a

At the end of the rc file for the Red Hat or CentOS OS, enter sh /etc/init.d/setpasswd.sh (exit 0 is not included).

Step 105 Press Esc, type wq, and press Enter.

Le

The system saves the configuration and exits the vi editor.


Initializing the user disk

Step 106 Run the following command on the VM to query user disk information:
NOTE

If the VMware Hypervisor is used, check the target user disk for initialization based on the in-use OS version by
referring to related Hypervisor and OS documents. The following operations take user disk named xvd* as an
example.

ll /dev/xvd*

2014-02-07

Huawei confidential. No spreading without permission.

Page 51 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00


brw-rw---brw-rw---brw-rw---brw-rw---brw-rw---brw-rw---brw-rw----

1
1
1
1
1
1
1

root
root
root
root
root
root
root

disk
disk
disk
disk
disk
disk
disk

202,
202,
202,
202,
202,
202,
202,

0
1
2
48
64
65
66

08-15
08-15
08-15
08-15
08-15
08-15
08-15

16:13
16:13
16:13
16:13
16:13
16:13
16:13

INTERNAL

/dev/xvda
/dev/xvda1
/dev/xvda2
/dev/xvdd
/dev/xvde
/dev/xvde1
/dev/xvde2

e
/
m

NOTE

o
c
.

xvda indicates the system disk, xvdd the CD-ROM drive, and xvde the user disk.

Step 107 Run the following command to format the user disk:
mkfs.ext3 -F /dev/xvde
Step 108 Run the following command to mount the user disk to the VM:

u
h
.
g
n

mkdir /usr/xvde
mount /dev/xvde /usr/xvde/

i
n
ar

Step 109 Run the following command to query the information about the user disk:
df -h
File system
/dev/xvda2
devtmpfs
tmpfs
/dev/xvde

i
e
aw

e
l
//

Capacity
Used Total Usage Mounting point
19G
3.1G 15G 18% /
465M
108K 465M 1% /dev
465M 100K 465M 1% /dev/shm
20G
173M 19G 1% /usr/xvde

NOTE

:
p
tt

The user disk that is mounted to the VM if the disk capacity of xvde is displayed in the command output.

:
s
e

Step 110 Run the following command to use the vi editor to open the fstab file and configure automatic disk
mounting.

n
r
a

Le

g
n
i

c
r
u
o
s
CAUTION
e
R

Do not set automatic mounting upon system start for unformatted disks, which will cause user VMs
to fail to start.
If a new disk, for which automatic mounting upon system start has been set, needs to unmounted, the
automatic mounting configuration information must first be deleted. Otherwise, user VMs fail to
start after the disk is unmounted.

vi /etc/fstab

Step 111 Press i to enter the edit mode.


Step 112 Move the cursor to the end of the file, press Enter, and add the following command:
/dev/xvde /usr/xvde/ ext3 defaults 0 0
Step 113 : Press Esc, type :wq, and press Enter.
The system saves the configurations and exits the vi editor.

2014-02-07

Huawei confidential. No spreading without permission.

Page 52 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Publishing a VM template
Step 114 Re-log in to the FusionManager.
Step 115 Choose Catalog > VM Template, locate the row containing the VM template to be published, and click
in the Operation column.

e
/
m

The Install Software page is displayed.


Step 116 On the Install Software page, click Finish.

o
c
.

A dialog box is displayed indicating that a VM template is created.


NOTE

If you click Finish, the CD-ROM drive mounted to the VM is automatically unmounted.

u
h
.
g
n

Step 117 Click OK.


The VM Template page is displayed.
Step 118 Enter the VM template information in the search field and click Search.

i
n
ar

NOTE

You can click Advanced to search for a VM template with more criteria.

e
l
//

Step 119 Locate the row that contains the VM template to be published, and click
column.

:
s
e

in the Operation

:
p
tt

The Publish VM Template dialog box is displayed.


Step 120 Click OK.

i
e
aw

The VM Template page is displayed. The state of the VM changes from Creation complete to
Publication succeeded.
----End

Result

c
r
u
o
s
e
R

Check whether all steps described in the previous procedure are performed.

g
n
i

Confirm: [OK?]__________________

2.4.3 Canceling a Published VM Template

n
r
a

Procedure

Le

Step 1 On the FusionManager, choose Catalog > VM Template.


The VM Template page is displayed.
Step 2 Locate the row that contains the published VM template you want to cancel, and click

A dialog box is displayed.


Step 3 Click OK.
The VM template is canceled if its state changes from Publication succeeded to Creation completed.

2014-02-07

Huawei confidential. No spreading without permission.

Page 53 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

----End

Result
Check whether all steps described in the previous procedure are performed.

e
/
m

Confirm: [OK?]__________________

2.4.4 Deleting a VM Template

o
c
.

NOTE: A VM cannot be deleted if its state is Publication succeeded.

Procedure
Step 1 On the FusionManager, choose Catalog > VM Template.

u
h
.
g
n

The VM Template page is displayed.


Step 2 Locate the row that contains the VM template you want to delete, and click

e
l
//

The VM Template Management page is displayed.


----End

Result

i
n
ar

A dialog box is displayed.


Step 3 Click OK.

i
e
aw

:
p
tt

Check whether all steps described in the previous procedure are performed.

:
s
e
2.4.5 Creating a Service Catalog
c
r
u
o
s
Re
g
n
i
n
r
a
Le
Confirm: [OK?]__________________

A catalog is a collection of one or more service templates and is used for classifying and managing
service templates.
Table 2-8 lists the data that must be ready before you create a service catalog.
Table 2-8 Data required for creating a service catalog
Parameter

Description

Example Value

Catalog Name

This parameter is mandatory.

Username_01

A catalog is a collection of one or more service


templates and is used for classifying and
managing service templates.
A catalog name can contain only letters, digits,
hyphens (-), underscores (_), and spaces. It is a
string of 1 to 64 characters.

Type

This parameter is mandatory.

System

The value can be System or Organization.

2014-02-07

Huawei confidential. No spreading without permission.

Page 54 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Parameter

Description

Example Value

Organization

This parameter is mandatory. It is available only


when Type is Organization.

huawei

Description

This parameter is optional.

Service template collection


of User01

It is a string of 0 to 1024 characters.

o
c
.

Procedure
Step 1 On the FusionManager, choose Catalog > Service Template.

u
h
.
g
n

The Service Template page is displayed.


Step 2 Click Add Catalog.
Step 3 Set a catalog name.

i
e
aw

i
n
ar

Step 4 Select a catalog type and perform operations based on the selected type.
If you select System, go to step 6.

e
l
//

If you select Organization, go to step 5.

Step 5 In the Organization drop-down list, select an organization as the owner of the directory.

:
p
tt

Step 6 Set a description.


Step 7 Click Add.

The Service Template page is displayed. In the service template list, you can see the newly added
catalog.
----End

Result

c
r
u
o
s
e
R

:
s
e

Check whether all steps described in the previous procedure are performed.

g
n
i

Confirm: [OK?]__________________

2.4.6 Creating a Service Template

n
r
a

Figure 2-3 shows the flowchart for creating a service template.

Le

2014-02-07

e
/
m

Huawei confidential. No spreading without permission.

Page 55 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Figure 2-3 Flowchart for creating a service template


Start

No

Does a catalog exist?

e
/
m

o
c
.

Yes
Add a catalog.

Create a service template.

u
h
.
g
n

Publish the service template.

i
e
aw

i
n
ar

End

e
l
//

The following tables list the data that must be ready before you create a service template.

:
p
tt

Table 2-9 lists the required service catalog data.


Table 2-9 Service catalog data

Parameter

Description

Catalog name

This parameter is mandatory.

c
r
u
o
s
e
R

:
s
e

Example Value
Username_01

A catalog is a collection of one or more service


templates and is used for classifying and
managing service templates.

ng

Catalog type

ar

ni

Le

A catalog name can contain only letters, digits,


hyphens (-), underscores (_), and spaces. It is a
string of 1 to 64 characters.
This parameter is mandatory.

System

The value can be System or Organization.

Organization

This parameter is mandatory. It is available only


when Type is Organization.

huawei

Description

This parameter is optional.

Service template collection


of User01

It is a string of 0 to 1024 characters.

Table 2-10 lists the required service template adding data.

2014-02-07

Huawei confidential. No spreading without permission.

Page 56 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Table 2-10 Required service template adding data


Category

Parameter

Description

Example Value

Service
Template

Name

This parameter is mandatory.

Template_01

Specifies the name of the service


template.

e
/
m

A service template name can contain


only letters, digits, hyphens (-),
underscores (_), pound signs (#),
parentheses, and square brackets ([]). It
is a string of 1 to 64 characters.
Hypervisor

This parameter is mandatory.

o
c
.

u
h
.
g
n

A Hypervisor that has an organization


virtual data center (VDC) is
recommended.
Description

i
e
aw

fusioncubehypervisor

This parameter is optional.

Service template of
User_01

i
n
ar

It is a string of 0 to 1024 characters.

e
l
//

Table 2-11 lists the required service template configuration data.

:
p
tt

Table 2-11 Required service template configuration data


Category

Parameter

Description

Example Value

Service
Template
Information

Template
name

The parameters configured when the


service template is created are
displayed by default.

Template_01

Public
Parameters

n
r
a

Le

g
n
i

Description

c
r
u
o
s
e
R
Parameter

:
s
e

This parameter is mandatory.

upper_limit_bw

A public parameter can be referenced


by the parameters that have the
icon beside. It is a variable and is set
when creating applications.
The name must start with a letter or
underscore (_) and can contain only
letters, digits, and underscores (_). It is
a string of 1 to 64 characters.

Type

This parameter is optional.

Integer

Default

This parameter is optional.

133

Description

This parameter is optional.

Upper limit for the


sending bandwidth

It is a string of 0 to 1024 characters.

2014-02-07

Service template of
User_01

Huawei confidential. No spreading without permission.

Page 57 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Category

Parameter

Description

Example Value

Output
Parameters

Name

This parameter is mandatory.

address

Application information such as the


application name is outputted to the
administrator after creating an
application.

e
/
m

The name must start with a letter or


underscore (_) and can contain only
letters, digits, and underscores (_). It is
a string of 1 to 64 characters.
Value

It is a string of 0 to 1024 characters.


Description

u
h
.
g
n

Address used to access


the service deployment
forum

This parameter is optional.


It is a string of 0 to 1024 characters.

i
n
ar

e
l
//

Table 2-12 lists the required VM template data.


Table 2-12 Required VM template data

:
p
tt

Category

Parameter

Description

VM Template
Information

Name

Parameters that need to be configured


when the VM template is being
created. You can modify the
parameters as required.

Description
CPU

c
r
u
o
s
e
R
Memory

Computer
Name

ng

i
n
r

a
e
L

2014-02-07

:
s
e

i
e
aw

http://#Linux_1.DefaultN
ic#/discuz

This parameter is mandatory.

Example Value

VM_01
VM template of User_01
2
1G

This parameter is optional.

huawei

When setting the computer name, you


can enter a desired one or click
reference a public parameter.

to

A computer name must contain two


among the three types of characters:
letters, digits, and underscores (_). It is
a string of 1 to 15 characters.

Huawei confidential. No spreading without permission.

o
c
.

Page 58 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

INTERNAL

Parameter

Description

Example Value

NIC Name

This parameter is mandatory.


The template designing tool deletes
all the NICs configured in VM
template creation except the default
NIC.
The default NIC cannot be modified
or deleted.
User-defined NICs can be deleted
and modified.

e
/
m

o
c
.

A NIC name can contain only letters,


digits, hyphens (-), underscores (_),
pound signs (#), parentheses, square
brackets ([]), and spaces. It is a string
of 1 to 64 characters.
Disk List

u
h
.
g
n

i
e
aw

i
n
ar

This parameter is mandatory.


VM template disks can be added,
deleted, and modified.
The default disk cannot be modified
or deleted.

e
l
//

It is a string of 1 to 64 characters.

n
r
a

g
n
i

:
p
tt

Capacity
(GB)

This parameter is mandatory.

Thin
Provisioning

This parameter is optional.

c
r
u
o
s
e
R

20GB

It is an integer ranging from 1 to 2048.

:
s
e

Specifies whether to enable thin


provisioning. If thin provisioning is
enabled, the physical disk space is
shared and storage space is
dynamically allocated only when data
is written into the disk. Most users use
only part of the allocated space;
therefore, storage resources can be
excessively allocated.
You are advised to disable thin
provisioning for disks that run
performance-intensive programs.

Le

This mode cannot be enabled for disks


that do not support thin provisioning.
Default value: disabled
Not Affected
by Snapshot

This parameter is optional.

Specifies whether the disk is affected


by a snapshot. When this option is
selected and the system is taking a
snapshot for the VM, no snapshot is
taken for the disk.
Default value: Affected by Snapshot

2014-02-07

Huawei confidential. No spreading without permission.

Page 59 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

INTERNAL

Parameter

Description

Example Value

Initialize
Command

This parameter is optional.


This command is executed after the
VM is created.
If you enter an incorrect command,
the VM initialization fails.

echo $(date) post on vm


1 >> /tmp/jqy.log

It is a string of 0 to 1024 characters.


Start
Command

This parameter is optional.


The command is executed for starting
the VM.

echo $(date) start on vm


1 >> /tmp/jqy.log

It is a string of 0 to 1024 characters.


Stop
Command

This parameter is optional.


The command is executed for stopping
the VM.

e
l
//

Table 2-13 lists the required software package data.

:
p
tt

Category

Parameter

Description

Software
Package
Parameter

Description

This parameter is optional.

n
r
a

Le

2014-02-07

It is a string of 0 to 1024 characters.

c
r
u
o
s
e
R
Install
Command
Parameters

g
n
i

:
s
e

echo $(date) stop on vm


1 >> /tmp/jqy.log

i
n
ar

It is a string of 0 to 1024 characters.

Table 2-13 Required software package data

u
h
.
g
n

i
e
aw

The parameters can be displayed only


if they have been set during software
package uploading. Select the software
package parameters that you want to
modify, and then click Modify.

Example Value
Discuz installation
package and relevant
commands
If the install.sh {ip}
{user} {pwd} command
is entered when
uploading the software
package, the values of the
following parameters are
displayed:
ip:10.85.32.128
usr:root
pwd:123

Uninstall
Command
Parameters

uninstall.sh

Start
Command
Parameters

startup.sh

Stop
Command
Parameters

stop.sh

Huawei confidential. No spreading without permission.

o
c
.

Page 60 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Table 2-14 lists the required network data.


Table 2-14 Required network data
Category

Parameter

Description

Example Value

Networks

Name

This parameter is mandatory.

DefaultNetwork

e
/
m

Specifies the name of the catalog.


The catalog name can contain only
letters, digits, hyphens (-), underscores
(_), and spaces. It is a string of 1 to 64
characters.

o
c
.

You can modify the default value.


Description

This parameter is optional.


You can modify the default value.

u
h
.
g
n

System default network


resource

It is a string of 0 to 1024 characters.

Table 2-15 lists the required elastic group data.

:
p
tt

Category

Parameter

Description

Scaling
Group

Name

This parameter is mandatory.

rn

a
e
L

g
n
i

c
r
u
o
s
e
R

i
n
ar

e
l
//

Table 2-15 Required elastic group data

Example Value
policy

Specifies the name of the elastic group.


An elastic group is a collection of VMs
that apply the same elastic policy. An
elastic group applies to one application.
When loads of an application are
heavy, the system automatically adds
VMs to the application and installs
software on the VMs to lower the loads
and ensure that the application is
running properly. When loads of an
application are light, the system
automatically reduces VMs used by the
VM to release resources.

:
s
e

A service template name can contain


only letters, digits, hyphens (-),
underscores (_), pound signs (#),
parentheses, and square brackets ([]). It
is a string of 1 to 64 characters.
Description

This parameter is optional.


It is a string of 0 to 1024 characters.

2014-02-07

i
e
aw

Huawei confidential. No spreading without permission.

General elastic policy of


Template_01

Page 61 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

INTERNAL

Parameter

Description

Example Value

Minimum
number of
VMs

This parameter is mandatory.

Specifies the minimum number of VMs


that can be deleted from the elastic
group. If the number of VMs which are
correlated to the elastic group is less
than the minimum value, the system
automatically creates VMs of the
Min.value number.

e
/
m

o
c
.

It is an integer ranging from 1 to


Max.value.
Maximum
number of
VMs

This parameter is mandatory.

i
n
ar

It is an integer ranging from 1 to 200.


Minimum
number of
running VMs

u
h
.
g
n

Specifies the maximum number of


VMs that can be added in the elastic
group.

i
e
aw

This parameter is mandatory.

Specifies the minimum number of VMs


that must be running in the elastic
group.

e
l
//

:
p
tt

It is an integer ranging from 1 to


Max.value.
Cooling
Period (min)

c
r
u
o
s
e
R

This parameter is mandatory.

20

All triggering conditions are invalid


during the cooling period. The cooling
period starts from the time when the
system was lastly expanded or shrunk.

:
s
e

It is an integer ranging from 0 to 30.


Default value: 0

Table 2-16 lists the required intra-group policy data.

g
n
i

Table 2-16 Required intra-group policy data

n
r
a

Le

Category

Parameter

Description

Example Value

Intra-Group
Scheduling
Policy

Name

This parameter is mandatory.

VDC1_policy01

Specifies the name of the intra-group


policy.
A service template name can contain
only letters, digits, hyphens (-),
underscores (_), pound signs (#),
parentheses, and square brackets ([]). It
is a string of 1 to 64 characters.

2014-02-07

Huawei confidential. No spreading without permission.

Page 62 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

INTERNAL

Parameter

Description

Example Value

Description

This parameter is optional.


It is a string of 0 to 1024 characters.

Intra-group elastic policy


of VDC1

This parameter is mandatory.

10

Statistical
Period (min)

Value range:
5 minutes
10 minutes
15 minutes
Default value: 5

ni

ng

r
a
e

c
r
u
o
s
e
R
Condition
Configuratio
n

o
c
.

u
h
.
g
n

i
e
aw

i
n
ar

e
l
//

20 minutes

Statistical
Count

e
/
m

Specifies the number of consecutive


times that the resource usage meets the
conditions in one statistical period. In a
given statistical period, when the
conditions set in Condition
Configuration are met for a number of
times equal to or greater than the value
specified in Statistical count, the
operation specified in Operation will
be performed.

:
p
tt

This parameter is mandatory.

10

Specifies the number of consecutive


times that the resource usage meets the
conditions in one statistical period. In a
given statistical period, when the
conditions set in Condition
Configuration are met for a number of
times equal to or greater than the value
specified in Statistical count, the
operation specified in Operation will
be performed.

:
s
e

It is an integer ranging from 1 to 30.


This parameter is mandatory.
Specifies the number of consecutive
times that the resource usage meets the
conditions in one statistical period. In a
given statistical period, when the
conditions set in Condition
Configuration are met for a number of
times equal to or greater than the value
specified in Statistical count, the
operation specified in Operation will
be performed.

The average CPU usage


is equal to or greater than
50%.

It is an integer ranging from 1 to 30.


Default value: CPU usage, average
value,

2014-02-07

Huawei confidential. No spreading without permission.

Page 63 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Category

INTERNAL

Parameter

Description

Example Value

Operation
Type

This parameter is mandatory.

Specifies the operation, such as VM


capacity expansion or shrinking to be
performed when the preset conditions
are met.

e
/
m

Default value: capacity expansion


Cooling
period(min)

This parameter is mandatory.


All triggering conditions are invalid
during the cooling period. The cooling
period starts from the time when the
system was lastly expanded or shrunk.

u
h
.
g
n

It is an integer ranging from 0 to 30.


Step
(number)

o
c
.

20

This parameter is mandatory.

i
e
aw

i
n
ar

Specifies the number of VMs whose


capacity is expanded or shrunk. If
capacity expansion or shrinking is not
performed on all of the VMs, the
system randomly selects the number of
VMs to realize capacity expansion or
shrinking.

e
l
//

:
p
tt

It is an integer ranging from 1 to 10.

Procedure

c
r
u
o
s
e
R

Checking the catalog

:
s
e

Step 1 On the FusionManager, choose Catalog > Service Template.


The Service Template page is displayed.
Step 2 Check whether the catalog of the service template to be created is included in the service template list.

g
n
i

If yes, go to step 9.
If no, go to step 3.

n
r
a

Adding a catalog

Le

Step 3 Click Add Catalog.


The Add Catalog dialog box is displayed.

Step 4 Set a catalog name.


Step 5 Select a catalog type and perform operations based on the type.
If you select System, go to step 7.
If you select Organization, go to step 6.
Step 6 In the Organization drop-down list, select an organization as the owner of the directory.

2014-02-07

Huawei confidential. No spreading without permission.

Page 64 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Step 7 Set a description.


Step 8 Click Add.
The VM Template page is displayed. In the service template list, you can see the newly added catalog.
Creating a service template
Step 9 Locate the row containing the catalog of the service template to be created, and click
Operation column.

o
c
.

The Create Service Template page is displayed.


Step 10 Configure the basic information about the service template.
The information includes the name, Hypervisor, and description.

u
h
.
g
n

Step 11 Click OK.


The Service Template Design page is displayed.
Step 12 Set the service template parameters in the area on the right.

i
e
aw

i
n
ar

The service template parameters to be set are:

e
l
//

Template name
Template description

:
p
tt

Public parameters: Parameter name, Type, Default value, and Description


Output parameters: Output name, Output value, and Description
NOTE

:
s
e

A public parameter can be referenced by the parameters that have the


set when creating applications.

The public parameters of a service template can be quoted when configuring the command parameters of the
software package.

The public parameters whose type is HostName can be referenced by the Computer Name parameter of VM
templates.

Application information such as the application name is outputted to the administrator after creating an
application.

g
n
i

c
r
u
o
s
e
R

icon beside. It is a variable and is

Step 13 Expand the VM Template list in the area on the left, and drag the VM template into the operation area.
Step 14 Set the VM template parameters in the area on the right.

n
r
a

Le

The VM template parameters to be set are: Name, Description, Computer name, CPU, Memory, NIC
name, Disk name, Capacity (GB), Thin provisioning, Not affected by snapshot, Initialization
command, Startup command, and Stopping command.

NIC name: The default NIC cannot be modified or deleted.

Disk name: The default disk cannot be modified or deleted.

Thin provisioning: If thin provisioning is enabled, the physical disk space is shared and storage
space is dynamically allocated only when data is written into the disk. Thin provisioning allows
more virtual memory space to be allocated than the real memory available, because most of users
do not use all the memory space allocated to them. You are advised to disable thin provisioning for
disks that run performance-intensive programs.

2014-02-07

Huawei confidential. No spreading without permission.

e
/
m

in the

Page 65 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

This mode cannot be enabled for disks that do not support thin provisioning. Check the availability of
thin provisioning in the following way:
1.

Choose Resource > Resource Pool.


The Resource Pool page is displayed.

2.

Choose Data Center > Data Center > Zone > Computing Resource Pool > Resource cluster.

e
/
m

The Summary page is displayed.


3.

On the Storage page, check whether there are storage devices that support thin provisioning.

If yes, enable or disable thin provisioning.

If no, do not enable thin provisioning.

Affected by snapshot: If this option is selected and the system is taking a snapshot for the VM,
no snapshot is taken for the disk.

u
h
.
g
n

When setting the computer name, you can enter a desired one or click
parameter.

o
c
.

i
e
aw

to reference a public

Step 15 Expand the Software list in the area on the left, and drag the software package into the VM template.

i
n
ar

NOTE

If there is no available software package, you can log in to the VNC and mount a CD-ROM drive to install an
ISO piece of software. If you want to install a non-ISO piece of software, copy the software installation file to
the VM and install it.

The OS type suitable for the software must be in compliance with that of the VM.

When multiple software packages need to be added to the VM template, they must be dragged to the VM
template in sequence from the area on the left.

The software packages in the VM template must be installed from bottom to top.

If the target OS is Windows XP 32-bit, install the NIC driver and SCSI controller driver for the VM. The drivers
are available at:

NIC driver: On http://www.intel.com/support/network/sb/cs-006120.htm, download the NIC driver for the


in-use OS.

SCSI controller driver: On http://www.lsi.com/support/Pages/download-search.aspx, search for LSI20320 and


download LSI20320-R_xp_50700_01034132IT_1201800_1005239.zip.

e
l
//

c
r
u
o
s
e
R

:
s
e

:
p
tt

Step 16 Set the software package parameters in the area on the right.
The software package parameters to be set include installation command parameters, uninstallation
command parameters, startup command parameters, and stopping command parameters.

g
n
i

The parameters can be displayed only if they have been set during software package uploading. Select
the software package parameters that you want to modify, and then click Modify.

n
r
a

Le

When set software package command parameters, you can click


set in service template configuration.

and select the public parameters

Step 17 Expand the Networks list in the area on the left, and drag the VM template into the operation area.

Step 18 Step 18: Set the network parameters in the area on the right.
The parameters to be set are the name and description.
Step 19 Hover the cursor on the VM template and then drag

to move the VM template to the network.

Step 20 Check whether the Add Association dialog box is displayed.

2014-02-07

Huawei confidential. No spreading without permission.

Page 66 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

NOTE

If only the default NIC is available for configuring the VM template NIC, the Add Association dialog box is not
displayed when adding the association between the VM template and the port group.

If yes, go to step 21.

If no, go to step 23.

Step 21 From the NIC drop-down list, select a NIC.

e
/
m

Step 22 Click OK.

o
c
.

The association between the NIC and the network is added.


Step 23 Determine whether to add the association between the other NICs and the network.

If yes, perform step 17 to step 22.

If no, go to step 25.

u
h
.
g
n

NOTE

i
e
aw

Each VM NIC can be associated with only one network. If you need to associate multiple NICs with the network,
add the same number of networks as the number of NICs, and associate each NIC to one network.

i
n
ar

Step 24 Determine whether to add an elastic group.

If yes, go to step 25.

If no, go to step 32.

e
l
//

Step 25 Expand ScalingGroup in the area on the left, and drag the default elastic group into the operation area.

:
p
tt

After the elastic group is created, you can set the inter-group policy of elastic groups in the VDC to
implement resources scheduling in the VDC.

Step 26 Step 26: Set the elastic group parameters in the area on the right.

:
s
e

The elastic group parameters to be set are Name, Description, Maximum number of VMs, Minimum
number of VMs, Minimum number of running VMs, and Cooling Period (min).

c
r
u
o
s
e
R

Maximum number of VMs: specifies the maximum number of VMs that can be added in the
elastic group.

Minimum number of VMs: specifies the minimum number of VMs that can exist in the elastic
group. If the number of VMs which are correlated to the elastic group is less than the minimum
value, the system automatically creates VMs of the Min.value number.

n
r
a

g
n
i

Cooling Period (min): All triggering conditions are invalid during the cooling period. The cooling
period starts from the time when the system was lastly expanded or shrunk.

Step 27 Hover the cursor on the elastic group and then drag

Le

to move the elastic group to the network.

Step 28 Determine whether to add an intra-group policy.

If yes, perform step 29 to step 31.

If no, go to step 32.

Step 29 Select ScalingGroup and click

beside Intra-Group Scheduling Policy.

The Add Intra-Group Scheduling Policy page is displayed.


Step 30 Set the parameters of the intra-group policy in the area on the right.
The parameters of an intra-group policy are Name, Description, Statistical Period (min), Statistical
Count, Condition Configuration, Operation Type, Cooling period(min), and Step (number).

2014-02-07

Huawei confidential. No spreading without permission.

Page 67 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Statistical Period (min), Statistical Count, and Condition Configuration: In a given statistical
period, when the conditions set in Condition Configuration are met for a number of times equal
to or greater than the value specified in Statistical count, the operation specified in Operation
will be performed.

Operation Type: specifies VM capacity expansion or shrinking, that is, when the trigger
conditions are met, add or remove a VM.

Cooling Period (min): All triggering conditions are invalid during the cooling period. The cooling
period starts from the time when the system was lastly expanded or shrunk.

Step (number): specifies the number of VMs to be added or deleted at a time. If capacity
expansion or shrinking is not performed on all of the VMs, the system randomly selects the
number of VMs to realize capacity expansion or shrinking.

Step 31 Click OK.


Step 32 Click

u
h
.
g
n

Save and verify the template.


Step 33 Close the Create Service Template page.

i
e
aw

i
n
ar

The Service Template page is displayed. The service template list displays the added service template.

e
l
//

Publishing a service template

Step 34 Locate the row that contains the service template to be published, and click
column.

in the Operation

:
p
tt

The Publish dialog box is displayed.

Step 35 Select a publishing type as prompted and click OK.

:
s
e

The Service Template is displayed. The state of the service template changes from Draft to Published.
----End

Result

c
r
u
o
s
e
R

Check whether all steps described in the previous procedure are performed.
Confirm: [OK?]__________________

g
n
i

2.4.7 Creating an Application

ea

rn

A service template has been created and is in the Published state.


Table 2-17 lists the data that must be ready before you create an application.
Table 2-17 Data required for creating an application
Parameter

Description

Example Value

Application
name

This parameter is mandatory.

App_01

Specifies the name of the application.


An application name can contain only letters,
digits, hyphens (-), underscores (_), and spaces. It
is a string of 1 to 64 characters.

2014-02-07

Huawei confidential. No spreading without permission.

o
c
.

Page 68 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

Parameter

Description

Example Value

Description

This parameter is optional.

Email service

It is a string of 0 to 1024 characters.


Administrators

This parameter is mandatory.

User001

e
/
m

Specifies the administrator who has the


permission to manage the application.

o
c
.

NOTE

Organization

When a system administrator creates an application,


the management permission of this application can
be granted to other users.

By default, the current user is added to Selected


users.

This parameter is mandatory.


Specifies the organization to which the user
belongs.

Organization
VDC

This parameter is mandatory.

Organization
Network

This parameter is mandatory.

u
h
.
g
n

huawei

i
e
aw

i
n
ar

VDC01

Specifies the resource used by the application.

e
l
//

huawei

Specifies the organization network to which the


NIC belongs.

:
p
tt

If you select multiple organization networks,


only one can assign a virtual gateway to the VM.

Procedure

c
r
u
o
s
e
R

:
s
e

Step 1 On the FusionManager, choose Catalog > Service Template.


The Service Template page is displayed.
Step 2 Enter the service template information in the search field, and click Search.

g
n
i

The search result is displayed.

n
r
a

The search criteria include the service template name, status, type, user, organization, hypervisor, and
creation time.

Le

Step 3 Locate the row that contains the service template, and click

in the Operation column.

The Basic Info page is displayed.

Step 4 Configure the basic information for the application based on the data obtained.
The basic information to be set includes the application name, organization, organization VDC, and
description.
Step 5 Click Next.
The Application Configuration page is displayed.

2014-02-07

Huawei confidential. No spreading without permission.

Page 69 of 71

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

Step 6 In the Select network area, click

INTERNAL

in the row that contains the NIC.

The Select Organization Network dialog box is displayed.


Step 7 Select the network to which the NIC belongs, and click OK.
The Configure Parameters dialog box is displayed. The organization network name is displayed next
to the NIC name.
Step 8 Repeat step 7 to configure the organization network of the other NICs.
Organization network: If you select multiple organization networks, only one can assign a virtual
gateway to the VM.
Determine whether to select more than one organization network.

If yes, go to step 9.

If no, go to step 15.

u
h
.
g
n

Step 9 Click Resource.

i
n
ar

The Resource page is displayed.


Step 10 Choose Organization Resource > Organization.

i
e
aw

e
l
//

The Summary page is displayed.

Step 11 On the Network tab page, view the subnet name of the organization network.

:
p
tt

Step 12 Choose Resource Pool > Data Center > Data Center > Zone > Network Resource Pool > Subnet.
Step 13 Select the subnet of the organization network and click Modify.

Check whether the subnet assigns a virtual gateway to the VM.


Step 14 Repeat step 9 to step 13.

c
r
u
o
s
e
R

:
s
e

Ensure that among the multiple organization networks, only one assigns a virtual gateway to the VM.
Step 15 Check whether there are public parameters that you need to set.

If yes, go to step 16.

If no, go to step 17.

g
n
i

Step 16 Set public parameters.


Step 17 Click Next.

n
r
a

The Configure Administrators page is displayed.

Le

Step 18 In Available, select the user that is to be set as an administrator.

Step 19 Click

to move the selected user to Selected.

Step 20 Click Next.


The Confirm Info page is displayed.
Step 21 Verify that all the parameters are correctly set.
Step 22 Click Finish.

2014-02-07

Huawei confidential. No spreading without permission.

o
c
.

Page 70 of 71

e
/
m

e
r
Mo

HUAWEI HCNA-Cloud Experiment Manual ISSUE 1.00

INTERNAL

The application creation starts, and you can view the creation progress in App.
NOTE

After an application is created, the intra-group policy does not automatically start. You need to manually start it.

----End

e
/
m

Result

o
c
.

Check whether all steps described in the previous procedure are performed.
Confirm: [OK?]__________________

u
h
.
g
n

i
e
aw

i
n
ar

e
l
//

n
r
a

g
n
i

c
r
u
o
s
e
R

:
s
e

:
p
tt

Le

2014-02-07

Huawei confidential. No spreading without permission.

Page 71 of 71

The privilege of HCNA/HCNP/HCIE:

m
o
c

With any Huawei Career Certification, you have the privilege on http://learning.huawei.com/en to enjoy:

1Comprehensive E-Learning Courses

.
i
e

ContentAll Huawei Career Certification E-Learning courses

Methods to get the E-learning privilege : submit Huawei Account and email being used for Huawei Account

w
a
u

h
.
g

registration to Learning@huawei.com .

2 Training Material Download

Content: Huawei product training material and Huawei career certification training material

MethodLogon http://learning.huawei.com/en and enter HuaWei Training/Classroom Training ,then you can

r
a
e
download training material in the specific training introduction page.
l
3 Priority to participate in Huawei Online Open Class(LVC) //
: all ICT technical domains like R&S, UC&C, Security,
ContentThe Huawei career certification training covering
p
tprofessional instructors
Storage and so on, which are conducted by Huawei
t
h
MethodThe plan and participate method please refer to LVC Open Courses Schedule
:
s
4Learning Tool: eNSP
e
c
eNSP (Enterprise Network Simulation r
Platform) is a graphical network simulation tool which is developed by
u
Huawei and free of charge. eNSP
o mainly simulates enterprise routers, switches as close to the real hardware as
s
it possible, which makes the e
lab practice available and easy without any real device.
R
In addition, Huawei has built up Huawei Technical Forum which allows candidates to discuss technical issues with
g
Huawei experts , share n
exam experiences with others or be acquainted with Huawei Products(
i
n
http://support.huawei.com/ecommunity/
r
a
Le
e TECHNOLOGIES CO., LTD. Huawei Confidential
HUAWEI
1
r
o

n
i
n

n
e
/

S-ar putea să vă placă și