Vinchin Knowledge Base
question Question

How to setup Sangfor HCI backup over storage network?

Last Modified: 2022-05-10 18:42:27 | Product: Vinchin Backup & Recovery | Version: V6.0

Questions Type: How-to

KB Number: 200201

How to setup Sangfor HCI backup over storage network?


question Answer

If your Sangfor HCI has existing storage network, you could choose to run VM backups over storage network, this can eliminate the impact on production network during the backup process.

To setup Sangfor HCI backup over storage network, it only requires Vinchin backup server has 2 network interfaces. One of the network interfaces connects to the management network, the other connects to the storage network.

For detailed configurations, please follow the steps below.

 

Step 1: Network connection

Make sure there are at least 2 network interface cards on the Vinchin Backup Server. One of the network interface cards connected to the management network, another connected to the storage network.

Warning

If your Vinchin Backup Server is already licensed, adding new network interface card to the server will invalid the license. If you have to do so, please contact Vinchin support before you proceed.

 

Step 2: Install Vinchin backup plugin for Sangfor HCI

Download Vinchin backup plugin for Sangfor HCI from the login screen of Vinchin backup server web console. By clicking on the Download Backup Plugin and then select the Sagnfor HCI version to download.

Upload the downloaded backup plugin installation file to each of the Sangfor HCI hosts, then run the below commands from each of the Sangfor HCI hosts’ CLI to install.

tar -zxvf vinchin-kvm-backup-patch-6.0.0.10468-Debian.7-x86_64.tar.gz

cd vinchin-kvm-backup-patch-6.0.0.10468-Debian.7-x86_64

./ kvm_backup_patch_install

In the above command, where “6.0.0-10468” should be the actual version number of the backup plugin you downloaded.

 

Step 3: Change Vinchin backup plugin listening IP

Edit Vinchin backup plugin config file from Sangfor HCI host CLI by using below command.

vi   /sf/third/vinchin/cfg/kvm_backup_service.conf.xml

Modify the listening IP of the backup plugin from 0.0.0.0 to the IP of the Sangfor HCI host network interface which is connected to the storage network.

For example, the Sanfor HCI host got an IP 172.16.0.100 which is connected to management network, another IP 10.10.10.100 which is connected to storage network, please change the listening IP to 10.10.10.100.

<?xml   version="1.0" encoding="UTF-8" ?>

<kvm-backup-agent-conf>

        <listen_ip>10.10.10.100</listen_ip>

        <listen_port>37032</listen_port>

        <log_dir>/sf/log/today/vinchin/</log_dir>

        <log_num>60</log_num>

          <log_level>debug</log_level>

        <run_dir>/var/run/vinchin</run_dir>

</kvm-backup-agent-conf>

There’s another copy of the conf file needs to be modified the same way. Please use below command the edit the other copy of the file.

vi /boot/firmware/6.2.0_EN-001/custom/40-sp-vinchin/sf/third/vinchin/cfg/kvm_backup_service.conf.xml

The above modifications of backup plugin conf files should be done on all the Sangfor HCI hosts, and the listening IP should be corresponding to each of the Sangfor HCI hosts’ storage network IP respectively.

 

Step 4: Restart the backup plugin services

Restart Vinchin backup plugin services for Sangfor HCI using the command below.

/etc/init.d/kvm_backup_service   restart

 

Step 5: Restore Sangfor HCI host firewall

Restart Sangfor HCI host firewall using the command below.

/sf/etc/init.d/fw.sh restart

 

Step 6: Add Sangfor HCI to Vinchin backup server

Open Vinchin backup server web console, add Sangfor HCI to Vinchin backup server under Resources > Virtual Infrastructure.

Please add Sangfor HCI by using the cluster virtual IP and super admin user credentials of the Sangfor HCI.

If you are running Sangfor HCI 6.3 or newer version, please enable SSH port from Sangfor HCI web GUI on the System > Port Management page. And if you had enabled “Allow SSH Access by IP Address” option, please add Vinchin backup server’s IP address into the IP Address list at the bottom of this page. Otherwise Vinchin will fail to back up the UEFI boot mode VMs.

 

Step 7: Create VM backup job

Create a VM backup job under VM Backup > Backup, follow the New Backup Job wizard to complete the job settings.

In the 3rd step – Backup Strategy, under Transmission Strategy tab, please select LAN in the Transfer via dropdown list.

With the above configurations, the VM backups will be transferred through the storage network.

Please rate how useful this information is to you.

Back to Knowledge Base
feedback Feedback

Fill in your contact info here so we can contact you in time!

Leave your message here if you could not find what you are looking for.

Submit