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).
Changing the Network Service of the eReplication Server

Changing the Network Service of the eReplication Server

Function

This operation changes the login port and the management IP address of the eReplication Server. The system communication IP address is used to configure certificates only and restrict the HTTPS service bonding of eReplication.

Format

  • Windows: changeweb.bat
  • Linux:
    • CLI: sh clichangeweb.sh
    • GUI: sh changeweb.sh
In Linux, a password can be changed on the CLI.
NOTE:
Run the startx command. If the following information is not displayed, the system supports the X Window System.
Command not found

Parameters

None

Usage Guidelines

  • Windows
    1. Log in to the eReplication Server as an administrator.
    2. Go to the installation path\bin directory of the eReplication Server.
      NOTE:

      In Windows, the default installation path of the eReplication Server is C:\BCManager\Runtime. The installation path is user-definable. You are advised not to install the eReplication Server on a system disk.

    3. Double-click the shutdownSystem.sh file and enter y to stop the eReplication Server.
    4. Double-click the changeweb.bat file, enter the old login port, and click Next.
    5. Enter a new login port and click OK and Next.
    6. Select the IP address of the management server, click OK and Next.
    7. Click OK to make the network server configuration tack effect.
    8. In the dialog box that is displayed indicating operation success, click OK.
    9. Double-click the startSystem.vbe file to restart the eReplication Server.
  • Linux

    (The following uses the HA mode as an example.)

    • CLI
      1. Use PuTTY to log in to the eReplication Server 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!.
      2. Run the TMOUT=0 command to prevent PuTTY from exiting due to session timeout.
        NOTE:

        After you run this command, the system continues to run when no operation is performed, resulting a risk. For security purposes, you are advised to run exit to exit the system after completing your operations.

      3. Run cd /opt/BCManager/Runtime/bin command to enter the script save path.
        NOTE:

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

      4. Run the sh clichangeweb.sh command.
      5. Enter y to stop the system service.
      6. Enter the floating IP address and press Enter.
      7. Enter the listening port and press Enter.
        NOTE:

        The default listening port is 9443.

      8. Enter y and press Enter restart the service.
    • GUI
      1. Use PuTTY to log in to the eReplication Server 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!.
      2. Run the TMOUT=0 command to prevent PuTTY from exiting due to session timeout.
        NOTE:

        After you run this command, the system continues to run when no operation is performed, resulting a risk. For security purposes, you are advised to run exit to exit the system after completing your operations.

      3. Run cd /opt/BCManager/Runtime/bin command to enter the script save path.
        NOTE:

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

      4. Run the sh shutdownSystem.sh command.
      5. Enter y and press Enter to stop the eReplication Server.
      6. Run the sh changeweb.sh command.
      7. On the page that is displayed, select the service management IP address and enter the port number.
        NOTE:
        If eReplication is running in active-standby mode, enter the floating IP addresses.
      8. Clicking Next for modification.
      9. After modification, run the sh startSystem.sh command to start the eReplication Server.


Example

Linux is used as an example.
You are about to configure listening IP addresses.
This operation will suspend the DR system, which may cause the DR protection configured along with the listening IP address configuration to be invalid. In addition, the IP address of the DR system for providing services externally will be affected after configuration.

Suggestion: Perform this operation when no protection task is being executed and ensure that all configured listening IP addresses are in the same network segment and unique.

Are you sure you want to configure listening IP addresses? (y/n):
y
The DR system is stopping.
The DR system is shut down successfully.

Start modifying configurations of the IP of DR system. 

Enter the floating IP address. (This IP address cannot be the same as the local IP address and will be used as the listening IP address of the dual-server DR system.)
192.168.25.18
Please input the listening port [9443]:
9443

Succeeded in modifying the floating IP address.

Are you sure to start the DR system immediately? (y/n):
y
The DR system is starting.

System is starting. Please wait...

Total memory:  3.74(G)
Required memory:  4(G)

Warn: swap partition size is smaller than requirement.

10% complete...
20% complete...
30% complete...
40% complete...
50% complete...
60% complete...
70% complete...
80% complete...
90% complete...
100% complete...

System started completely.
Start the DR system successfully.
Translation
Download
Updated: 2019-05-21

Document ID: EDOC1100075861

Views: 10334

Downloads: 55

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