(Optional) Configuring a Backup Proxy
If backup proxies are planned for an eBackup management system, you need to initialize servers (except the backup server) running eBackup as backup proxies and configure related parameters.
Prerequisites
- Backup proxy parameters have been planned. Multiple backup proxies can be configured in one eBackup system.
- The backup server has been configured.
- A cross-platform remote access tool, such as PuTTY, is available.
- The password of user root for logging in to the eBackup server has been obtained.
Procedure
- Log in to the eBackup server to be configured as user root.
The default password of user root is Cloud12#$.
Use a cross-platform access tool or the console of the VMware vSphere Client to log in.
- Run the cd PathOfBackupSoftwarePackage command to go to the directory containing the initial configuration script.
The backup software installation package is stored in /opt/eBackup_8.0.0-LHC01/action.
- Run the sh ebackup_utilities.sh config command to start the initial configuration.
The following information is displayed:
Please select network type for this machine: 1.ipv4 2.ipv6
- Enter 1 and press Enter.
1 Please select a role for this machine: 1.Backup Server 2.Backup Proxy 3.Backup Manager 4.Backup Workflow Server
- Enter 2 and press Enter.
2 =================================================================================================== Note: In the following steps you will be required to configure four network planes for eBackup. The definition of each network plane is as follows: Backup management plane: the communication plane for eBackup to provide external services. Internal communication plane: the communication plane between backup server and backup proxy. Production management plane: the communication plane between eBackup and the management plane of the production end. Storage plane: the communication plane between eBackup and the storage plane of the production end and communication plane between eBackup and backup storage. ==================================================================================================== Set network adapter for 'Backup management' network plane: [1] bond1 MAC=28:6E:D4:88:C6:F2 IP=192.168.1.11 MASK=255.255.254.0 [2] bond2 MAC=28:6E:D4:88:C6:F3 IP=10.10.1.11 MASK=255.255.254.0 Which network adapter from the above list would you like to bind to the 'Backup management' network plane?
- Configure network planes for the backup proxy.
You need to bind NICs to the five network planes of the backup proxy. Select the NIC to be bound based on the network planning in Planning the Network.
In this section, the backup proxy is configured with two NICs, the backup management plane, production management plane, internal communication plane, and production storage plane are bound to one NIC, and the backup storage plane is bound to another NIC.
- Select the network adapter you want to bind to the backup management plane, and press Enter.
If you choose bond1 as the network adapter binding to the backup management plane, input 1.
1 Set network adapter for 'Internal communication' network plane: [1] bond1 MAC=28:6E:D4:88:C6:F2 IP=192.168.1.11 MASK=255.255.254.0 [2] bond2 MAC=28:6E:D4:88:C6:F3 IP=10.10.1.11 MASK=255.255.254.0 Which network adapter from the above list would you like to bind to the 'Internal communication' network plane?
- Select the network adapter you want to bind to the internal communication plane, and press Enter.
1 Set network adapter for 'Production management' network plane: [1] bond1 MAC=28:6E:D4:88:C6:F2 IP=192.168.1.11 MASK=255.255.254.0 [2] bond2 MAC=28:6E:D4:88:C6:F3 IP=10.10.1.11 MASK=255.255.254.0 Which network adapter from the above list would you like to bind to the 'Production management' network plane?
- Select the network adapter you want to bind to the production management plane, and press Enter.
1 Set network adapter for 'Production Storage' network plane: [1] bond1 MAC=28:6E:D4:88:C6:F2 IP=192.168.1.11 MASK=255.255.254.0 [2] bond2 MAC=28:6E:D4:88:C6:F3 IP=10.10.1.11 MASK=255.255.254.0 Which network adapter from the above list would you like to bind to the 'Production Storage' network plane?
- Select the network adapter you want to bind to the production storage plane, and press Enter.
1 Set network adapter for 'Backup Storage' network plane: [1] bond1 MAC=28:6E:D4:88:C6:F2 IP=192.168.1.11 MASK=255.255.254.0 [2] bond2 MAC=28:6E:D4:88:C6:F3 IP=10.10.1.11 MASK=255.255.254.0 Which network adapter from the above list would you like to bind to the 'Backup Storage' network plane?
- Select the network adapter you want to bind to the backup storage plane, and press Enter.
2 Please input the leader IP(The IP of internal communication plane at backup server):
- Enter the internal communication plane IP address of the backup proxy and press Enter.
192.168.1.10 Please input the floating IP address at backup server:
- Enter the floating IP address of the backup proxy and press Enter.
192.168.10.12 Please enter the public key of the backup server. To obtain the public key, run the following CLI command: show server_public_key. To use the default public key, press Enter.
- Enter the public key of the backup proxy and press Enter. If you use the default public key, press Enter.
After the initial configuration of the backup proxy is complete, you need to reconfigure the backup proxy once the backup server is replaced. During the reconfiguration, the default public key cannot be used. For how to obtain the new public key of the backup server, see Related Operations.
If the following command output is displayed, the configuration is successful.
service hcp start:completed You can access the eBackup UI using the following link. https://backup server's backup management plane:8088 or backup server's backup management plane Alternatively, you can access the eBackup CLI through SSH session.
- Select the network adapter you want to bind to the backup management plane, and press Enter.
- Run the following commands in sequence to perform security hardening:
After security hardening, do not log in as user root. Instead, log in as user hcp. The default password of user hcp is PXU9@ctuNov17!.
cd /opt/huawei-data-protection/ebackup/bin/StandardHardening
echo -e "yes\nyes\n"|./StandardSuseHardening.sh
After you run this command, the eBackup server restarts. If you need to log in to the eBackup server, try again later.
Related Operations
After the initial configuration of the backup proxy is complete, you need to reconfigure the backup proxy once the backup server is replaced. During the reconfiguration, the default public key cannot be used. Perform the following steps to obtain the new public key of the backup server:
- Log in to the backup server as user hcp.
The default password of user hcp is PXU9@ctuNov17!.
- Run the su root command and enter the password of user root to switch to user root.
- Run the cd /opt/huawei-data-protection/ebackup/cli/ command to go to the /opt/huawei-data-protection/ebackup/cli/ directory.
- Run the sh hcpcli.sh admin command and enter the password of user admin.
The default password of user admin is PXU9@ctuNov17!.
- Run the setting command.
- Run the show server_public_key command to obtain the public key.
IP Public Key ----------- ---------------------------------------- 172.28.12.5 E]D)b9M?G.mgAhl@cA)bhKc1F(.B[+uLkiEGp-+/
The field under Public Key is the public key.
- Enter exit and press Enter to exit the setting interface.
- Enter exit and press Enter to exit the admin interface.
- Enter y and press Enter to exit.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.