No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor BCManager 6.5.0 eReplication User Guide 02

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Installing UVP VMTools

Installing UVP VMTools

Scenarios

UVP VMTools needs to be installed on a eReplication Server VM after eReplication Server is installed so that the I/O processing performance can be improved and hardware of the VM can be monitored.

Impact on the System

UVP VMTools can take effect only after eReplication Server is restarted. Services of eReplication Server suspend during the restart process.

Prerequisites

  • You have obtained the software package of the UVP VMTools.

    The version of the UVP VMTools software package is consistent with the version of the FusionSphere OpenStack.

    For example, if eReplication Server is installed on FusionSphere OpenStack V100R006C10, the software package is named FusionSphere OpenStack V100R006C10_Tool.tar.gz and file uvp-vmtools-x.x.x-xxx.xxx.x86_64.rpm can be obtained after you decompress the software package.

    Link to the package:
    • For enterprise users: You can log in to http://support.huawei.com/enterprise and click Support. On the page that is displayed, search for FusionSphere OpenStack and click Software to view or obtain the package.
    • For carrier users: You can log in to http://support.huawei.com/carrier and click Support. In the search box under Product Support, enter FusionSphere OpenStack and click Search to view or obtain the package.
    NOTE:
    • You must apply for permission to obtain software from the website. If you access the website for the first time, register with the website. For details, see the website help and FAQs.
    • You are advised to verify the software package after obtaining it.
      1. On the page for downloading FusionSphere OpenStack, download the .asc digital signature file whose name is the same as that of the software package.
      2. Use the digital signature public key and validation tool provided by the Huawei support website to validate the digital signature of the software package. Obtain the digital signature key, verification tool, and their usage methods from the following way.
  • You have obtained the API network management IP address of the eReplication Server node and the password of user DRManager.
  • PuTTY is available.
  • WinSCP is available.

Procedure

    1. Use WinSCP to log in to active eReplication Server node as user DRManager.

      Ensure that the API network management IP address of the active node and user DRManager are used to establish the connection.

      NOTE:
      The default password of user DRManager is Huawei@CLOUD8.

    2. Upload the uvp-vmtools-x.x.x-xxx.xxx.x86_64.rpm to /home/DRManager under the eReplication Server node.

      NOTE:
      • The SFTP service is disabled, by default. Enable this service before the upload. Otherwise, the upload will fail. To enable the SFTP service, perform the following steps:
        1. Run the vi /etc/ssh/sshd_config command to edit file sshd_config.
        2. Locate the row that contains sftp, delete # at the beginning of the row, and save the file.
        3. Run the service sshd restart command to restart the SFTP service.
      • x.x.x-xxx.xxx.x86_64 indicates the version number of UVP VMTools. You can obtain the required version number of UVP VMTools.

    3. Use PuTTY to log in to the active eReplication Server node.

      Ensure that the API network management IP address of the active node and user DRManager are used to establish the connection.

      NOTE:
      The default password of user DRManager is Huawei@CLOUD8.

    4. Run the following command to switch to user root:

      su - root

      Enter the password of user root as prompted.
      NOTE:
      The default password of user root is Huawei@CLOUD8!.

    5. Run the following command to disable logout on timeout:

      TMOUT=0

    6. Run the following command to go to the directory where the UVP VMTools is located:

      cd /home/DRManager

    7. Run the following command to decompress uvp-vmtools-x.x.x-xxx.xxx.x86_64.rpm:

      rpm2cpio uvp-vmtools-x.x.x-xxx.xxx.x86_64.rpm|cpio -imd

      NOTE:
      x.x.x-xxx.xxx.x86_64 indicates the version of UVP VMTools, which needs to be replaced with the actual version of UVP VMTools in use. Alternatively, you can enter rpm2cpio uvp and press Tab. Then, the system will automatically display the version of UVP VMTools.

    8. Run the following command and copy the required image to the /opt directory:

      cp ./opt/patch/programfiles/vmtools/vmtools-linux.iso /opt

    9. Run the following command to switch to the /opt directory:

      cd /opt

    10. Run the following command to create a directory for mounting the image:

      mkdir vmtools

    11. Run the following command to mount the image in the vmtools directory:

      mount vmtools-linux.iso -o loop vmtools

      If the following information is displayed, the mounting is successful:
      mount: block device /opt/vmtools-linux.iso is write-protected, mounting read-only

    12. Run the following command to go to the directory where the image is mounted:

      cd vmtools

    13. Run the following command to copy the file to directory /opt.

      cp vmtools-x.x.x.xxx.tar.bz2 ../

      NOTE:
      x.x.x.xxx indicates the version of UVP VMTools, which needs to be replaced with the actual version of UVP VMTools in use. Alternatively, you can enter cp vmtools and press Tab. Then, the system will automatically display the version of UVP VMTools.

    14. Run the following command to switch to the /opt directory:

      cd /opt

    15. Run the following command to cancel the mounting of the image.

      umount vmtools-linux.iso

    16. Run the following command to decompress the file:

      tar -jxvf vmtools-x.x.x.xxx.tar.bz2

      NOTE:
      x.x.x.xxx indicates the version of UVP VMTools, which needs to be replaced with the actual version of UVP VMTools in use. Alternatively, you can enter tar -jxvf vmtools and press Tab. Then, the system will automatically display the version of UVP VMTools.

    17. Run the following command to go to the software package directory:

      cd vmtools

    18. Run the following command to install UVP VMTools:

      ./install

      If the following information is displayed, the installation is successful:
      Start Installation :
        Install kernel modules.
        Install UVP VMTools agent service.
        Change system configurations.
      Update kernel initrd image.
      The UVP VMTools is installed successfully.
      Reboot the system for the installation to take effect.
      

    19. Run the following command to restart the system to make the installation take effect.

      reboot

    20. Determine whethereReplication Server is deployed in active/standby mode.

      • If yes, go to 21.
      • If no, no further action is required.

    21. Repeat 1 through 19 and log in to the standby node to install UVP VMTools.
Translation
Download
Updated: 2019-05-21

Document ID: EDOC1100075861

Views: 18187

Downloads: 76

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next