Link to home
Start Free TrialLog in
Avatar of PhilOverton
PhilOverton

asked on

Changing IP Address on NIS Server (Sol 2.5)

I need to change the IP Addresses of a group of Solaris machines (6) including a NIS server (not NIS+).  What's the best and/or easiest way to go about it with minimum disruption to the system?

Thanks in advance....
Avatar of dmaloy1
dmaloy1

I guess it really depends on the no. of machines that you have to switch and also if they are going to be on a different subnet??

Assuming the same subnet because nis gets difficult when you need to use it over more than one (need to use ypset specifically), and assuming that there are quite a few machines...I would probably create a slave server so that you can perform the migration on all the clients and have an additional server there for redundancy as an added bonus.

So, create the slave and then update the client's ip address and also add the extra server in the ypservers file.  Probably want to make sure they resolve that by name rather than no and also make sure that there is a corresponding entry in the hosts file.  Finally modify the ip address of the master server.

I guess that I can also reason out a method by updating the master server first and then the clients.  
To me, the real question is whether you are switching subnets or not.  If so, you can change the server first and manually bind the clients that you can't get done all at once with ypset.

HTH
dmaloy@provide.net
ASKER CERTIFIED SOLUTION
Avatar of yuzh
yuzh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PhilOverton

ASKER

Thanks guys. There are just 7 machines including the NIS server and they all need IP address changes -  all on the same new sub-net.

There's a whole lot of NFS/DFS disk sharing going on as well - including export of the $HOME directory location(s) from the NIS server to all these clients.

I'll get a slave server set up - on the new subnet and then change a client over to test the system.

Cheers