Top
PRIMECLUSTER Global Link Services Configuration and AdministrationGuide 4.3Redundant Line Control Function

B.7.4 Example of the Single system in TCP relay function

This section describes an example configuration procedure of the network shown in the diagram below.

For configuring the SURE, refer to the SURE manual.
The dotted line indicates that the interface is inactive.

[HOST-A]

1) Setting up the system

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

192.168.70.1    host11  # HOST-A Virtual IP (mode:n)
192.168.71.1    host12  # HOST-A Virtual IP (mode:n)
192.168.80.1    hosta   # HOST-A Virtual IP (mode:c)
192.168.80.254  virgw   # Virtual gateway
192.168.70.2    sure11  # SURE-1 Physical IP (1)
192.168.71.2    sure12  # SURE-1 Physical IP (2)
192.168.70.3    sure13  # SURE-1 Physical IP (3)
192.168.71.3    sure14  # SURE-1 Physical IP (4)
192.168.81.1    surea   # SURE-1 Virtual IP (1)
192.168.81.2    sureb   # SURE-1 Virtual IP (2)

1-2) Define the subnet mask in /etc/inet/netmasks file.

192.168.70.0    255.255.255.0
192.168.71.0    255.255.255.0
192.168.80.0    255.255.255.0
192.168.81.0    255.255.255.0

2) Creation of virtual interface

2-1) For Solaris 10

# /opt/FJSVhanet/usr/sbin/hanetconfig create -n sha1 -m n -i 192.168.70.1 -t fjgi0
# /opt/FJSVhanet/usr/sbin/hanetconfig create -n sha2 -m n -i 192.168.71.1 -t fjgi1
# /opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0 -m c -i 192.168.80.1 -t sha1,sha2

2-1) For Solaris 11

# /opt/FJSVhanet/usr/sbin/hanetconfig create -n sha1 -m n -i 192.168.70.1 -t net0
# /opt/FJSVhanet/usr/sbin/hanetconfig create -n sha2 -m n -i 192.168.71.1 -t net1
# /opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0 -m c -i 192.168.80.1 -t sha1,sha2

3) Setting the virtual gateway

# /opt/FJSVhanet/usr/sbin/hanetgw create -n sha0 -g 192.168.80.254

4) Setting the Communication target monitoring function

# /opt/FJSVhanet/usr/sbin/hanetobserv create -n SURE-1 -i 192.168.81.1 -t 192.168.70.2:1,192.168.71.2:1,192.168.70.3:2,192.168.71.3:2 -m on -r on

5) Setting the TCP relay function

# /opt/FJSVhanet/usr/sbin/hanetobserv create -i 192.168.81.1 -c 192.168.72.1,192.168.73.0:255.255.255.0

6) Activation of virtual interface

# /opt/FJSVhanet/usr/sbin/strhanet