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
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video




print: 

Recent comments
21 hours 32 min ago
1 day 16 min ago
1 day 5 hours ago
1 day 8 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 17 hours ago
1 day 18 hours ago
1 day 21 hours ago