Sunteți pe pagina 1din 45

FusionCompute

V100R005C00
Quick User Guide
Issue: 01
Date: 2014-12-05

FusionCompute Overview

FusionCompute virtualizes the hardware


resources of a physical server by
deploying virtualization software on the
physical server. This allows the physical
server to have the functionality of
multiple virtual servers and run multiple
virtual machines (VMs).
Host

VRM

Client

Quick Documentation Overview


This document describes how to quickly install FusionCompute and provision VMs, thereby helping
users understand FusionSphere virtualization capabilities.

Contact Information
Technical • Official Website: http://support.huawei.com/enterprise/

support • Documentation: http://support.huawei.com/enterprise/productsupport


• Forum: http://support.huawei.com/ecommunity/
• Local Offices: http://enterprise.huawei.com/cn/about/contact/all/index.htm
• Service Hotline: 400-822-9999
• Email: support_e@huawei.com

Feedback Send us your thoughts, suggestions, or any other feedback using the
technical support contact information listed above.

Copyright © Huawei Technologies Co., Ltd. 2014.


All rights reserved.

1
1 Introduction

Component Description
Server A physical server. After the virtualization software is installed on a server, the
server functions as a host in the FusionCompute system, providing virtualized
computing resources, including virtual CPUs (VCPUs), memory, and network ports.
Storage device Connects to a host through network devices, provides virtual storage resources to
VMs. Local disks on servers function as storage devices only in the FusionCompute
Foundation Edition.
FusionCompute A component of the virtualization software. FusionCompute consists of two hosts and
the virtualization resource management module, that is, active and standby virtualization
resource management (VRM) VMs. FusionCompute virtualizes physical resources and
creates and manages VMs.

2 FusionCompute Installation Preparations

Check installaton conditons Obtain software Obtain data Learn installaton process

Prerequisites
 You have obtained the integration design plan.
 All hardware has been installed and is working properly.
 You have configured network and storage devices based on the design plan.

Servers used in the FusionCompute system must meet the following requirements.

Item Requirement
Intel or AMD 64-bit CPU with virtualization function enabled
Hardware Memory ≥ 8 GB
Single disk space ≥ 360 GB
Use RAID 1 that consists of hard disks 1 and 2 to install an OS and software on
RAID
the host, thereby enhancing host reliability.

Boot device The first boot device for the host is set to Hard disk.

The local PC used for FusionCompute installation must meet the following requirements.

Item Requirement
CPU: 32-bit or 64-bit; memory ≥ 2 GB
Hardware
System disk free space ≥ 1 GB; User disk free space ≥ 30 GB

Operating system Windows Server 2003, Windows Server 2008, Windows XP or Windows 7
(OS) The Windows firewall is disabled.

Communication between the local PC and the management and host BMC planes
Network
is normal.
Check installaton conditons Obtain software Obtain data Learn installaton process

Obtain the following software files for FusionCompute installation.

Item Software Package How to Obtain

FusionCompute
FusionCompute host OS Visit http://support.huawei.com
V100R005C00SPC100_CNA.iso
and choose Enterprise >
FusionCompute installation FusionCompute Software > IT > FusionCloud
wizard V100R005C00SPC100_Tools.zip > FusionSphere >
FusionCompute >
FusionCompute
VRM VM template file V100R005C00SPC100
V100R005C00SPC100_VRM.zip

Remote access tool PuTTY Visit http://www.putty.org.

Check installaton conditons Obtain software Obtain data Learn installaton process

Before installation, finish the integration design plan and obtain all the data required for installing
FusionCompute. The following figures show a sample networking plan. The table on the next page
lists sample data for this plan.
NNOTE: If a parameter SN (such as A4) is mentioned in a procedure below, use the planned value for this parameter.

Type Parameter Example and Planned Value

(A1) IP address of the host BMC 188.100.200.71


Used to access the host BMC. Planned value:

(A2) Host BMC username and password Username: root Planned value:
Used to log in to the host BMC. Password: root

(A3) Host management plane ports


During host OS installaton, set a management plane port for the eth0 and eth1
host. If multple ports are deployed, bind a second port to the Planned value:
first port in the confguraton phase.
A. Host
IP address: 188.100.200.90
informaton Subnet mask: 255.255.255.0
(A4) Host management plane port parameters Gateway: 188.100.200.1
The parameters are required during host OS installaton. Planned value:

(A5) Host name Host01


Used to identfy the host. Planned value:

(A6) Password of user root huawei_123


Used to log in to the host. Planned value:

(B1) IP address 188.100.4.241


Used to communicate with the host. Planned value:
B. Local PC
Username: administrator
informaton (B2) User information
Password: 123456
PC OS user account, which is required when you obtain the VRM
Planned value:
VM template file from the PC.

C. VRM node (C1) Management IP addresses 188.100.200.95


Management IP addresses of the actve and standby VRMs. Planned value:
informaton Required during the VRM installaton phase. /
Check installaton conditons Obtain software Obtain data Learn installaton process

Procedure
FusionCompute installation includes the installation of Host and VRM.

In the following table, the left column describes the operation guidelines and the right column provides
the operation background, principles, and other descriptions. The configuration process includes the
icons
pictured below. It is recommended to familiarize yourself with the meanings of the icons before proceeding.

Example:
Icon Description
1
1 2 3 Operation sequence 2

Transition between diferent


sections of the interface

 Skip to step Step 1: Click VDC Management.


Step 2: Click Network Management.
Note: The screenshots in the steps below include sample parameter values, which may vary from the actual
parameter values onsite.

3 Install FusionCompute

3.1 Install an OS on the Host

Step 1: Mount an ISO File to the VM


1. Enable communicaton between the local PC and the host where FusionCompute is to be Connect the PC and the host to
installed. the same switch.

2. Open the browser on the local PC, enter htp://BMC IP address of the host for which an OS Huawei RH2285 is used as an
is to be installed, and press Enter to switch to the BMC system. example host.

3. Log in to the BMC as an administrator. The administrator account is


root.

4. Open the Remote Control window. You may need to click Remote
Virtual Console (requiring JRE)
on the Remote Control page of
some Huawei server BMCs.

3
5. Mount an ISO image to the VM to install an OS on the VM. Select FusionCompute
1 V100R005C00SPC100_CNA.iso.

4 When the ISO file is


4
2 mounted successfully, Connect
3 turns to Disconnect.

NOTICE
Before OS installation for the host is complete, do not close the remote
control window. Otherwise, the ISO file is automatically unmounted and the
OS installation fails.

Step 2: Load a Host OS Installation File


1. Restart the host after the ISO file is mounted. NOTE
The host BIOS password may
1 be O
requi S
red 1
3 2
durin
3.
W g the
he resta
n rt.
Obtai
th n the
e pass
ho word
st in
be adva
nce.
gi
The
ns defau
to lt
resta BIOS
rt, pass
word
press of
F11 Huaw
ei RH
2 serie
repea s rack
tedly serve
until rs, X
the serie
scree s
n high-
for densi
selec ty
ting serve
boot rs,
devic and
E600
e is
0
displ blade
ayed. serve
rs is
uniBI
OS12
3.
The
defau
lt
BIOS
pass
word
of
Huaw
ei
Tecal
E900
0
serve
rs is
Hua
wei1
2#$
or
uniBI
Step 2: Load a Host OS Installation File
2. Set DVD-ROM as the boot device. NOTE
The DVD-ROM name and the
configuration screen may vary
depending on the server used.

3. Select Install. The host loading begins,


which takes about 2 minutes.

Step 3: Configure Host Information


1. Select Network, then select a management plane port, for example, eth0. TIP
When confguring host data on
the confguraton screen:
1 2 Press Tab or the up and down
arrow keys to move the cursor.
Press Enter to expand or
execute the highlighted item.
Press the space bar to toggle
between optons.

2. Configure the IP address and subnet mask for eth0 (A4). -

Use the number


3 pad on the
keyboard to
enter numbers.

3. Configure the gateway for eth0 (A4) on the Network Configuration page. -

6
Step 3: Configure Host Information
4. Select Hostname, then set the host name. -

2
1
3

5. Select Timezone, then set the local tme zone and tme. -

1
3

6. Select Password, then set the password for user root (A6). NOTE
Enter the password carefully. The password must contain at
least:
• Eight characters
• One space or one of the
following special characters: `
2 ~!@#$%^&*()-_=+\|
[{}];:'",<.>/?
1 • At least two of the following:
3
lowercase letters, uppercase
letters, and numbers.
Step 4: Install an OS on the Host
1. Select OK in the botom right corner of the screen, then select Yes in the displayed dialog 2 Ensure that the OS is
box to install the OS on the host. installed on the default disk
partton.
1
3 Confirm the confguraton,
then select Yes to install the OS.
The installaton takes about 10
minutes.
After the installaton is
complete, the host restarts.
2 3

7
3.2 Install the VRM
Step 1: Decompress the Software Packages
1. Decompress FusionCompute V100R005C00SPC100_Tools.zip onto the PC to obtain the -
Installer, ModCNABFileTool, PlugIn, ToDPS and HostInstaller folders.

2. Decompress FusionCompute V100R005C00SPC100_VRM.zip into a new folder to obtain -


two VRM VM template files whose file name extensions are .ovf and .vhd, respectvely.

Step 2: Initialize the Installation Wizard

1. Run FusionComputeInstaller.exe in the Installer folder. The installaton wizard is


The Select Language dialog box is displayed. opened.
Note:
If an error message is displayed
indicatng that
.net Framework is not installed,
install
dotNetFx40_Full_x86_x6
4.Exe in the PlugIn folder.
After the installaton, manually
restart the local PC.

2. Select a language. -

3. Select an installaton mode. The system begins to install


components, which takes about
30 seconds.

4. Click Next after the components are installed. The Configure Host page is
displayed.

Step 3: Configure the Host

1. Configure the host where the actve VRM VM is deployed, then click Next. 1 Enter the management IP
address you set during host
installaton (A4).
2 Enter the password you set
1 during host installaton (A6).
NOTE
If the message "The host is
unreachable" is displayed,
2 ensure that the IP address set in
1 is correct and can be
3 pinged from the local PC.

8
Step 4: Configure a Data Store

1. Select Local disk/FC SAN, then click Next. You are advised to use local
The storage devices are automatcally refreshed, and the system adds the storage device disks to install VRMs.

in the first row as the data store by default. A VRM node requires 80 GB
space on the local disk.
If local disks are used, the actve
and standby VRM nodes use
diferent disks, which provide
higher reliability.
You are advised to select disks
confgured in RAID 1 mode to
enhance reliability.
The length of disks confgured in
RAID 1 mode is twice as that of
common disks.
For details about VM storage
working principles, see Appendix
2.

You can click Add to add other data stores.

9
Step 5: Configure VRM VM Information
1. Configure VRM VM template informaton. Select the
1
FusionCompute_V100R
005C00SPC100_VRM.ovf file in
the newly created folder.
1

2. Set the management IP address of the VRM (D1). -

3. Set VRM VM specificatons. You can set the specifications


based on the deployment
scale or customize the
specifications.

VM to the right of By
deployment scale refer to the
VM to be created; PM refers
to the host deployed.

4. Click Verify Configuration and click Next after the verificaton succeeds. The configuration page for the
standby VRM is displayed.

10
Step 6: Configure the Rights Management Mode

1. Select a rights management mode as instructed. -

Step 8: Install the VRMs


1. Click Next to start installaton. The installation takes about
50 minutes.

2. Click the link on the displayed page and log in to FusionCompute. FusionCompute Login:
Enter the htp://VRM floating
1
IP address in the browser.
The default username and
Common mode
passwords are shown in the
figure on the left.
2
Log in to FusionCompute as prompted.

3. Click Finish to finish the installaton. -

11
4. Using FusionCompute
4.1 FusionCompute Web Client Login

12
 Internet Explorer (IE):  Go to Step 1: Configure IE
 Firefox:  Go to Step 2: Configure Firefox

Step 1: Configure IE

1. In the address bar of the IE browser, enter htp://Floatng IP address of the VRM node, -
press Enter, select Continue to this website (not recommended), and log in to the
FusionCompute Web Client.
For example, htp://188.100.4.30/

2. Click Google Chrome Frame and follow the instructons to install the Google Chrome Installing the Google Chrome
Frame plugin. Frame plugin improves the web
page response speed.

3. Click Certificate Error in the top right corner of the browser, then click View certificate. After installing the certficate,
FusionCompute is considered to
be a safe site and you can
directly access the login page.
1

4. Click Install Certificate. In the displayed dialog box, click Next. -

5. Import the certficate as follows: -

1
2

5
4

13
Step 1: Configure IE
6. Click Finish, then click Yes in the popup dialog box. A message is displayed indicatng that -
the import is complete.

7. Click OK to close the certficate dialog box. -

8. Press Shift+Ctrl+Delete. After deleting the browsing


history, restart the browser for
9. Check the box to the left of the following items, then click Delete to delete the browsing the confguraton to take efect.
history:
• Preserve Favorites website data
• Temporary Internet files
• Cookies
• History

10. Close the browser, then reopen it.

11. Skip to Step 3: FusionCompute Web Client Login. -

Step 2: Configure Firefox

1. In the address bar of the Firefox browser, enter htp://Floatng IP address of the VRM After confguraton, you can
directly access the
node, press Enter, select Continue to this website (not recommended), and log in to the FusionCompute Web Client
FusionCompute Web Client. login page.
For example, enter htp://188.100.4.30/

2. Under I Understand the Risks, click Add Exception.

3. In the popup dialog box, check the box next to Permanently store this exception, then
click Confirm Security Exception.

Step 3: FusionCompute Web Client Login

1. Enter htp://Floatng IP address of the VRM node, then press Enter. -

2. Log in as user admin. -


You must change the password upon first login.
12
5 Add Hosts to the Cluster of Host01

Step 1: Add hosts.


Add all hosts other than the
1. On the FusionCompute web client, select Computing Pool. host running the VRM VM
to clusters.

2. Go to the Add Host page.

1 Right-click the cluster.


2
3 N/A

3. Set the host parameters, then click OK to complete the adding.

1
After you set the host BMC
information, you can power
on or off the host on
FusionCompute.
2

Step 2: Bind host management ports.


1. Go to the Bind Network Port page.
If ports eth0 and eth1 are
1 both common ports on the
2 4 management plane of the
3 host, bind them in
active/standby mode to
5
improve network reliability.
6

13
2. Locate the row that contains Mgnt_Aggr, then open the Add Network Mgnt_Aggr is a bound
Port dialog box. port automatically created
during host OS installation
that contains the
1 management port eth0
you configured. Select
2 another management port
eth1 and bind it to eth0 as
Mgnt-Aggr to improve
network reliability.

3. Select the port name for eth1 to bind it to the management plane
network port PORTX in the displayed port list represents the network
port ethx on the host.

N/A

4. Click OK on the Bind Network Port page.

5. Bind eth0 and eth1 on the other host. For details, see 1 to 4.

14
6 Add Storage Resources to a Site (SAN Storage)

1. Open the Add Storage Resource dialog box.

For details about network


communication between
2 hosts and storage devices,
see Appendix 3.

2. Set the storage resource type to IP SAN, then click Next.


3 The management IP
3. Set the storage device parameters, then click Add. address specifies the
storage device.
1
2 4 5 An IP storage
3 area network (SAN) device
4
connects to a host through
multiple storage links.
5
Enter the information for all
links at one time.

4. Click Next. N/A

5. Select the host to be connected to, then click Next.

6. Obtain the generated world wide name (WWN), then click Finish.

15
6 Add a Data Store to the Host (SAN Storage)
Step 1: Change the host multipathing mode.

1. Go to the Getting Started page of the host.


The default multipathing
mode for FusionCompute is
1 Universal. If a Huawei IP
SAN device is deployed,
change the mode to Huawei
to improve storage
2 performance. If non-Huawei
3 storage devices are
deployed, skip this step.
4

2. Open the Configure Storage Multipathing dialog box. N/A

3. Select Huawei.

Restart the host for the


settings to take effect. The
restart process takes about
1 3 minutes.
You can ping the IP address
of the host to check whether
the host has restarted. If the
host can be pinged, the host
has successfully restarted.
2

Step 2: Add storage ports to the host.

1. Go to the Add Storage Port page of the host.


If you changed the multipathing mode of the host, perform this step after
the host restarts.

After storage ports are


added to the host, the host
can communicate with the
1
IP SAN device.

16
2. Select the host storage plane network , then click Next. The page for connection
PORTX indicates the network port ethX on the host. configuration is displayed.
3. Set the storage port parameters, then click Next.

The page for information


conformation is displayed.
The IP address is used to
communicate with the
storage device. Set it to an
2 idle IP address on the
storage plane.
3

The Finish page is displayed,


4. Confirm the information, then click Add. indicating that the port has
been added to the host.
5. If multipathing mode is selected, click Continue and repeat 2 to 4 to
add multiple storage ports to the host. Click Close on the Finish page N/A
after all ports are added.

Step 3: Associate storage resources with the host.


1. Go to the Associate Storage Resource page of the host.

1 After a storage device is


associated with a host, the
host can discover all storage
2 resources on the device.

The storage resource is


associated with the host.
2. Select the added storage resources, click Association, then click OK After association, all
on the displayed dialog box. associated storage
resources are displayed on
the Storage Resource page.

17
Step 4: Configure the initiator.
1. Choose Configuration > Storage Resource
and record the host WWN
displayed in the bottom right corner of the page. Storage devices
identify a host
using the WWN
of the host.

18
2. Enter the storage device management IP address in the address bar of
the browser, then press Enter to load the storage device management
NOTE
software.
The initiator can be
configured only on the
management interface of
the storage device.

The storage device


3. Select a language, then click OK. management software is
open.
4. Click Discover Device. N /A
5. Enter the administrator username and password to scan the
storage device.

2 Enter the management


IP address of the storage
device.
2

6. Enter logical host view, then click Initiator Configuration.

1
2 6
5 Select the logical host
that matches the logical
unit number (LUN). The
selected host in the figure
3 is only an example.
5
4

18
7. Add the host WWN to the initiator.
1

2 Select the host WWN


you have recorded.

Step 5: Add a data store.


1. Switch to FusionCompute and scan storage devices available to the host.
A data store is used to
1
create user disks on VMs.
You can view the task
2 progress on the Task
Tracing page.

2. After the scan is complete, go to the Add Data Store page of the host.

2 N/A

3. Select a SAN device and add it to the host as a data store. 2 A virtualized SAN
storage device supports
advanced storage features,
such as thin provisioning,
1 snapshots, and live
storage migration, and
provides high resource
utilization. However, disk
creation on it is slow.
If you set this parameter to
Virtualization, you can
select whether to format
2 the data store. When a
data store is added to the
host the first time, the data
store must be formatted.
3

19
7 Add Virtual Network Resources to the Site
NOTE: If the service plane and the management plane are deployed on the same network plane, no service
plane distributed virtual switch (DVS) is required. Instead, you only need to add a service plane VLAN pool to the
management plane DVS.

Step 1: Create a DVS.


1. Go to the Create DVS page. Create a DVS that connects to
the service plane to provide
network resources for user VMs.
1
A DVS named
ManagementDVS for the
management plane has been
automatically created during
VRM installation, the bound
network port Mgnt_Aggr has
been added to the uplink group
on the DVS, and a
management plane port group
2 managePortgroup has been
created.
For details about VM network
access, see Appendix 1.

2. Set the DVS name, then check the boxes next to Add uplink and
Add VLAN pool.

1
2

N/A
3
4

3. Select a service port for each host on the Add uplink page.

An uplink is a physical port on a


1 host that connects to a DVS.
VMs connect to the network
through the physical ports on
the host.
Add all the hosts in a cluster to
the same uplink group on a
2 DVS. This allows VMs in the
cluster to have the most
migration options if a fault
occurs.

4. Click Next.
N/A
5. Click Add.

20
6. Set a VLAN pool on the DVS.
A VLAN pool defines the allowed
VLAN range for a DVS. During
service provisioning, create port
groups on the DVS for each
1 service. This allows each port
group to use VLANs from different
2 VLAN pools.
The VLAN pool set on the DVS
must be the same as the VLANs
set on the physical switch to which
3 the host connects.

7. Click Next.
N/A
8. Click Create.

21
8 Configure the NTP Clock Source and Time Zone

Step 1: Configure the Network Time Protocol (NTP) clock source.


1. On FusionCompute, click System. After an NTP clock source is
set, the time on all nodes in
2. Choose System Configuration > Time Management. the system is the same.
If multiple NTP servers are to
3. Set the NTP server information. be deployed, ensure that all
the NTP servers use the
same upper-layer clock
1 source to ensure time
consistency.
This configuration requires a
restart of the FusionCompute
service process, which
2 interrupts services for about 2
minutes. After the restart, log
in to FusionCompute and
continue to the next step.
For details about time
3 synchronization, see
Appendix 4.

Step 2: Configure the time zone.

1. On the System page, choose System Configuration > Time Zone.

2. Configure the time zone settings.

1 2 N/A

22
9 Create a Bare VM

Step 1: Select a VM Location


1. Go to the Create VM page. -
1

Right click
2
3

2. Select the locaton at which to create the VM. After the VM is bound to a host,
the VM can only run on this
A cluster is a group of hosts.
host and cannot be migrated to
1 another host.
• If there are no specific requirements for
the locaton of a VM host, select Cluster.
2 The system will select a suitable host in
the cluster to create the VM on.
• To deploy the VM on a specified host,
select Host. You can also check the box
next to Bind to Host to bind the VM to
the host.

Step 2: Configure the VM Attributes

1. Configure the VM atributes in the figure below based on the planned data. All other VM -
atributes use the default confguraton.

2. Click Next to go to the Set VM page. -


23
Step 3: Configure VM Network Attributes

24
1. Select a VM NIC port group according to the VM network confguraton requirements A DVS is similar to a switch used
of the customer. for communicatons on the
layer 2 network. The DVS allows
1 the VM to communicate with
the physical network.

2 A port group is a logical port of


the VM. The port group is used
to define the mode the VM NIC
3 uses to connect to the network.

For details, see Principles of


VM Network Access.

4
2. Repeat the above procedure to confgure the port groups for other VM NICs.

Step 4: Configure VM Disk Attributes


2 The storage resource pool
1. Configure the VM atributes in the figure below based on the planned data.
associated with the host is used
as the data store. The data
store is used to create VM disks.
For details, see Principles of VM
Storage Access.

1 4 5 For virtualized data stores,


VM4 disks can use the
6 following
confguraton modes:
• Common: Distributes disk
7 space according to capacity.
Immediate disk formatng.
• Thick provisioning lazy

2 zeroed: Distributes disk space


according to capacity.
Delayed formatng. Above
average disk creaton speed.
• Thin provisioning: Distributes
disk space according to actual
usage.

3
2. Repeat the above procedure to confgure the atributes of other VM disks.

25
3. After confguring all disks, click Next. Confirm the confguraton informaton, then click -
Finish.

26
Step 5: Confirm VM Creation
1. Click Query Task. Enter the task center and check the progress of VM creaton. -

The creaton tme of a bare VM depends on the VM disk size and disk storage type. The
formatng process for thin provisioning disks is relatvely slow, please wait a moment.

4.3 Install an OS on the VM (Using a Windows VM as an Example)

Step 1: Log In to the VM Using VNC

1. Use Virtual Network Computng (VNC) to log in to the VM, as shown in the following figure. VNC login refers to the process
1 of using VNC protocol to
remotely access a VM. VNC
login allows you to log in to the
VM and locate faults through
the management plane when
the VM network is unavailable.
2

3
4

2. Select noVNC in the displayed dialog box. -


Accept the operaton risks as prompted to open to the VNC window.

Click here for help with VNC login

Step 2: Install an OS on the VM


1. Mount the OS image from the CD/DVD-ROM drive to the VM. If only the OS installaton disc is
available, insert the disc into
1
the CD/DVD-ROM drive, select
2 CD/DVD-ROM, and then specify
the drive name.
3
4

2. Restart the VM, then follow the instructons below to install the OS on the VM. -
Do not close the VNC window before the OS installaton completes.
Otherwise, the CD/DVD-ROM drive is automatcally unmounted from the VM,
NOTICE which causes the installaton to fail.

3. After the OS is installed, click on the top of the VNC window, then select Do not close the VNC
window, as it is needed for
Unmount CD/DVD-ROM Drive. subsequent operations.
Step 3: Install Tools on the VM
1. Locate the row that contains the VM, click Mount Tools, then follow the procedure to Tools contains the
complete installaton. paravirtualized (PV) driver for
the VM.
The PV driver improves I/O
processing, hardware
monitoring, and other high-
level functons on the VM.
Mountng Tools mounts a PV
driver to the VM.
1

2. Open the CD-ROM drive on the VM. Right-click Setup, select Run as Administrator, and -
follow the procedure to complete installaton.

3. Restart the VM according to the procedure for Tools to take efect. -


VMs running Windows Server 2008 must be restarted twice.

Step 4: Initialize the User Disk


1. On the OS interface on the VM, click Start, right-click Computer, and click Manage. The user disk refers to a disk
drive other than the C drive. If
the VM does not have any user
disks, skip this step.

2. Initalize the user disk. (Windows 7 is used as an example below.) 3 Select the layout of disk
parttons according to the user
requirements.

2
1

3. Right-click the disk space that has not been distributed, select New Simple Volume, and -
follow the procedure to complete volume creaton.

26
Step 5: Install Applications
1. If the VM uses VLAN to access the network, confgure an IP address for the VM. This -
allows the VM to intercommunicate with external networks.

2. Install applicatons on the VM. Applicatons are installed on the


• If the applicaton is an ISO file or on a disc, you must use the CD/DVD-ROM mountng VM.
method to install the applicaton.
• All other types of installaton files must be copied onto the VM before proceeding with
installaton.

10 Create a Template

27
Step 1: Select the template creation plan.
1. Select either of the plans to create a template based on actual requirements: NOTE:
 Convert a VM to a template, select Plan 1.  Convert a VM to a template:
All parameters of the template
 Clone a VM to a template, select Plan 2. are from the VM. After a VM is
converted to a template, the
VM is automatcally deleted.
 Clone a VM to a template: A
copy of the VM is created, and
you can customize some
parameters to make the
template diferent from the
original VM. After the VM is
cloned to a template, the
original VM can stll be used.

Plan 1: Convert a VM to a template.


1. Locate the row that contains the VM, and choose More > Stop to stop the VM. When you convert a VM to a
template, the VM must be in
the Stopped state.

2. Locate the row that contains the VM to be converted to a template and choose More > -
Convert to Template.

3. Click OK in the displayed dialog box. -

4. Click OK in the displayed dialog box. -

5. Check whether the VM is successfully converted to a template on the Task Center page. -

27
Plan 2: Clone a VM to a Template

1. Locate the row that contains the VM and choose More > Stop to stop the VM. When you clone a VM to a
template, the VM must be in
the Stopped state.

2. Locate the row that contains the VM to be cloned to a template, and choose More > Clone -
to Template.

3. Select the template creaton locaton. After the VM is bound to a host,


the VM can only run on this
A cluster is a group of hosts. host and cannot be migrated to
1 another host.
• If there are no specific requirements for
2 the locaton of a VM host, select Cluster.
The system will select a suitable host in
the cluster to create the VM on.
• To deploy the VM on a specified host,
select Host. You can also check the box
next to Bind to Host to bind the VM to
the host.
3

4. Configure the template name and hardware specificatons based on the obtained data, -
and click Next.

5. Select the port group to which the VM NIC belongs based on customer requirements on A DVS is similar to a switch used
the network confguraton of the template. for communicatons on the
layer 2 network. The DVS allows
the VM to communicate with
1 the physical network.
A port group is a logical port of
2 the VM. The port group is used
to define the mode the VM NIC
3 uses to connect to the network.
For details, see Principles of VM
Network Access.

4
28
Plan 2: Clone a VM to a Template

6. Configure disk atributes of the template based on obtained data. The parameters to be 2 The storage resource pool
confgured are shown as follows. associated with the host is used
as the data store. The data
store is used to create VM disks.
For details, see Principles of VM
Storage Access.

7. Repeat the above procedure to confgure atributes of other disks on the template.

8. Click Next after all disks are confgured, confrm the confguratons, and click Finish. -

9. Check whether the VM is successfully cloned to a template on the Task Center page. -

11 Create a VM Using the Template

Step 1: Create a VM Using the Template


1. Locate the row that contains the template and choose More > Deploy VM Using Template. This starts the process of
creatng a VM using a template.

1
2

29
Step 1: Create a VM Using the Template
2. Select the VM creaton locaton. After the VM is bound to a host,
the VM can only run on this
A cluster is a group of hosts.
host and cannot be migrated to
1
• If there are no specific requirements for another host.
2 the locaton of a VM host, select Cluster.
The system will select a suitable host in
the cluster to create the VM on.
• To deploy the VM on a specified host,
select Host. You can also check the box
next to Bind to Host to bind the VM to
the host.

3
3. Configure the VM name and hardware specificatons based on obtained data, and click Use the default values for all
Next. other atributes confguratons.
You cannot set the number of
disks or NICs when creatng a
VM using a template.
1  After the VM is created, you
can add disks and NICs to it.

Step 2: Configure VM Network Attributes

30
1. Select the port group to which the VM NIC belongs based on customer requirements A DVS is similar to a switch used
on the VM network confguratons. for communicatons on the
layer 2 network. The DVS allows
the VM to communicate with
1 the physical network.
A port group is a logical port of
2 the VM. The port group is used
to define the mode the VM NIC
3 uses to connect to the network.
For details, see Principles of
VM Network Access.

31
Step 3: Configure VM Disk Attributes

1. Configure the VM disk atributes based on the obtained data. The parameters to be 2 The storage resource pool
associated with the host is used
confgured are as follows: as the data store. The data
store is used to create VM disks.
For details, see Principles of VM
Storage Access.

2. Repeat the above procedure to confgure atributes of other disks on the VM.

3. Click Next after all disks are confgured, confrm the confguratons, and click Finish. -

4. Check whether the VM is successfully created on the Task Center page. -

31
Appendix 1 Principles of VM Network Access
A virtual NIC of a VM communicates with an external network by connecting to the DVS through the port
group, then by connecting to the physical NIC of a host through the DVS uplink. These connections are shown
in the following figure.
Host 1 Host 2

VM

Port Group
DVS
Virtual
Resources Uplink

Physical
Resources

Physical Network

Network Description
Element (NE)
Port group A port group is a virtual logical port similar to a template with network attributes. A port group is
used to define VM NIC attributes and uses a DVS to connect to the network:
• Subnet: FusionCompute automatically allocates an IP address in the subnet IP address pool
to each NIC on VMs that use the port group.
• VLAN: Users must manually assign IP addresses to VM NICs. VMs connect to the VLAN
defined by the port group.

DVS A DVS is similar to a switch used for communications on the layer 2 network. A DVS links
the port group to the VM and connects to the physical network through the uplink.

Uplink An uplink connects the DVS to the physical network. An uplink is used for VM upstream data
transmission.

Appendix 2 Principles of VM Storage Access


A data store is a logical storage unit
on FusionCompute. A data store is
used to universally define all types
of storage resources. Host Local
Disk
You can create a virtual disk on a
VM
data store for use by a VM.
LUN
Virtual
Disk
IP SAN Storage
Data Store

Host 32 Shared Storage

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