FusionSphere V100R003C10 Quick User Guide (Standalone Mode) 02
FusionSphere V100R003C10 Quick User Guide (Standalone Mode) 02
V100R003C10
Quick User Guide
Issue: 02
Date: 2014-07-04
FusionSphere Overview
Contact Information
Technical • Official Website: http://support.huawei.com/enterprise/
• Documentation: http://support.huawei.com/enterprise/productsupport
support
• Forum: http://support.huawei.com/ecommunity/
• Local Offices: http://enterprise.huawei.com/cn/about/contact/all/index.htm
• Service Hotline: 400-822-9999
• Email: [email protected]
Feedback Send us your thoughts, suggestions, or any other feedback using the technical
support contact information listed above.
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.
Switch A network device that connects a server and a storage device. It also connects to the
external network, thereby implementing internal and external communications for the
FusionSphere system.
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.
FusionManager FusionSphere management software consisting of two FusionManager VMs (active and
standby). It manages and maintains virtual resources, physical resources, and services
in a centralized manner.
installation
Prerequisites process
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.
2
Servers used in the FusionSphere 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 the host,
RAID
thereby enhancing host reliability.
Boot device The first boot device for the host is set to Hard disk.
The local PC used for FusionSphere installation must meet the following requirements.
Item Requirement
CPU: 32-bit; memory ≥ 2 GB
Hardware
System disk free space ≥ 1 GB; User disk free space ≥ 30 GB
Communication between the local PC and the management and host BMC planes
Network
is normal.
FusionCompute
FusionCompute host OS
V100R003C00SPC600_CNA.iso Visit http://support.huawei.com
and choose Enterprise > Software
FusionCompute installation FusionCompute
> IT > FusionCloud > FusionSphere
wizard V100R003C00SPC600_Tools.zip
> FusionCompute >
FusionCompute V100R003C10SPC600
VRM VM template file
V100R003C00SPC600_VRM.zip
3
Check installation conditions Obtain software Obtain data Learn installation process
Learn
installation
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. process
NOTE: If a parameter SN (such as A4) is mentioned in a procedure below, use the planned value for this parameter.
(A2) Host BMC username and password Username: root Planned value: ____
Used to log in to the host BMC. Password: root ____
Before installation, finish the integration design plan and obtain all the data required for installing
FusionManager.
Parameter Planned value Example and Planned Value
188.100.200.91
(H3) Management IP addresses and subnet mask
255.255.255.0
of the active and standby FusionManager VMs
188.100.200.90
(H4) FusionManager floating IP address
4
Check installation conditions Obtain software Obtain data Learn
Learn installation process
installation
process
Procedure
FusionSphere installation includes the installation and configuration of FusionCompute and FusionManager.
The following figure shows the procedure for installing FusionSphere.
Install FusionCompute.
Install FusionManager.
End
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
5
Host Installation — ISO
Note: The screenshots in the steps below include sample parameter values, which may vary from the actual
parameter values onsite.
3 Install FusionCompute
Host
3.1 Installation
Install —
an OS on the Host ISO
Step 1: Mount an ISO File to the VM
1. Enable communication 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 web browser on the PC, then enter the BMC IP address into the address bar to Huawei RH2285 is used as an
access the host BMC. example host.
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.
6
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.
2
Use the
3 number pad
on the
keyboard to
enter numbers.
3. Configure the gateway for eth0 (A4) on the Network Configuration page. -
7
Step 3: Configure Host Information
4. Select Hostname, then set the host name. -
2
1
3
5. Select Timezone, then set the local time zone and time. -
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.
8
3.2 Install the VRM
Step 1: Decompress the Software Packages
1. Decompress FusionCompute V100R003C10SPC600_Tools.zip onto the PC to obtain the -
Installer, ModCNABFileTool, PlugIn, and ToDPS folders.
2. Decompress FusionCompute V100R003C10SPC600_VRM.zip into a new folder to obtain The path of this folder cannot
two VRM VM template files whose file name extensions are .xml and .vhd, respectively. contain Chinese characters.
Share the folder to the current PC user. After sharing the folder, the
host can access to the VRM VM
template files.
2. Select a language. -
4. Click Next after the components are installed. The Configure Host page is
displayed.
9
Step 5: Configure a Data Store
1. Select Local disk/FC SAN, then click Next. You are advised to use local
disks to install VRMs.
The storage devices are automatically refreshed, and the system adds the storage device
A VRM node requires 80 GB
in the first row as the data store by default.
space on the local disk.
If local disks are used, the active
and standby VRM nodes use
different disks, which provide
higher reliability.
You are advised to select disks
configured in RAID 1 mode to
enhance reliability.
The length of disks configured in
RAID 1 mode is twice as that of
common disks.
For details about VM storage
working principles, see Appendix
2.
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 verification succeeds. The configuration page for the
standby VRM is displayed.
10
Step 7: Configure the Rights Management Mode
2. Click the link on the displayed page and log in to FusionCompute. FusionCompute Login:
11
3.3 FusionCompute Web Client Login
Step 1: Configure IE
1. In the address bar of the IE browser, enter http://Floating 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, http://188.100.4.30/
2. Click Google Chrome Frame and follow the instructions to install the Google Installing the Google Chrome
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 After installing the certificate,
certificate. FusionCompute is
considered to be a safe site
and you can directly access
1 the login page.
1
2
5
4
12
Step 1: Configure IE
6. Click Finish, then click Yes in the popup dialog box. A message is displayed -
indicating that the import is complete.
1. In the address bar of the Firefox browser, enter http://Floating IP address of the After configuration, you can
directly access the
VRM node, press Enter, select Continue to this website (not recommended), and FusionCompute Web Client
log in to the FusionCompute Web Client. login page.
For example, enter http://188.100.4.30/
3. In the popup dialog box, check the box next to Permanently store this exception,
then click Confirm Security Exception.
4. Install FusionManager
4.1. Install FusionManager
FusionManager V100R003C10SPC600_GMN_FS-xvda.vhd
4. Put the two files in the fmn folder, and share the folder with the current user of The shared folder path
the local PC. cannot contain Chinese
characters.
13
Step 2: Create a FusionManager VM on FusionCompute.
1. Switch to the page for creating VMs using templates on FusionCompute. -
1
2. Configure the basic information about the VM template and click Next.
2 The path format is
1 \\Local PC IP address\Name
of the folder containing the
template file.
2
3 If the user account is
registered in multiple
domains, enter the
username with the specified
domain name, for example,
Domain\w00123456.
14
4. Configure the hardware information (including the QoS settings) about the VM
and click Next. 2 Expand QoS Settings.
Quality of service (QoS)
parameters ensure that the
1
FusionManager VM obtains
2 sufficient resources to
provide optimal
Drag the slider to the performance and releases
Max. value
resources to other VMs
15
2. Configure the VM option attributes and click OK.
1
4
5
4.2
StepConfigure FusionManager
1: Log in to the FusionManager VM
1. On FusionCompute, log in to the FusionManager VM using Virtual Network During the login process,
Computing (VNC). a security warning dialog
box may be displayed.
1 Disable the pop-up
2 program to run.
Huawei@CLOUD8!
16
Step 1:Configure FusionManager
1、执行gmninit,输入“1”,并按“Enter”,配置FusionManager为单节
点模式。 说明:
在这一步,如果输入错误,
GMN:” # gmninit 可按“Ctrl+c”退出配置后,
执行gmninit重新开始配置。
Please enter the mode to configure:
1.Single mode
2.High availability mode [default:2](?) 1 Enter
Information to be set:
2、Set the network information as prompted based on the planned data. For
Names of active and
example: standby FusionManager VMs
(H2)
Management IP addresses
and subnet mask of the
two VMs (H4)
Management plane
gateway address (H6)
Floating IP address (H5)
Arbitration IP address (H7)
3、确认配置信息无误,按“Enter”,开始配置。
显示如下信息,表示配置成功。 说明:
在这一步,如果配置有误,
[INFO ] configure in Single mode 请先执行sh
[INFO ] check configuration success
[INFO ] configure ip success /opt/GalaxManager/bin/sto
[INFO ] start configure ha, it will take about 1~2 minutes
pALL.sh停止进程后,执行
[INFO ] configure ha success
[INFO ] init successful gmninit重新开始配置。
4、执行以下命令,初始化FusionManager组件。 至此,FusionManager安
sh /opt/UHM/Runtime/bin/uhmConfBeforeRun.sh 装配置完成。
显示如下信息,表示初始化成功。
...
Change IP addr in:
/opt/UHM/Runtime/LegoRuntime/uhm/system/thirdSystemConf.propert
ies success
...
17
Step 2: Configure the FusionManager VM
1. Run the gmninit command and enter 1 to configure the FusionManager
VM to standalone mode. NOTE
If you entered wrong
GMN:” # gmninit information, press Ctrl+c to
exit the configuration and
Please enter the mode to configure: run the gmninit command
1.Single mode to reconfigure.
2.High availability mode [default:2](?) 1 Press the Enter key.
2. Set network information as prompted based on data plan. For example: Information to be set:
Name of the
FusionManager VM (H2)
Management IP address
and subnet mask of the
VM (H4)
Gateway of the
management plane (H6)
Floating IP address (H5)
Arbitration IP address (H7)
4. Run the following command to initialize the FusionManager components: FusionManager installation
sh /opt/UHM/Runtime/bin/uhmConfBeforeRun.sh and configuration operations
If the following information is displayed, the initialization succeeds. are complete.
...
Change IP addr in:
/opt/UHM/Runtime/LegoRuntime/uhm/system/thirdSystemConf.propert
ies success
...
18
5 Service Provisioning Overview
Host Installation — ISO Method
5.1 Scenario Description
A company has deployed FusionManager to manage the resources in its hypervisor.
The maintenance personnel need to manage and maintain all the resources and provision service
resources to other departments in the company.
The Maintenance department uses the management network plane, whose VLAN ID is 2000.
The Business department uses the network with the VLAN ID 2005.
The Business department needs a VM to store routine business materials. The VM must be deployed on
the Business's network.
Hypervisor
After the computing, storage, and network resources are configured in the resource pool, configure a VM
template on FusionManager to create a VM.
19
5.2 Process
Preparing system and services resources and provisioning a VM
5.3 Data
Obtain data required for service provisioning according to the following table.
Item Description How to Obtain
Includes:
• Floating IP address of the Virtualization Resource Provided by the
FusionCompute login
Management (VRM) node, for example, installation and
information
188.100.200.30 configuration engineer.
• Web client password for user admin
20
5.4 Software Packages
Obtain software packages required for service provisioning according to the following table:
The following table explains the icons used in the provisioning process. It is recommended to
familiarize yourself with the meanings of the icons before proceeding.
For example:
Icon Description
1 2 3 Operation sequence 1
Step 1: Click Resources.
Transition between different Step 2: Click Resource Pool.
sections of the interface
2
Skip to step
21
6 Add Resources
Create zones.
Add hypervisors.
End
Step Description
Create data centers on FusionManager to centrally manage resources in
Creating data centers
different regions in the data centers.
Create zones for the data center, including the computing resource pools,
Creating zones storage resource pools, and the network resource pools. The zones are
logical divisions for physical resources in a region.
Add hypervisors to FusionManager, so that resource clusters in the
Adding hypervisors
hypervisors can be managed on FusionManager.
1. In the address bar of the Internet Explorer browser, enter This task uses Internet
http://FusionManager floating IP address, press the Enter key, select Explorer 8.0 as an
Continue to this website (not recommended) to switch to the example.
FusionManager web client login page.
For example, enter http://188.100.200.90.
22
Step 2: Enter the page for creating a data center.
1. Enter the page for creating a data center. A data center is the
largest resource
1 container on
FusionManager. You can
centrally manage virtual
resources in
hypervisors in different
regions in a data center.
The current equipment
room has one hypervisor
deployed, therefore, one
data center and one zone
are required.
2
1
2
3
23
6.3 Create a Zone
1. Select the created data center and switch to the zone page. Create a zone that
contains a computing
resource pool, a storage
resource pool, and a
network resource pool.
The newly created
resource pools have no
1 resources. You need to
associate a hypervisor
with FusionManager to
2 add resources to the pools.
24
6.4 Add a Hypervisor
25
7. Configure Resource Pools
Start
Associate a resource
cluster with a zone.
End
Step Description
Associating a resource Associate a resource cluster in a hypervisor with a zone so that the virtual
clusters with a zone resources in the hypervisor can be used and managed by FusionManager.
Add VLAN resources planned for the service network to the network
Adding a VLAN pool
resource pool.
Associating a VLAN pool
Add the VLANs planned for the service network to the DVS.
with a DVS
Add an external network to FusionManager so that VMs in the FusionManager
system can use IP address of the external network. An external network can be
Adding an external network an existing network of the company or a public network. In this document, the
external network is used to connect to the untrust domain on the software
firewall.
26
7.2 Associate a Resource Cluster with a Zone
1. On FusionManager, choose Resources > Resource Pool > Data Center, After a resource cluster in
a hypervisor is associated
select the target data center and the target zone, and click Computing with a zone, resources in
Resource Pool to switch to the resource cluster page. the cluster can be used
and managed in the zone
on FusionManager.
Click Associate. The Associate Clusters dialog box is displayed.
4. Click OK.
1. On FusionManager, choose Resources > Resource Pool > Data Center, A VLAN pool is used to
select the target data center and the target zone, and choose Network manage VLANs for
Resource Pool > VLAN Pool to switch to the VLAN pool page. creating service networks
on FusionManager.
2. Click Add VLAN pool.
In this task, the VLANs of
3. Add a VLAN pool as prompted.
the planned external
network, internal networks,
and routed networks must
1
be added to the resource
pool.
2
27
7.4 Associating a VLAN Pool with a DVS
1. On FusionManager, choose Resources > Resource Pool > Data Center, An external network can
be an existing network of
select the target data center and the target zone, and choose Network the company or a public
Resource Pool > External Network to switch to the External Network page. network. Ensure that
information about the
subnet and VLANs of the
2. Click Add. The Add External Network dialog box is displayed.
network have been
configured on the physical
3. Configure basic application information about the external network. switch.
28
Step 1: Add an External Network
5. Configure the network information as prompted. 5 The VLAN ID of the
external network can be
1
selected from the VLAN
pool on the DVS.
2
29
8 Create a VM Template
Step 1: Create a VM
2. Select the target cluster, click VMs on the Summary page of the cluster. NOTE
A VM using a local disk
3. Click More and choose Create. cannot be converted to
a template. This task
4. Select Create VM and click Next.
uses a custom VM as
The Basic Information page is displayed. an example to describe
how to convert a VM to
5. Configure the basic information about the VM and click Next. a template. For details
about more methods of
6. Configure VM specifications. creating VMs, see the
FusionManager
Product Documentation.
7. Click Next. -
8. Click Finish.
30
Step 2: Install the OS
1. After the VM is created, click its name in the VM list.
2. Click VNC login in the Operations area on the Summary page of the VM.
2
3
4
5
The OS installation method for a VM is similar to that for a physical computer. Do not close the VNC login
window before the OS
installation is complete.
Otherwise, the CD/DVD-
5. After the OS is installed, click on the top of the VNC window, then ROM drive is automatically
select Unmount CD/DVD-ROM Drive. unmounted from the VM.
6. Install the OS patch. The patch file must be mounted to the VM as an ISO -
file.
1. Enter the username and password to log in to the OS. The SUSE Linux
Enterprise Server 11 OS
2. On the VM desktop, choose Computer > YaST. The YaST2 Control is used as an example
here.
Center window is displayed.
3. Select Security and Users from Groups and click Firewall in the right
pane.
4. Select Disable Firewall Automatic Starting from Start-Up and click Stop
Firewall Now.
31
Step 3: Disable the Firewall on the VM
6. Click Next. -
A confirmation dialog box is displayed.
7. Click Yes.
A confirmation dialog box is displayed.
32
Step 5: Configure the VM NICs
1. Run the following command on the VM to view the files in the network rule VMs created using a
template must
directory: automatically obtain IP
ls –l /etc/udev/rules.d addresses using the
Dynamic Host
2. Run the following command to delete the rule files whose file names Configuration Protocol
(DHCP) service. You need
contain persistent and net in the network rule directory:
to manually configure
For example: Linux VMs to support the
rm -r /etc/udev/rules.d/30-net_persistent-names.rules service. This configuration,
including activating NIC
rm -r /etc/udev/rules.d/70-persistent-net.rules //The italicized content and the DHCP service,
in the command varies depending on the actual service environment. enables the created VMs
to access networks and
3. On the local PC, decompress the software package FusionCompute automatically obtain
dynamic IP addresses.
V100R003C10SPC600_GuestOSDrivers.zip.
FusionCompute V100R003C10SPC600_Customization.iso is obtained.
5. Copy the linux folder in the ISO file to the /home directory on the VM.
6. Run the following command to back up the original NIC configuration file
and create a configuration file for the NIC:
sh /home/linux/autoConfigLinuxNetwork.sh /etc/sysconfig/network
The command is executed successfully if the following information is
displayed:
10. Press Atl+T keys and select Traditional Method with ifup.
11. Press F10 to save the configurations and exit the control center.
33
Step 6: Configure the VM Template
1. Run the following command on the VM to open the rc file using the visual -
1. Select the stopped VM, click More and choose Convert to Template.
A confirmation dialog box is displayed.
3. Click OK.
5. Locate the row that contains the VM template, and click in the
Operation column.
A dialog box is displayed.
6. Set OS type, OS version, and Template Type for the VM template. The OS type and OS
version must be consistent
with that configured when
the template is created.
7. Click OK.
After the VM template is published, its status changes to Publishing
successful on the VM Template page.
34
9 Create the VM
Step 1: Create a VM
5. Configure VM specifications.
1
2
3
35
Step 1: Create a VM
6. Configure the network information as prompted. -
7. Click Next.
8. Click Finish.
You can choose Resources > Virtualization Resources > VMs to view
the VM that is being created.
36
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.
Logical layer:
After a storage device is Host IP SAN device
associated with a host, the
host bus adapter (HBA) LUN01
generates a WWN for the
WWN
host. LUN02
Initiator
If an initiator is added to
the logical host on the
...
storage device using the
Controller
host WWN, the host can
HBA
access the storage
resources (LUNs) that
match the logical host on Logical host
the storage device and add
the LUNs as data stores.
Logical association
38