HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) PDF

Summary

This document is a lab guide for the HCIP-Cloud Computing V4.0 certification training. It focuses on FusionCompute server virtualization, with exercises covering environment setup, resource management, VM provisioning, and operation and maintenance. The lab guide's content is appropriate for technical personnel, including engineers from Huawei and representative offices, and those looking to study Huawei cloud computing products.

Full Transcript

Recommendations  Huawei Learning Website http://learning.huawei.com/en  Huawei e-Learning https://ilearningx.huawei.com/portal/#/portal/ebg/51  Huawei Certification http://support.huawei.com/learning/NavigationAction!createNavi?navId=_31...

Recommendations  Huawei Learning Website http://learning.huawei.com/en  Huawei e-Learning https://ilearningx.huawei.com/portal/#/portal/ebg/51  Huawei Certification http://support.huawei.com/learning/NavigationAction!createNavi?navId=_31 &lang=en  Find Training http://support.huawei.com/learning/NavigationAction!createNavi?navId=_trai ningsearch&lang=en More Information  Huawei learning APP 版权所有© 2019 华为技术有限公司 Huawei Cloud Certification Training HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) HUAWEI TECHNOLOGIES CO., LTD. 1 Copyright © Huawei Technologies Co., Ltd. 2019. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd. Trademarks and Permissions and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd. All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information, and recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or implied. The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute a warranty of any kind, express or implied. Huawei Technologies Co., Ltd. Address: Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://e.huawei.com Huawei Proprietary and Confidential Copyright © Huawei Technologies Co,Ltd HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 1 Huawei Certification System The Huawei certification system is based on the Huawei's years of experience in talent cultivation and its deep understanding of industry development. In the spirit of Huawei's platform-ecosystem integration strategy and cloud-pipe-device coordinated architecture, Huawei has established this certification system consisting of architecture certification, developer certification, and industry certification. It is the industry's only certification system to cover all technology fields. Huawei offers three levels of technical certification: associate, professional, and expert. This system promotes ICT convergence and provides a leading personnel training system and certification standards, cultivating new ICT talents in the digital era, and building a sound ICT personnel ecosystem. Huawei Certified ICT Professional-Cloud Computing (HCIP-Cloud Computing) is mainly designed for frontline engineers from Huawei and representative offices, and other technical personnel who wish to study Huawei cloud computing products. HCIP-Cloud Computing certification Huawei cloud computing basics, protocols, networking, features, troubleshooting, and related configurations of Huawei cloud computing products FusionCompute and FusionAccess as well as advanced cloud computing technologies. The HCIP-Cloud Computing certification system introduces the industry, fosters innovation, and imparts cutting-edge cloud computing knowledge. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 2 HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 3 About This Document Overview This document is intended for HCIP-Cloud Computing certification training courses. It is intended for trainees who preparing for the HCIP- Cloud Computing exam or those that want to understand, use, and manage FusionCompute, Huawei's server virtualization product. Description This lab guide consists of seven exercises in four parts:  Part 1: FusionCompute environment setup. This exercise is implemented based on the KVM virtualization environment. It covers the installation of CNA and VRM, helping you gain familiarity with FusionCompute architecture from the underlying layer.  Part 2: FusionCompute virtual resource management, including compute, storage, and network. On completion of this exercise, you will be able to understand the three major functions of FusionCompute server virtualization: compute virtualization, storage virtualization, and network virtualization, and understand the advantages of FusionCompute in resource management.  Part 3: FusionCompute VM provisioning and management. This exercise includes VM creation, FusionCompute Tools installation, template encapsulation, importing and exporting templates, snapshot management, VM flavor adjustment, High Availability (HA), live migration, security groups, and rule groups. On completion of this exercise, you will be able to perform basic service O&M. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 4  Part 4: Common FusionCompute O&M, including user management, management data backup, and time management. On completion of this exercise, you will understand the basic O&M capabilities of FusionCompute. Lab Environment Overview Scenario Introduction An enterprise wants to use FusionCompute to reduce investment in hardware (such as servers) and improve resource utilization. Two hardware servers have been purchased and are used as the basic platform. The servers are used to deploy FusionCompute, verify its reliability along with the services running on it, and utilize FusionCompute server virtualization's management functionality. Exercise Design According to the enterprise's verification requirements, the exercises are designed as follows:  Covers the entire process from environment setup to system O&M.  Uses Linux and Windows to simulate actual service deployment requirements.  Simulates various requirements and emergencies in O&M, such as resource insufficiency, host faults, and system upgrades. Software and Tools Software Function Acquire Here FusionCompute Server virtualization https://support.huawei.com/en 6.5.0_Installer.zip installation tool terprise/en/cloud- computing/fusioncompute- FusionCompute VRM software pid- 6.5.0_VRM.zip package 8576912/software/23398196?i HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 5 dAbsPath=fixnode01%7C2265 8044%7C7919788%7C9856606 %7C21462752%7C8576912 Used to install VMs cn_windows_10_Pro required for the / fessional_x86_64 exercises Used to install VMs CentOS-7-x86_64- required for the / DVD-1810.iso exercises Used to log in to the PuTTY Linux OS in SSH / mode VNC login to KVM VNC-viewer / VMs WinSCP Used to transfer files / Networking Introduction HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 6 Figure 1-1 FusionCompute networking Network Configuration NE IP Address VLAN Management: 192.168.201.101 CNA01 Storage VLAN 202 Storage: 192.168.202.101 Management: 192.168.201.102 CNA02 Storage VLAN 202 Storage: 192.168.202.102 VRM 192.168.201.100 / Storage 192.168.201.11/192.168.202.11 201/202 HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 7 1 FusionCompute Installation 1.1 Exercise Introduction 1.1.1 Overview This section describes how to install the CNA and deploy the VRM after the CNA VM is created and the CD/DVD-ROM drive is mounted to the installation page. 1.1.2 Objectives On completion of this guide, you will be able to:  Understand what CNA is.  Install and configure CNA.  Understand the VRM's logical architecture.  Install VRM using tools.  Log in to FusionCompute. 1.1.3 Procedure 1.2 Installing CNA Start the VNC software, enter 192.168.201.11:5900 in the address box, and press Enter to go to the CNA01 control page. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 8 Move the cursor to Install and press Enter to go to the CNA installation and configuration page. Move the cursor to *Hard Drive and press Enter to go to the disk configuration page. Confirm that the disk information is correct, move the cursor to OK, press Enter, and then select yes. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 9 Configure the CNA network. Move the cursor to Network and press Enter. Select IPv4 and press Enter. Select the eth0 NIC and press Enter. On the NIC IP configuration page, configure the CNA01 IP address as instructed in the following figure. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 10 Move the cursor to OK and press Enter. (Set the CNA02 IP address to 192.168.201.102.) Set the default gateway address to 192.168.201.254, move the cursor to OK, and press Enter. Move the cursor to OK and press Enter to complete the network configuration. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 11 Move the cursor to Hostname, press Enter, enter the host name CNA01, move the cursor to OK, and then press Enter. (The host name corresponding to CNA02 is also CNA02.) Move the cursor to Password and press Enter. Enter the password Huawei12#$ for the root user logging in to the CNA. Move the cursor to OK and press Enter. Move the cursor to OK and press Enter. Select yes twice to go to the CNA installation page. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 12 After the installation progress reaches 100%, the CNA shuts down. Contact the instructor to start the CNA system and reconnect to the CNA using VNC. Perform Step 1 to Step 12 again to install CNA02. 1.3 Installing VRM Start the FusionComputeInstaller.exe installation tool, set Language to English, select VRM for Components, and set IP Protocol to IPV4. Confirm the information and click Next. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 13 Select Custom Mode and click Next. Click Browse and select the installation package. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 14 In the displayed dialog box, select the directory where FusionCompute 6.5.0_VRM.zip is located, and click OK. Click Verify to check VRM integrity. After the check is complete, click Next. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 15 Click Next to go to the VRM parameter configuration page. Set the VRM parameters to those shown in the following figure. Click Next after the configuration is complete. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 16 Enter the information about the CNA01 host, and click Configure Host. (This step takes about 5 to 10 minutes.) HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 17 After host configuration is complete, click Next to go to the datastore configuration page. Click Refresh StorageUnit. After datastore information is refreshed, click Next. (CNA host disk space cannot be less than 140 GB. Otherwise, the datastores cannot be discovered.) Select Common mode (recommended) and click Next. Click Install VRM. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 18 After installation is complete, click Next to view the FusionCompute login information. Click Finish. After the data is cleared, click OK to exit the FusionCompute installation tool. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 19 Open your browser, enter the FusionCompute login address in the address box, and press Enter. In the displayed dialog box, click OK to accept the license agreement. Enter the username admin and the default password IaaS@PORTAL-CLOUD8! Then, click Log In. When the system prompts you to change the password, change the admin user's password to Huawei@1234. After the password is changed, the FusionCompute page is displayed. (No license is loaded to the system. Free trial expires in 90 days.) HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 20 2 Compute Resource Management 2.1 Exercise Introduction 2.1.1 Overview This section describes how to configure compute resources in a newly installed FusionCompute system. 2.1.2 Objectives On completion of this guide, you will be able to:  Understand clusters, hosts, and the relationship between hosts and clusters.  Describe the cluster operation process and configure a cluster policy.  Understand the host operations and related parameters. 2.1.3 Procedure 2.2 Cluster Management 2.2.1 Creating a Cluster Log in to FusionCompute. Click in the navigation pane to go to the Resource Pools page. Click Create Cluster. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 21 Set basic cluster parameters to those shown in the following figure and click Next. In the Basic Configuration pane, retain the default settings and click Next. In the Configure HA pane, retain the default settings and click Next. Click Confirm to complete cluster creation. 2.2.2 Adding a Host Choose Resource Pools > mycluster. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 22 Click Add Host. Set the parameters of the CNA02 host. (Set Name to CNA02 and IP Address to 192.168.201.102.) Click Next. In the displayed dialog box, confirm the information and click Confirm. In the navigation pane on the left, choose System > Tasks and Logs > Task Center to check whether the host is added successfully. Wait until the task progress reaches 100%. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 23 2.2.3 Moving a Host Choose Resource Pools > ManagementCluster > CNA01. Click More and choose Move. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 24 Select mycluster and click Confirm to move the CNA01 host to the mycluster cluster. Choose Resource Pools > mycluster. On the Host tab page, check that there are two hosts. 2.2.4 Deleting a Cluster Choose Resource Pools > ManagementCluster. Click More and choose Delete. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 25 In the displayed dialog box, click Confirm to delete the ManagementCluster. 2.2.5 Configuring Cluster Policies Choose Resource Pools > mycluster. Click the Configuration tab to view the cluster configuration. Click Edit in the upper right corner of the Configuration tab page. In the Control Cluster Resource pane, set Host Memory Overcommitment to Enabled. Click Confirm to close the Control Cluster Resource pane. On the Configuration tab page, view the cluster configuration after modification. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 26 HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 27 3 Storage Resource Management 3.1 Exercise Introduction 3.1.1 Overview This section describes how to configure storage resources in a newly installed FusionCompute system. Notice: This exercise is based on a nested virtualization environment. Therefore, the local hard disks of the two CNA hosts may have the same ID. Do not add another local disk of a storage resource as a data store of the resource. Otherwise, operations related to disk creation or data copy will fail. 3.1.2 Objectives On completion of this guide, you will be able to:  Understand the FusionCompute storage model.  Create storage network ports and understand related parameters.  Add universal IP-SAN storage.  Configure storage resources.  Create a disk and understand related parameters. 3.1.3 Procedure HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 28 3.2 Configuring Storage Ports 3.2.1 Changing the iSCSI Initiator WWN of a Host Choose Resource Pools > mycluster > CNA01. Click the Configuration tab. Click Modify in the Storage Adapter pane and change the WWN of CNA01 to iqn.201905.huawei.hcip:cna01. Make sure that iqn is correctly entered. Otherwise, IP SAN storage cannot be added. Repeat the preceding two steps to change the iSCSI initiator WWN of CNA02 to iqn.201905.huawei.hcip:cna02. Click to check whether the WWN is changed correctly. 3.2.2 Binding Ports Choose Resource Pools > mycluster > CNA01. Click the Configuration tab. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 29 Choose Network > Aggregation Port on the Configuration tab page, and click Add Network Port. In the displayed dialog box, select eth1 and click Confirm. Click to view the added physical network port. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 30 Repeat the preceding steps to bind a network port to CNA02. 3.2.3 Adding a Storage Port Choose Resource Pools > mycluster > CNA01. Click the Configuration tab. Choose Network > Logical Interface on the Configuration tab page. Click Add Storage Port. Select Mgnt_Aggr and click Next. Enter the storage port information of the CNA01 host, as shown in the following figure. (Set the storage port IP address of the CNA02 host to 192.168.202.102.) HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 31 Click Next. Confirm the information and click Confirm. Repeat the preceding steps to add a storage port to the CNA02 host. 3.3 Adding IP-SAN Storage 3.3.1 Adding Storage Resources Choose Resource Pools > Storage. Click the Storage Resources tab. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 32 Click Add Storage Resource. Enter the basic information, as shown in the following figure. Click Next. Confirm the information and click Confirm. View the storage resource created on the Storage Resources tab page. Click More in the row that contains the IP-SAN storage resource and choose Associate Host. In the Associate Host dialog box, select site and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 33 On the Storage Resources tab page, check that two hosts have been associated with the storage resource. 3.3.2 Scanning Storage Devices Choose Resource Pools > Storage. Click the Storage Device tab. Click Scan. In the displayed dialog box, select site and click Confirm to scan storage devices. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 34 Choose System > Tasks and Logs > Task Center to view the scan progress. Click the refresh icon in the upper right corner of the Task Center page to refresh the progress. After the storage devices are scanned successfully, choose Resource Pools > Storage and click Storage Device page to view the scanned storage devices. 3.3.3 Adding a Data Store Choose Resource Pools > Storage. Click the Data Store tab. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 35 Click Add Data Store. In the displayed dialog box, select IP SAN storage and click Next. Do not add a local disk as a data store. For details, see section 3.1.1. Set data storage parameters and click Next. In the displayed dialog box, click Confirm. Confirm the information and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 36 (This operation takes three to five minutes. You can view the progress in the task center.) View the newly added data store on the Data Store tab page. 3.4 Creating a Disk 3.4.1 Creating a Thin Provisioning Disk Choose Resource Pools > Storage. Click the Data Store tab. On the Data Store tab page, select IP-SAN. Click the Disk List tab. Click Create Disk. In the Create Disk dialog box, set the disk parameters. Set Name to disk01, Capacity(GB) to 10, Type to Non-shared, Configuration Mode to Thin provisioning, and Disk Mode to Dependent. Click Confirm to complete disk creation. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 37 HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 38 4 Network Resource Management 4.1 Exercise Introduction 4.1.1 Overview This section describes how to configure network resources in a newly installed FusionCompute system. 4.1.2 Objectives On completion of this guide, you will be able to:  Understand concepts related to distributed virtual switches (DVSs).  Create a DVS.  Understand the concept and creation method of port groups. 4.1.3 Procedure 4.2 DVS Management 4.2.1 Creating a DVS Choose Resource Pools > Network. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 39 Click Create DVS. In the Create DVS dialog box, set Name to physnet and Switch Type to Common, and retain the default values for other parameters. Click Next. Confirm the information and click Confirm. Choose Resource Pools > Network to view the DVS. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 40 4.2.2 Deleting a DVS Choose Resource Pools > Network. Click Delete in the Operation column of the DVS. In the displayed dialog box, click Confirm to delete the DVS. 4.2.3 Adding Uplinks Choose Resource Pools > Network. Select ManagementDVS and click Add on the Uplink Group tab page. In the displayed dialog box, expand CNA02, select Mgnt_Aggr, and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 41 On the Uplink Group tab page, view the newly added uplinks. 4.2.4 Adding a VLAN Pool Choose Resource Pools > Network. Select ManagementDVS and click Add on the VLAN Pool tab page. Set Start VLAN ID to 2 and End VLAN ID to 4094, and click Confirm. On the VLAN Pool tab page, view the newly added VLAN information. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 42 4.2.5 Adding a Port Group Choose Resource Pools > Network. Select ManagementDVS and click Add on the Port Group tab page. Set the port group name to Vlan202, retain the default values for other parameters, and click Next. Set VLAN to 202 and click Next. Confirm that all information is correct and click Confirm. Repeat Step 2 to Step 5 to create a port group for Vlan203 and set the VLAN of the port group to 203. On the Port Group tab page, view the port group information. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 43 5 VM Provisioning 5.1 Exercise Introduction 5.1.1 Overview This section describes how to create Windows and Linux VMs, install Tools, create templates, and import and export templates in the FusionCompute system. 5.1.2 Objectives On completion of this guide, you will be able to:  Create a VM.  Import a template and create a VM using the template.  Install Tools.  Create and export a template. 5.1.3 Procedure 5.2 Windows VM 5.2.1 Creating a VM Choose Resource Pools > mycluster. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 44 Click Create VM. In the Create VM dialog box, retain the default setting Create VM of the creation mode and click Next. Set Name to win10, Select VM Location to site, Set Compute Resource to mycluster, OS to Windows, and OS Version to Windows 10 Professional 64bit. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 45 Click Next, set the data store location to autoDS_CNA01, and click Next. Set parameters for the VM. Set CPU to 2, Memory to 4 GB, Disk 1 to 40 GB, expand the Disk area, set Configuration Mode to Thin Provisioning, and retain the default values for other parameters. Click Next. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 46 Confirm the information and click Confirm to complete the VM configuration. Choose Resource Pools > mycluster. On the VM tab page, view the VM status. Click the win10 VM name on the VM tab page to go to the VM management page. (The VM runs on the CNA01 host. The VM location may vary depending on the environment, which does not affect the exercise.) HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 47 Click Log In Using VNC to open the VM console. 5.2.2 (Optional) Installing the OS Choose Resource Pools > mycluster. Select the win10 VM. (The VM runs on the CNA01 host. The VM location may vary depending on the environment, which does not affect the exercise.) HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 48 Click the Configuration tab. In the navigation tree on the left, choose CD/DVD-ROM Drive. Set Mount CD-ROM Drive Type to Mount Local CD-ROM Drive and click Confirm. On the drive management page, select File(*.iso) and click Browse. In the displayed dialog box, select the local Windows 10 professional image file and click Open. Select Restart the VM now to install the OS, and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 49 After the CD/DVD-ROM drive is successfully mounted, open the VM VNC console and go to the OS installation page to complete the OS installation. (Do not close the CD/DVD-ROM drive management window before the installation is complete.) This step is used for experience the OS installation function. You do not need to install the OS actually. 5.2.3 Deleting a VM Choose Resource Pools > mycluster. Select the win10 VM. Click More and choose Safely Delete. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 50 In the Information dialog box, select Delete now and click Confirm to delete the win10 VM. 5.2.4 Importing a VM Template Choose Resource Pools > VM Template. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 51 Click Import Template. In the Create Template dialog box, select Import from Local PC and click Select next to Template Path. In the displayed dialog box, select the win10.ovf template and click Open. Confirm the information and click Next. Change the template name to win10, set Select Template Location to site, set Set Compute Resource to mycluster, and click Next. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 52 Set the data store to IP-SAN and click Next. Retain the default values of the hardware configuration parameters and click Next. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 53 Confirm the information and click Confirm. (This step takes some time. Please wait.) After the template is uploaded, check that the template is displayed on the VM Template page. 5.2.5 Deploying a VM Using a Template Choose Resource Pools > VM Template. On the VM Template page, select the win10 template, click Operation, and choose Deploy VM Using Template. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 54 Enter the VM name win10, retain the default values for other parameters, and click Next. Retain the default values of the VM configuration parameters and click Next. Deselect Generate Initial Password and then click Next. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 55 Confirm the information, select Start VM immediately after creation, and click OK. Choose Resource Pools > mycluster. On the VM tab page, view the newly created VM. Wait until the VM status changes to Running, and click the win10 VM to go to the VM management page. Click Log In Using VNC to open the VM console. Set the country, keyboard layout, network, account, password, and service parameters, and wait for initial system configuration to HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 56 complete. After the system configuration is complete, enter the username and password to log in to the VM. 5.2.6 Deleting a Template Choose Resource Pools > VM Template. On the VM Template page, select the win10 template, click Operation, and choose Safely Delete. In the Information dialog box, select Delete now and click Confirm to delete the template. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 57 5.2.7 Installing Tools Go to the win10 VM management page. Click More and choose Tools > Mount Tools. Click Log In Using VNC on the Summary page. In the VNC window of the VM, choose This PC, and double-click CD Drive. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 58 Right-click Setup and choose Run as administrator from the shortcut menu. In the User Account Control dialog box, click Yes. In the Tools installation dialog box, select I agree to the license terms and conditions and click Install. After the installation is complete, click Restart to restart the VM. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 59 After the VM is restarted, go to the Summary tab page on the win10 VM management page to view the Tools running status. Go to the win10 VM management page. Click More and choose Tools > Unmount Tools. In the displayed dialog box, click Confirm to unmount Tools from the VM. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 60 5.2.8 Creating a VM Template Open the VNC window of the win10 VM, click File Explorer on the taskbar of the VM. In the navigation tree, right-click This PC and choose Manage to open the Computer Management window. Choose Computer Management > System Tools > Local Users and Groups > Users. Right-click Administrator in the user list and choose Properties from the shortcut menu. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 61 On the General tab page, deselect Account is disabled and click OK. Close the Computer Management window, right-click the Start menu, and choose Shut down or sign out > Sign out. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 62 Click Ctrl+Alt+Del in the upper part of the VNC window, click Administrator in the lower left corner, and click Log In in the middle 批注 [B1]: 请确认界面词 of the desktop. Log in to the Windows system after the system initialization configuration. Choose Start > Windows System > Control Panel. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 63 Click User Accounts, Manage Accounts, Delete Account, huawei, Delete Account, and Delete Files in sequence. Click Delete Account to delete the huawei user and the user's files. Go to the C:\Windows\System32\Sysprep directory of the VM, right- click sysprep, and choose Run as administrator from the shortcut menu. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 64 In the System Preparation Tool dialog box, select Generalize, set Shutdown for Shutdown Options, and click OK. After the system is shut down, close the VNC window. Choose Resource Pools > mycluster. On the VM tab page, check that the win10 VM is stopped. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 65 Click the win10 VM to go to the VM management page. Click More, choose Template > Convert to Template. In the displayed dialog box, click Confirm. On FusionCompute, choose Resource Pools > VM Template > win10. Check that the win10 template is displayed. 5.2.9 (Optional) Exporting a Template Choose Resource Pools > VM Template. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 66 Select the win10 template, click Operation, and choose Export as Template. In the Export Template as Template dialog box, select Shared directory for Export Destination and click Next. Set Protocol to NFS, Folder to win10, Directory to 192.168.202.11:/share/nfs, and Format to ovf, and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 67 Choose Resource Pools > Tasks and Logs > Task Center to view the template export progress. You can click to refresh the progress. 批注 [B2]: 请替换为英文图 5.3 CentOS VM 5.3.1 Importing a VM Template Choose Resource Pools > VM Template. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 68 Click Import Template. In the Create Template dialog box, select Import from Local PC and click Select next to Template Path. In the displayed dialog box, select the CentOS.ovf template and click Open. Confirm the information and click Next. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 69 Change the template name to CentOS, set Set Compute Resource to mycluster, retain the default values for other parameters, and click Next. Set the data store to IP-SAN and click Next. In the Configure Template pane, set Configuration Mode to Thin provisioning, retain the default values for other parameters, and click Next. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 70 Confirm the information and click Confirm. After the template is uploaded, check that the template is displayed on the VM Template page. 5.3.2 Deploying a VM Using a Template On the VM Template page, select the CentOS template, click Operation, and choose Convert to VM. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 71 In the displayed dialog box, click Confirm. On the VM tab page of the Resource Pools page, check that the CentOS VM is stopped. Click the CentOS VM. On the CentOS VM management page, click Start. In the displayed dialog box, click Confirm to start the VM. On the CentOS VM management page, click Log In Using VNC. In the VNC window, enter the username root and password Huawei@1234 to log in to the VM. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 72 5.3.3 Installing Tools On the CentOS VM management page, click More and choose Tools > Mount Tools. In the displayed dialog box, click Confirm to mount Tools to the VM. Open the VNC window of the CentOS VM and run the following command to mount an ISO file: mount /dev/sr0 /mnt Go to the /mnt directory and run the following commands to install Tools: # Go to the /mnt directory. cd /mnt # View the files in the Tools CD-ROM. ls # Decompress the Tools software to the /root directory. tar -jxvf /mnt/vmtools-2.5.0.150.tar.bz2 -C /root # Install Tools. sh /root/vmtools/install # If the following information is displayed, Tools installation has been successful. Enter reboot to restart the VM. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 73 After the VM is restarted, go back to the Summary tab page of the CentOS management page. Check that the Tools running status is Running. Click More and choose Tools > Unmount Tools to unmount Tools from the VM. 5.3.4 Creating a Linux Template Open the CentOS VNC window, and enter the username root and password Huawei@1234 to log in to the CentOS system. Run the following commands to clear the CentOS environment: # Delete the system NIC file. rm -f /etc/udev/rules.d/70-n* # Delete the UUID hardware ID from the NIC configuration file. sed -i -e '/HWADDR/d' -e '/UUID/d' /etc/sysconfig/network-scripts/ifcfg-eth* # Clear logs. rm -rf /var/log/* Run the following command to shut down the CentOS system: init 0 Close the VNC window after the CentOS system is shut down. On the CentOS VM management page, click More and choose Template > Convert to Template to convert the CentOS VM to a template. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 74 HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 75 6 VM Management 6.1 Exercise Introduction 6.1.1 Overview This exercise instructs how to manage VMs on FusionCompute, including adjusting flavors, configuring permissions, creating snapshots, live migrating VMs, configuring security groups, and configuring HA. 6.1.2 Objectives On completion of this guide, you will be able to:  Adjust Windows and Linux VM flavors and understand precautions on these operations.  Configure VM object permissions.  Migrate VMs.  Configure rule groups.  Configure security groups.  Understand how and why to configure HA. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 76 6.1.3 Procedure 6.2 VM Parameter Modification 6.2.1 Deploying a VM Using a Template Use the win10 template created in section 5.2 to deploy a Windows 10 VM named win10_1, set the disk configuration mode to Thin provisioning, deselect Generate initial password, select Start VM immediately after creation on the summary page, and retain the default settings for other parameters. Log in to the win10_1 VM using VNC, configure system parameters, and log in to the VM desktop. Use the CentOS template created in section 5.3 to deploy a CentOS VM. Name the VM CentOS, set the disk configuration mode to Thin provisioning, deselect Generate Initial Password, select Start VM immediately after creation on the summary page, and retain the default settings for other parameters. 6.2.2 Configuring the VM Network On the win10_1 VM management page of FusionCompute, click the Configuration tab. Choose NIC in the navigation tree on the left. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 77 Click Modify Port Group. In the displayed dialog box, click Confirm. Change the port group name to Vlan202 and click Confirm. Open the VNC window of the win10_1 VM. Right-click the network icon in the lower right corner and choose Open Network & internet Settings from the shortcut menu. Choose Ethernet and click Change adapter options. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 78 Right-click Ethernet and choose Properties from the shortcut menu. Double-click Internet Protocol Version 4 (TCP/IPv4). HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 79 Click Use the following IP address, set the IP address of win10_1 to 192.168.202.151, subnet mask to 255.255.255.0, and default gateway to 192.168.202.254. Click OK. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 80 Click OK to close the Ethernet Attributes dialog box. In the Networks dialog box, click No to close the dialog box. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 81 Enter cmd in the search box on the taskbar to open the CLI window. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 82 Run ping 192.168.202.254 to test the network connectivity. If the following figure is displayed, the network connectivity is normal. 6.2.3 Hot-Adding CPUs to a VM (The Windows 10 system does not support hot-add. The CentOS is used as an example here.) HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 83 Choose Resource Pools > mycluster. Select the CentOS VM. On the CentOS VM management page, click the Summary tab to view the current CPU quantity of the VM. Open the VNC console and log in to the CentOS system as the root user (password: Huawei@1234). Run the following command to view the current CPU information: lscpu | grep CPU # The command output shows that the number of CPUs is 2. Click the Configuration tab, choose CPU, set Number of Cores to 4, and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 84 Click the Summary tab to view the CPU information after modification. Open the VNC console and run the following command to view the CPU information: lscpu | grep CPU # The command output shows that the number of CPUs has changed to 4. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 85 6.2.4 Hot-Adding Memory to a VM Choose Resource Pools > mycluster. Select the win10_1 VM. On the win10_1 VM management page, click the Summary tab to view the memory specifications of the VM. Open the VNC window of the win10_1 VM, right-click the blank area in the task bar, and choose Task Manager. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 86 In the Task Manager window, click More details in the lower left corner. In the displayed window, click the Performance page and choose Memory to view the current memory specifications. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 87 Go back to the win10_1 VM management page, choose Configuration > Memory, set Memory to 6 GB, and click Confirm. Click the Summary tab. Check that the VM memory size has changed to 6144 MB. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 88 Open the VNC window of the VM. On the Performance tab page of the Task Manager window, check that the memory size has changed to 6 GB. 6.2.5 Expanding the VM Disk Capacity Choose Resource Pools > mycluster. Select the win10_1 VM. On the win10_1 VM management page, click the Summary tab to view the hard disk specifications of the VM. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 89 On the Configuration tab page, choose Hardware > Disk. Click Adjust Capacity in the row that contains the disk. In the displayed dialog box, set Capacity (GB) to 60 and click Save. After the task is complete, check that the disk capacity changes to 60 GB on the disk management page. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 90 6.2.6 Adding a VM NIC In the navigation tree on the left of FusionCompute, select the VM to be operated (for example, win10_1), click the Configuration tab, choose Hardware > NIC, and click Add NIC. Set Port Group to managePortgroup, retain the default values for other parameters, and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 91 View NIC information of the VM on the NIC management page. On the VM, choose Control Panel > Network and Internet > Network and Sharing Center > Change Network Adapter. You can see two NICs. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 92 6.3 VM Storage Adjustment 6.3.1 Adding a Common Disk In the navigation tree on the left of FusionCompute, choose the win10_1 VM, click the Configuration tab, choose Hardware > Disk, and click Attach Disk. Select the disk01 disk created in section 3.4.1 and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 93 On the VM disk management page, check that the disk is attached to the VM. Log in to the VM using VNC, open the Computer Management window of the VM, and choose Storage > Disk Management. A 10- GB disk can be viewed. (If a dialog box is displayed, click OK to set the disk partition type to MBR. If no dialog box is displayed, right-click Disk 1, choose Initialize Disk, and click OK.) HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 94 Right-click the blank area under the black stripe of the disk and choose New Simple Volume from the shortcut menu. Click Next four times and then click Finish. In the Disk Management window, check that Disk 1 is partitioned, formatted, and assigned with a drive letter. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 95 Right-click the blank area under the blue stripe of Disk 1 and choose Open from the shortcut menu. Create a.txt file named huawei in the disk. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 96 6.3.2 Verifying a Non-persistent Disk On FusionCompute, choose Storage > IP-SAN > Disk List and click Create Disk. Set Name to disk02 and Capacity(GB) to 10, Type to Non-shared, Configuration Mode to Thin provisioning, and Disk Mode to Independent & nonpersistent. Click Confirm. Choose Resource Pools > mycluster. Select the win10_1 VM. Click the Configuration tab. In the navigation pane, choose Hardware > Disk. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 97 On the win10_1 VM disk management page, click Attach Disk to attach the disk02 disk created in the previous step to the win10_1 VM. Write a new file huawei.txt by referring to Step 4 to Step 8 in section 6.3.1. Right-click on the Start button on the VM and choose Shut down or sign out > Shut down to shut down the VM. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 98 On the VM management page, click Start to start the VM. After the VM is started, log in to the VM using VNC as the Administrator user, and go to the Disk Management page again to view the disk information. Check that Disk 2 is in the Unallocated state, and Disk 1 is in the Healthy state. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 99 6.3.3 Deleting Disks On the win10_1 VM disk management page, click Detach in the row that contains disk01. Choose Resource Pools > Storage > IP-SAN > Disk List. Locate the row that contains disk01, click More, and choose Safely Delete to delete disk files. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 100 6.3.4 Adjusting the Disk Type On the win10_1 VM management page, click Stop. In the displayed dialog box, click Confirm to stop the VM. On the win10_1 VM disk management page, click Edit in the row that contains disk02. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 101 Set Disk Mode to Independent & persistent, and click Confirm. In this case, the VM has two disks. The first disk is a subordinate disk, and the second disk is an independent persistent disk. On the win10_1 VM management page, click Start. In the displayed dialog box, click Confirm to start the win10_1 VM. Write a new file huawei.txt by referring to Step 4 to Step 8 in section 6.3.1. 6.4 Configuring VM Object Permissions In the navigation tree on the left of FusionCompute, choose the win10_1 VM, click the Configuration tab, choose Management > Options, and click Setting in the row that contains Permissions. In the Permissions dialog box, select the permissions to be disabled, for example, Delete VM, and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 102 On the VM management page, check that the Delete button and the Safely Delete option under More are unavailable. 6.5 VM Snapshot Management 6.5.1 Creating a Snapshot Log in to the win10_1 VM using VNC and create the huawei.txt file in the root directory of drive C of the VM. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 103 On the Snapshot tab page of the VM, click Create Snapshot. Enter 01 in the Snapshot Name text box, enter C disk mode is dependent, E disk mode is independent in the Description text box, retain the default values for other parameters, and click Confirm. In the displayed dialog box, click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 104 After about one minute, check that snapshot 01 is displayed on the Snapshot tab page. 6.5.2 Rolling Back a Snapshot Log in to the VM using VNC and create the hcip.txt file on drives C and E of the VM. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 105 On the Snapshot tab page of the VM, click Resume VM. In the Warning dialog box, click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 106 Choose System > Tasks and Logs > Task Center to view the task progress. Refresh the page. After the snapshot is rolled back, log in to the VM using VNC. Go to drives C and E of the VM and check the huawei.txt and hcip.txt files created in the preceding steps. Check that only huawei.txt is available in drive C and the two files are available in drive E. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 107 6.5.3 Deleting a Snapshot On the snapshot management page of the win10_1 VM, select the 01 snapshot and click Delete. In the displayed dialog box, click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 108 After the snapshot is deleted, check that no snapshot is displayed on the snapshot management page. 6.6 VM Live Migration Log in to the VM using VNC and choose Start > Windows System > Control Panel > System and Security > Windows Defender Firewall > Turn Windows Firewall on or off. On the Customize Settings page, select Turn off Windows Defender Firewall (recommended) in the Private network settings and Public network settings areas. Click OK to save the settings. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 109 On the computer of the lab platform, press Windows+R to open the run window. In the run window, enter cmd to open the cmd window. Run the ping 192.168.202.151 -t command to test the network connectivity of the win10_1 VM. (Do not close this window.) On the win10_1 VM management page, view the host (CNA02 in this example) where the win10_1 VM is located and click Migrate. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 110 In the displayed dialog box, set Select Migration Mode to Change Host and click Next. Expand the mycluster cluster, click the remaining CNA host, and click Next. (The CNA host may vary according to the lab environment. The following uses CNA01 as an example.) HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 111 Confirm that all information is correct and click Confirm. During the migration, you can open the cmd window in step 2 to check the status of the ping operation. Choose System > Tasks and Logs > Task Center to view the task progress. Click to refresh the progress. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 112 After the migration is complete, go to the win10_1 VM Management, and check that the VM belongs to CNA01. 6.7 VM Rule Group 6.7.1 Deploying a Second VM Choose Resource Pools > VM Template. Click win10, and click Deploy VM Using Template. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 113 Set Name to win10_2, select CNA01 for Set Compute Resource, and click Next. Set NIC 1 to Vlan203, retain the default settings for other parameters, and click Next. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 114 Deselect Generate initial password and then click Next. Select Start VM immediately after creation and click Confirm. Log in to the win10_2 VM using VNC, configure initial parameters, and log in to the system desktop. 6.7.2 Verifying the "Mutually exclusive VM" Rule Group Choose Resource Pools > mycluster > CNA01. On the VM tab page, view the VMs running on CNA01. Choose Resource Pools and click mycluster. Click the Configuration tab. Choose Configuration > Control Cluster Resource. Click Edit. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 115 In the navigation pane, choose Configure Resource Scheduling. In the right pane, set Enable Compute Resource Scheduling to On. Choose Resource Pools and click mycluster. Click the Configuration tab. Choose DRS Rule > Rule Group. Click Add. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 116 Set Name to Mutually exclusive and Type to Keep VM mutually exclusive. Select win10_1 and win10_2, and click Confirm. Choose System > Tasks and Logs > Task Center to check that a VM migration task is running. Click Refresh to refresh the progress. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 117 After the migration is complete, choose Resource Pools > mycluster > CNA01. On the VM tab page, check that only the win10 VM is running on CNA01. Check that the migrated VM is running on CNA02. Choose Resource Pools and click mycluster. Click the Configuration tab. Choose DRS Rule > Rule Group. Click Delete in the Operation column of the row that contains Mutually exclusive. In the displayed dialog box, click Confirm to delete the Mutually exclusive rule group. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 118 6.7.3 Verifying the "Keep VMs together" Rule Group Choose Resource Pools and click mycluster. Click the Configuration tab. Choose DRS Rule > Rule Group. Click Add. Set Name to together and Type to Keep VMs together. Select win10_1 and win10_2, and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 119 Choose System > Tasks and Logs > Task Center to check that a VM migration task is running. Click Refresh to refresh the progress. After the migration is complete, you can see two win10 VMs on the VM tab page of CNA01 or CNA02, indicating that the two VMs are running on the same host. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 120 Choose Resource Pools and click mycluster. Click the Configuration tab. Choose DRS Rule > Rule Group. Click Delete in the Operation column of the row that contains together. In the displayed dialog box, click Confirm to delete the together rule group. 6.7.4 Verifying the "VMs to hosts" Rule Group Choose Resource Pools and click mycluster. Click the Configuration tab. Choose DRS Rule > Host Group. Click Add. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 121 Enter hostgroup01 in the Name text box, select CNA01, and click Confirm. (The selected host is the same as the host where the two Windows 10 VMs are located in step 4 of section 6.7.3.) Choose Resource Pools and click mycluster. Click the Configuration tab. Choose DRS Rule > VM Group. Click Add. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 122 Enter vmgroup01 in the Name text box, select win10_1, and click Confirm. Choose Resource Pools and click mycluster. Click the Configuration tab. Choose DRS Rule > Rule Group. Click Add. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 123 Set Name to v2h, Type to VMs to hosts, and Rule to Should not run on host group. Select vmgroup01 and hostgroup01, and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 124 Choose System > Tasks and Logs > Task Center to check that a VM migration task is running. Click Refresh to refresh the progress. Check that the migrated VM is running on CNA02. Choose Resource Pools and click mycluster. Click the Configuration tab. Choose DRS Rule > Rule Group. Click Delete in the Operation column of the row that contains v2h. In the displayed dialog box, click Confirm to delete the v2h rule group. 6.8 Security Group Open the cmd window on the computer of the lab platform. Ping the IP address of win10_1 (192.168.202.151). Check that it can be pinged. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 125 Choose Resource Pools > Security Group. Click Add Security Group. Enter the security group name sec01 and click Add Rule. Set Protocol to ICMP, Type to IP Address Range, Start IP Address and End IP Address to 192.168.202.151, and ICMP Type to Echo reply. This setting does not allow ping operations. Click Confirm. In the Add Security Group dialog box, click OK. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 126 After the security group is created, view information about the security group on the Security Group page. Return to the win10_1 VM management page and click Stop to stop the VM. After the VM is stopped, click the Configuration tab, and choose Hardware > NIC. Locate the row that contains the Vlan202 network NIC, click More and choose Configure Security Group. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 127 Set Enable Security Group to On, click Select, select the sec01 security group, and click OK. In the Configure Security Group dialog box, click Confirm. Click Start to start the win10_1 VM. After the VM is completely started, open the cmd window on the computer of the lab platform. Ping 192.168.202.151. Check that the IP address cannot be pinged. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 128 On the Configuration tab page of win10_1, choose Hardware > NIC. Locate the row that contains the Vlan202 network NIC, click More and choose Configure Security Group. Click × to delete the existing security group configuration, and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 129 Open the cmd window again and ping 192.168.202.151. Check that the IP address can be pinged. 6.9 VM HA Check the VMs on CNA02. As shown in the following figure, the win10_1 VM exists on CNA02. (The win10_1 VM may run on CNA01. This section uses the win10_1 VM on CNA02 as an example.) Choose Resource Pools and click mycluster. Click the Configuration tab. Choose Configuration > Control Cluster Resource. Click Edit. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 130 In the Control Cluster Resource dialog box, choose Configure HA in the navigation pane. Set Enabled to On to enable the HA function, set Host Fault Policies to On, and set Host Fault Policy to HA. Click the Cluster Fault Control tab, and set Enabled to On to enable this function. Set Number of Hosts That Allow VM HA to 5, and click Confirm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 131 Use PuTTY to log in to 192.168.201.11 in SSH mode. The username is huawei and the password is Huawei@123. Run the following command to stop the CNA02 node: sudo virsh destroy CNA02 # If the system prompts you to enter the password of the huawei user, enter Huawei@123. Information similar to the following is displayed. Choose Resource Pools > mycluster. On the Host tab page, check that the CNA02 host is in Faulty state. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 132 Go to Task Center to view the VM HA task. Choose Resource Pools, and choose mycluster > CNA01. Click the VM tab. On the VM page, check that the win10_1 VM is on the CNA01 host. Return to the PuTTY login page and run the following command to restore the VMs on CNA02: sudo virsh start CNA02 # If the system prompts you to enter the password of the huawei user, enter Huawei@123. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 133 7 Common O&M 7.1 Exercise Introduction 7.1.1 Overview This section describes how to manage the FusionCompute system, including backing up management data, loading license files, viewing alarms, configuring the system clock, and managing system permissions. On completion of this exercise, you will be able to perform the basic O&M operations on FusionCompute. 7.1.2 Objectives On completion of this guide, you will be able to:  Back up management data.  View the system ESN and load a license file.  Manage system alarms.  Configure the system clock.  Configure the system permissions. 7.1.3 Procedure HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 134 7.2 Backing Up Management Data Choose System > System Configuration > Services and Management Nodes > Back Up Management Data. Click More in the Operation column and choose Configure Management Data Backup. Select Back up to a 3rd-party FTP server or local VRM node. Set Protocol Type to FTP, IP Address to 192.168.201.11, Username to ftpuser, Password to Huawei@1234, and Backup Path to /data/. Click OK. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 135 Check whether the configuration is successful. If the following dialog box is displayed in the lower left corner, the configuration is successful. 批注 [B3]: 请替换为英文图 Click More in the Operation column and choose Back Up Management Data. In the displayed dialog box, click Confirm to back up management data immediately. Open the file manager on the PC, enter ftp://192.168.201.11 in the address box, and then press Enter. Enter the username ftpuser and password Huawei@1234 to log in to the FTP server. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 136 Go to the /data directory. You can view the manual folder, which contains the management data that has been backed up. 7.3 Viewing the System ESN The system has only a 90-day trial period because no license file is loaded. The system ESN is required for loading the license. This section only describes how to view the system ESN. For a commercial version, load the license. Choose System > System Configuration > License Management. Click Load License File. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 137 In the Load License File dialog box, select Independent license and click Obtain ESN. The ESN is displayed. Click Cancel to close the current dialog box. If a license file is available, click Select, select the license file, and click OK to load the commercial license. 7.4 Alarm Management Choose Monitoring > Alarm > Alarms to view current alarms. The alarms in dark color indicate the current alarms, and the alarm items in light color indicate the cleared alarms. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 138 Click an alarm ID. A new page is displayed, showing the alarm description and handling procedure. Click Clear in the Operation column of the License File Is Not Loaded alarm. In the displayed dialog box, click OK to manually clear the alarm. In the cleared alarms, locate the alarm named "License File Is Not Loaded", click More and choose Mask This Alarm for Current Object. In the displayed dialog box, click OK to mask the alarm. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 139 Choose Monitoring > Alarm > Alarm Dump, and configure alarm dump parameters. Set the FTP configuration parameters to the same values as those in step 2 in section 7.2. After setting the parameters, click Test. If a message is displayed indicating that the test is successful, the parameter settings are correct. Click Add, and then click OK in the displayed dialog box. If the configuration is successful, the page shown in the following figure is displayed. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 140 7.5 System Clock Configuration In a commercial environment, the system clocks must be consistent. Therefore, an NTP network clock must be configured. This section uses CNA01 as the NTP server to demonstrate how to configure the time. Choose System > System Configuration > Time Management. Set NTP to On, enter the IP address of the CNA01 node where VRM is located, and click Save. In the displayed dialog box, click OK. Wait until the system configuration is complete. If necessary, you can click Forcibly Synchronize Time to synchronize the time again. The system will stop for 1-2 minutes. Refresh the page until you can log in to FusionCompute. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 141 7.6 Rights Management 7.6.1 Role Management Choose System > Rights Management > Role Management. On the Role Management page, view the rights list in the right pane (all rights related to system operations are listed). Click Add Role. In the displayed dialog box, set Role Name to vmmanager, select VM Management for Permission, and click OK. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 142 7.6.2 User Management Choose System > Rights Management > User Management. Click Add User. In the Add User dialog box, set User Type to Local user, Username to huawei, Password to Huawei12#$, and Role to vmmanager, set other parameters as required, and click OK. Log out of the current user and log in to the system as the huawei user. Change the password upon the first login. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 143 7.6.3 Password Policy Management Log in to the system as the admin user and choose System > Rights Management > Password Policy. On the Password Policy page, view the password policy configuration of the system. Click Modify in the lower left corner of the page. Set the parameters as follows: Account lockout duration (min) to 0, Number of previous passwords that cannot be repeated to 3, Password expiry alert (days) to 0, Password validity period (days) to 0, and Account lockout threshold to 0. Click Save. HCIP-Cloud Computing V4.0 Lab Guide (FusionCompute) Page 144 Huawei Cloud Certification Training HCIP-Cloud Computing V4.0 Lab Guide (FusionAccess) HUAWEI TECHNOLOGIES CO., LTD. 1 Copyright © Huawei Technologies Co., Ltd. 2019. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd. Trademarks and Permissions and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd. All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information, and recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or implied. The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute a warranty of any kind, express or implied. Huawei Technologies Co., Ltd. Address: Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://e.huawei.com Huawei Prorietary and Confidential Copyright © Huawei Technologies Co,Ltd HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 1 Huawei Certification System The Huawei certification system is based on the Huawei's years of experience in talent cultivation and its deep understanding of industry development. In the spirit of Huawei's platform-ecosystem integration strategy and cloud-pipe-device coordinated architecture, Huawei has established this certification system consisting of architecture certification, developer certification, and industry certification. It is the industry's only certification system to cover all technology fields. Huawei offers three levels of technical certification: associate, professional, and expert. This system promotes ICT convergence and provides a leading personnel training system and certification standards, cultivating new ICT talents in the digital era, and building a sound ICT personnel ecosystem. Huawei Certified ICT Professional-Cloud Computing (HCIP-Cloud Computing) is mainly designed for frontline engineers from Huawei and representative offices, and other technical personnel who wish to study Huawei cloud computing products. HCIP-Cloud Computing certification Huawei cloud computing basics, protocols, networking, features, troubleshooting, and related configurations of Huawei cloud computing products FusionCompute and FusionAccess as well as advanced cloud computing technologies. The HCIP-Cloud Computing certification system introduces the industry, fosters innovation, and imparts cutting-edge cloud computing knowledge. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 2 HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 3 About This Document Overview This document is a training course guide for HCIP-Cloud Computing V4.0 certification. It is intended for trainees who preparing to take the HCIP-Cloud Computing V4.0 exam and readers who want to learn more about FusionAccess including its deployment solution, components, maintenance, and troubleshooting. Description This document contains three exercises, from creation of FusionAccess bare VMs to desktop component installation, service provisioning, and desktop O&M.  Exercise 1 is FusionAccess desktop component installation, where you need to create bare VMs on FusionCompute, install and configure an operating system (OS) on each of these VMs, install components on these VMs, and establish a FusionAccess environment that can be accessed through a web browser. This exercise helps you understand the logical networking, component functions, and installation process of the FusionAccess desktop solution.  Exercise 2 is FusionAccess desktop service provisioning, where you need to create VM users on the AD/DNS/DHCP server, create VM templates on FusionCompute (templates are encapsulated on VMs using a Huawei dedicated tool), configure the templates, VM naming rules, and desktop groups on FusionAccess, and provision full copy and linked clone cloud desktops. Then, log in to the vAG server through SC, use the HDP protocol to connect to a provisioned cloud desktop, and use the desktop. These steps help you understand the desktop provisioning process, understand the HDP protocol, and distinguish between full copy and linked clone cloud desktops.  Exercise 3 is FusionAccess desktop O&M, where common O&M scenarios are used to help you understand the FusionAccess desktop maintenance and troubleshooting processes. The O&M exercise consists of the following: 1. During daily use, adjust user VM services, for example, modifying VM specifications, adding VM users, adding VMs, upgrading a common desktop into a VIP desktop, unassigning a VM, and restoring VM assignment. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 4 2. If a FusionAccess is faulty, users can use the self-service maintenance gateway (vAG) to rectify the fault. 3. FusionAccess also provides a wide range of management policies. In this document, a file redirection policy is configured to control file transfer between a client and a virtual desktop, and a clipboard redirection policy is configured to copy clipboard contents (such as text and images) between a client and a virtual desktop. 4. The FusionAccess underlying hardware sometimes needs to be shut down for repair. In this case, you need to migrate a virtual desktop to another host. 5. When a user is using a virtual desktop, a FusionAccess administrator can send system messages to the virtual desktop to notify the user of information. 6. Reclaim a user desktop that is no longer needed. Lab Environment Overview Scenario Introduction A training organization wants to use the Huawei FusionAccess desktop solution. The needs are as follows:  Some desktops are provided for trainers, and some are provided for trainees in the training classroom.  The computers in the training classroom restore to the initial state each time they are shut down.  Desktops must be reliable enough to support the large number of users.  Dedicated personnel are assigned to maintain desktops. If a desktop fault occurs, they can perform temporary troubleshooting. Exercise Design Based on the desktop cloud application scenario, the design roadmap is as follows: 1. Provide full copy desktops for the trainers. 2. Provide linked clone desktops for trainees in the training classroom. During the desktop configuration, set Desktop group type to Dynamic pool, and select Support System Restoration next to Desktop group VM action. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 5 3. To improve system reliability while keeping the system resource usage at a proper level, deploy two ITA/GaussDB/HDC/WI/License nodes in active/standby mode, one AD/DNS/DHCP node, and one vAG/vLB node. The vLB balances loads when multiple users attempt to log in to a WI, preventing all users from logging in to the same WI at the same time. 4. If a user VM is faulty, the personnel responsible for desktop maintenance can log in to the VM through the self-service maintenance gateway (vAG) to perform self-service maintenance. Networking Introduction Figure 1-1 FusionAccess desktop topology Administrator User VM User data OS ITA&GaussDB&HDC&WI&License CNA01 CNA02 FusionCompute User vAG&vLB terminal ITA&GaussDB&HDC&WI Storage resource pool AD&DNS&DHCP Software and Tools This exercise involves the installation and use of FusionCompute R6.5. The following table lists the software to be used. Software Function ADDNSDHCP_Template.ovf AD/DNS/DHCP server template FusionAccess_Euler_Installer_V100R00 FusionAccess installation package (Linux OS 6C20SPC100.iso component installation software) FusionAccess_Windows_Installer_V10 FusionAccess installation package (Windows HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 6 Software Function 0R006C20SPC100.iso OS component installation software) cn_windows_10_multiple_editions_x8 Image file used to create virtual desktops 6_dvd_6846431.iso (You can prepare a specific Windows 10 image version that meets actual needs.) PuTTY Used for logging in to Linux through SSH VM Specifications VM Name VM Specification NIC FA-ADDNSDHCP 4-core, 4 GB memory, Network interface card (NIC) 1: service 50 GB system disk, port group, for example, and 20 GB data FA_Service_Portgroup backup disk NIC 2: management port group, for example, Management_Portgroup FA-ITADBHDCWILI 4-core, 12 GB NIC 1: service port group, for example, memory, and 40 GB FA_Service_Portgroup system disk NIC 2: management port group, for example, Management_Portgroup FA-ITADBHDCWI 4-core, 12 GB NIC 1: service port group, for example, memory, and 40 GB FA_Service_Portgroup system disk NIC 2: management port group, for example, Management_Portgroup FA-vAGvLB 4-core, 4 GB memory, NIC 1: service port group, for example, and 30 GB system disk FA_Service_Portgroup NIC 2: management port group, for example, Management_Portgroup HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 7 VM IP Address and VLAN Planning VM Name NIC IP Address VLAN Gateway FA-ADDNSDHCP FA_Service_Portgr 192.168.203.32/ 203 192.168.203.254 oup 24 Management_Por 192.168.201.32/ 201 192.168.201.254 tgroup 24 FA-ITADBHDCWI FA_Service_Portgr 192.168.203.34/ 203 192.168.203.254 LI (active server) oup 24 192.168.203.33/ 24 (floating IP address) Management_Por 192.168.201.34/ 201 192.168.201.254 tgroup 24 FA-ITADBHDCWI FA_Service_Portgr 192.168.203.35/ 203 192.168.203.254 (standby server) oup 24 Management_Por 192.168.201.35/ 201 192.168.201.254 tgroup 24 FA-vAGvLB FA_Service_Portgr 192.168.203.31/ 203 192.168.203.254 oup 24 Management_Por 192.168.201.31/ 201 192.168.201.254 tgroup 24 HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 8 Contents About This Document........................................................................................................... 3 1 Exercise of FusionAccess Desktop Component Installation.............................................. 10 1.1 Introduction...................................................................................................................................................... 10 1.1.1 About This Exercise.............................................................................................................................. 10 1.1.2 Objectives................................................................................................................................................ 10 1.1.3 Exercise Process..................................................................................................................................... 10 1.2 Tasks.................................................................................................................................................................... 11 1.2.1 Importing the AD/DNS/DHCP Server Template........................................................................ 11 1.2.2 Creating Bare VMs................................................................................................................................ 15 1.2.3 Configuring Bare VMs......................................................................................................................... 33 1.2.4 Installing an OS on Each Bare VM.................................................................................................. 36 1.2.5 Installing FusionAccess Components............................................................................................ 47 1.2.6 Completing Initial Configuration of FusionAccess.................................................................... 59 2 Exercise of FusionAccess Desktop Service Provisioning.................................................... 66 2.1 Introduction...................................................................................................................................................... 66 2.1.1 About This Exercise.............................................................................................................................. 66 2.1.2 Objectives................................................................................................................................................ 66 2.1.3 Exercise Process..................................................................................................................................... 67 2.2 Tasks.................................................................................................................................................................... 67 2.2.1 Creating VM Users............................................................................................................................... 67 2.2.2 Creating VM Templates...................................................................................................................... 75 2.2.3 Provisioning a Desktop.................................................................................................................... 130 2.2.4 Logging in to a Desktop Using SC............................................................................................... 153 3 Exercise of FusionAccess Desktop O&M and Management............................................ 156 3.1 Introduction................................................................................................................................................... 156 3.1.1 About This Exercise........................................................................................................................... 156 3.1.2 Objectives............................................................................................................................................. 156 3.1.3 Exercise Process.................................................................................................................................. 157 3.2 Tasks................................................................................................................................................................. 157 HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 9 3.2.1 Virtual Desktop Service Adjustment........................................................................................... 157 3.2.2 Self-Service Maintenance............................................................................................................... 184 3.2.3 Policy Management.......................................................................................................................... 192 3.2.4 System Message Sending............................................................................................................... 201 3.2.5 User Desktop Reclaiming................................................................................................................ 204 HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 10 1 Exercise of FusionAccess Desktop Component Installation 1.1 Introduction 1.1.1 About This Exercise This section describes how to:  Create and configure Linux infrastructure bare VMs.  Install the ITA/GaussDB/HDC/WI/License components and the vAG/vLB components on the corresponding VMs.  Configure data to log in to FusionAccess through a web browser.  Complete initial configurations such as enabling FusionAccess to interwork with FusionCompute and given AD/DNS/DHCP servers. 1.1.2 Objectives  To understand the functions of ITA, GaussDB, HDC, WI, and License components  To understand the functions of the vAG and VLB components  To have a good command of the process for installing and configuring each component  To have a good command of the process for initial configuration of FusionAccess components  To have a good command of how to configure parameters for interworking between FusionAccess and FusionCompute  To have a good command of how to configure parameters for interworking between FusionAccess and AD/DNS/DHCP servers 1.1.3 Exercise Process Import the Install an Complete initial Prepare Create Configure AD/DNS/DHCP OS on each configuration of software. bare VMs. bare VMs. server template. VM. FusionAccess. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 11 1.2 Tasks 1.2.1 Importing the AD/DNS/DHCP Server Template Step 1 Log in to the FusionCompute portal, right-click Resource Pools and choose Import > Import Template from the shortcut menu. The Create Template window is displayed. Step 2 Select Import from Local PC, set Template Path to the path where the AD/DNS/DHCP server template (ovf template file) resides, and click Next. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 12 Step 3 Set Name to FA-ADDNSDHCP, Select Template Location to site, and Set Compute Resource to mycluster, and click Next. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 13 Step 4 Select the data store named autoDS_CNA01 and click Next. Step 5 Retain the default template configuration and click Next. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 14 Step 6 Verify information and click Confirm to complete the creation of the FA-ADDNSDHCP VM. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 15 ----End 1.2.2 Creating Bare VMs 1.2.2.1 Creating ITA/GaussDB/HDC/WI/License Bare VMs Step 1 Log in to FusionCompute. Step 2 On the home page, choose Common Operations > Create VM. The Create VM window is displayed. Step 3 On the Select Creation Mode page, click Next. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 16 Step 4 On the Basic Information page, change Name to FA-ITADBHDCWILI. Click Select in the row of Set Compute Resource, select CNA01 under mycluster, and click Confirm. Set OS to Linux, set OS Version to EulerOS 2.3 64bit, and click Next. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 17 Step 5 On the Select Data Store page, select autoDS_CNA01 and click Next. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 18 Step 6 On the Configure VM page, set VM hardware information and options as planned and click Next.  CPU: 4  Memory: 12 GB  Disk 1: 40 GB with Configuration Mode set to Thin provisioning  NIC 1: Select the service port group, for example, FA_Service_Portgroup.  NIC 2 (you need to add a device as shown in the following figure): Select the management port group, for example, managePortgroup. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 19 HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 20 Step 7 On the Confirm Info page, select Start VM immediately after creation and click Confirm. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 21 The VM page is displayed. ----End 1.2.2.2 Creating ITA/GaussDB/HDC/WI Bare VMs Step 1 Log in to FusionCompute. Step 2 On the home page, choose Common Operations > Create VM. The Create VM window is displayed. Step 3 On the Select Creation Mode page, click Next. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 22 Step 4 On the Basic Information page, change Name to FA-ITADBHDCWI. Click Select in the row of Set Compute Resource, select CNA02 under mycluster, and click Confirm. Set OS to Linux, set OS Version to EulerOS 2.3 64bit, and click Next. NOTE FA-ITADBHDCWILI and FA-ITADBHDCWI are deployed in active/standby mode. Therefore, it is recommended that each of the two VMs be deployed on a separate CNA. In Step 3 of section 1.2.2.1, FA-ITADBHDCWILI has been deployed on CNA01. Therefore, deploy ITADBHDCWI on CNA02. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 23 HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 24 Step 5 On the Select Data Store page, select IP-SAN and click Next. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 25 Step 6 On the Configure VM page, set VM hardware information and options as planned and click Next.  CPU: 4  Memory: 12 GB  Disk 1: 40 GB with Configuration Mode set to Thin provisioning  NIC 1: Select the service port group, for example, FA_Service_Portgroup.  NIC 2 (you need to add a device as shown in the following figure): Select the management port group, for example, managePortgroup. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 26 Step 7 On the Confirm Info page, select Start VM immediately after creation and click Confirm. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 27 The VM page is displayed. ----End 1.2.2.3 Creating vAG/vLB Bare VMs Step 1 Log in to FusionCompute. Step 2 On the home page, choose Common Operations > Create VM. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 28 The Create VM window is displayed. Step 3 On the Select Creation Mode page, click Next. Step 4 On the Basic Information page, change Name to FA-vAGvLB. Click Select in the row of Set Compute Resource, select mycluster, and click Confirm. Set OS to Linux, set OS Version to EulerOS 2.3 64bit, and click Next. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 29 HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 30 Step 5 On the Select Data Store page, select autoDS_CNA01 and click Next. Step 6 On the Configure VM page, set VM hardware information and options as planned and click Next.  CPU: 4  Memory: 4 GB HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 31  Disk 1: 30 GB with Configuration Mode set to Thin provisioning  NIC 1: Select the service port group, for example, FA_Service_Portgroup.  NIC 2 (you need to add a device as shown in the following figure): Select the management port group, for example, managePortgroup. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 32 Step 7 On the Confirm Info page, select Start VM immediately after creation and click Confirm. HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 33 The VM page is displayed. ----End 1.2.3 Configuring Bare VMs This section describes how to set the automatic-recovery attribute of VMs. Step 1 Use an SSH tool, such as PuTTY, to log in to the active VRM using the VRM floating IP address. The login account is gandalf and the default password is IaaS@OS-CLOUD9! Step 2 Run the following command to switch to user root and enter the password. The default password is IaaS@OS-CLOUD8! su – root Step 3 Run the following command to prevent PuTTY from exiting due to timeout. TMOUT=0 HCIP-Cloud Computing V4.0 FusionAccess Lab Guide Page 34 Step 4 On FusionCompute, query the IDs of VMs FA-ITADBHDCWILI, FA-ITADBHDCWI, and FA-vAGvLB. Step 5 Run the following command for each of the FA-ITADBHDCWILI, FA-ITADBHDCWI, and FA-vAGvLB bare VMs. vmId indicates the ID queried in step 4 of section 1.2.3. sh /opt/galax/vrm/tomcat/script/modifyRecover.sh vmId true Step 6 Restart the VRM process and check the process status, where active (running) indicates that the VRM process is restarted. service vrmd restart service vrmd status

Use Quizgecko on...
Browser
Browser