Top
PRIMECLUSTER Global Link Services Configuration and AdministrationGuide 4.6Redundant Line Control Function
FUJITSU Software

E.6.3 Setup example in a cluster system (NIC non-redundant)

This section describes a configuration setup example for the following network configuration.

Note

Set so that the network error detection time of GLS on the guest OS becomes longer than the network error detection time by the redundant function on the VMware host.

[Setting up the VMware host]

Connect the redundant interface to the guest machine on the VMware host machine.

[Setting up the guest OS1]

1) Setting up the system

1-1) Define the IP addresses and hostnames in /etc/hosts file.

192.168.70.10   hosta   # guest OS1/2 Virtual IP (Takeover IP address)
192.168.70.1    host11  # guest OS1 Physical IP
192.168.70.2    host21  # guest OS2 Physical IP
192.168.70.100  swhub1  # Primary HUB IP
192.168.70.101  swhub2  # Secondary HUB IP

1-2) Assign the defined IP address stated above in /etc/sysconfig/network-scripts/ifcfg-eth0 file.

2) Reflecting system setting

3) Setting up the subnet mask

/opt/FJSVhanet/usr/sbin/hanetmask create -i 192.168.70.0 -m 255.255.255.0

4) Creating the virtual interface

/opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0 -m d -i 192.168.70.10 -e 192.168.70.1 -t eth0

5) Setting up the HUB monitoring function

/opt/FJSVhanet/usr/sbin/hanetpoll create -n sha0 -p 192.168.70.100,192.168.70.101

6) Creating the takeover virtual interface

/opt/FJSVhanet/usr/sbin/hanethvrsc create -n sha0
For RHEL7

7) Starting the HUB monitoring function

/opt/FJSVhanet/usr/sbin/hanetpoll on
For RHEL8 or later

7) Reboot

Run the following command to reboot the system.

/sbin/shutdown -r now

[Setting up the guest OS2]

1) Setting up the system

1-1) Define the IP address and host name to be used in /etc/hosts file. The defined content is the same with guest OS1.

1-2) Assign the defined IP address stated above to /etc/sysconfig/network-scripts/ifcfg-eth0 file.

2) Reflecting system setting

3) Setting up the subnet mask

/opt/FJSVhanet/usr/sbin/hanetmask create -i 192.168.70.0 -m 255.255.255.0

4) Creating the virtual interface

/opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0 -m d -i 192.168.70.10 -e 192.168.70.2 -t eth0

5) Setting up the HUB monitoring function

/opt/FJSVhanet/usr/sbin/hanetpoll create -n sha0 -p 192.168.70.100,192.168.70.101

6) Creating the takeover virtual interface

/opt/FJSVhanet/usr/sbin/hanethvrsc create -n sha0
For RHEL7

7) Starting the HUB monitoring function

/opt/FJSVhanet/usr/sbin/hanetpoll on
For RHEL8 or later

7) Reboot

Run the following command to reboot the system.

/sbin/shutdown -r now

[Setting up the RMS Wizard]

1) Setting up the cluster environment

After the setup of guest OS1 and guest OS2 is completed, register the created takeover virtual interface as a Gls resource to create cluster application. The setting up of cluster environment is performed using RMS Wizard. For details, see "PRIMECLUSTER Installation and Administration Guide."

2) Starting the cluster application

After the setup of cluster environment is completed, the takeover virtual interface is activated in the guest OS1 by starting the cluster application.