home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!ekhadafi.austin.ibm.com!curt
- From: curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806)
- Newsgroups: comp.protocols.nfs
- Subject: NIS across gateways
- Message-ID: <1992Aug27.155241.7020@awdprime.austin.ibm.com>
- Date: 27 Aug 92 15:52:41 GMT
- Sender: news@awdprime.austin.ibm.com (USENET News)
- Organization: IBM AWD, Austin
- Lines: 35
-
- 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?
- --
- curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality
- My views are unrelated to those of IBM | Austin, TX
- Social Security isn't a retirement plan. It's middle class welfare.
-