[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Veritas clustering



 2 Feb 08:46:53 AM: Meanwhile in the Sheraton, Pradeep Subramaniam wrote:
> The Veritas cluster server creates the virtual network interface
> (hme0:1) assigns the pseudo IP of the cluster node to it. Since this is
> not the first entry in the routing table of that machine, connections
> going out of the `cluster' appear to come from the actual machine's IP
> address rather than that of the `cluster'. (See outputs below).

Write a script to delete the route for hme0 and then re-add it (following
which it will appear after hme0:1), and run it after Cluster Server has
configured the virtual IP. e.g.:

#!/bin/sh
route delete net 192.9.208.0 192.9.208.252
route add net 192.9.208.0 192.9.208.252 0

(You could probably write something fancier using netstat, grep &
/etc/hostname.* to locate the correct route without hardwiring it into the
script.)

Alternatively, authorise the static host IPs as well as the cluster
addresses.

Ade_
  /
-- 
| Ade Rixon || http://www.big-bubbles.home.dhs.org/ ||  ade.rixon@bigfoot.com  |
 "I thought my mother was a bad cook but at least her gravy used to move
  around. Your's just sort of sits there and *sets*."
					- "A Sunday Afternoon", Hancock