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).
Managing the Data Backup and Restoration

Managing the Data Backup and Restoration

eReplication provides data backup and restoration solutions, which ensures availability of DR services and data security.

Backing up Configuration Data

Before performing an upgrade or adjusting key data, you need to back up configuration data of eReplication to back up database data. If eReplication encounters anomalies, you can use the backup data to implement restoration.

Prerequisites

  • If you want to use automatic backup mode, you need to obtain the IP address, username, password, and port of the SFTP backup server.
  • If you start manual backup when some tasks are being executed, the status of the backed up tasks may be inconsistent with the actual status of those tasks. You are advised to export system configuration data when no task is being executed.

Context

The system supports automatic and manual backup modes.
  • If you want to use automatic backup, you need to prepare an SFTP backup server and configure it in eReplication. After the SFTP backup server is configured, the system automatically backs up system data to the SFTP backup server at 2:00 am (time of the eReplication Server) every day. The SFTP backup server saves the backup data for at most seven days. Data backed up seven days before is cleared automatically. If backup fails, the system reports an alarm. The alarm is automatically cleared if the next backup task is executed successfully. The backup path is as follows:
    • Linux: /SFTP user/CloudComputing/DRBackup/eReplication management IP address/YYYY-MM-DD/Auto/ConfigData.zip
    • Windows: \CloudComputing\DRBackup\eReplication management IP address\YYYY-MM-DD\Auto\ConfigData.zip
    NOTE:
    If two eReplication Servers are deployed, ensure that the time of the eReplication Servers at the production and DR sites is the same.
  • In manual backup mode, you need to manually export system configuration data to a local path.

When backing up configuration data, you need to back up the data of the production and DR sites.

Procedure

  • Enable automatic backup.
    1. On the menu bar, select Settings.
    2. In the navigation tree, choose Data Maintenance > System Configuration Data.
    3. Select Automatic Backup.

    4. Configure the IP address, username, password, and port for the SFTP backup server.

      NOTE:
      To protect the security of configuration data, the backup server must adopt the secure SFTP protocol.

    5. Configure the data encryption password.

      This password is used in the compression and encryption of system configuration data to ensure backup data security. You need to keep the password secure. When the system configurations need to be restored after a system fault, the password needs to be used to decrypt the backup system configuration data.

      NOTE:
      The password complexity requirements are as follows:
      • Contains 8 to 15 characters.
      • Contains at least one special character from `~!@#$%^&*()-_=+|[{}];:'",<.>/? and cannot contain spaces.
      • Must contain at least two of the following types of characters:
        • Uppercase letters
        • Lowercase letters
        • Digits

    6. Click OK.
    7. In the Warning dialog box that is displayed, read the content of the dialog box carefully and select I have read and understood the consequences associated with performing this operation.

      NOTE:

      After automatic backup is enabled, you can update the SFTP server information in eReplication and click OK to save the new information.

    8. Click OK.
  • Manual back up data.
    1. On the menu bar, select Settings.
    2. In the navigation tree, choose Data Maintenance > System Configuration Data.
    3. Select Manual Backup.
    4. In the System Configuration Data area, click Export.
    5. Configure the data encryption password.

      This password is used in the compression and encryption of system configuration data to ensure backup data security. You need to keep the password secure. When the system configurations need to be restored after a system fault, the password needs to be used to decrypt the backup system configuration data.

      NOTE:
      The password complexity requirements are as follows:
      • Contains 8 to 15 characters.
      • Contains at least one special character from `~!@#$%^&*()-_=+|[{}];:'",<.>/? and cannot contain spaces.
      • Must contain at least two of the following types of characters:
        • Uppercase letters
        • Lowercase letters
        • Digits

    6. Click OK to save the ConfigData.zip file to a local path.

Restoring Configuration Data

If eReplication encounters anomalies after an upgrade or key data adjustment, you can import the backed up system configuration data to eReplication to implement restoration.

Prerequisites

  • The data encryption password configured during configuration data backup has been obtained.
  • A cross-platform file transfer tool, such as WinSCP, has been installed.
  • A cross-platform remote access tool, such as PuTTY, has been obtained.
  • The login password of user root or DRManager in Linux or that of the administrator in Windows has been obtained.
  • The version of the backed up configuration data must be consistent with the current software version. Otherwise, protection or restoration services may become abnormal.
  • eReplication has been stopped before backup data is imported. After eReplication is stopped, you cannot use eReplication to perform DR management. Stop eReplication only for fault diagnosis.

Context

If the original management server is configured with a remote management server, modify the information about the remote management server on the current management server after the backup data of the original management server is imported into the current management server. Otherwise, exceptions may occur during service operation. For example, A and B are the original management servers and are the local and remote management servers of each other. C and D are the current management servers and are the local and remote management servers of each other. After the backup data of A and B is imported into C and D respectively, you must change the remote management servers on C and D to D and C respectively.

  • After restoration, data generated between the backup point in time to the restoration point in time is lost.
  • After restoration, data on eReplication may become inconsistent with that on storage devices, hosts, vCenter servers, FusionManager, FusionCompute, or VRG. The system automatically checks data consistency. Alarms are reported if data inconsistency is detected. You can troubleshoot the problem based on reported alarms.

Procedure

  • Import backup data in Linux.
    1. Use WinSCP to copy the exported backup file ConfigData.zip or DataBackUp.zip to any directory on the eReplication Server, for example, /home/configdata.

      NOTE:
      The following describes the procedure of exporting the ConfigData.zip file. In actual scenarios, export the file of the desired name.

    2. Use PuTTY to log in to the eReplication management server.

      • In template-based installation mode: Log in as user DRManager, and run the su root command to switch to user root.
      • In software package-based installation mode: Log in as user root.
      NOTE:

      The default password of user DRManager is Huawei@CLOUD8. In template-based installation mode, the default password of user root is Huawei@CLOUD8!.

    3. Run cd /opt/BCManager/Runtime/bin to enter the path.

      NOTE:
      In Linux, the installation path of eReplication is /opt/BCManager. The path is fixed.

    4. Run the sh shutdownSystem.sh command to stop eReplication.

      eReplication is stopped successfully if the following command output is displayed:

      The DR system is shut down successfully.
      NOTE:
      Before proceeding to the next step, ensure that eReplication is stopped.

    5. Run the sh import.sh command to import backup data.
    6. After ensuring that eReplication is stopped, type y in the prompt message and press Enter.

      The following command output is displayed:

      Please input the restore file:

    7. Enter the save path of the backup data to be imported as prompted and press Enter. For example, the save path can be /home/configdata/ConfigData.zip.

      The following command output is displayed:

      Please input old encrypt password:

    8. Enter the data encryption password that is configured during the backup data export and press Enter.

      Backup data is imported successfully if the following command output is displayed:

      restore successfully. Please restart the Server.

    9. Run the sh startSystem.sh command to start the eReplication.

      eReplication is started successfully if the following command output is displayed:

      System started completely.

  • Import backup data in Windows.
    1. Copy the exported backup file ConfigData.zip to any directory on the eReplication Server, for example, D:\home\configdata.
    2. Go to the installation path\Runtime\bin directory.

      NOTE:
      In Windows, the default installation path of the eReplication Server is C:\BCManager\Runtime.

    3. Double-click the shutdownSystem.bat file to stop eReplication.
    4. Double-click import.bat to import backup data.
    5. After ensuring that eReplication is stopped, type y in the prompt message and press Enter.
    6. Enter the save path of the backup data to be imported as prompted and press Enter. For example, the save path can be D:\home\configdata\ConfigData.zip.

      The following command output is displayed:

      Please input old encrypt password:

    7. Enter the data encryption password that is configured during the backup data export and press Enter.
    8. Double-click the startSystem.vbe file to start the eReplication.
Translation
Download
Updated: 2019-05-21

Document ID: EDOC1100075861

Views: 10450

Downloads: 55

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