I'm learning for my Solaris 10 sys-admin part 2. I'm now trying to get nis working because for the exercise. I run in to a problem.
Setup:
Three Systems
solaris101 (client)
Nothing wrong here havent made any config changes yet.
solaris102 (master server)
Interfaces
notice that e1000g1 is setup with dhcp.
Hosts
routing table
Ok, so the NIS master server was installed succesfully.
solaris103 (slave server)
Interface
Hosts
routing
Problem statment:
When I run the
command I get the following errors.
ping to the solaris102 (master) from the solaris103 (slave) produces the following.
Weird, why the dhcp adres from the solaris102 (master)?
I thought maybe NIS is already working and getting an adress from solaris102 (master) so I reconfigured the nsswitch.conf file just to use files.
I thought that the problem resided in the fact that the primary interface was het interface on which dhcp was running. That explains when I pinged ik got the dhcp outside adress e1000g1 and not the static inside adress e1000g0.
So I wanted to change this and edited the hosts file to match the inside ip with the inside interface also changed the hostname.e1000g0 with the hostname of the master, this was previous just an ip configured in that file.
rebooted.
That still didnt work. the primary interface was still the dhcp address and it kept overruling my static ip in the hosts file.
I put this in
but the result after a reboot was:
So I struggeld a bit with that but finally I thought
will do the trick. rebooted and configured all a new setting the primary interface to e1000g0 the static ip.
Also made the dhcp a static ip and the hosts file now looks like this.
Notice I made a different name for the e1000g1 interface, think that is commonly used like this.
After all configurations.
Worked fine and the slave could contact the NIS master server.
Hi guys,
In my Sol-10 i setup NIS server following the oracle doc and setup a Linux as NIS client all went ok.
I added another Sol-10 and configure it as a NIS slave server following the oracle doc again. and added the server on the yp.conf on my NIS client
How do i test if my NIS slave... (3 Replies)
Dear all,
I am using solaris 10 OS.
I configured NIS server and i also configured NIS client server but when i use the command ypinit -s sunserv1 in NIS client it is showing me the below error.
Enumerates maps from sunserv1. please check that it is running. (2 Replies)
Hello - This could be a stupid question. But can we configure NIS with different flavors of UNIX. Like Master on AIX and slave on Solaris?
---------- Post updated 09-06-11 at 04:17 AM ---------- Previous update was 09-05-11 at 06:34 AM ----------
Hi - Can anyone please answer this? (1 Reply)
Hi All,
I have a client already binded with a NIS master server. Now, I want to bind this particular client to one of NIS slave. How to do it?
Thanks,
Deepak (2 Replies)
Hello Everybody,
I have a question regarding SLAVE NIS SERVER in aix.
We are using NIS master of Sun Solaris 9.0 which is on different subnet i.e. 10.197.93.0. And Our slave server is having AIX 5.3 installed which is on 10.207.13.0 subnet.
I have a query regarding its name and ip address... (0 Replies)
I am setting up the NIS slave server to automount the home directory just like its master server on suse linux (SLES 10).
Since the master will be the first to mount the /home on the client. I have not been able to mount the /home on the on the slave when the master NIS server is unavailable.... (1 Reply)
I am setting up the NIS slave server to automount the home directory just like its master server on suse linux (SLES 10).
Since the master will be the first to mount the /home on the client. I have not been able to mount the /home on the on the slave when the master NIS server is unavailable.
How... (0 Replies)
Our NIS master server went down. We have since fixed it and brought it back up. However all of are machines still point to the slave server when looking at it with ypwhich. My question is how do i point the servers back to the master.
Frank (2 Replies)
Greetings,
I have recently inherited 3 sun servers from a shop that my parent company closed. One of these servers is an old Ultra 1 running SunOS 5.6 that acts as a NIS server for the other two servers. This NIS server seems to boot OK and function properly as a NIS server. However, I can't... (6 Replies)