Huawei OceanStor 2000 V3 Series Features Manual page 86

Hypermetro feature guide for file
Hide thumbs Also See for OceanStor 2000 V3 Series:
Table of Contents

Advertisement

OceanStor V3 Series
HyperMetro Feature Guide for File
2.
3.
4.
Issue 05 (2018-01-30)
gateway 192.168.7.1
netmask 255.255.255.0
Check whether the service IP address configuration of the quorum server takes effect.
Enter the CLI of the quorum server, go to any directory, run sudo ifdown eth1 and sudo
ifup eth1 command in any directory to restart the network adapter. Then run the ifconfig
eth1 command to check whether the configuration takes effect. If the IP address that you
configure is displayed in the command output, the configuration takes effect.
XXX@ubuntu:~$ifconfig eth1
eth1
Link encap:Ethernet
inet addr: 192.168.6.31
inet6 addr: fe80::a00:27ff:fe2e:fba6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST
RX packets:43285954 errors:0 dropped:5051127 overruns:0 frame:0
TX packets:5819 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2916916679 (2781.7 Mb)
Enter the CLI of the quorum server, go to any directory, run sudo ifdown eth2 and sudo
ifup eth2 command in any directory to restart the network adapter. Then run the ifconfig
eth2 command to check whether the configuration takes effect. If the IP address that you
configure is displayed in the command output, the configuration takes effect.
XXX@ubuntu:~$ifconfig eth2
eth1
Link encap:Ethernet
inet addr: 192.168.7.31
inet6 addr: fe80::a00:27ff:fe2e:fba7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST
RX packets:43285954 errors:0 dropped:5051127 overruns:0 frame:0
TX packets:5819 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2916916679 (2781.7 Mb)
Configure a port ID for the firewall of the quorum server.
Enter the CLI of the quorum server, go to any directory, (take ufw as example), run the
sudo ufw allow 30002/tcp command in any directory to add the port to 30002.
NOTE
If you want to enable other ports for the firewall, run the sudo ufw allow XXX/XXX
command to add the port IDs to the firewall. For example, if you want to enable port 22, run
the sudo ufw allow 22/tcp command.
If a virtual machine (VM) is used to deploy the arbitration software, enable the firewall port of
the physical machine where the VM is deployed.
XXX@ubuntu:~$sudo ufw allow 30002/tcp
Rule added
Rule added (v6)
Check whether the firewall configuration of the quorum server takes effect.
Enter the CLI of the quorum server, go to any directory, run the sudo ufw status
command to check whether the firewall configuration takes effect. If the 30002/tcp
ALLOW Anywhere and 30002/tcp(v6) ALLOW Anywhere (v6) information is
displayed in the command output, the firewall configuration takes effect.
XXX@ubuntu:~$sudo ufw status
To
--
30002/tcp
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
HWaddr 08:00:27:45:7A:E2
Bcast:192.168.6.255
MTU:1500
HWaddr 08:00:27:45:7A:EB
Bcast:192.168.7.255
MTU:1500
Action
From
------
----
.
.
.
.
ALLOW
Anywhere
Mask:255.255.255.0
Metric:1
TX bytes:720809 (703.9 Kb)
Mask:255.255.0.0
Metric:1
TX bytes:720809 (703.9 Kb)
4 Configuration
78

Advertisement

Table of Contents
loading

Table of Contents