[rhn-users] NIS Slave configuration

Guillermo Barton = Shark gbarton at sybase.com
Mon Jan 31 18:53:22 UTC 2005


Your setup should work, keep in mind that broadcast will work only
for that subnet where your NIS slave is.  If you are going accross subnets
you have to use :

domain mydomain server host1

-G



Charith Perera wrote:

>I have the following configuration for a four machine network
>
>host1 is the NIS server. host2, host3, host4 are all configured to be NIS 
>clients and everything works fine. I want to make host2 a slave server, so 
>I've made the following changes.
>
>On host1 (Master Server), I've added a new line in /var/yp/ypservers and 
>listed host2. Also I've set NOPUSH=false in the makefile, and then ran make 
>within /var/yp/
>
>On host2 (Slave Server) I ran /usr/lib/yp/ypinit -s host1. I received errors 
>saying that ypxfrd is not running, but I think that's fine because ypxfrd is 
>indeed not running on host1. The maps were successfully build
>
>On each client (including the Slave Server), in /etc/yp.conf I have it setup 
>as follows:
>domain mydomain server host1
>
>
>When I stopped ypbind on the server, the clients spewed out some errors, so I 
>had to manually replace host1 with host2 in yp.conf and restart ypbind. If I 
>want the clients to automatically find the slave server, do I have to change 
>yp.conf so that it broadcasts for a server? Is there any way to lists 
>multiple servers per domain?
>
>
>Thanks
>
>Charith Perera.
>
>_______________________________________________
>rhn-users mailing list
>rhn-users at redhat.com
>https://www.redhat.com/mailman/listinfo/rhn-users
>
>  
>




More information about the rhn-users mailing list