1.\" $OpenBSD: yppush.8,v 1.18 2015/11/30 17:03:06 jmc Exp $ 2.\" 3.\" Copyright (c) 1995 Mats O Jansson <moj@stacken.kth.se> 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 16.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.Dd $Mdocdate: November 30 2015 $ 28.Dt YPPUSH 8 29.Os 30.Sh NAME 31.Nm yppush 32.Nd force distribution of one YP map 33.Sh SYNOPSIS 34.Nm yppush 35.Op Fl v 36.Op Fl d Ar domainname 37.Op Fl h Ar hostname 38.\" .Op Fl p Ar paralleljobs 39.\" .Op Fl t Ar timeout 40.Ar mapname 41.Sh DESCRIPTION 42The 43.Nm 44utility distributes one YP map from the master server to all 45slave servers in the domain. 46All servers of the domain are fetched from the YP map 47.Pa ypservers . 48Before starting distribution, the master server is told to reread its 49Berkeley DB map files from disk. 50.Pp 51The options are as follows: 52.Bl -tag -width Ds 53.It Fl d Ar domainname 54Don't use the default domain, use the specified domain. 55.It Fl h Ar hostname 56Distribute the map only to one host and not to the hosts in the 57.Pa ypservers 58map. 59.\" .It Fl p Ar paralleljobs 60.\"Set the number of parallel transfers. 61.\".It Fl t Ar timeout 62.\"Set the amount of time to elapse before a timeout is registered. 63.It Fl v 64Verbose. 65Announce what the program is doing. 66.El 67.Sh SEE ALSO 68.Xr dbopen 3 , 69.Xr Makefile.yp 8 , 70.Xr yp 8 , 71.Xr ypserv 8 72.Sh AUTHORS 73.An Mats O Jansson Aq Mt moj@stacken.kth.se 74.Sh BUGS 75The map is also pushed from the master server to itself, 76which has no effect other than slowing down operation. 77