Co robi YPPUSH użycie. Konsola mapname , from the master NIS server to the slave NIS servers. It.

Czy przydatne?

Polecenie yppush

Wykonanie, użycie: NFS/NIS command. Force propagation of changed NIS map. yppush copies a new version of an NIS map, mapname, from the master NIS server to the slave NIS servers. It first constructs a list of NIS server hosts by reading the NIS map ypservers with the -d option's domain argument. Keys within this map are the ASCII names of the machines on which the NIS servers run. A map transfer request is sent to the NIS server at each host, along with the information needed by the transfer agent to call back to yppush. When the attempt has been completed and the transfer agent has sent yppush a status message, the results may be printed to standard error. Normally invoked by /var/yp/Makefile after commenting out the NOPUSH=true line

Opcje wykonania yppush w konsoli

-d domain

Specify a domain.

-h host

Specify one or a group of systems to which a map should be transferred instead of using the list of servers in the ypservers map. Multiple -h options can be specified to create a list of hosts.

-p count

Send maps to count NIS slaves simultaneously (in parallel). By default, yppush sends maps to one server at a time (serially).

--port num

Specify a port to listen on for callbacks. This will not work when sending maps in parallel. By default, the command chooses a random port.

-t secs

Specify a timeout value in seconds. The timeout determines how long yppush will wait for a response from a slave server before sending a map transfer request to the next server. The default timeout is 90 seconds, but for big maps a longer timeout may be needed.


Verbose; print message when each server is called and for each response. Specify twice to make yppush even more verbose.

Przykłady yppush działanie w Słownik polecenie Y