
Appendix B
Redundant Networking
This topic describes how to setup redundant networks for the Rhino SLEE so that cluster members can still communicate in the
event of link or switch failures.
B.1 Redundant Networking in Solaris
Solaris 8 and up includes a feature called IP Multipathing (IPMP). This allows multiple ethernet interfaces to be combined into
a group with automatic IP address failover within the group if a link failure is detected.
The authoritative Solaris IPMP documentation is available at
http://docs.sun.com/
.
This section briefly describes how to get an IPMP configuration running with 2 network interfaces in active/standby mode.
B.1.1 Prerequisites
There must be at least two available ethernet interfaces on each host. The network interfaces could be used for other traffic, but
for this example we will assume that they will be dedicated to Rhino SLEE traffic.
By default, Solaris/SPARC server will use the same MAC address for all ethernet interfaces on the host. When using IPMP
we will have multiple interfaces plugged into the same switch and if they all have the same MAC address the switch will get
confused, so this behaviour needs to be changed.
To check if the server is using a single MAC address or not, run the command:
# eeprom local-mac-address?
local-mac-address?=false
The default value is false, and this means the server is using a single MAC address. To change this so that each interface uses
its own local MAC address, run:
# eeprom local-mac-address?=true
Now reboot the machine so that this takes effect.
B.1.2 Create interface group
For this example we will use the two hosts
rhinohost1
and
rhinohost2
. The ethernet interfaces
/jointfilesconvert/447134/bge0
and
/jointfilesconvert/447134/bge1
are available
on each host. These interfaces will be placed into a highy-available interface group called
savanna
.
The interface
/jointfilesconvert/447134/bge0
will be the active interface and /jointfilesconvert/447134/bge1 will be the standby. Each will have its own static private IP address
(called a test address in the Sun documentation) which is not used by applications. Each host will have a third, virtual IP address
that can move between the two physical interfaces during failover or failback. So 6 addresses are needed in total – these must
all be on the same subnet. For this example, the subnet 192.168.1.0/24 will be used:
177
Comentarios a estos manuales