Hi,
I have a running Solaris 2.6 server and I'm changing my internet provider,
so I need to change all network settings: IP address, netmask, default
router, DNS servers and domain (the host name will be the same but the
domain changes). I think I know how to change all this, but my question is:
is it possible to do it "on the fly", whitout having to reboot the server?
If so, what would be the correct order of all the changes to avoid troubles?
Thanks a lot,
Toni
|
|
0
|
|
|
|
Reply
|
Toni
|
9/26/2007 7:45:46 PM |
|
Toni <me@inter.net> wrote:
> Hi,
>
> I have a running Solaris 2.6 server and I'm changing my internet provider,
> so I need to change all network settings: IP address, netmask, default
> router, DNS servers and domain (the host name will be the same but the
> domain changes). I think I know how to change all this, but my question is:
> is it possible to do it "on the fly", whitout having to reboot the server?
> If so, what would be the correct order of all the changes to avoid troubles?
Yes, it is. However, if you're looking for advice on the subject, my
advice would be to take the outage and do a sys-unconfig. Ten minutes of
downtime can be scheduled, and won't run the risk of missing things, or
_un_scheduled downtime.
Colin
|
|
0
|
|
|
|
Reply
|
Colin
|
9/26/2007 9:34:33 PM
|
|
every now and then sys-unconfig runs amuck and sometimes it gets
lost. I don't trust it. The only time I use sys-unconfig is if I'm
setting up a machine that is moving from time zone to time zone or if
I've gotten a machine from another company and I don't want to do a
reinstall.
To make the changes you are talking about, I would save the old copies
of these files and then edit:
/etc/inet/hosts netmasks networks ntp.conf
/etc/resolv.conf
/etc/defaultrouter
/etc/defaultdomain (if needed)
/var/yp/binding/*/ypservers (if needed)
/etc/mail/sendmail.cf (if your email setup is changing)
I would halt the machine and then boot it to make sure everything
comes up cleanly at boot time. If the machine has been up for a very
long time, there's a small chance that you are going to loose a
disk. But if a disk is going to fail soon anyway, I'd rather find
that out during a scheduled downtime.
|
|
0
|
|
|
|
Reply
|
Aldo
|
9/27/2007 1:24:20 PM
|
|
Aldo of Pignotti <aldopignotti@yahoo.com> writes:
> /etc/inet/hosts netmasks networks ntp.conf
Don't forget /etc/inet/ipnodes. You'll be unpleasantly surprised.
--
James Carlson, Solaris Networking <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
|
|
0
|
|
|
|
Reply
|
James
|
9/27/2007 3:06:15 PM
|
|
James Carlson <james.d.carlson@sun.com> wrote:
> Aldo of Pignotti <aldopignotti@yahoo.com> writes:
>> /etc/inet/hosts netmasks networks ntp.conf
>
> Don't forget /etc/inet/ipnodes. You'll be unpleasantly surprised.
I'm not sure Solaris 2.6 has much IPv6 support, does it? Even if it
does, ipnodes isn't likely to be populated with anything that needs
modification. That didn't really start until the first releases of S10.
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
|
|
0
|
|
|
|
Reply
|
ddunham
|
9/27/2007 4:28:48 PM
|
|
Aldo of Pignotti <aldopignotti@yahoo.com> wrote:
> To make the changes you are talking about, I would save the old copies
> of these files and then edit:
[...]
For Solaris releases earlier than Solaris 10 don't forget:
/etc/net/*/hosts
--
Daniel
|
|
0
|
|
|
|
Reply
|
Daniel
|
9/27/2007 6:16:36 PM
|
|
ddunham@taos.com (Darren Dunham) writes:
> James Carlson <james.d.carlson@sun.com> wrote:
> > Aldo of Pignotti <aldopignotti@yahoo.com> writes:
> >> /etc/inet/hosts netmasks networks ntp.conf
> >
> > Don't forget /etc/inet/ipnodes. You'll be unpleasantly surprised.
>
> I'm not sure Solaris 2.6 has much IPv6 support, does it? Even if it
> does, ipnodes isn't likely to be populated with anything that needs
> modification. That didn't really start until the first releases of S10.
Doh. Right; that's S8 and up. Easy to forget that the OP was using a
museum piece. ;-}
--
James Carlson, Solaris Networking <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
|
|
0
|
|
|
|
Reply
|
James
|
9/28/2007 5:12:54 PM
|
|
|
6 Replies
463 Views
(page loaded in 0.067 seconds)
Similiar Articles: Changing network configuration without having to reboot - comp ...Hi, I have a running Solaris 2.6 server and I'm changing my internet provider, so I need to change all network settings: IP address, netmask, defaul... Change IP address without reboot HPUX 11i - comp.sys.hp.hpux ...Changing network configuration without having to reboot - comp ... Change IP address without reboot HPUX 11i - comp.sys.hp.hpux ... Change IP address without reboot HPUX ... Solaris 8: NIC Loses IP Address On Reboot - comp.unix.solaris ...Solaris 8: NIC Loses IP Address On Reboot - comp.unix.solaris ... Changing network configuration without having to reboot - comp ... Solaris 8: NIC Loses IP Address On ... SUN Spark: IP, submask and gateway configuration - comp.unix ...Changing network configuration without having to reboot - comp ... James Carlson <james.d.carlson@sun.com> wrote: > Aldo of Pignotti ... How to change IP address of a Zone ... How-To change Primary NIC Interface? - comp.unix.solaris ...Changing network configuration without having to reboot - comp ... Solaris 8: NIC Loses IP Address On Reboot - comp.unix.solaris ... Changing ... How to change network ... How to change IP address & subnet mask without using sys-unconfig ...Changing network configuration without having to reboot - comp ... How to change IP address & subnet mask without using sys ... Changing network configuration without ... which file has the IP address of network printers in Solaris 7 ...Changing network configuration without having to reboot - comp ... which file has the IP address of network printers in Solaris 7 ..... without reboot HPUX 11i - comp.sys ... Is it possible to change the device name? - comp.unix.solaris ...Changing network configuration without having to reboot - comp ... How to change network interface name - comp.unix.solaris ..... resolution isn't possible ... Modify Date of a Router Configuration file - comp.dcom.sys.cisco ...Changing network configuration without having to reboot - comp ..... my internet provider, so I need to change all network settings: IP address, netmask, default router ... Change pool name in Solaris 10 zone - comp.unix.solarisChanging network configuration without having to reboot - comp ..... is moving from time zone to time zone or ... have anyone reboot the ... comp.unix.solaris DHCP pool ... Changing network configuration without having to reboot - comp ...Hi, I have a running Solaris 2.6 server and I'm changing my internet provider, so I need to change all network settings: IP address, netmask, defaul... Changing network configuration without having to rebootsoftware.itags.org: Solaris Operating System question: Changing network configuration without having to reboot, created at:Tue, 20 May 2008 13:12:00 GMT with 508 ... 7/23/2012 4:09:17 PM
|