1833472 Members
3120 Online
110052 Solutions
New Discussion

changing ROUTE_GATEWAY

 
SOLVED
Go to solution
Dave Chamberlin
Trusted Contributor

changing ROUTE_GATEWAY

Hello,
I have been asked by our network engineers to change the route gateway for my HP servers (HPUX 11.0). I have done it with SAM for my non-production servers without rebooting. My understanding is I can do this anytime without a reboot or loss of sessions etc. Is that correct? I dont want to make a change that could halt production during normal hours...
Thanks
4 REPLIES 4
Rick Garland
Honored Contributor
Solution

Re: changing ROUTE_GATEWAY

You can set the new gateway in the /etc/rc.config.d/netconf file and do a /sbin/init.d/net stop;/sbin/init.d/net start

You will get a small interruption in thhis method, say 20-30 sec. (This is assuming that the new gateway is up.) You will not lose sessions but there will be an interruption. This will survive reboots.

You could use the route add command to manually add the new gateway to the routing table. This will not survive reboots.

Safest to do outside of production hours - it will only take a few minutes to complete
Andy Torres
Trusted Contributor

Re: changing ROUTE_GATEWAY

Rick's answer is reasonable and would be my choice.

Hey, Rick (or anyone), hypothetic question:
Couldn't he do a route add, and then a juggling act with an additional ROUTE_DESTINATION and "default" in netconf so he wouldn't need to do a stop/start? By doing so he'd be using both routes until one is removed by his network guys. Not sure if it would really work, just playing with the idea.
Dave Chamberlin
Trusted Contributor

Re: changing ROUTE_GATEWAY

That worked fine. The interuption was very short, < 10 seconds. Thanks
Rick Garland
Honored Contributor

Re: changing ROUTE_GATEWAY

Hi Andy:

The juggling act would seem to me to be a greater risk. I do not know how the system would react to 2 gateways and then on the network side of the equation I do not know how the network would function either.