home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.nfs
- Path: sparky!uunet!munnari.oz.au!mips!mips!sgi!rhyolite!vjs
- From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
- Subject: Re: NIS across gateways
- Message-ID: <p6ete90@rhyolite.wpd.sgi.com>
- Organization: Silicon Graphics, Inc. Mountain View, CA
- References: <1992Aug27.155241.7020@awdprime.austin.ibm.com>
- Date: Sat, 29 Aug 1992 17:16:12 GMT
- Lines: 44
-
- In article <1992Aug27.155241.7020@awdprime.austin.ibm.com>, curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806) writes:
- > I have a customer who sent me the following question:
- >
- > >Within in an "area" there may or may not be routers. We are thinking of
- > >proposing the following idea regarding NIS:
- >
- > >Within an area, there is one NIS master. All other servers are
- > >designated as slaves. This will get around the router problem.
- > >However, we noted that slaves could not get new copies of the maps
- > >unless they were bound to the master. Ideally, we would like to
- > >have each slave bound to itself. This way if a server goes down,
- > >we know that users on the surviving servers do not have to wait
- > >until their server is rebound. We are unsure of deciding how to
- > >best design around these binding issues.
- >
- > NIS can't bind through a gateway generally since broadcasting doesn't
- > work. What sort of strategy might work for this, here are two I thought
- > of:
- >
- > 1. Leave the slave bound to itself. You might try having the master
- > rsh to the slave and run a shell script which does the following
- > whenever it's time to yppush:
- > ypset master
- > get all the maps
- > ypset slave
- >
- > 2. Or you could try leaving the slave always bound to the master but
- > running a cron job which tries to figure out when the master dies
- > and at that time rebinds to the slave until the master comes back
- > using ypset.
- >
- > Can anyone tell me these ideas are wrong, or think of some others?
-
-
- How about using multicast and IGMP?
-
- If your router does multicast, and you can change your portmapper
- and client libraries to try multicast, then it works fine.
-
- I think there is an officially registered class-D address for this purpose.
- I think it is 224.0.2.2.
-
-
- Vernon Schryver, vjs@sgi.com
-