nis master server and slave, client problem
My server/client OS is CentOS.
I have setup a nis master and slave server. Master and slave server works fine, but I have problem with client configuration. Test example from client: Code:
ypcat -h nis.master.my_domain passwd.byname | grep PIPPO Code:
domain my_domain server nis.master.my_domain Code:
/etc/init.d/ypbind restart Code:
ypwhich |
robbtek,
I am not sure I understand the problem... from the information that you posted, it appears the client is using NIS correctly... are you simply wondering why the client is using the slave server instead of the master? |
Quote:
There is an error on the client configuration ? Thanks |
No, not at all.... technically, the NIS clients should talk to the slave-servers, and the NIS slave-servers get their information from the NIS master(s). However, if you have only one master and only one slave, and the slave server goes down, an NIS client connected to that server will try to find another NIS server that is up and/or faster, and it will connect to the master at that point.
You can test this by shutting down the interface on the slave-server and checking to see if the client fails over to the NIS master. If this is a production network, I would not suggest doing this when it could affect the users. I am not sure how long it takes for the clients to switch over. |
All times are GMT -5. The time now is 06:25 AM. |