Table 4-5
Examples for configuring IP addresses of arbitration services
Arbitration
Port
Service IP Address
Mask
Arbitration
port 1
192.168.6.31
255.255.255.0
Arbitration
port 2
192.168.7.31
255.255.255.0
Run the
vi
command to open the configuration file of the network adapter used by the
quorum server for arbitration. The following uses network adapters
eth1
and
eth2
for
arbitration ports as an example to describe how to modify the file. Modify the
IPADDR
and
NETMASK
in this file and then save the file.
NOTICE
Parameter
ONBOOT
must be set to
yes
.
XXX@Linux:~# vi /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=08:00:27:45:7A:E2
TYPE=Ethernet
#UUID=e9f75670-fde9-4bf0-941e-c9a251341405
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=192.168.6.31 #IP address of network
adapter
NETMASK=255.255.255.0 #Subnet mask
XXX@Linux:~# vi /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
HWADDR=08:00:27:45:7A:EB
TYPE=Ethernet
#UUID=e9f75670-fde9-4bf0-941e-c9a251341406
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=192.168.7.31 #IP address of network
adapter
NETMASK=255.255.255.0 #Subnet mask
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 the
service network restart
command in any directory to enable the IP address configuration to take effect. Then run
the
ifconfig
command to check whether the configuration for
eth1
and
eth2
takes effect.
If the IP address that you configure is displayed in the command output, the
configuration takes effect.
XXX@Linux:~#ifconfig
eth1 Link encap:Ethernet HWaddr 08:00:27:45:7A:E2
inet addr: 192.168.6.31 Bcast:192.168.255.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
OceanStor V3 Series
HyperMetro Feature Guide for File
4 Configuration
Issue 05 (2018-01-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
72