03-08-2007
if you restart the nis daemons (ypbind) on the client, they have to point to the master server, if that was the first on the lit of ypservers
8 More Discussions You Might Find Interesting
1. SCO
hello , i setup a lan network , but i don't know how configure master and slave in the lan network please help me:confused: (2 Replies)
Discussion started by: hossein
2 Replies
2. UNIX for Advanced & Expert Users
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
3. SuSE
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
4. Web Development
Anyone have a clue about this?
I have checked the MySQL documentation and it does not seem possible to exclude a row of a table from replication between Master and Slave. It seems that replication in MySQL can only be managed at the table level, not at the row level.
Does anyone know a work... (5 Replies)
Discussion started by: Neo
5 Replies
5. Solaris
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)
Discussion started by: batas
3 Replies
6. Programming
I am writing a process that has a master thread and a set of slave threads. Master thread is supposed to get jobs dynamically and assign to slave thread which is free. Master also get results back from slaves once a job is done. The number of slaves should be adjustable dynamically based on job... (1 Reply)
Discussion started by: tamil.pamaran
1 Replies
7. Programming
Hi,
How to wait the slave to be finished first then execute the master?
Can someone give me the specific function? Or the detailed example.
Thanks~ (1 Reply)
Discussion started by: wanliushao
1 Replies
8. IP Networking
Hey everyone. I'm creating a DNS master/slave server set up.
I have the configurations all done I believe, the master has the required zone file, and the named.conf file has the allow transfer and allow query stuff set. The slave has it's own configs set.
My question is that when initially... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies
ypinit(1M) System Administration Commands ypinit(1M)
NAME
ypinit - set up NIS client
SYNOPSIS
/usr/sbin/ypinit [-c] [-m] [-s master_server]
DESCRIPTION
ypinit can be used to set up an NIS client system. You must be the superuser to run this command. This script need not be used at all if
ypbind(1M) is started with the -broadcast option (it is invoked with this option from the svc:/network/nis/client:default service).
Normally, ypinit is run only once after installing the system. It may be run whenever a new NIS server is added to the network or an
existing one is decommissioned.
ypinit prompts for a list of NIS servers to bind the client to; this list should be ordered from the closest to the furthest server. Each
of these NIS servers must be listed in either the /etc/hosts or the /etc/inet/ipnodes file along with its IP address. ypinit stores the
list in file /var/yp/binding/domain/ypservers. This file is used by ypbind when run without the -broadcast option.
OPTIONS
-c Set up a ypclient system.
-m Build a master ypserver data base.
-s master_server Slave data base. master_server must be the same master configured in the YP maps and returned by the ypwhich -m
command.
FILES
/etc/hosts
/etc/inet/ipnodes
/var/yp/binding/domain/ypservers
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
svcs(1), svcadm(1M), ypbind(1M), sysinfo(2), hosts(4), ipnodes(4), attributes(5), smf(5)
NOTES
The NIS client service is managed by the service management facility, smf(5), under the service identifier:
svc:/network/nis/client:default
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
BUGS
ypinit sets up the list of NIS servers only for the current domain on the system when it is run, that is, the domain returned by the
SI_SRPC_DOMAIN command to sysinfo(2). Care should be taken to ensure that this is the same as the desired domain for NIS client processes.
SunOS 5.10 13 Aug 2004 ypinit(1M)