NIC switching mode has the following address takeover functions. Select a function to be used depending on your operation.
Logical address takeover
Using the logical address takeover function allows a LAN to have several virtual IP addresses. Ordinary communication will be done via a physical IP address, and a communication through GLS will be done via the virtual IP addresses.
For the remote system device to make a connection, a physical IP address should be specified as the connection address. Then, the remote system device can directly connect to the active or standby node and manage each of the nodes regardless of the status transition of the userApplication.
For this function, two IP addresses are assigned to one physical interface. To use a TCP/IP application that requires only one IP address to be specified, use the physical address takeover function I or II.
Physical IP address takeover I
Use the Physical IP address takeover function I for a GLS network and an ordinary network to exist in a same LAN, sharing an IP address allocated to a physical interface.
This function allows a connection to be made for each of the active and standby nodes independently. However, IP address of the standby node changes according to the status transition of the userApplication. Thus, when clusters are switched, the TCP connection to the standby node is cleared. For the communication target device to make a connection again, the connection IP address must be changed.
Physical IP address takeover II
Use the Physical IP address takeover function II to use a LAN only for GLS networking. In this case, no connection can be made to the standby node because the LAN of the standby node is inactivated. Another LAN must be provided to make a connection.
Figure 5.7 Startup behavior of NIC switching mode (take over logical IP) shows the active standby configuration diagram of duplicated operation in NIC switching mode (logical IP address takeover function). The operation in this figure is as follows: On active node A, the logical interface (eth1:1) of the secondary interface (eth1) is assigned the takeover virtual IP address (IP-A) and activated. If switching occurs due to a failure, the takeover virtual interface (eth1:1) that has been assigned the takeover IP address (IP-A) is inactivated. Then, on standby node B, the logical interface (eth0:1) that has been assigned the takeover IP address (IP-A) on the already activated primary interface (eth0) is activated.
For taking over physical IP address I, activate the physical interface (eth1) for operating node and standby node when the redundant line control function starts up. After the userApplication starts, it will activate the physical interface by allocating a takeover IP address to the physical interface on the operating node. At this time, a physical interface (eth1) over the standby node remains to be inactive.
Figure 5.8 Startup behavior of NIC switching mode (takeover physical IP address I) shows a startup behavior of takeover physical IP address I
For taking over physical IP address II, it does not activate the physical interface (eth1) for both operating node and standby node when redundant line control function starts up. Instead it allocates a takeover IP address to the physical interface (eth1) on the operating node and then it activates the physical interface. In this case, the physical interface (eth1) for standby node remains inactive.
Figure 5.9 Startup behavior of NIC switching mode (takeover physical IP address II) shows a startup behavior of the takeover physical IP address II
During normal operation, the system communicates with the remote system using Redundant Line Control Function on the operating node.
If a failure (panic, hang-up, or line failure) occurs on the operating node, Redundant Line Control Function switches the resources to the standby node. Then, applications make reconnection to take over the communication from the operating node.
Figure 5.10 Switching behavior of NIC switching mode (takeover logical IP) illustrates switching behavior of NIC switching mode (logical IP address takeover function).
In the following figure, the takeover virtual IP address (IPa) in the operating node A is allocated to the logical interface (eth2.1) for the secondary interface. Once IPa is allocated, the logical interface (eth2.1) for the secondary interface turns into activate state.
When switching the node due to failure in the transfer routes, NIC switching mode inactivates the logical virtual interface which has allocated the takeover IP address (IPa) in the operating node A. Then it allocates the takeover IP address to the primary interface (eth1) and finally activates the logical interface (eth1:1).
Figure 5.11 Switching behavior of NIC switching mode (takeover physical IP I) (continued) and Figure 5.12 Switching behavior of NIC switching mode (takeover physical IP I) (end) illustrate switching behavior of NIC switching mode (takeover physical IP address I).
In the following figure, the takeover virtual IP address (IPa) in the operating node A is allocated to the secondary interface. Once IPa is allocated it turns into activate state.
When switching the node due to a failure in the transfer routes, temporally inactivate the primary interface (eth1), which has been active in the standby node B. Then it allocates the takeover IP address (IPa) to activate the primary interface (eth1). Once the primary interface activates, different IP address is allocated to the secondary interface (eth2) by means of inactivating eth2.
Figure 5.13 Switching behavior of NIC switching mode (takeover physical IP address II) illustrates switching behavior of NIC switching mode (takeover physical IP address II).
In the following figure, the takeover IP address (IPa) in the operating node A is allocated to the secondary interface. Once IPa is allocated it turns into activate state.
When switching the node because of a failure in the transfer path, the standby node B turns to be active by allocating the takeover IP address (IPa) to the primary interface (eth1). After the IP address is successfully passed over to the standby node, the secondary interface (eth2), which previously owned the takeover IP address (IPa) in node A becomes inactive.
The procedure for performing fail-back is the same as in Fast switching mode. For details, see "5.4.1.3 Fail-back".
Figure 5.14 Stopping process of NIC switching mode (logical IP takeover) illustrates stopping process of userApplication for logical IP takeover.
Figure 5.15 Stopping process of NIC switching mode (physical IP takeover I) illustrates stopping behavior of userApplication for the physical IP takeover I.
Figure 5.16 Stopping process of NIC switching mode (physical IP takeover II) illustrates stopping behavior of userApplication for the physical IP takeover II.