Setting Up A Highly Available NFS Server - Page 5
10 Configure The NFS ClientNow we install NFS on our client (192.168.0.100): apt-get install nfs-common Next we create the /data directory and mount our NFS share into it: mkdir /data 192.168.0.174 is the virtual IP address we configured before. You must make sure that the forward and the reverse DNS record for client.example.com match each other, otherwise you get a "Permission denied" error on the client, and on the server you'll find this in /var/log/syslog:
If you do not have proper DNS records (or do not have a DNS server for your local network) you must change this now, otherwise you cannot mount the NFS share! If it works you can now create further test files in /data on the client and then simulate failures of server1 and server2 (but not both at a time!) and check if the test files are replicated. On the client you shouldn't notice at all if server1 or server2 fails - the data in the /data directory should always be available (unless server1 and server2 fail at the same time...). To unmount the /data directory, run umount /data If you want to automatically mount the NFS share at boot time, put the following line into /etc/fstab:
Links
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com





print: 
Recent comments
3 hours 19 min ago
5 hours 2 min ago
7 hours 27 min ago
7 hours 33 min ago
12 hours 7 min ago
14 hours 8 min ago
17 hours 31 min ago
19 hours 38 min ago
19 hours 49 min ago
22 hours 15 min ago