Operating System - HP-UX
1825775 Members
2147 Online
109687 Solutions
New Discussion

Re: change primary lan connection without interruption of app?

 
Hanry Zhou
Super Advisor

change primary lan connection without interruption of app?

We plan to change the primary lan connection to different segment, and as the result of that, the application would have to be interrupted. Is there anyway we can make such change online?

And, do we have to reboot the server?

Thanks.
none
3 REPLIES 3
IT_2007
Honored Contributor

Re: change primary lan connection without interruption of app?

Don't have to reboot the server but you need to interrrupt the application since this would be on network interface. If you have other alternate IP adderss and second network already hooked up then you may need to failover the application. But again, it depends on the application failover.

For Best results, plan for an outage.
Bill Hassell
Honored Contributor

Re: change primary lan connection without interruption of app?

As long as your application doesn't use anything on that specific LAN connection, you should be OK. If this is your only LAN connection, you can safely assume that every connection will be interrupted and all processes will receive a SIGHUP signal to terminate. You must restart network tools like swagentd because will no longer work with the new connection. Changing to another IP address on another segment is highly disruptive and you must consider issues with your DNS servers as well as anyone that connects to your system.


Bill Hassell, sysadmin
Victor Fridyev
Honored Contributor

Re: change primary lan connection without interruption of app?

Hi,

It's a little bit problematic, but you can do this:
Edit /etc/hosts and /etc/rc.config.d/netconf according to the new IPs and prepare the following script:
/sbin/init.d/net stop; /sbin/init.d/net start; route delete default OLD_ROUTER_IP; netstat -rn

Run the script when the network updates are ready.

HTH
Entities are not to be multiplied beyond necessity - RTFM