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

3.1.2 Selecting appropriate contents

Select appropriate contents for each mode.


3.1.2.1 Fast switching mode

When using Fast switching mode, determine the information required for configuration of the mode listed in Table 3.2 Configuration information of Fast switching mode.

Table 3.2 Configuration information of Fast switching mode

Components

Values

Virtual interface information (1)

Virtual interface name

T-1

Virtual IP address or host name

T-2

Subnet mask

T-3

Physical interface information (1)

Physical interface name

T-4

IP address or host name

T-5

Subnet mask

T-6

Physical interface information (2)

Physical interface name

T-7

IP address or host name

T-8

Subnet mask

T-9

(Repeat for the number of physical interfaces)

(Repeat for the number of virtual interfaces)

Description of each component is as follows:

<Virtual interface information>

Setup the followings for the number of virtual interfaces.

Virtual interface name(T-1)

Specify a name for a virtual interface, which will be assigned to the physical interface used for redundancy. Specify shaX (X represents a number) of this component using "hanetconfig create" command with -n option.

Virtual IP address or host name(T-2)

Specify an IP address or host name to be assigned for the virtual interface. The network portion (IPv4) and a prefix (IPv6) of this IP address must be different from the IP address assigned for the physical interface. When using IPv4, use "hanetconfig create" command with -i option to specify the IP address to be allocated for the virtual interface. When using IPv6, configure these in /etc/radvd.conf file.

Subnet mask(T-3)

When using IPv4 address, specify the sub network mask value applied to the virtual IP address. If subnet is not used, this configuration can be omitted. This component is set by using "hanetmask" command. However, this configuration is not necessary if using IPv6 address.

<Physical interface information>

Setup the followings for the number of physical interfaces used for redundancy.

Physical interface name(T-4,7)

Specify a name for the physical interface. This component can be set using "hanetconfig create" command with -t option (e.g. eth1, eth2 etc).

Physical IP address or host name(T-5,8)

If using IPv4 address, specify an IP address or host name to be assigned for the physical interface. The network portion of this IP address must be different from IP address of other physical and virtual interface. To setup this component, create "/etc/sysconfig/network-scripts/ifcfg-ethX" (RHEL) or "/etc/sysconfig/network/ifcfg-ethX" (SLES) file and then assign the IP address in the file.
Make sure this value is different from the other IP.

Subnet mask (T-6,9)

If using IPv4 address, specify a sub network mask value applied to the physical IP address. If subnet is not used for allocation, this configuration can be omitted. This configuration is written in "/etc/sysconfig/network-scripts/ifcfg-ethX" (RHEL) or "/etc/sysconfig/network/ifcfg-ethX" (SLES) file. Note that, this configuration is not necessary if using IPv6 address.

3.1.2.2 NIC switching mode

Table 3.3 Configuration information of NIC switching mode shows the information required to configure NIC switching mode:

Table 3.3 Configuration information of NIC switching mode

Components

Values

Virtual interface information (1)

Virtual interface name

D-1

Virtual IP address (or host name)

D-2

Subnet mask

D-3

Physical interface information (1)

Physical interface name

D-4

IP address or host name

D-5

Physical interface information (2)

Physical interface name

D-6

Standby interface information

Virtual interface name

D-7

Automatic switching back mode

D-8

Monitored remote system information

Primary Monitored remote system IP address or host name

D-9

Secondary Monitored remote system IP address or host name

D-10

HUB-to-HUB monitoring

D-11

(Repeat for the number of physical interfaces)

Description of each component is as follows:

<Virtual interface information>

Setup the followings for the number of virtual interfaces.

Virtual interface name (D-1)

Name a virtual interface to be configured on a physical interface used for GLS. Specify the name using "hanetconfig create" command with -n option, in "shaX" (where X is a natural number) format.

Virtual IP address or host name (D-2)

Specify an IP address or host name allocated to the virtual interface. The network portion (for IPv4) or prefix (for IPv6) of this IP address must be the same IP address assigned to the physical interface. This value is specified using "hanetconfig create" command with -i option.

Subnet mask(D-3)

When using IPv4 address, specify the value of a sub network mask used for the virtual IP address. This configuration can be omitted if not allocating a subnet. Set a subnet mask by using "hanetmask" command. When using IPv6 address, it is not required to configure this value.

<Physical interface information>

Setup the followings for the number of physical interfaces for redundancy.

Physical interface name (D-4,6)

Specify a name of the physical interface. This can be specified using "hanetconfig create" command with -t option. (e.g.eth1, eth2 etc)

Physical IP address or host name (D-5)

Specify an IP address or host name assigned to the physical interface. This IP address must be different from the IP address of the other physical and virtual interfaces. In order to specify an IP address for the physical interface, create "/etc/sysconfig/network-scripts/ifcfg-ethX" (RHEL) or "/etc/sysconfig/network/ifcfg-ethX" (SLES) file and then assign an IP address in the file.

<Standby patrol information>

When using Standby patrol function, setup the followings. Skip this process if Standby patrol function is not used.

Virtual interface name (D-7)

Specify a name to a virtual interface for standby patrol function. Specify it using "hanetconfig create" command with -n option, in "shaX" (where X is a natural number) format.

Automatic switch back mode (D-8)

Setting up the Standby patrol function enables the automatic switch back function when a transfer path recovers from a failure. Specify "q" to "hanetconfig create" command with -m option for using immediate switch-back after a transfer path recovery, or "p" for using standby interface capability.

<Monitored remote system information>

Setup the following for the number of virtual interfaces. This configuration cannot be omitted.

Primary Monitored remote system IP address or host name (D-9)

Specify an IP address or host name of a HUB to be monitored while primary physical interface is being used. This IP address is assigned using "hanetpoll create" command with -p option.

Secondary Monitored remote system IP address or host name (D-10)

Specify an IP address or host name of a HUB to be monitored while the secondary physical interface is being used. This IP address is specified using "hanetpoll create" command with -p option. This step can be omitted. In such case, the same value as primary remote end IP address or host name is applied.

HUB-to-HUB monitoring (D-11)

Indicate whether the HUB-to-HUB monitoring function should monitor a transfer path between the cascaded HUBs or not, when two HUBs are used:
on: monitor between HUBs,
off: do not monitor between HUBs.
The default value is "off". Specify the value using "hanetpoll create" command with -b option.

3.1.2.3 GS linkage mode

Table 3.4 Configuration information of GS linkage mode shows the information required to configure GS linkage mode.

Table 3.4 Configuration information of GS linkage mode

Components

Value

Virtual interface information

Virtual interface name

C-1

Virtual IP address or host name

C-2

Subnet mask

C-3

Physical interface information (1)

Physical interface name

C-4

IP address or host name

C-5

Subnet mask

C-6

Physical interface information (2)

Physical interface name

C-7

IP address or host name

C-8

Subnet mask

C-9

(Repeat for the number of the physical interfaces)

Virtual gateway infomation

Virtual gateway

C-10

(Repeat for the number of the virtual interfaces)

Remote node information

Remote node name

C-11

Virtual IP information

Virtual IP address

C-12

Remote host physical IP address information

IP address or host name (1)

C-13

Router IP address or host name(1)

C-14

IP address or host name (2)

C-15

Router IP address or host name(2)

C-16

(Repeat for the number of IP addresses)

(Repeat for the number of virtual IP)

(Repeat for the number of remote nodes)

Description of each component is as follows:

<Virtual interface information>

Setup the followings for the number of virtual interfaces.

Virtual interface name (C-1)

A virtual interface name is specified via "hanetconfig create" command with -n option, in "shaX" (where X is a natural number) format.

Virtual IP address or host name (C-2)

Specify an IPv4 address or host name to be assigned to the virtual interface. The network portion of this IP address must be different from the IP address assigned to the physical interface. Virtual IP address or host name is specified via "hanetconfig create" command with -i option.

Subnet mask (C-3)

Specify a sub network mask value applied to the virtual IP address. This procedure can be omitted if not applying a subnet. This configuration can be omitted if not allocating a subnet. Set a subnet mask by using "hanetmask" command. When applying subnet mask, apply the same mask value to the whole virtual and physical IP.

<Physical interface information>

Setup the followings for the number of physical interfaces for redundancy.

Physical interface name (C-4,7)

Specify a name for the physical interface. Physical interface name is specified via "hanetconfig create" command with -t option.

Physical IP address or host name (C-5,8)

Specify an IP address or host name to be assigned to the physical interface. The network portion of this IP address must be different from the IP address allocated to the other physical and virtual interfaces. The physical IP address (or host name) is specified via -i option while executing "hanetconfig create" command with -n option. Do not create "/etc/hostname.<physical interface name>" file.

Subnet mask (C-6,9)

Specify a sub network value applied to the physical IP address. This procedure can be omitted if not applying a subnet. This configuration can be omitted if not allocating a subnet. Set a subnet mask by using "hanetmask" command. If using subnet mask, apply the same mask value to a whole virtual and physical IP.

<Virtual gateway information>

Setup the followings for the number of virtual interfaces.

Virtual gateway (C-10)

Specify the IP address of the remote virtual gateway. The network (subnet) portion of the IP address should be the same as the IP address assigned to the virtual interface. This item creates the "/etc/sysconfig/network-scripts/route-virtual interface name" file and sets the information for the virtual gateway static route in the file. In addition, specify the IP address of the virtual gateway with the -g option of the hanetgw create command.

<Remote node information>

Configure the following for the number of host nodes.

Remote node name (C-11)

Specify an arbitrary name (within 16 one-bit characters) to identify the node of remote host. Remote host name is specified via "hanetobserv create" command with -n option.

<Virtual IP information>

Setup the followings for the number of virtual IP.

Virtual IP address or host name (C-12)

Specify a virtual IP address or host name of the remote host. The virtual IP address or host name is specified via "hanetobserv create" command with -i option. Also, the host name and IP address must be defined in /etc/inet/hosts file.

Remote host physical IP address information (C-13,15)

Specify a physical IP address or host name in the virtual IP of the remote host. List these physical IP addresses separated by ',' (commas). Remote host physical IP address information is specified via "hanetobserv create" command with -t option. The IP address and the host name specified here must be defined in /etc/inet/hosts file as well.

Router IP address or host name (C-14,16)

When you use remote network communication with GS via router, specify the IP address or host name of the local system's router in the 'router IP address + remote physical IP address' format according to the remote physical IP address information. The host name and IP address need to be defined in the /etc/hosts file as well. You do not need to set this item if you do not use remote network communication.

3.1.2.4 Configuration of individual mode

Table 3.5 Configuration of redundancy mode shows description of common parameters for each mode. These values apply to the whole system. However, these values cannot convert to unit of the virtual interface or redundancy mode. This configuration is not necessary when using the default value.

Table 3.5 Configuration of redundancy mode

Contents

Fast switching mode

NIC switching mode

GS linkage mode

Value

Default

Transfer path monitoring interval

A

N

N

K-1

5 sec

The number of constant monitoring prior to outputting message

A

N

N

K-2

0 time

The number of constant monitoring prior to switching cluster

A

N

N

K-3

5 sec

Switching cluster immediately after starting

A

N

N

K-4

none

Outputting message (monitoring the physical interface)

A

N

N

K-5

none

Standby patrol monitoring period

N

A

N

K-6

15 sec

The number of constant standby monitoring prior to outputting message

N

A

N

K-7

3 times

Monitoring period

N

A

A

K-8

5 sec

The number of monitoring

N

A

A

K-9

5 times

Recovery monitoring period

N

A

A

K-10

5 sec

Cluster switching

N

A

A

K-11

Yes

Link up waiting period

N

A

A

K-12

60 sec

Link monitoring function

N

A

N

K-13

No

Hostname resolution function

A

A

A

K-14

No

Self-checking function

A

A

A

K-15

No

[Meaning of the symbols] A: Available, N: Not available

The followings are description of each of the content.

Transfer path monitoring interval (K-1)

Specify the transfer path monitoring interval in seconds. The range of the intervals that can be specified is from 0 to 300 sec. If "0" is specified, it will not monitor the transfer path. Initially, it is set to 5 seconds. will not monitor the transfer path. Initially, it is set to 5 seconds. The transfer path monitoring interval is set using "hanetparam" command with -w option. This feature is available for Fast switching mode.

The number of constant monitoring prior to message output (K-2)

Specify the number of times for monitoring before outputting the message (No: 800 or 801) if the message needs to be output as a transfer path failure is detected. The effective range of the numbers which can be specified is from 0 to 100. If "0" is specified, it will not output a message. Initially it is set to 0 (does not output any message). This feature is specified using "hanetparam" command of -m option. Note that this feature is only available for Fast switching mode.

The number of constant monitoring prior to switching cluster (K-3)

Specify whether or not to switch over the cluster if a failure occurs on a whole transfer path of the virtual interface. The effective range of the numbers is from 0 to 100. it will not switch the cluster. When configuring to switch the cluster, set how many times it repeatedly monitors. The range is from 1 to 100. Initially, it is set to 5, meaning that a cluster failover is triggered after continuously detecting the same failure 5 times. This feature is specified using "hanetparam" command with -i option. This feature is available only for Fast Switching.

Switching cluster immediately after starting (K-4)

Specify whether or not to switch the cluster immediately after the cluster starts up. Configure this if a failure occurs in entire transfer path of the virtual interface before the system starts up. The values which can be specified are either "on" or "off". If "on" is selected, cluster is switched immediately after the userApplication starts up. On the other hand, if "off" is selected, the cluster is not switched even after the userApplication starts up. As an initial value, it is set to "off". This setting is specified using "hanetparam" command with -c option. This is available for Fast switching mode.

Outputting message (monitoring the physical interface) (K-5)

Configure whether or not to output a message when the status of the physical interface changes (detecting a failure in transfer path or transfer path recover) in the virtual interface. The values which can be specified are either "on" or "off". If "on" is selected, a message (message number: 990, 991, 992) is outputted. If "off" is selected, a message is not outputted. Initially, it is set to "off". This setting is specified via "hanetparam" command with -s option. This is available for Fast switching mode.

Standby patrol monitoring period (K-6)

Specify the monitoring interval (in seconds) of operational NIC for standby patrol function. The values which can be specified are from 0 to 100. If "0" is specified, it will not run monitoring. Note if the user command function (using user command when standby patrol fails or detects recovery) is enabled, do not set the parameter to "0". If the parameter is set to "0", the user command function will not work. Initially, the parameter is set to 15 (seconds). This setting is specified via "hanetparam" command with -p option. This configuration is available for NIC switching mode with standby patrol function is enabled.

The number of constant standby monitoring prior to outputting message (K-7)

When a failure is detected in a transfer path using the standby patrol function, a message will be outputted to inform the failure. In this section, specify how many times to monitor until the message (message number: 875) is outputted. The values which can be specified are from 0 to 100. If "0" is selected, it stops outputting a message and disables monitoring using the standby patrol function. Note if the user command function (using user command when standby patrol fails or detects recovery) is enabled, do not set the parameter to "0". If the parameter is set to "0", the user command function will not work. Initially, the parameter is set to 3 (times). This configuration is specified via "hanetparam" command with -o option. This is available in NIC switching mode, which uses the standby patrol function. Using this option, the number of monitoring times doubles immediately after the standby patrol starts.

Monitoring period (K-8)

Specify the monitoring period in seconds. The values which can be specified are from 1 to 300. The default value is 5 (seconds). This configuration is specified by "hanetpoll on" command with -s option in NIC switching mode, by "hanetobserv param" command with -s option in GS linkage mode. This feature is available for NIC Switching and GS linkage mode.

The number of monitoring (K-9)

Specify the number of monitoring times. The values which can be specified are from 1 to 300. The default value is 5 (times). This configuration is specified using "hanetpoll on" command with -c option in NIC switching mode, by "hanetobserv param" command with -c option in GS linkage mode. This feature is available for NIC switching mode and GS linkage mode.

Recovery monitoring period (K-10)

Specify the monitoring period when a failure is detected by communication host monitoring for GS linkage mode. The values which can be specified are from 1 to 300. The default value is 5 (seconds). This configuration is assigned via "hanetobserv param" command with -b option. This feature is available for GS linkage mode.

Cluster switching (K-11)

Specify whether or not to switch the node when a failure occurs to every transfer paths.
yes: Switch nodes when a failure occurs to a whole transfer paths.
no: Does not switch nodes when a failure occurs to a whole transfer path.
The default parameter is "yes". This configuration is specified by "hanetpoll on" command with -f in NIC switching mode and by "hanetobserv param" command with -f in GS linkage mode. This feature is available for NIC switching mode and GS linkage mode operating as a cluster.

Link up waiting period (K-12)

In NIC switching mode and GS linkage mode, specify the time period (in seconds) until the HUB to links up after monitoring starts. The values which can be specified are from 1 to 300. If this option is not specified, then the default value is used. Initial value is set to 60 (seconds). If the value is less than the product of monitoring period and monitoring times (monitoring period X monitoring times), then the value is ignored and ends up using the value of the product of monitoring period and monitoring times. This configuration is specified by "hanetpoll on" command with -p option in NIC switching mode, by "hanetobserv param" command with -p option in GS linkage mode. This feature is available for NIC switching mode and GS linkage mode.

Link monitoring function (K-13)

Specify whether to monitor the link state of the NICs in the virtual interface bundles. The link state is monitored at intervals set by using the -s option of the hanetpoll on command, and GLS immediately performs NIC switching when NIC link down is detected. Specify this monitoring with the -l option of the hanetpoll on command. This function is enabled in NIC switching mode.

Hostname resolution function (K-14)

If you enable this function when the host name, not the IP address, is specified for setting GLS, you can assign the IP address of GLS to NICs based on the host file (/etc/hosts) without depending on the OS setting (/etc/nsswitch.conf). This function is enabled in Fast switching mode, NIC switching mode, and GS linkage mode.

Self-checking function (K-15)

If this function is enabled, the operational state of the GLS is monitored periodically. This function is available for the Fast switching mode, NIC switching mode, and GS linkage mode.

3.1.2.5 Upper limit of configuration

The following describes the upper limit of configuration in each mode.

Upper limit of redundant line control methods

The following table lists the upper limit of configuration items set in the redundant line control methods.

Configuration item

Upper limit

Total number of virtual interfaces and logical virtual interfaces

64

See

For information on how to set the upper limit, refer to "7.1 hanetconfig Command".

Upper limit of GS linkage mode

The following table lists the upper limit of configuration items set for communication host monitoring for GS linkage mode.

Configuration item

Upper limit

Maximum number of virtual IP addresses (Note 1)

64

Maximum number of physical IP addresses

32

Maximum number of nodes in which a single virtual IP address can be transferred

4

Note 1)
In the environment where GLS is used in a cluster configuration, you need to configure the following virtual IP addresses as monitoring targets:

See

For information on how to set the upper limit, refer to "7.13 hanetobserv Command".
For details on setting of monitoring in a cluster configuration, refer to "3.9.1 Monitoring the remote host".