YPPUSH(8) — MAINTENANCE COMMANDS
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 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(8) 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(8). The YP database format is described in ypfiles(5).
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.
SEE ALSO
rpcinfo(8), ypserv(8), ypfiles(5)
Sun Release 2.0 — Last change: 1 February 1985