📄 yppush.8yp
字号:
.\" SCCSID: @(#)yppush.8yp 8.1 9/11/90.TH yppush 8yp./" Last edited by Jeff J. 6/24/86.SH Nameyppush \- force propagation of a changed yellow pages (YP) map.SH Syntax.B yppush[.B \-d.I domain ] [.B \-v].I mapname.SH Description.NXR "yppush command".NXA "yppush command" "ypxfr command".NXR "YP map" "copying to slave servers"The .PN yppushcommand copies a new version of a yellow pages (YP) map from the master YP server to theslave YP servers.It is normally run only on the master YP server by the .PN makeutility accessing the.PN /var/yp/Makefileafter the master YP databases have been changed.When invoked,.PN yppush first constructs a list of YP server hosts by reading the YP map \fIypservers\fR within the .I domain. Keys within the map.I ypserversare the ASCII names of the machines on which the YP serversrun. .PPA transfer map request is sent to the YP server at each host, along with the information needed by the transfer agent (the programwhich actually moves the map) to call back the .PN yppushcommand.When theattempt has completed(successfully or not), and the transfer agent has sent.PN yppush a status message, the results can be printed to stdout. Messagesare also printed when a transfer is not possible, forinstance when the request message is undeliverable,or when the timeout period on responses has expired..PPRefer to .MS ypfiles 5yp and .MS ypserv 8yp for an overview of the yellowpages..SH Options.TP.B \-dSpecify a .I domain..TP.B \-vVerbose. This causes messages to be printed when each server is called, and foreach response.Without this flag, only error messages are printed..SH Restrictions.PPIn the current implementation(version 2 YP protocol), the transfer agent is.PN ypxfr , which is started by the .PN ypserv program. If .PN yppushdetects that it is speaking to a version 1 YP protocol server, it uses the older protocol, sending a version 1 YPPROC_GETrequest and issues a message to that effect. Unfortunately, there is no way of knowing if or when the map transfer was performed for version 1 servers.The.PN yppush command prints a message saying that an old-style message has been sent.The system administrator should later check to see that thetransfer has actually taken place..SH Files\f(CW/etc/yp/\fIdomainname\f(CW/ypservers.{dir, pag}.SH See Alsoypfiles(5yp), ypserv(8yp), ypxfr(8yp)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -