Results 1 to 2 of 2
I have two sites (SiteA and SiteB) developing software. The software build process relies on a directory called /auto/share. There are various tools required to complete a software build hosted ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-04-2013 #1
- Join Date
- Aug 2013
dns/autofs question: how to share one NFS export at two sites
I have spoke to the owners of the build process about making the location of "/auto/share" a variable somewhere in the build process and they said it would be too large of a change to make, so they're not going to entertain that idea.
So what I did is created a rsync copy of /auto/share from SiteA to /auto/share2 at SiteB. Now that i have a local copy at both sites, how can i create the illusion that /auto/share is coming from the local NFS server?
I've thought about two options:
Option 1 - have two separate DNS entries at each site.
fileserver.company.tld points to 10.10.10.10
fileserver.company.tld points to 126.96.36.199
The downside is that we would potentially have a completely separate DNS system hosted for the sole purpose of a DNS hack.
Option 2- same thing, but use /etc/hosts - sloppy, but it can get the trick done (we use puppet)
there's also a third option, but i haven't quite figured out how this would work. Perhaps its possible to change the auto maps in NIS to be separate for each site.
I am hoping somebody can nudge me in the right direction here on the forum, as i have been pondering this problem for the last week.
- 08-05-2013 #2
- Join Date
- Apr 2012
- Virginia, USA