home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / protocol / nfs / 2184 < prev    next >
Encoding:
Text File  |  1992-08-29  |  2.2 KB  |  55 lines

  1. Newsgroups: comp.protocols.nfs
  2. Path: sparky!uunet!munnari.oz.au!mips!mips!sgi!rhyolite!vjs
  3. From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
  4. Subject: Re: NIS across gateways
  5. Message-ID: <p6ete90@rhyolite.wpd.sgi.com>
  6. Organization: Silicon Graphics, Inc.  Mountain View, CA
  7. References: <1992Aug27.155241.7020@awdprime.austin.ibm.com>
  8. Date: Sat, 29 Aug 1992 17:16:12 GMT
  9. Lines: 44
  10.  
  11. 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:
  12. > I have a customer who sent me the following question:
  13. > >Within in an "area" there may or may not be routers.  We are thinking of
  14. > >proposing the following idea regarding NIS:
  15. > >Within an area, there is one NIS master.  All other servers are
  16. > >designated as slaves.  This will get around the router problem.
  17. > >However, we noted that slaves could not get new copies of the maps
  18. > >unless they were bound to the master.  Ideally, we would like to
  19. > >have each slave bound to itself.  This way if a server goes down,
  20. > >we know that users on the surviving servers do not have to wait
  21. > >until their server is rebound.  We are unsure of deciding how to
  22. > >best design around these binding issues.
  23. > NIS can't bind through a gateway generally since broadcasting doesn't
  24. > work.  What sort of strategy might work for this, here are two I thought
  25. > of:
  26. > 1.  Leave the slave bound to itself.  You might try having the master
  27. >     rsh to the slave and run a shell script which does the following
  28. >     whenever it's time to yppush:
  29. >         ypset master
  30. >         get all the maps
  31. >         ypset slave
  32. > 2.  Or you could try leaving the slave always bound to the master but
  33. >     running a cron job which tries to figure out when the master dies
  34. >     and at that time rebinds to the slave until the master comes back
  35. >     using ypset.
  36. > Can anyone tell me these ideas are wrong, or think of some others?
  37.  
  38.  
  39. How about using multicast and IGMP?
  40.  
  41. If your router does multicast, and you can change your portmapper
  42. and client libraries to try multicast, then it works fine.
  43.  
  44. I think there is an officially registered class-D address for this purpose.
  45. I think it is 224.0.2.2.
  46.  
  47.  
  48. Vernon Schryver,  vjs@sgi.com
  49.