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
Red Hat Virtual Experience - a free virtual event. Dec. 9th





print: 
Recent comments
9 hours 32 min ago
15 hours 20 min ago
17 hours 12 min ago
18 hours 57 min ago
22 hours 47 min ago
1 day 4 hours ago
1 day 4 hours ago
1 day 9 hours ago
1 day 14 hours ago
1 day 19 hours ago