Installing eBackup
This section describes how to use VMware vSphere Client to create a VM using an eBackup image template and configure a network for the VM.
Context
- VMware vSphere 5.1, 5.5, 6.0, 6.5, 6.7, and 7.0 are supported.
- An eBackup management system has only one backup server but supports multiple backup proxies. Plan the number of backup proxies based on the number of VMs to be protected.
- This section uses VMware vSphere Client 6.0 as an example. If the VMware vSphere client of another version is used, see the related VMware documents.
- The image template does not contain Virtual Disk Development Kit (VDDK) of VMware. Therefore, you need to visit https://code.vmware.com/web/sdk/6.0/vddk to download VDDK.
Prerequisites
- You have installed VMware vSphere Client.
- You have downloaded the eBackup image template.
- You have obtained VDDK package VMware-vix-disklib-6.0.3-4888596.x86_64.tar.gz.
- You have prepared a cross-platform file transfer tool, such as WinSCP.
Procedure
- Decompress the downloaded eBackup image template package to obtain the OceanStor BCManager 8.0.0-LHC01_eBackup_VMware_template.ovf file.
- Start VMware vSphere Client and choose File > Deploy OVF Template.
- Select OceanStor BCManager 8.0.0-LHC01_eBackup_VMware_template.ovf and click Next.
- View details about the OVF template and click Next.
- Specify the name and location for the deployed template, and click Next.
- Select the host or cluster on which you want to run the deployed template, and then click Next.
- Select the target storage of the VM file and click Next.
- Set the VM disk format to Thick Provision Lazy Zeroed, and click Next.
- Select the network mapping of the VM and click Next.
- View the VM deployment settings and click Finish.
- Wait until the VM is deployed.
- Modify network labels of VMs.
- In the VM list on the left, click the created VM.
- Click the Getting Started tab.
- Click Edit virtual machine settings.
- On the page that is displayed, select a network adapter, and select a network label from the Network label drop-down list box based on the site requirements.
The VM created using the template has three NICs by default. Select the network label based on Planning the Network.
- After modifying the network labels of all network adapters, click OK.
- In the VM list on the left, select the created VM.
- Click
to wait for the VM to start. - After the VM is started, click the Console tab.
- Enter the root account and password to log in to the eBackup VM.
The default password of user root is Cloud12#$.
- Configure a static IP address for each NIC of the VM. For IP address planning, see Planning the Network.
- Run the cd /etc/sysconfig/network-scripts/ command to go to the /network-scripts directory.
- Run the ip a command to view the network adapter name on the VM. eth0 is used as an example. Replace it with the actual name.
- Run the vi ifcfg-eth0 command to open the ifcfg-eth0 configuration file.
- Press i to go to the edit mode and modify the configuration file.
Set the following parameters. If the following parameters do not exist in the configuration file, enter them manually.
- BOOTPROTO ="static" indicates that static IP addresses are used.
- Set IPADDR, NETMASK, and GATEWAY to the planned IP address, subnet mask, and gateway of the VM.
- ONBOOT=yes indicates that the network adapter is started upon system startup.
- Press Ecs, enter :wq, and press Enter to save the settings and exit.
- Repeat 17.c to 17.e to configure static IP addresses for other network adapters.
- Run the service network restart command to restart the network.
- On the maintenance terminal, use WinSCP to upload VMware-vix-disklib-6.0.3-4888596.x86_64.tar.gz to any directory, for example, /opt.
- Run the cd /opt command to go to the /opt directory.
- Run the tar -xvf VMware-vix-disklib-6.0.3-4888596.x86_64.tar.gz command to decompress the VDDK package.
- Run the mkdir -p /opt/huawei-data-protection/ebackup/microservice/ebk_vmware/lib/3rd/vddk/lib64 command to create the /opt/huawei-data-protection/ebackup/microservice/ebk_vmware/lib/3rd/vddk/lib64 directory.
- Run the cp -d /opt/vmware-vix-disklib-distrib/lib64/lib* /opt/huawei-data-protection/ebackup/microservice/ebk_vmware/lib/3rd/vddk/lib64/ command to copy the VDDK file to the directory created in 22.
- Run the chmod 550 -R /opt/huawei-data-protection/ebackup/microservice/ebk_vmware/lib/3rd/vddk/ command to change the directory permission.
- Run the chown hcpprocess:hcpmgr -R /opt/huawei-data-protection/ebackup/microservice/ebk_vmware/lib/3rd/vddk/ command to change the owner group of the directory to hcpprocess.
Follow-up Procedure
- When a user uses a private line or VPN to access HUAWEI CLOUD, configure the HUAWEI CLOUD DNS on the backup server and backup proxy.
- When an eBackup server needs to connect to other network segments or IP addresses of the management or storage plane (including production storage plane and backup storage plane), you need to configure the route.
- Run the ifconfig command to check the information about the network adapter that communicates with the management plane or storage plane.
eth2 Link encap:Ethernet HWaddr 2A:BE:D4:88:99:01 inet addr:192.168.31.190 Bcast:192.168.31.255 Mask:255.255.255.0 … - Run the vi /etc/sysconfig/network-scripts/static-routes command to open the configuration file.
- Add the following route information to the file and enter :wq to save the file and exit.
any net 192.168.1.0 netmask 255.255.255.0 gw 192.168.31.1 dev eth2
The four columns in the command output indicate the target network, subnet mask of the target network, local gateway, and network adapter name, respectively.
- Run the service network restart command to restart the network to make the route take effect.
- Run the route command to check the route information.
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 192.168.31.1 255.255.255.0 UG 0 0 0 eth2
- Run the ifconfig command to check the information about the network adapter that communicates with the management plane or storage plane.
Last Article: Planning the Network
Next Article: Configuring eBackup
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.