Sponsored Content
Full Discussion: Testing NIS slave server
Operating Systems Solaris Testing NIS slave server Post 302747465 by batas on Friday 21st of December 2012 11:07:08 AM
Old 12-21-2012
Hi fpmurphy,

im not sure if this is in the doc that i followed "NIS slave listed in the ypservers map for the domain"

but running ypcat -k ypservers i only see the primary nis server...
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working

We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave. We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation. However, no matter what i do, the SUSE machines will not talk to the NIS Servers. If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies

2. UNIX for Advanced & Expert Users

NIS master / slave problems

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)
Discussion started by: frankkahle
2 Replies

3. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

4. UNIX for Advanced & Expert Users

Automount on NIS slave

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)
Discussion started by: ibroxy
0 Replies

5. SuSE

Automount on NIS slave

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)
Discussion started by: ibroxy
1 Replies

6. AIX

Slave NIS server configuration change

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)
Discussion started by: jit15975
0 Replies

7. Solaris

How to bind from a NIS slave server

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)
Discussion started by: naw_deepak
2 Replies

8. UNIX for Dummies Questions & Answers

[Help] Setup slave dns server

Hi all. I need to configure a secondary dns server to get the zones that are in the primary server. How can I do this? It's possible to make to sync automatically? What configuration I ahve to do? And in which files? Thanks in advance. If anyone could give me examples or a tutorial, that... (4 Replies)
Discussion started by: kouh
4 Replies

9. Solaris

NIS slave unable to copy the data bases

Hi, 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 ... (1 Reply)
Discussion started by: jld
1 Replies

10. UNIX for Advanced & Expert Users

NIS setup: Mastr on AIX and slave on Solaris?

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)
Discussion started by: manju--
1 Replies
YPPUSH(8)						    BSD System Manager's Manual 						 YPPUSH(8)

NAME
yppush -- force propagation of updated NIS databases SYNOPSIS
yppush [-d domain] [-t timeout] [-j #parallel jobs] [-h host] [-p path] [-v] mapname DESCRIPTION
The yppush utility distributes updated NIS databases (or maps) from an NIS master server to NIS slave servers within an NIS domain. It is normally only run on the NIS master by /var/yp/Makefile whenever any of the NIS maps are updated. Note that /var/yp/Makefile does not invoke yppush by default: the ``NOPUSH=True'' entry in the Makefile must first be commented out (the default FreeBSD configuration assumes a small network with only a single NIS server; in such a configuration, yppush is not needed). By default, yppush determines the names of the slave servers for a domain by searching the ypservers map. A destination host (or a list of hosts) can also be manually specified on the command line. Once it has a complete list of slave servers, it sends a 'map transfer' request to each slave, which in turn reads a copy of the map from the master NIS server using ypxfr(8). Included within each request is the name of the map to be copied and some special information required by ypxfr(8) to successfully 'callback' to yppush and carry out the transfer. Any error messages yppush receives from ypxfr(8) via callback will be printed to stderr. The following options are available: -d domain Specify a particular domain. The NIS domain of the local host system is used by default. If the local host's domain name is not set, the domain name must be specified with this flag. -t timeout Specify a timeout value in seconds. This timeout controls how long yppush will wait for a response from a slave server before send- ing a map transfer request to the next slave server in its list. -j #parallel jobs The yppush utility normally performs transfers serially, meaning that it will send a map transfer request to one slave server and then wait for it to respond before moving on to the next slave server. In environments with many slaves, it is more efficient to initiate several map transfers at once so that the transfers can take place in parallel. The -j flag is used to specify the desired number of parallel jobs: yppush will initiate the specified number of transfers immediately and listen for responses. If the number of specified parallel jobs is less than the number of slave servers, yppush will initiate only the number of specified jobs and then wait for some of them to finish before starting any more. Note that yppush handles callbacks asynchronously, which means that it will collect and display the callback information received from ypxfr(8) as soon as it arrives, even it arrives before all of the map transfer requests have been sent. -h host Can be used to transfer a map to a user-specified machine or group of machines instead of the list of servers contained in the ypservers map. A list of hosts can be specified by using multiple instances of the -h flag. -p path By default, yppush expects all the local NIS maps to be stored under /var/yp. The -p flag can be used to specify an alternate path in the event that the system administrator decides to store the NIS maps somewhere else. -v Verbose mode: it causes yppush to print debugging messages as it runs. Specifying this flag twice makes yppush even more verbose. FILES
/var/yp/[domainname]/ypservers the NIS ypservers map containing the names of all servers in a particular NIS domain SEE ALSO
yp(8), ypserv(8), ypxfr(8) AUTHORS
Bill Paul <wpaul@ctr.columbia.edu> BUGS
The mechanism for transferring NIS maps in NIS v1 is different than that in NIS version 2. This version of yppush has support for transfer- ring maps to NIS v2 systems only. BSD
February 5, 1995 BSD
All times are GMT -4. The time now is 06:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy