gateway 192.168.7.1
netmask 255.255.255.0
2.
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 HWaddr 08:00:27:45:7A:E2
inet addr: 192.168.6.31 Bcast:192.168.6.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe2e:fba6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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) TX bytes:720809 (703.9 Kb)
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 HWaddr 08:00:27:45:7A:EB
inet addr: 192.168.7.31 Bcast:192.168.7.255 Mask:255.255.0.0
inet6 addr: fe80::a00:27ff:fe2e:fba7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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) TX bytes:720809 (703.9 Kb)
3.
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)
4.
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 Action From
-- ------ ----
.
.
.
.
30002/tcp ALLOW Anywhere
OceanStor V3 Series
HyperMetro Feature Guide for File
4 Configuration
Issue 05 (2018-01-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
78