home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / protocol / nfs / 2243 < prev    next >
Encoding:
Text File  |  1992-09-07  |  3.5 KB  |  66 lines

  1. Newsgroups: comp.protocols.nfs
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!gumby!destroyer!ncar!csn!news.den.mmc.com!pgl-devsvr.den.mmc.com!jzwiebel
  3. From: jzwiebel@pgl-devsvr.den.mmc.com (John Zwiebel 303-977-1480)
  4. Subject: Re: NIS across gateways
  5. Message-ID: <1992Sep5.021855.15881@den.mmc.com>
  6. Sender: news@den.mmc.com (News)
  7. Nntp-Posting-Host: 147.105.208.161
  8. Organization: PAGE @ Martin-Marietta
  9. References:  <1992Aug27.155241.7020@awdprime.austin.ibm.com>
  10. Date: Sat, 5 Sep 1992 02:18:55 GMT
  11. Lines: 47
  12.  
  13. 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:
  14. |> I have a customer who sent me the following question:
  15. |> 
  16. |> >Within in an "area" there may or may not be routers.  We are thinking of
  17. |> >proposing the following idea regarding NIS:
  18. |> 
  19. |> >Within an area, there is one NIS master.  All other servers are
  20. |> >designated as slaves.  This will get around the router problem.
  21. |> >However, we noted that slaves could not get new copies of the maps
  22. |> >unless they were bound to the master.  Ideally, we would like to
  23. |> >have each slave bound to itself.  This way if a server goes down,
  24. |> >we know that users on the surviving servers do not have to wait
  25. |> >until their server is rebound.  We are unsure of deciding how to
  26. |> >best design around these binding issues.
  27. |> 
  28. |> NIS can't bind through a gateway generally since broadcasting doesn't
  29. |> work.  What sort of strategy might work for this, here are two I thought
  30. |> of:
  31. |> 
  32. |> 1.  Leave the slave bound to itself.  You might try having the master
  33. |>     rsh to the slave and run a shell script which does the following
  34. |>     whenever it's time to yppush:
  35. |>         ypset master
  36. |>         get all the maps
  37. |>         ypset slave
  38. |> 
  39. |> 2.  Or you could try leaving the slave always bound to the master but
  40. |>     running a cron job which tries to figure out when the master dies
  41. |>     and at that time rebinds to the slave until the master comes back
  42. |>     using ypset.
  43. |> 
  44. |> Can anyone tell me these ideas are wrong, or think of some others?
  45. |> -- 
  46. |> curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality 
  47. |> My views are unrelated to those of IBM     |        Austin, TX
  48. |>   Social Security isn't a retirement plan.  It's middle class welfare.
  49.  
  50.  
  51. I'm just asking more questions:
  52.  
  53. I was under the impression that it takes about 5 minutes for ypbind to figure out that it isn't getting service from ypserv.  Is it not true that during this time the ypbind clients should continue to get service from the slave server even if the slave cant contact the master?  Even if this is not so, I think the delay will only mean that someone who has not logged on to a client host will have to wait until the rebinding occurs, all the other clients should be able to continue operating (for the most part
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. ) as if nothing happened right?
  61.  
  62. We have cisco routers also and the ip helper-address works very well.  I don't see a lot of extra broadcast packets running around my networks.  The 9.1 OS (and probably 9.0) can be set up to forward broadcasts via the bridge spanning tree (which avoids loops).  Even if your network isn't bridging you can still use the spanning tree to manage the broadcasts.  So when all this is taken into account, the clients can have their choice of slaves and masters.  The server that provides the best service wins.
  63.  
  64. I'm also wondering about the cron suggestion.  If ypbind looks for a new ypserv within 5 minutes how often will you have to be running the cron job?
  65.  
  66.