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

3.6.3 Multiple logical virtual interface definition

Use the "hanetconfig" command to set the multiple logical virtual interface definition function. For details about this command, see the execution examples in "7.1 hanetconfig Command".

GS linkage mode in a cluster configuration

When taking over the logical virtual IP address assigned to the logical virtual interfaces (shaX:2 to 64) of GS linkage mode, it is necessary to set the parameter (logical_vip_takeover) beforehand. In this case, perform the following procedure.

1) Setting up the parameter

Add the setting of "logical_vip_takeover 1" to ctld.param. After that, restart the operating system and make the setting enabled.

/etc/opt/FJSVhanet/config/ctld.param

#                                   
#  HA-Net Configuration File        
#                                   
#       Each entry is of the form:  
#                                   
#       <param> <value>             
#                                   
                                    
observ_msg      0                   
observ_polling_timeout  180         
max_node_num    4                   
logical_vip_takeover  1       <- Added
2) Setting up logical virtual interfaces

Set the same logical virtual IP address between active and standby nodes for the logical virtual interfaces (shaX:2 to 64). Also, set the virtual interface where the logical virtual IP address is set to takeover interface (shaX:65) of clusters.

Example of setting up active nodes

# /opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0:2 -i 192.168.210.202
# /opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0:3 -i 192.168.210.203
# /opt/FJSVhanet/usr/sbin/hanethvrsc create -n sha0
# /opt/FJSVhanet/usr/sbin/hanetconfig print
(Omitted..)

Example of setting up standby nodes

# /opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0:2 -i 192.168.210.202
# /opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0:3 -i 192.168.210.203
# /opt/FJSVhanet/usr/sbin/hanethvrsc create -n sha0
# /opt/FJSVhanet/usr/sbin/hanetconfig print
(Omitted..)

Information

When setting up the communication target monitoring, it is not necessary to set a logical virtual IP address with the -i option of the hanetobserv command as a setting to monitor other nodes of PRIMECLUSTER. For the following examples, the settings for "192.168.210.202" and "192.168.210.203" are not necessary.

# /opt/FJSVhanet/usr/sbin/hanetconfig print                                     
[IPv4,Patrol / Virtual NIC]                                                     
                                                                                
 Name        Hostname        Mode Physical ipaddr   Interface List              
+-----------+---------------+----+-----------------+---------------------------+
 sha0        192.168.210.200  c                     eth3,eth4                   
 sha0:2      192.168.210.202                                                    
 sha0:3      192.168.210.203                                                    
                                                                                
# /opt/FJSVhanet/usr/sbin/hanetobserv print                              
(Omitted)                                                                   
 Destination Host Virtual Address     (Router Address+)NIC Address       
+----------------+-------------------+--------------------------------+  
 HOST-B           192.168.210.200     192.168.10.90,192.168.20.90        
                  192.168.210.202     192.168.10.90,192.168.20.90 <- Not necessary
                  192.168.210.203     192.168.10.90,192.168.20.90 <- Not necessary