Configuration d'un port de sauvegarde pour le port d' accès Web à l' aide de l'outil de liaison Dual-NIC
Pour vous assurer que l'analyseur est correctement accessible lorsque le port d' accès Web (fournissant des services Web) est défectueux, vous pouvez lier deux ports avec l'adresse IP du port d' accès Web . Ces deux ports fonctionnent en mode actif / veille.
Procédure
Connectez-vous au système d'exploitation Linux en tant qu'utilisateur root .
Cliquez avec le bouton droit sur le bureau et choisissez Ouvrir dans le terminal dans le
menu contextuel pour accéder à la CLI
Exécutez la commande cd software-installation-path/engineering/tools pour accéder au répertoire.
Le répertoire par défaut est /opt/huawei/LogCenter/engineering/tools.
Exécutez la commande ./bind_ip.sh . Sélectionnez deux ports à lier et définissez son adresse IP sur celle du port d' accès Web .
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!
Opérations connexes
Pour supprimer une liaison NIC, exécutez la commande unbind_ip.sh .