Changing default gateway on two node cluster

Hello,

We are planning on changing the default gateway of a two node Sun Cluster (3.1) running Oracle.

Has anyone performed a similar procedure before? If so, what is the easiest / most pain free way of doing this. Is it as simple as changing /etc/defaultrouter and rebooting each node in turn, or are there caveats that will need to be taken care of? What issues can I exepct to face? Can it be done without taking the cluster down (i.e. route delete, route add....).

I have, of course, searched this forum and "the Google" to no avail.

If configuration / command output information is required, please let me know.

Thanks in advance,

ZB

[681 byte] By [ZazzyBoba] at [2007-11-26 12:21:19]
# 1
How much is it changing? Is it going from one IP to another on the same subnet or to a completely different subnet? Are you running HA Oracle or Oracle RAC?Tim
Tim.Reada at 2007-7-7 15:12:43 > top of Java-index,Archived Forums,Socket Programming...
# 2
Same subnet. Basically just a change from xxx.xxx.xxx.1 to xxx.xxx.xxx.5. We are running HA Oracle in an active-standby configuration.CheersZB
ZazzyBoba at 2007-7-7 15:12:43 > top of Java-index,Archived Forums,Socket Programming...
# 3

Although I did not try this out explicitly, why not perform the following on all nodes:

1) make sure the old and new router are operational and reachable

2) Change /etc/defaultrouter to contain the new default router ip, so it is

active upon next reboot

3) perform "route add default <new router ip>

4) perform "route delete default <old router ip>

So if both routers are active this sequence should make sure that the node is always reachable and answering.

And this way you would not need to reboot. Of course it is good practice to note that change so that it is getting verified upon next scheduled reboot to make sure everything works as expected (ie. no typo in /etc/defaultrouter, etc).

Greets

Thorsten

Thorsten.Frueaufa at 2007-7-7 15:12:43 > top of Java-index,Archived Forums,Socket Programming...
# 4
Can I do this on both node without reboot the cluster nodes?:)thanksMohammed Tanvir
Tanvir@SCSAa at 2007-7-7 15:12:43 > top of Java-index,Archived Forums,Socket Programming...
# 5
I don't see why not. Of course I would perform this on one node first, make sure everything works, then the next, etc.GreetsThorsten
Thorsten.Frueaufa at 2007-7-7 15:12:43 > top of Java-index,Archived Forums,Socket Programming...