Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ypset(1M) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ypserv(1M)

ypwhich(1)

ypfiles(4)



ypset(1M)                        UNIX System V                        ypset(1M)


NAME
      ypset - point ypbind at a particular server

SYNOPSIS
      /usr/sbin/ypset [ -d ypdomain ] [ -h host ] server

DESCRIPTION
      In order to run ypset, ypbind must be initiated with the -ypset or
      -ypsetme options.  See ypserv(1M).  ypset tells ypbind to get NIS
      services for the specified ypdomain from the ypserv process running on
      server.  If server is down, or is not running ypserv, this is not
      discovered until the NIS client process tries to get a binding for the
      domain.  At this point, the binding set by ypset will be tested by
      ypbind.  If the binding is invalid, ypbind will attempt to rebind for the
      same domain.

      ypset is useful for binding a client node which is not on a broadcast
      net, or is on a broadcast net which is not running the NIS server host.
      It also is useful for debugging NIS client applications, for instance
      where the NIS map only exists at a single NIS server host.

      In cases where several hosts on the local net are supplying NIS services,
      it is possible for ypbind to rebind to another host even while you
      attempt to find out if the ypset operation succeeded. For example, you
      can type:

            # ypset host1
            # ypwhich
            host2

      which can be confusing.  This is a function of the NIS subsystem's
      attempt to load-balance among the available NIS servers, and occurs when
      host1 does not respond to ypbind because it is not running ypserv (or is
      overloaded), and host2, running ypserv, gets the binding.

      server indicates the NIS server to bind to, and must be specified as a
      name.  This will work only if the node has a current valid binding for
      the domain in question, and ypbind has been set to allow use of ypset.
      In most cases, server should be specified as an IP address.

      ypset tries to bind ypbind over a datagram transport first.  Datagram
      Transports are recommended for higher performance.  The NIS library
      calls, ypenum(), ypall(), ypnext(), and ypfirst() use circuit
      transports regardless of the main transport being used.

      Refer to ypfiles(4) and ypserv(1M) for an overview of the NIS name
      service.

      The following options are available:





10/89                                                                    Page 1







ypset(1M)                        UNIX System V                        ypset(1M)


      -h host         Set ypbind's binding on host, instead of locally.  host
                      must be specified as a name.

      -d ypdomain     Use ypdomain, instead of the default domain.

SEE ALSO
      ypserv(1M), ypwhich(1), ypfiles(4)















































Page 2                                                                    10/89





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026