Configuring a Backup Port for the Web Access Port Using the Dual-NIC Binding Tool
To ensure that the analyzer can be properly accessed when the web access port (providing web services) is faulty, you can bind two ports with the IP address of the web access port. These two ports work in active/standby mode.
Procedure
- Log in to the Linux operating system as the root user.
- Right-click the desktop and choose Open in Terminal from the
shortcut menu to access the CLI
- Run the cd software-installation-path/engineering/tools command to access the directory.
The default directory is /opt/huawei/LogCenter/engineering/tools.
- Run the ./bind_ip.sh command. Select two ports to be bound and set its IP address to that of the web access port.
eLogServer:/opt/huawei/LogCenter/engineering/tools # ./bind_ip.sh ---------------------------- net interface status ----------------------------| INTERFACE-NAME INTERFACE-IP PCI_ID STATUS CONNECT MGMT eth0 192.168.1.100 02:00.0 used Y Y eth1 - 02:00.1 used N N eth2 - 02:00.2 idle N N eth3 - 02:00.3 idle N N eth4 - 04:00.0 idle N N eth5 - 04:00.1 idle N N eth6 - 04:00.2 used N N eth7 - 04:00.3 used N N Info: Start to bound eth cards. Continue?[Y/N]: y Please input eth numbers for bonding(such as 0 1): 0 1 //The first port is the active port. Info: Select eth0 eth1 for bounding, Confirm?[Y/N]: y Info: You have confirmed that the ethernet cards for bonding are eth0 eth1. IP-address for bonding: 192.168.10.10 Mask: 24 Info: Start to restart network that will take about 3 seconds..... Info: Successed in bonding double network cards!
Related Operations
To remove an NIC binding, run the unbind_ip.sh command.