This section describes an example configuration procedure of the network shown in the diagram below.
For the network configuration other than GLS, refer to "3.2.2 Network configuration".
[HOST-A]
1) Setting up the system
1-1) Define IP addresses and hostnames in the /etc/hosts file.
fc00:80::1 v6hosta # HOST-A Virtual IP fc00:80::2 v6hostb # HOST-B Virtual IP fe80::xx:1 swhub1 # Primary HUB IP fe80::xx:2 swhub2 # Secondary HUB IP |
1-2) Edit the /etc/sysconfig/network-scripts/ifcfg-ethX (X is 0,1) file as follows.
For RHEL7
Contents of /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 BOOTPROTO=static HOTPLUG=no ONBOOT=yes DEVICETYPE=hanet |
Contents of /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1 BOOTPROTO=static HOTPLUG=no ONBOOT=yes DEVICETYPE=hanet |
For RHEL8 or later
Contents of /etc/sysconfig/network-scripts/ifcfg-eth0
TYPE=Ethernet BOOTPROTO=none DEVICE=eth0 ONBOOT=yes |
Contents of /etc/sysconfig/network-scripts/ifcfg-eth1
TYPE=Ethernet BOOTPROTO=none DEVICE=eth1 ONBOOT=yes |
2) Creating a virtual interface
/opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0 -m v -t eth0,eth1
3) Setting an IP address
Define an IP address or other entries in the /etc/sysconfig/network-scripts/ifcfg-sha0 file.
For RHEL7
Contents of /etc/sysconfig/network-scripts/ifcfg-sha0
DEVICE=sha0 IPV6INIT=yes IPV6ADDR=fc00:80::1/64 BOOTPROTO=static ONBOOT=yes DEVICETYPE=sha HOTPLUG=no |
For RHEL8 or later
Contents of /etc/sysconfig/network-scripts/ifcfg-sha0
DEVICE=sha0 IPV6INIT=yes IPV6ADDR=fc00:80::1/64 BOOTPROTO=none ONBOOT=yes TYPE=Ethernet |
4) Setting the network monitoring function
/opt/FJSVhanet/usr/sbin/hanetpathmon target -n sha0 -p fe80::xx:1,fe80::xx:2
5) Reboot
Run the following command to reboot the system.
/sbin/shutdown -r now
[HOST-B]
1) Setting up the system
1-1) Define IP addresses and hostnames in the /etc/hosts file. Defined content is same as HOST-A.
1-2) Edit the /etc/sysconfig/network-scripts/ifcfg-ethX (X is 0,1) file. Defined content is same as HOST-A.
2) Creating a virtual interface
/opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0 -m v -t eth0,eth1
3) Setting an IP address
Define an IP address or other entries in the /etc/sysconfig/network-scripts/ifcfg-sha0 file.
For RHEL7
Contents of /etc/sysconfig/network-scripts/ifcfg-sha0
DEVICE=sha0 IPV6INIT=yes IPV6ADDR=fc00:80::2/64 BOOTPROTO=static ONBOOT=yes DEVICETYPE=sha HOTPLUG=no |
For RHEL8 or later
Contents of /etc/sysconfig/network-scripts/ifcfg-sha0
DEVICE=sha0 IPV6INIT=yes IPV6ADDR=fc00:80::2/64 BOOTPROTO=none ONBOOT=yes TYPE=Ethernet |
4) Setting the network monitoring function
/opt/FJSVhanet/usr/sbin/hanetpathmon target -n sha0 -p fe80::xx:1,fe80::xx:2
5) Reboot
Run the following command to reboot the system.
/sbin/shutdown -r now