PRIMECLUSTER Global Link Services Configuration and Administration Guide: Redundant Line Control Function 4.1 (for Linux)
|
Contents
Index

|
3.2.2.2 System setup in Fast switching mode
Common settings between IPv4 and IPv6
- To specify "HWADDR=XX:XX:XX:XX:XX:XX" for the GLS physical interface settings (the "/etc/sysconfig/network-scripts/ifcfg-ethX" file), add "HOTPLUG=no" to the settings.
- To create backup of the physical interface settings (the "/etc/sysconfig/network-scripts/ifcfg-ethX" file), the file name must begin with names other than "ifcfg-".
(e.g. bak_ifcfg-ethX)
If the file name begins with "ifcfg-", OS might recognize the interface as an interface to be activated during system startup.
When using an IPv4 address
- Define the IPv4 address (virtual IP address, physical IP address, logical virtual interface, takeover virtual IP address) and a host name in /etc/hosts file. These host names must be specified in the /etc/hosts file even if no host names but IP addresses are directly specified in environment definitions.
- Before defining a virtual interface, the physical interface you are going to apply must be in active state and be sure the IPv4 address is assigned. (In the file /etc/sysconfig/network-scripts/ifcfg-ethX, define "ONBOOT=yes" and "IPADDR=X.X.X.X" then reboot the system.)
When using an IPv6 address
- Define the IPv6 address (logical virtual interface, takeover virtual IP address) and a host name in /etc/hosts file.
- Before defining a virtual interface, the physical interface you are going to apply must be in active state and be sure the IPv6 link-local address is assigned. (In the file /etc/sysconfig/network-scripts/ifcfg-ethX, define "ONBOOT=yes" and in the /etc/sysconfig/network file, define "NETWORKING_IPV6=yes" then reboot the system.)
- You must start the radvd daemon on 2 or more servers running as Fast switching mode in order to set the stateless address auto-configuration. Note that when starting up radvd on multiple servers, synchronize the prefix data of the virtual interfaces defined in /etc/radvd.conf between the servers. An example of setting a /etc/radvd.conf file when using a Linux server as an IPv6 router is shown below. In addition, depending on the version of radvd, kernel parameter(net.ipv6.conf.all.forwarding=1) must be defined in /etc/sysctl.conf file. For details on this topic, see the manual of radvd.conf(5) and radvd(8).
/etc/radvd.conf
interface sha0
{
AdvSendAdvert on; # Sending router advertisements
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
prefix fec0:1::0/64 # Sending Prefix fec0:1::0/64 from sha0
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
}; |
- When setting stateless address auto-configuration against the physical interface(ethX) using Fast switching mode, start up radvd on either of the servers or provide IPv6 router on the same network. Additionally, stateless address auto-configuration on the physical interface (ethX) does not apply on the server that has kernel configuration (net.ipv6.conf.all.forwarding=1) for starting up radvd. In such case, after starting radvd, use sysctl command to reconfigure the kernel parameter. For details, refer to sysctl(8) manual.
# sysctl -w net.ipv6.conf.all.forwarding=0 |
All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005