
B.1.5 Editing the Routing Table
Finally we need to add a multicast route so that the traffic is directed to our interface group.
Rather than directing all multicast traffic over the group, it is best just to create a route for the address range that Rhino SLEE
is using. Other services such as routing or time daemons may depend on multicast traffic on a separate interface on a public
network.
For example, if the cluster is using the address range 224.0.55.1 - 224.0.55.8, we can add routes as follows:
rhinohost1:
# route add -interface 224.0.55.0/24 rhinohost1-public
rhinohost2:
# route add -interface 224.0.55.0/24 rhinohost2-public
When Rhino sends multicast traffic to the cluster, it will be using the interface group. When IPMP failover occurs, the routing
table is automatically updated so that the standby interface is used for multicast.
At this stage, the cluster should be able to survive losing several network cables. Occasional warnings from the Rhino SLEE
may appear during the failover, but these will be transient and the cluster should recover.
B.1.6 Make the Configuration Persistent
Solaris’ interface configuration files need to be edited so that the
savanna
group is automatically created when Solaris boots.
The files should look something like these:
rhinohost1:/etc/hostname./jointfilesconvert/447134/bge0:
rhinohost1-/jointfilesconvert/447134/bge0 netmask + broadcast + group savanna deprecated -failover up \
addif rhinohost1-public netmask + broadcast + failover up
rhinohost1:/etc/hostname./jointfilesconvert/447134/bge1:
rhinohost1-/jointfilesconvert/447134/bge1 netmask + broadcast + group savanna deprecated -failover standby up
rhinohost2:/etc/hostname./jointfilesconvert/447134/bge0:
rhinohost2-/jointfilesconvert/447134/bge0 netmask + broadcast + group savanna deprecated -failover up \
addif rhinohost2-public netmask + broadcast + failover up
rhinohost2:/etc/hostname./jointfilesconvert/447134/bge1:
rhinohost2-/jointfilesconvert/447134/bge1 netmask + broadcast + group savanna deprecated -failover standby up
Create a startup script, for example
/etc/rc2.d/S99static_routes
, which runs all the necessary route commands:
Open Cloud Rhino 1.4.3 Administration Manual v1.1 180
Comentarios a estos manuales