yppush(1M) yppush(1M)
NAME
yppush, yppull, yppoll - yellow pages administration
utilities
SYNOPSIS
yppush [-h hostname] [-d domainname] mapname
yppull [-h hostname] [-d domainname] mapname
yppoll [-h hostname] [-d domainname] mapname
DESCRIPTION
These commands supply an interface to the running the yellow
pages (YP) system. They make use of YP services themselves,
which must be available at the site where the commands are
issued. The issuing site may be a YP client; it need not be
a server. The rpcinfo(1M) program may be useful for
determining if the YP processes ypserv and ypbind are up and
running at a site. The processes that comprise the YP
system are described in ypserv(1M). The YP database format
is described in ypfiles(4).
yppush tells a master YP server process (ypserv) to direct
its peer processes to set the master of the named map to
that master server, and to get a new copy of the named map.
If the host is not the master of the named map, the command
will succeed, but no action will be taken by the YP server.
yppull tells a slave YP server process (ypserv) to try and
get a more recent copy of the named map, preferably from the
map's master. If the server is the master of the named map,
the command will succeed, but no action will be taken by the
YP server.
yppoll asks a ypserv (master or slave) for information about
one map. The information returned is whether the map exists
at the site, what version number is in the map, and which
server is thought to be the map's master.
OPTIONS
-h Specifies the hostname on which the ypserv process is
running. The default is the local host.
-d Specifies an alternate domainname for the YP. The
default is the domain for the local host.
FILES
/etc/yp/yppoll
/etc/yp/yppull
/etc/yp/yppush
SEE ALSO
rpcinfo(1M), ypserv(1M), ypfiles(4).
Page 1 (last mod. 1/15/87)