Scenarios
Install UVP VMTools on a ServiceCenter VM after you have installed ServiceCenter to improve the I/O processing performance and monitor resources of the VM.
Prerequisites
- You have obtained the UVP VMTools software package.
The version of the UVP VMTools software package is consistent with that of FusionSphere OpenStack. For example, if ServiceCenter is deployed on FusionSphere OpenStack V100R006C10SPC510, obtain FusionSphere OpenStack V100R006C10SPC510_Tool.tar.gz.
You can download the software package from the following path:-
Enterprise users: Log in to http://support.huawei.com/enterprise, enter FusionSphere OpenStack in the search box and click a relevant result, and then click Downloads to obtain the target software.
-
Carrier users: Log in to the http://support.huawei.com/carrier website. On the Software tab page, enter FusionSphere OpenStack in the search box and click a relevant result to obtain the target software.
NOTE:
- You must apply for permission to obtain the software package from the website. Register with the website if this is your first time visiting the website. For detailed operations, see the website Help and FAQs.
- You are advised to verify the software package by following the instructions provided in Verifying Software Packages after obtaining the software package.
-
- You have obtained the API network management IP addresses and passwords of user galaxmanager for logging in to the active and standby nodes of ServiceCenter.
- You have obtained PuTTY.
- You have obtained WinSCP.
Procedure
Decompress the obtained package.
- Double-click FusionSphere OpenStack
V100R006C10SPC510_Tool.tar.gz to decompress it on your local
PC.
Continue to decompress VMTOOLSV200R005C00SPC113B010.zip included in the UVP VMTools folder to obtain the VMTOOLSV200R005C00SPC113B010.tar.gz software package used for installing UVP VMTools.
- Log in to the FusionSphere OpenStack web client.
- Use the address https://Reverse IP address of FusionSphere OpenStack:8890 for login, for example, https://192.168.211.90:8890.
- The FusionSphere OpenStack web client supports Internet Explorer official versions from 10.0 to 11.0, as well as Google Chrome versions from 21.0 to 39.0, and the resolution 1280 x 1050 is recommended.
- The default user is admin, and the default password is FusionSphere123.
- Choose from the main menu. On the Third Party Packages page, upload the VMTOOLSV200R005C00SPC113B010.tar.gz software package.
- Choose . On the Role page, select all hosts used to create images in the AZ, and add the vmtools role.
Attach UVP VMTools.
- Log in to the FusionSphere OpenStack Management
Console.
- Use the address https://IP address of the FusionSphere OpenStack Management Console for login, for example, https://192.168.211.90.
- The default user is cloud_admin, and the default password is FusionSphere123.
- Choose .
- Locate the row that contains the ServiceCenter VM, and choose to stop the ServiceCenter VM.
- Locate the row that contains the ServiceCenter VM, and choose .
- Locate the row that contains the ServiceCenter VM, and
click Start to restart the VM.
NOTE:
- If you attach UVP VMTools for the first time, you need to stop the cloud host. Subsequently, you can only attach UVP VMTools to a running VM.
- If ServiceCenter is deployed in active/standby mode, stop the cloud host on the standby node and then that on the active node. When you start the cloud hosts, you need to start the cloud host on the active node and then that on the standby node.
- If ServiceCenter is deployed in DR mode, attach UVP VMTools to the active and standby nodes at the production site and active and standby nodes at the DR site in sequence.
Install UVP VMTools.
- Use WinSCP to log in to the active node of
ServiceCenter as user galaxmanager.
The default password is Huawei@CLOUD8.
Use the management IP address for login if ServiceCenter is deployed in single-node mode.
- Go to the /opt/goku/data/upload/ directory on the ServiceCenter node.
- Decompress imageTool.tar.gz included in VMTOOLSV200R005C00SPC113B010.tar.gz to your local PC, and then upload the imageTool folder to the /opt/goku/data/upload/ directory of ServiceCenter.
- Log in to the FusionSphere OpenStack Management Console, locate the row that contains the VM of the ServiceCenter active node, and choose .
- Run the following command to enter the engineering mode:
gotoEngineerMode
Enter the password of user root. The default password is Huawei@CLOUD8!.
- Run the following command to disable logout on timeout:
TMOUT=0
- Run the following command to go to the /opt/goku/data/upload/imgTool directory:
cd /opt/goku/data/upload/imgTool
- Run the following command to change the permissions of users and user
groups on the /opt/goku/data/upload/imgTool
directory to root:
chown root:root *.sh
- Run the following command to change the permissions on the install-uvpvmtools.sh, common.sh, and linuxguest_customize.sh files to
755:
chmod 755 *.sh
- Run the following command to install UVP
VMTools:
./install-uvpvmtools.sh
If the following information is displayed, the installation is successful:The UVP VMTools is installed successfully. Reboot the system for the installation to take effect. Successfully installed vmtools. End to install vmtools. ------ install-uvpvmtools.sh executed ......
- Repeat 10 through 19 to install UVP VMTools on the ServiceCenter standby node.
- If ServiceCenter is deployed in DR mode, perform 10 through 19 to install UVP VMTools on the active and standby nodes at the DR site respectively.
Uninstall UVP VMTools.
- Log in to the FusionSphere OpenStack Management Console, and choose .
- Locate the row that contains the target ServiceCenter VM, and choose .
