IPMP setup + no gateway

Hi Gurus,

Need some help, I have a 2 node cluster in the process of being setup where we have used a 1Gb link in a seperate VLAN for exclusive access to the db.

Because there are only 2 nodes required in this VLAN I have used IP's from a private range 172.16.0.0/12 hence no routing involved, no gateway.

How can I set this up with IPMP bearing in mind it requires to send ICMP echo requests to the gateway?

Was thinking maybe putting the test address's on a different subnet that is routable and has a gateway or any other option?

Thanks

[579 byte] By [chachaaa] at [2007-11-27 10:58:44]
# 1

IPMP will only use the gateway if the /etc/defaultrouter file exists. Otherwise it will 'broadcast' for hosts on the network and use any that reply as test addresses.

Alternatively you can create a startup script to create static host routes. IPMP will then use these (should be more than one) addresses as test addresses.

example

/usr/sbin/route add host 10.10.10.10 10.10.10.10

IPMP will use 10.10.10.10 as a test addresss

Your only issue is do you have other addresses on your subnet to use as test addresses? Maybe configure an IP address switch.

Stuart_Flishera at 2007-7-29 12:18:07 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

I've only got the 2 hosts in this particular VLAN - no others as it's only a 2 node cluster and using a private address range for the db link between nodes.

Could you expand on what you meant by IP address switch?

chachaaa at 2007-7-29 12:18:07 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3

Hi,

Sorry I meant configure an ip address for the vlan on the switch.

Stuart_Flishera at 2007-7-29 12:18:07 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4

Ah thanks, I've seen that on some VLAN's but my networking knowledge is not sufficient to understand what that means - assigning an ip addres for the VLAN on the switch. Could you explain

chachaaa at 2007-7-29 12:18:07 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5

IPMP needs something to ping. Depending on which switch you have you may be able to configure an IP address on the switch in the vlan where your cluster interfaces are connected. Check your switch documentation or speak to your network guys.

Stuart_Flishera at 2007-7-29 12:18:07 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6

right ok,

My 2 nodes are connected to 2 switches which are linked in some way for redundancy. The VLAN that theses IPMP interfaces using the private address range were modified and gives an address of 172.16.1.1 on one switch and 172.16.1.254 on the other switch.

I've checked and both my nodes can now ping these address's. Do I now need to setup host routes on the 2 nodes so that IPMP knows it can ping the above address's for probing purposes?

Thanks for the help so far.

chachaaa at 2007-7-29 12:18:07 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 7

Yes set the host routes to both these addresses on both servers. Configure it in a startup script and reboot. You can check what your interfaces are pinging using 'snoop -d <interface> icmp'. Do this on each interface. You should see pings and responses from both switch IP addresses.

Stuart_Flishera at 2007-7-29 12:18:07 > top of Java-index,Solaris Operating System,Solaris 10 Features...