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

FusionCube HCI 3.2 vCenter Plug-in User Guide 01 (VMware vSphere)

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).
Backing Up and Restoring vCenter Plug-in Configuration Files (in vCenter Upgrade)

Backing Up and Restoring vCenter Plug-in Configuration Files (in vCenter Upgrade)

Back up the vCenter plug-in configuration files before the upgrade of vCenter. If the upgrade fails, the backup can be used to restore the vCenter plug-in configuration.

Scenarios

Back up and restore the vCenter plug-in configuration files.

Windows

  1. Back up the configuration files.
    1. Use the remote desktop connection tool of the local PC to log in to the computer used to deploy vCenter.
    2. Open drive C.
    3. Go to ProgramData/VMware/vCenterServer/data.
    4. Copy the following files to another folder. For example, create a tmp folder on the desktop and copy the files to the tmp folder.
      Figure 6-2 Configuration files
  2. Uninstall the vCenter plug-in.
    For details, see Uninstalling the vCenter Plug-in.
    NOTE:

    You do not need to restart vSphere Web Client during this process. You can restart vSphere Web Client after the upgrade.

  3. Upgrade vCenter.

    For details, see VMware vSphere Documentation.

  4. Restore the configuration files.
    1. Use the remote desktop connection tool of the local PC to log in to the computer used to deploy vCenter.
    2. Copy the configuration files from the backup folder (tmp for example) to ProgramData/VMware/vCenterServer/data.
  5. Install the vCenter plug-in.

    Select the vCenter plug-in installation package based on the vCenter version after the upgrade. For details, see Installing the vCenter Plug-in.

Linux (VMware vSphere 6.0)

NOTE:

Back up the configuration files of any node. The following uses MCNA01 (management IP address is 192.168.60.150) as an example.

  1. Back up the configuration files.
    1. Use PuTTY to log in to the node.

      • Host name: node management IP address

      • Default user name: root

      • Default password: IaaS@OS-CLOUD8!

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

      TMOUT=0

    3. Go to tmp.

      cd /tmp

    4. Create a backup folder.

      mkdir bakup

    5. Use PuTTY to log in to the vCenter.
      • Host name: management IP address of the vCenter
      • Default user name: root
      • Password: password set by the user
    6. Run the following command to disable logout on timeout:

      TMOUT=0

    7. Enable the Bash interface.

      shell.set --enabled True

    8. Enable Bash.

      shell

    9. Go to vsphere-client.

      cd /storage/vsphere-client

    10. Back up the files.

      Command:

      scp fusioncube.xml bk.xml fusioncubehostlist.xml jks.properties keycertinfo rk1 rk2 rk3 snapshotTask.xml strategy.xml vCenterInfo.xml root@Node management IP address:/tmp/bakup

      Example:

      scp fusioncube.xml bk.xml fusioncubehostlist.xml jks.properties keycertinfo rk1 rk2 rk3 snapshotTask.xml strategy.xml vCenterInfo.xml root@192.168.60.150:/tmp/bakup

    11. (Optional) Enter yes if the following information is displayed:
      Are you sure you want to continue connecting (yes/no)?
    12. Enter the password of user root of the node. The default password is IaaS@OS-CLOUD8!.
  2. Uninstall the vCenter plug-in.
    For details, see Uninstalling the vCenter Plug-in.
    NOTE:

    You do not need to restart vSphere Web Client during this process. You can restart vSphere Web Client after the upgrade.

  3. Upgrade vCenter.

    For details, see VMware vSphere Documentation.

  4. Enable the vCenter SSH service.

    For details, see Enabling the vCenter SSH Service.

  5. Restore the configuration files.
    1. Use PuTTY to log in to the vCenter.
      • Host name: management IP address of the vCenter
      • Default user name: root
      • Password: password set by the user
    2. Run the following command to disable logout on timeout:

      TMOUT=0

    3. Enable the Bash interface.

      shell.set --enabled True

    4. Enable Bash.

      shell

    5. Go to vsphere-client.

      cd /storage/vsphere-client

    6. Restore the configuration files.

      Command: scp root@Node management IP address:/tmp/bakup/*

      Example: scp root@192.168.60.150:/tmp/bakup/*

    7. Enter the password of user root. The default password is IaaS@OS-CLOUD8!.
    8. Modify the permission on the files.

      chown vsphere-client:users fusioncube.xml bk.xml fusioncubehostlist.xml jks.properties keycertinfo rk1 rk2 rk3 snapshotTask.xml strategy.xml vCenterInfo.xml

  6. Install the vCenter plug-in.

    Select the vCenter plug-in installation package based on the vCenter version after the upgrade. For details, see Installing the vCenter Plug-in.

Linux (VMware vSphere 6.5/6.7)

NOTE:

Back up the configuration files of any node. The following uses MCNA01 (management IP address is 192.168.60.150) as an example.

  1. Back up the configuration files.
    1. Use PuTTY to log in to the node.

      • Host name: node management IP address

      • Default user name: root

      • Default password: IaaS@OS-CLOUD8!

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

      TMOUT=0

    3. Go to tmp.

      cd /tmp

    4. Create a backup folder.

      mkdir bakup

    5. Use PuTTY to log in to the vCenter.
      • Host name: management IP address of the vCenter
      • Default user name: root
      • Default password: password set by the user
    6. Run the following command to disable logout on timeout:

      TMOUT=0

    7. Enable Bash.

      shell

    8. Go to vsphere-client.

      cd /storage/vsphere-client

    9. Back up the files.

      Command:

      scp fusioncube.xml bk.xml fusioncubehostlist.xml jks.properties keycertinfo rk1 rk2 rk3 snapshotTask.xml strategy.xml vCenterInfo.xml root@Node management IP address:/tmp/bakup

      Example:

      scp fusioncube.xml bk.xml fusioncubehostlist.xml jks.properties keycertinfo rk1 rk2 rk3 snapshotTask.xml strategy.xml vCenterInfo.xml root@192.168.60.150:/tmp/bakup

    10. (Optional) Enter yes if the following information is displayed:
      Are you sure you want to continue connecting (yes/no)?
    11. Enter the password of user root. The default password is IaaS@OS-CLOUD8!.
  2. Uninstall the vCenter plug-in.
    For details, see Uninstalling the vCenter Plug-in.
    NOTE:

    You do not need to restart vSphere Web Client during this process. You can restart vSphere Web Client after the upgrade.

  3. Upgrade vCenter.

    For details, see VMware vSphere Product Documentation.

  4. Enable the vCenter SSH service.

    For details, see Enabling the vCenter SSH Service.

  5. Restore the configuration files.
    1. Use PuTTY to log in to the vCenter.
      • Host name: management IP address of the vCenter
      • Default user name: root
      • Default password: password set by the user
    2. Run the following command to disable logout on timeout:

      TMOUT=0

    3. Enable Bash.

      shell

    4. Go to vsphere-client.

      cd /storage/vsphere-client

    5. Restore the configuration files.

      Command:

      scp root@Node management IP address:/tmp/bakup/* .

      Example:

      scp root@192.168.60.150:/tmp/bakup/* .

    6. Enter the password of user root. The default password is IaaS@OS-CLOUD8!.
    7. Modify the permission on the files.

      chown vsphere-client:users fusioncube.xml bk.xml fusioncubehostlist.xml jks.properties keycertinfo rk1 rk2 rk3 snapshotTask.xml strategy.xml vCenterInfo.xml

  6. Install the vCenter plug-in.

    Select the vCenter plug-in installation package based on the vCenter version after the upgrade. For details, see Installing the vCenter Plug-in.

Translation
Download
Updated: 2019-03-21

Document ID: EDOC1100071999

Views: 1931

Downloads: 12

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