PRIMECLUSTER Global Link Services Configuration and Administration Guide: Redundant Line Control Function 4.1 (for Solaris(TM) Operating System)
Contents Index PreviousNext

Appendix B Examples of configuring system environments> B.9 Example of configuring GS/SURE linkage mode

B.9.3 Example of the Single system in GS/SURE connection function (GS Hot-standby)

This section describes an example of configuring an environment for GS Hot-standby.

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

image

[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.70.2    gs11    # GS-1 Physical IP (1)
192.168.71.2    gs12    # GS-1 Physical IP (2)
192.168.70.3    gs13    # GS-1 Physical IP (3)
192.168.71.3    gs14    # GS-1 Physical IP (4)
192.168.81.1    gsa     # GS-1 Virtual IP

1-2) Create /etc/notrouter file as an empty file.

1-3) 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) Reboot

Run the following command and reboot the system.

/usr/sbin/shutdown -y -i6 -g0

3) Creation of virtual interface

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

4) Setting the Communication target monitoring function

/opt/FJSVhanet/usr/sbin/hanetobserv create -n GS-1 -i 192.168.81.1 -t 192.168.70.2,192.168.71.2 -m on
/opt/FJSVhanet/usr/sbin/hanetobserv create -n GS-1 -i 192.168.81.1 -t 192.168.70.3,192.168.71.3

5) Activation of virtual interface

/opt/FJSVhanet/usr/sbin/strhanet


Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005