1752577 Members
4556 Online
108788 Solutions
New Discussion юеВ

Re: Net services

 
SOLVED
Go to solution
arun khatwani
Frequent Advisor

Net services


There was change in back end lan netmask and the new netmask ip updated in /etc/rc.config.d/netconf ..

But we forgot to stop and start of net services.

so could it be possible to do stop and start of net services so that new netmask shld got activated for backend lan.

Currently oracle databse is ruuning on system a,, and how can we check which net services are runing on system now, would they got affected if we do stop and start of net services.

5 REPLIES 5
Steven E. Protter
Exalted Contributor
Solution

Re: Net services

Shalom,

In theory, you can stop network services and start them and implement your netconf changes.

nfs.core
nfs.server
nfs.client
...

The list is huge.

In practice, I tried a few times doing a start stop on /sbin/init.d/net

It never worked very well since any one of 100 services depended on networking also needed a restart.

Therefore, when I change netconf, I simply reboot the system.

Watch for typos, they can hang your boot process.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
arun khatwani
Frequent Advisor

Re: Net services

Steevn i know we did in many servers yesterday as there was maintenance day and we did not face any problem yet,

so i just want to know that whether we can do stop and restart of net services by /sbin/init.d/net stop start today at present no one is login on sytem.
Hemmetter
Esteemed Contributor

Re: Net services

Hi,

"net services" do not know something about netmask. If it is just the netmask just set it with "ifdown ethX ; ifup ethX". All your service should see just a short network-hang and keep running. Lost packets are handled by ip-Stack and retransmited automatically.


rgds
HGH
Hemmetter
Esteemed Contributor

Re: Net services

Hi

ifup/ifdown are "linux", sorry!
As Steve already mentioned /sbin/init.d/net is the method on HP-UX.

rgds
HGH

Steven E. Protter
Exalted Contributor

Re: Net services

Sure you can just do net.

I just found that in day to day practice rebooting the server worked better.

Thats because the servers I run tend to have a lot of network dependent services. Even apache does not take to well to a net reboot on hpux without a system reboot.

All the docs say you can do as you wish.

Good Luck.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com