FusionSphere V100R005C00 Quick User Guide 01
FusionSphere V100R005C00 Quick User Guide 01
V100R005C00
Quick User Guide
Issue: 01
Date: 2014-01-10
Introduction to FusionSphere
The FusionSphere solution consists of the FusionManager
cloud OS software FusionCompute and VM VM VM
cloud management software FusionManager. APP APP APP APP APP APP
FusionCompute is deployed on physical Guest OS Guest OS Guest OS
servers to virtualize the server hardware
CPU CPU CPU
resources, including CPUs, memory, and
network interface cards (NICs).
FusionManager schedules and manages Resource pool
computing, network, and storage resources
CPU CPU CPU
in the underlying resource pools in a
centralized manner. On FusionManager,
users can create VMs for tenants, allocate
resources for the VMs, and manage the FusionCompute
VMs based on the service requirements.
Virtualized Virtualized Virtualized
FusionSphere improves hardware resource Server Server Server
utilization, shortens the service launch period, 1 2 3
simplifies maintenance, and reduces the
maintenance costs.
Document Overview
This document illustrates how to quickly install and configure FusionSphere and provision services using
FusionSphere. For more details about FusionSphere, see the FusionSphere V100R005C00 Product
Documentation.
Contact Information
Official website: http://support.huawei.com/enterprise/
Documentation: http://support.huawei.com/enterprise/productsupport
Technical Forum: http://support.huawei.com/ecommunity/
Support Local offices: http://enterprise.huawei.com/cn/about/contact/all/index.htm
Service hotline: 400-822-9999
Email: [email protected]
Send us your thoughts, suggestions, or any other feedback using the technical
Feedback
support contact information listed above.
Business Dept
Development Dept
With the growth of services, the three departments apply for new servers to handle new services. The
server requirements of the three departments are as follows.
2
2 Preparations
2.1 Deployment Plan
1. Physical Device Networking
Company A's network devices include an aggregation switch and an access switch. Servers and the IP
SAN storage device are connected to the access switch over their network ports to allow data access to
the switch from the management, storage, and service planes of the devices.
Aggregation switch
192.168.210.132 Internet
VLAN 2000 VLAN 2004
Administrator
Access switch
eth0 (Management NIC 1) Controller A Storage links (4)
eth1 (Management NIC 2)
eth2 (Storage NIC 1)
Management
eth3 (Storage NIC 2)
eth4 (Service NIC 1) link
eth5 (Service NIC 2)
BMC
Management
link
IP SAN
Management BMC
Blade 1 Blade 2 plane
Service
Storage plane
X6000 server plane
Network
Configuration Information Remarks
Plane
The company's management plane network.
Management VLAN 2000 You can set the host IP addresses and management
plane Subnet: 192.168.210.0/24 node IP addresses in the FusionSphere system in the
management plane.
Server BMC plane, which communicates with the
VLAN 13 management plane.
BMC
Subnet: 192.168.13.0/24 X6000 blade 1 BMC IP address: 192.168.13.105
X6000 blade 2 BMC IP address: 192.168.13.106
Network segments, VLANs, and
The storage IP addresses on the four storage planes
subnet masks applicable to the
are:
storage planes:
Storage 172.20.100.100
172.20.0.0 VLAN 4 255.255.0.0
planes 172.30.100.100
172.30.0.0 VLAN 5 255.255.0.0
172.40.100.100
172.40.0.0 VLAN 6 255.255.0.0
172.50.100.100
172.50.0.0 VLAN 7 255.255.0.0
Subnet 192.168.214.0/24 under VLAN 2004 can
Service directly connect to the Internet.
2004~2019
planes VLANs 2011 to 2019 can be used for service
provisioning.
3
2. Installation Plan Description
Install FusionCompute virtualization software on the servers in the system so the servers become hosts
providing virtual resources in the FusionCompute hypervisor. Then, install the FusionSphere
management components, including Virtualization Resource Management (VRM), Virtual Service
Appliance Management (VSAM), and FusionManager on Host 1, as shown in the following figure.
VSAM management
VRM management IP address:
IP address: 192.168.210.50 FusionManager
192.168.210.30 management IP address:
192.168.210.60
Virtualization
software
FusionCompute
Host 1 Host 2
Management IP address
Management IP address (eth0): 192.168.210.22
(eth0): 192.168.210.21
Access switch
IP SAN
Aggregation switch
192.168.210.132
4
Component Description Data Plan
The Virtual Service Appliance (VSA) management
component, which is deployed on a VM to
automatically configure and manage system service
VMs that provide software router, virtual load
VM name: VSAM01
balancer (VLB), and Dynamic Host Configuration
Node name: VSAM
Protocol (DHCP) functions.
VSAM Management IP address:
After VSAM is deployed in the system, users can
192.168.210.60
apply for software routers, bind a public IP address to
Subnet mask: 255.255.255.0
a VM, and configure access control list (ACL) rules to
Gateway: 192.168.210
improve network access security.
In this example task, VSAM is deployed on a single
VM on Host01, and its management IP address is
configured to a management plane IP address.
The host storage port names and
IP addresses for communicating
The storage device is connected to hosts through the with the storage devices:
Storage
switch storage plane network to provide virtualized StoragePort1 172.20.123.123
device
storage resources for the VMs running on the hosts. StoragePort2 172.30.123.123
StoragePort3 172.40.123.123
StoragePort4 172.50.123.123
Connect servers to the storage device to enable
Switch intercommunication among different planes in the N/A
FusionSphere system.
5
2.2 Service Deployment Plan
1. Add resources to FusionManager.
After installing FusionSphere, add the FusionCompute hypervisor to FusionManager, so that
FusionManager can manage clusters and hosts resources in the FusionCompute hypervisor and provide
virtualized resources for users.
The following figure shows the process of adding virtualized resources to FusionManager.
FusionManager
FusionManager
FusionCompute
Resource Resource
zone 1 zone 2
(zone)
Cluster 1 Cluster 2 Cluster 3
zone FusionManager
AZ 1 AZ 2 zone
(az)
Resource Resource
cluster 1 cluster 2
Plan the names of the FusionCompute hypervisor and the Hypervisor name: FC
Hypervisor
VSAM node. VSAM name: VSAM
6
2. Configure resource pools and divide resources into VDCs.
After adding resources to FusionManager, resource pools in each resource zone have available virtual
resources. Then, the administrator can include resources in the resource pools into different virtual data
centers (VDCs) and allocate the resources to organizations by VDC.
Zone
AZ VDC01
Resource pools
VDC02
Computing Storage Network
resource pool resource pool resource pool
Resource VDC03
cluster
7
3. Deploy services.
After creating VDCs, create a network in each VDC and provision VMs for users in the VDC. The following
figure uses the VDC (VDC01) for the Business Department as an example.
VDC01
VPC01
Routed
Router
VM01 network
External
VLAN 2016 network
The VDC administrator can create a network and required VMs in the VDC based on the CPU, memory,
storage, and network resources allocated to the VDC.
In this step, you need to plan data for the following objects.
8
2.3 Process Overview
Use FusionSphere to deploy services for the Business Department involves three phases: install
FusionSphere, add and configure resources, and create the network and VMs. The entire process is as
follows.
Install FusionSphere.
Install Install Configure the alarm
FusionCompute. Install VSAM.
FusionManager. reporting function.
Install the Install FusionManager Configure the function
FusionCompute software to manage physical Install VSAM to that allows
on hosts, deploy the VRM and virtual resources configure and manage FusionCompute and
component, and as well as services in software routers VSAM nodes to report
configure virtual storage a centralized manner. requested by tenants. alarms to
resoruces. FusionManager.
9
2.4 Software Preparation
Obtain the following software files for installing FusionSphere.
Obtain the following software files for provisioning services using FusionSphere.
Visit http://support.huawei.com/enterprise,
choose Software > IT > FusionCloud >
FusionCompute
VSA VM template FusionSphere > FusionCompute >
V100R005C00SPC100_VSA.zip
V100R005C00SPC100 and download
FusionCompute V100R005C00_VSA.zip.
10
Obtain the following tools before installing FusionSphere:
Ensure that the local PC used for installing FusionSphere software meets the following requirements:
Item Requirement
Uses 32-bit CPUs with a minimum of 2 GB memory.
Hardware The system disk has a minimum of 1 GB free space, and one another service disk has a
minimum of 30 GB free space.
32-bit Windows XP or Windows 7
OS
Windows firewall is disabled.
The PC can communicate with the planned management plane and the host BMC plane
Network
properly.
In the following operation instruction slides, the left column provides the procedure, and the right
column provides the operation background, principle, and other related information. The following
table explains the icons used in the provisioning process. It is recommended that you familiarize yourself
with the icon descriptions before proceeding.
Icon Description
1 2 3 Operation sequence
Skip to step
Example:
11
NOTE: The screenshots in the steps below include sample parameter values, which may vary
from the actual parameter values onsite.
3 Install FusionCompute
12
Step 2: Start to install the OS on the host.
2. Set DVD-ROM as the boot device.
Note
The DVD-ROM name and the
configuration screen may vary
depending on the server used.
1. Select Network, then select a management plane port, for example, Tip
When configuring host data on
eth0. the configuration screen:
Press Tab or the up and
2 down arrow keys to move
1 the cursor.
Press Enter to expand or
execute the highlighted item.
Press the space bar to
toggle between options.
Use the
number pad
3
on the
keyboard to
enter numbers.
13
Step 3: Configure host information.
4. Select Hostname, then set the host name. N/A
2
1
3
5. Select Timezone, then set the local time zone and time. N/A
1
3
6. Select Password, then set the password for user root. NOTE
Note: Exercise caution when entering the password to avoid incorrect intput. 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.
3. If the host running the VRM node is also planned to carry service VMs and the TIP
service VMs need to use Huawei storage area network (SAN) devices, use After installing the OS on
commands to switch the multipathing mode of the VRM host to Huawei multipathing Host01, you can immediately
start to install the VRM node
mode after installing the OS on the two hosts. on Host01. During VRM
You can also switch the multipathing mode for the non-VRM host on the installation, you can install
FusionCompute web client. the OS on the other host at
the same time.
14
3.2 Install VRM
Step 1: Decompress the software packages.
1. Decompress FusionCompute V100R005C00SPC100_Tools.zip onto
the PC to obtain the Installer, ModCNABFileTool, PlugIn, ToDPS, N/A
and HostInstaller folders.
15
Step 4: Configure a data store.
N/A
16
Step 6: Configure the rights management mode.
N/A
17
3.3 Configure FusionCompute
3.3.1 Log in to the FusionCompute Web Client.
2. In the upper right corner of the browser, click Certificate Error, and click
View certificates in the dialog box displayed.
1
After the certificate is
installed, FusionCompute
will be recognized as a
secure site so users do not
need to install this
certificate again for
subsequent logins.
3. Click Install Certificate and click Next in the dialog box displayed.
1
N/A
2
18
5. Click Finish, then click Yes in the dialog box displayed. A message is
displayed indicating that the import is successful. N/A
1.Enter http://VRM floating IP address in the address bar of the browser and
press Enter.
N/A
2. Enter the admin username and its password to log in to the Web Client.
The system asks you to change the initial password upon your first log in to
the system.
19
3.3.2 Add Hosts to the Cluster of Host01
1
After you set the host BMC
information, you can power
on or off the host on
FusionCompute.
2
20
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
5. Bind eth0 and eth1 on the other host. For details, see 1 to 4.
21
3.3.3 Add Storage Resources to a Site (SAN Storage)
6. Obtain the generated world wide name (WWN), then click Finish.
22
3.3.4 Add a Data Store to the Host (SAN Storage)
Step 1: Change the host multipathing mode.
3. Select Huawei.
23
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.
24
2. Enter the storage device management IP address in the address bar of the
browser, then press Enter to load the storage device management software.
NOTE
The initiator can be
configured only on the
management interface of
the storage device.
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
25
7. Add the host WWN to the initiator.
1
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
3 store must be formatted.
26
3.3.5 Add Virtual Network Resources to the Site
ISO
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.
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.
4. Click Next.
N/A
5. Click Add.
27
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
1 each service. This allows each
port group to use VLANs from
2 different 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.
28
3.3.6 Configure the NTP Clock Source and Time Zone
1 2 N/A
29
4 Install FusionManager
FusionManager V100R005C00SPC200_SV-xvda.vhd
30
Step 2: Create a FusionManager VM on FusionCompute.
9. Configure VM information.
10. Keep the default values of other parameters, then click Next.
N/A
11. Click Create.
The creation process takes about 40 minutes.
31
4.2 Configure FusionManager
2. Run the following command to disable user logout upon system timeout:
TMOUT=0 N/A
5. Select Next to enter the page for selecting the deployment mode.
N/A
7. Select Next.
1
2
3
4 N/A
If the entered
configuration information
9. Confirm that the configuration information is correct, then select Next. is incorrect, run stopALL
The system begins to configure the FusionManager VM. The configuration is to stop the process and
successful when the progress reaches 100% and the system displays a perform the configuration
success message. procedure again from
running the fmconfig
command.
32
4.3 Configure Time Synchronization and Time Zone
3. In the Time Zone area in the lower part of the page, check whether the
current time zone is the same as the local time zone. If different, change the
system time zone to the local time zone.
N/A
33
5 Install the VSAM VM
FusionCompute_V100R005C00SPC100_VSAM-1.vhd N/A
2. Create a folder named share, move the two files into the folder, and share
the folder with the current login user of the local PC.
1
2 The path format is
\\Local PC IP
address\Name of the
2 folder containing the
template file.
8. Configure the data store and configuration mode (Common or Thick N/A
provisioning lazy zeroed) for the disk, and select Persistency.
The options Persistent and Nonpersistent are available for a VM disk only
when the disk type is set to Common and the data store type is set to Local
Pome, LUN Pome, or NAS. For such disks, set Persistency to Persistent.
For disks using other types of storage resources, the Persistency attribute
can only be Persistent, which is the default setting and not available for
selection.
34
9. Configure VM information.
4 In the Memory
Resource Control area,
3 move the Reserved (MB)
slider to the required value.
10. Keep the default values of other parameters, select Customize using
the Customization Wizard, then click Next.
N/A
11. Enter the VSAM VM name, leave Save as computer attributes
unchecked, and click Next.
N/A
14. Confirm that the entered information is correct, then click Create. N/A
35
Step 3: Configure the NTP server and time zone.
1. On FusionCompute, log in to the VSAM VM as user root using VNC.
The default root user password is Huawei@CLOUD8!.
2. Run the following command to disable user logout upon system timeout:
TMOUT=0
3. Run the following command to enter the configuration interface: N/A
python /opt/galax/vsam/tomcat/script/configvsam/ConfigVSAM.py
The following information is displayed:
START TO CONFIG VSAM !
please input the user gesysman's password[q/Q]:
Password:
36
6 Configure the Alarm Reporting Function
After installing FusionCompute, FusionManager, and VSAM, configure the function that allows
FusionCompute and VSAM to report alarms to FusionManager.
Step 1: Log in to FusionCompute.
1. Enter http://VRM IP address, for example, http://192.168.210.30, in the address box,
then press Enter. Internet Explorer
9 is
2. Enter the username and password and set the user type and login type. recommended.
3. Click Login.
Note: Before configure the alarm reporting function, enable port 18080 to allow VSAM to report alarms
to FusionManager. However, port 18080 is based on the insecure protocol HTTP. Therefore exercise
caution when deciding to enable this port.
2. Run the following command to disable user logout upon system timeout:
TMOUT=0
3. Run the following command to query whether port 18080 is disabled. N/A
iptables -S|grep 18080
If the following command output is displayed, the port is enabled. Go to Step 5.
-A VSAM_INPUT_CONTROL -p tcp -m multiport --dports 18080 -j ACCEPT
5. Run the following command to configure the function that allows VSAM to report
alarms to FusionManager in real time:
sh /opt/galax/vrm/om/fms/bin/modGMIp.sh FusionManager management IP address
N/A
The configuration is successful if the following information is displayed:
modify GM IP Success.........
37
7 Add Resources to FusionManager
N/A
2
1
3 In this task, a
2 software VSA node
functions as the gateway
3 of the service network,
and no physical
networking is required.
Therefore, use the default
physical networking mode.
38
7.2 Add the Hypervisor to FusionManager
Add FusionCompute and VSAM to FusionManager so FusionManager can manage resources in the
hypervisor.
2 -
1
5 If only one VRM node
2 is deployed, enter the
VRM management IP
3 address and the default
port number 7443.
4
6 Enter the name for
connecting the hypervisor
to FusionManager. The
5 default username for
connecting the
FusionCompute
hypervisor is gmsysman,
and the default password
6 is GMEnginE@123.
8 If Update data
immediately after data
saving is not checked, the
system automatically
7 updates the hypervisor
data periodically (every six
hours) to ensure data
consistency between
FusionManager and the
8
hypervisor.
4. Click Next.
39
Step 2: Add VSAM to FusionManager.
1. Configure VSAM access information.
6. Click Next.
N/A
7. Confirm that the entered information is correct, then click Add.
40
7.3 Associate the Resource Cluster with a Resource Zone
Associate the resource cluster in the added hypervisor with a resource zone in FusionManager, so the
computing, storage, and DVS resources virtualized in the hypervisor are added to the computing, storage, and
network resource pools in FusionManager, respectively.
N/A
2. Click Associate.
2
N/A
4. Click OK.
41
7.4 Create AZs.
An availability zone (AZ) is a collection of logical resources that can be allocated to users.
N/A
4. Click Create.
N/A
1
The resource clusters
contained in an AZ must
2 be provided by the same
hypervisor.
4
3
42
8 Configure Resource Pools
2. Click Create.
4. Click Create.
43
8.2 Create an External Network
Add an existing network of the customer that is connected to the Internet as the external network. After the
external network is added to FusionManager, FusionManager can manage the public IP addresses in the
network and provide public IP addresses for VMs to connect to the Internet through the software router.
Step 1: Create an external network.
N/A
5. Select the required DVS, then click Next. Select the DVS with which
the external network
6. Enter the external network VLAN, then click Next. VLAN is associated.
N/A
8. Click Next.
44
8.3 Create a VSA Management Network
The VSA management network communicates with the system management plane and assigns IP addresses
for system service VMs, such as the software router VM and internal DHCP server VM, so the system service
VMs can communicate with the VSAM and FusionManager nodes.
Step 1: Add a VSA management network.
N/A
1
6 Ensure that the VLAN
of the VSA management
network has been added
2 to the DVS in the
hypervisor
3
4 (FusionCompute) and the
4 VLAN is not contained in
the FusionManager VLAN
5 pool.
6
9. Remain the default settings for network port rate limit, then click Next.
N/A
10. Confirm that the entered information is correct, then click Create.
45
9 Prepare a VM Template
3. Log in to FusionCompute.
4. On FusionCompute, choose VM and Template.
5. Click Import Template.
6. Select Shared directory, then click Next.
7.Configure the template information.
2
3 Enter the username
and password for logging
in to the local PC.
4
8.Select the creation location, then click Next.
9.Configure the data store and configuration mode for the VM disks, then
select Persistent.
N/A
You are advised to deploy the VSA VM using a shared storage resource.
Otherwise, deploying the VSA VM concurrently in multiple clusters may fail.
10.Remain the default values of other parameters, then click Next.
11.Enter the name of the VSA VM template.
12.Remain the default values of other parameters, then click Next.
N/A
13.Confirm that the entered information is correct, then click Finish.
The creation process takes about 10 minutes.
46
Step 2: Discover the VSA template on FusionManager.
1. Log in to FusionManager.
3. Click Discover.
2
5. Click OK.
1. Locate the row that contains the discovered VSA template, then choose
More > Modify VM Template Information.
47
9.2 Create a VM Template
Create a VM template based on the OS type and VM specification requirements of the needed VMs. The
template can then be used to create new VMs with the same specifications as the template, which
significantly shortens the time for configuring new VMs and installing OSs on them.
4
5
48
Step 2: Install an OS for the VM.
3
4
2. After the VM restarts, install the OS on the VM as prompted. Note: Do not close the
The OS installation method for a VM is similar to that for a physical computer. VNC login window before
OS installation is
complete. Otherwise, the
3. After the OS is installed, click on the top of the VNC window, then CD/DVD-ROM drive is
select Unmount CD/DVD-ROM Drive. automatically unmounted
from the VM
4. Install the OS patch. The patch file must be mounted to the VM as an ISO
N/A
file.
3. Select Security and Users from Groups and click Firewall in the right
pane. The YaST2 window is displayed.
4. Select Disable Firewall Automatic Starting from Start-Up and click Stop
Firewall Now.
6. Click Next.
A confirmation dialog box is displayed.
7. Click Yes.
A confirmation dialog box is displayed.
8. Click Finish.
The YaST2 window is closed.
9. Right-click the VM desktop and choose Open in terminal from the
shortcut menu.
The system switches to the CLI.
49
Step 5: Install Tools.
1.Decompress the FusionCompute
V100R005C00SPC100_GuestOSDrivers.zip software package on the local
PC.
The FusionCompute V100R005C00_GuestOS.iso file is obtained.
2.Use VNC to log in to the VM as user root and mount the ISO image
FusionCompute V100R005C00SPC100_GuestOS.iso to the VM.
3.Right-click on the VM desktop and select Open in terminal from the
shortcut menu.
The system switches to the CLI.
4.Run the following command to create the xvdd directory:
mkdir xvdd
5.Run the following command to mount the ISO image to the VM:
mount Target directory xvdd
For example, run mount /dev/sr0 xvdd to mount the ISO file to the /dev
directory on the VM running SUSE Linux Enterprise Server 11.
6.Run the following command to switch to the xvdd/pvDriver/linux directory:
cd xvdd/pvDriver/linux
7.Run the following command to view the required Tools installation package: Tools improve I/O
ls processing, hardware
The following information is displayed: monitoring, and other
... advanced functions on a
uvp-tools-linux-xxx.tar.bz2 VM.
uvp-tools-linux-xxx.tar.bz2.sha256
8.Run the following commands to copy the Tools installation package to the
root directory:
cp uvp-tools-linux-xxx.tar.bz2 /root
cd /root
9.Run the following command to decompress the Tools software package:
tar -xjvf uvp-tools-linux-xxx.tar.bz2
10.Run the following command to switch to the Tools installation directory:
cd uvp-tools-linux-xxx
11.Run the following command to install Tools:
./install
Tools installation is complete if the following command output is displayed:
The PV driver is installed successfully. Reboot
the system for the installation to take effect.
12. Run the following command to restart the VM for Tools to take effect:
reboot
50
Step 7: Configure the VM NIC.
1. Run the following command on the VM to view the files in the network rule
directory:
ls l /etc/udev/rules.d
2. Run the following commands to delete the rule files whose file names contain
persistent and net in the network rule directory:
For example:
rm -r /etc/udev/rules.d/30-net_persistent-names.rules
rm -r /etc/udev/rules.d/70-persistent-net.rules
The italicized content in the command varies depending on the actual service
environment
N/A
3. Decompress the software package FusionCompute
V100R005C00SPC100_GuestOSDrivers.zip on the local PC.
The FusionCompute V100R005C00SPC100_Customization.iso file is obtained.
9. Hold down Alt and press G on the Network Settings page. N/A
The Global Options page is displayed.
10. Hold down Alt and press T, and select Traditional Method with ifup.
11. Press F10 to save the configurations and exit the control center.
51
Step 6: Configure the VM template.
1. Run the following command on the VM to open the rc file using the visual
interface (vi) editor: Note:
vi /etc/init.d/rc Back up the rc file before
editing it.
2. Press i to enter editing mode.
3. Run the following commands to attach the user disk to the VM:
mkdir /usr/xvde
mount /dev/xvde /usr/xvde/
4. Run the following command to query the information about the user disk:
df h N/A
The user disk is successfully attached to the VM if a capacity value is displayed for
the xvde disk.
File System Capacity Used Available Usage Mounting Point
/dev/xvda2 19G 3.1G 15G 18% /
devtmpfs 465M 108K 465M 1% /dev
tmpfs 465M 100K 465M 1% /dev/shm
/dev/xvde 20G 173M 19G 1% /usr/xvde
5. Run the following command to open the fstab file using the vi editor and
enable automatic disk attaching:
vi /etc/fstab
6. Move the cursor to the end of the file, press Enter, and enter the following
N/A
line:
/dev/xvde /usr/xvde/ ext3 defaults 0 0
52
Step 10: Complete VM template creation.
2. Locate the row that contains the VM template, then choose More > Install
Software.
N/A
The Install Software page is displayed.
3. Click Complete.
The VM Templates page is displayed., on which the VM template status is
Complete. After the VM is created, the CD/DVD-ROM mounted to the VM is
automatically unmounted.
53
10 Create a VDC
A virtual data center (VDC) is the unit of using virtual resources on FusionManager. Create a VDC for a
service department and create a VDC administrator. Then the VDC administrator can manage resources in
the VDC and allocate the resources to user VMs in the VDC.
Step 1: Create a VDC.
1. On FusionManager, choose VDC > VDCs.
The VDC management page is displayed.
3 Configure the
maximum amount of
resources allowed for the
3 VDC. These settings can
also be modified after the
VDC is created.
4. Click Next.
5. Select an AZ, then click Next.
6. Select an external network, then click Next.
7. Select VDC members, then click Next.
8. Confirm that the entered information is correct, then click Create.
54
11 Create a VPC and Networks
55
11.2 Apply for a Router
Apply for a router for the VPC so that the router can serve as a gateway for the routed networks created in the
VPC. The router also supports the elastic IP address function, which allows an elastic IP address to be bound
to the VM so the VM can connect to public networks.
56
11.3 Create a Routed Network
VMs deployed in a routed network can have their private IP addresses bind to an elastic IP address through
a router, so the VMs can use the elastic IP address to provide public network access services.
2
2
Enter a VLAN ID
planned for routed
networks.
2
The VDC
administrator can
2 customize the subnet IP
address for the routed
network.
6. Click Next.
57
12 Provision VM
1.On the web client page in tenant view, choose Resources > Computing > N/A
VMs.
2.Click Create.
5. Select a network. 1
2
Add the VM NIC to
3 3 routed network
the
created in 11.3.
58
12.2 Bind an Elastic IP Address to a VM
Elastic IP address is a public IP address that can be bound to a VM or a private IP address to enable the VM
to provide external services using the public IP address. Apply for an elastic IP address before binding the
elastic IP address to a VM.
59
12.3 Add ACL Rules
Add ACL rules in the VPC to allow users to access the web services deployed on a specific VM using only
the TCP protocol and port 80. This configuration prevents unauthorized users from accessing the web
services and thereby improves network access security.
Note: The system allows services access using any supported port and protocol by default. To allow VMs to
access services using only the specified protocol and port number, you need to first add an ACL rule that
prohibits service access using any protocol or port, and then add another higher-priority ACL rule that
specifies the protocol and port number allowed for service access.
Step 1: Prohibit access to the web-service-deployed VM using any protocol and port.
IN indicates the control for
1. On the VPC01 configuration page, choose Security > ACLs.
network packets inbound to
the VM. OUT indicates the
2. On the IN page, click Add Rule. control for network packets
outbound from the VM.
Step 2: Specify the protocol and port number allowed for VM access.
1. On the IN page, click Add Rule.
2. Configure the ACL rules.
1 The ACL rule configured
in the preceding step
1 prohibits the access to the
web service VM. The ACL
2 rule to be configured in this
step allows access to the
3
VM using the TCP protocol
4 and port number 80. This
5 ACL rule (10) has the higher
priority than the ACL rule 20
6 configured in the preceding
step.
7
8
60
Appendix
Host1 Host2
VM1 VM2
VPC
External network
VLAN 2 192.168.2.0/24
Virtual
resources
DVS
Uplink
Physical
resources
Physical network
Network
Description
Element
A software router functions as a gateway that enables VMs in a VPC to communicate
Software with VMs in other routed networks. The software router connects to the public network
router through the external network and therefore provides IP addresses for VMs to access
external networks.
A port group is a virtual logical port similar to a template with network attributes. A port
Port group group is used to define VM NIC attributes and uses a DVS to connect to the network:
Each service network (internal, routed, and external networks) created on
FusionManager maps a port group on the DVS.
A DVS provides the same functions as a physical layer 2 switch. A DVS links port groups
DVS
to VMs and connects to the physical network through uplink channels.
An uplink connects the DVS to the physical network NIC and therefore can transmit the
Uplink
data from the VMs connected to the DVS to the physical network.
61
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.
You can create a virtual disk on a data store for use by a VM.
VM
LUN
Virtual disk
IP SAN storage
Data store
Logical layer:
After a storage device is
associated with a host, the host
bus adapter (HBA) generates a Host IP SAN device
WWN for the host.
After an initiator is added to the LUN01
logical host on the storage device
using the host WWN, the host can
WWN
LUN02
access the storage resources
Initiator
Logical host
Logical association
Physical association
Physical layer:
A host connects to an IP
SAN device through
multipathing.
Switch
62
Appendix 4 Principle of Clock Synchronization
1. After the OS is installed on the host and the host restarts, log in to the host as user
root in the remote control window, and run TMOUT=0 to disable logout on timeout.
The password of user root
is the password you set
during host OS installation.
2. Run the following command to set the multipathing mode to Huawei mode:
sh /opt/uvp/multipath/change_multipath_mode.sh 1
N/A
3. Run reboot to restart the host for the mode to take effect:
N/A
63
Appendix 6 VSAM and VSA
The VSAM node is deployed on the FusionManager management plane to manage VMs that provide VSA
system services, including software router and DHCP.
VSA VSA
DHCP VSA
VPC1
VPC2 VPCn
FusionManager
node VSAM node
VM VM VM
Service networks
VM VM VM
The VSA management network connects to the management networks of the FusionManager node and the
VSAM node to enable communication between VSA VMs and the VSAM node. When a tenant applies for a
software router or the DHCP service for a VPC, FusionManager creates a VSA VM using the VSAM node
and automatically deploys the virtual firewall or DHCP service on t he VSA VM. A software router functions
as a firewall that connects to the Internet-accessible external network to provide public IP addresses for
VMs in the VPC to access public networks.
64