arbitration ports as an example to describe how to modify the file. Modify the
IPADDR
in this file and then save the file.
NOTICE
Parameter
STARTMODE
must be set to
auto
.
XXX@Linux:~# vi /etc/sysconfig/network/ifcfg-eth1
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='192.168.6.31/24'
MTU=''
NAME='82540EM Gigabit Ethernet Controller'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
XXX@Linux:~# vi /etc/sysconfig/network/ifcfg-eth2
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='192.168.7.31/24'
MTU=''
NAME='82540EM Gigabit Ethernet Controller'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
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.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)
eth2 Link encap:Ethernet HWaddr 08:00:27:45:7A:EB
inet addr: 192.168.7.31 Bcast:192.168.7.255 Mask:255.255.255.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, run the
vi /etc/sysconfig/
SuSEfirewall2
command in any directory to open the firewall configuration file and add
the port ID of
FW_SERVICES_EXT_TCP
to
30002
.
OceanStor V3 Series
HyperMetro Feature Guide for File
4 Configuration
Issue 05 (2018-01-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
67