home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!argus.SLAC.Stanford.EDU!kls
- From: kls@argus.SLAC.Stanford.EDU (Karl L. Swartz)
- Newsgroups: comp.sys.sun.admin
- Subject: problems multihomed YP master
- Message-ID: <5135@unixhub.SLAC.Stanford.EDU>
- Date: 18 Aug 92 04:44:22 GMT
- Sender: news@unixhub.SLAC.Stanford.EDU
- Organization: Stanford Linear Accelerator Center
- Lines: 56
- Nntp-Posting-Host: argus.slac.stanford.edu
-
- We recently added several extra interfaces to our YP master, an FDDI
- and a second Ethernet. Unfortunately, slave servers on the new nets
- seem to be rejecting pushes of new maps. (All machines involved are
- Sun 4s running Sun OS 4.1 or later.)
-
- Here's a simplfied picture of what we have:
-
- OLD ------------------------
- | |
- ROUTER MASTER
- | |
- NEW ------------------------
- |
- SLAVE
-
- In the old world, MASTER didn't have the link to NEW and thus SLAVE
- saw updates coming from MASTER(OLD). No problem.
-
- When I enable MASTER's interface on NEW it of course sends packets
- to SLAVE via the direct route. When I try to do a yppush it simply
- hangs. If I disable the interface and try again the yppush works
- just fine.
-
- The YP hosts database contains the following entries:
-
- 134.79.OLD.x MASTER MASTER-OLD
- 134.79.NEW.x MASTER-NEW
-
- The YP .dbm files contain the entry
-
- YP_MASTER_NAME MASTER
-
- i.e. YP thinks the unqualified name, which YP maps to the original
- address, is the name of the master. My assumption is that SLAVE is
- translating the value of YP_MASTER_NAME to an address, comparing it
- to the one in the received packet, and rejecting the request because
- the addresses don't match.
-
- One attempt was to add a host route on MASTER pointing to SLAVE via
- ROUTER(OLD) in the hope that the request would indicate it was from
- MASTER(OLD). This still produced a hang of yppush.
-
- Another attempt was to rebuild the slave server using MASTER-NEW as
- the master. This caused ypinit to fail until I removed the check
- verifying the named master against what the databases claimed. The
- install worked fine after that, but then ypserv dumped core as soon
- as it started.
-
- Does anybody have any suggestions, or must I make sure that my YP
- master has only one network interface?
-
- --
- Karl Swartz |INet kls@unixhub.slac.stanford.edu
- SLAC Computing Services | or kls@ditka.chicago.com
- 1-415/926-3630 |UUCP uunet!lll-winken!unixhub!kls -or- ditka!kls
- (SLAC and the US Dept. of Energy don't necessarily agree with my opinions.)
-