home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / protocol / nfs / 2176 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  2.0 KB

  1. Path: sparky!uunet!wupost!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!ekhadafi.austin.ibm.com!curt
  2. From: curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806)
  3. Newsgroups: comp.protocols.nfs
  4. Subject: NIS across gateways
  5. Message-ID: <1992Aug27.155241.7020@awdprime.austin.ibm.com>
  6. Date: 27 Aug 92 15:52:41 GMT
  7. Sender: news@awdprime.austin.ibm.com (USENET News)
  8. Organization: IBM AWD, Austin
  9. Lines: 35
  10.  
  11. I have a customer who sent me the following question:
  12.  
  13. >Within in an "area" there may or may not be routers.  We are thinking of
  14. >proposing the following idea regarding NIS:
  15.  
  16. >Within an area, there is one NIS master.  All other servers are
  17. >designated as slaves.  This will get around the router problem.
  18. >However, we noted that slaves could not get new copies of the maps
  19. >unless they were bound to the master.  Ideally, we would like to
  20. >have each slave bound to itself.  This way if a server goes down,
  21. >we know that users on the surviving servers do not have to wait
  22. >until their server is rebound.  We are unsure of deciding how to
  23. >best design around these binding issues.
  24.  
  25. NIS can't bind through a gateway generally since broadcasting doesn't
  26. work.  What sort of strategy might work for this, here are two I thought
  27. of:
  28.  
  29. 1.  Leave the slave bound to itself.  You might try having the master
  30.     rsh to the slave and run a shell script which does the following
  31.     whenever it's time to yppush:
  32.         ypset master
  33.         get all the maps
  34.         ypset slave
  35.  
  36. 2.  Or you could try leaving the slave always bound to the master but
  37.     running a cron job which tries to figure out when the master dies
  38.     and at that time rebinds to the slave until the master comes back
  39.     using ypset.
  40.  
  41. Can anyone tell me these ideas are wrong, or think of some others?
  42. -- 
  43. curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality 
  44. My views are unrelated to those of IBM     |        Austin, TX
  45.   Social Security isn't a retirement plan.  It's middle class welfare.
  46.