Question

What's the best approach to map a nfsServer to an nfsClient?

Posted November 8, 2016 991 views
CentOS Linux Commands

Hi.

A test nfsServer, as well as a test nfsClient is created. Snapshots of both are created.

The droplets are deleted, and the droplets are then regenerated, using the snapshots.

As I understand it, the ipAddress of the nfsServer droplet would potentially/probably be changed. So, the question, how can a snapshot be used to generate a droplet, and maintain the ipAddress for the nfsClient?

Thanks

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

I’m not expert for nfsServer/Client but I can give you hint for IP addresses.
As even you said - when you create snapshot, delete Droplet and re-create Droplet from snapshot it will for sure have another IP address.

The thing that can help you with saving IP address are Floating IPs. Floating IP is IP that can be assigned to one of your Droplet and re-assigned to another one instantly.
It’s free to use when assigned but if Floating IP is unassigned (not attached to any Droplet) you’ll be charged $0.006 per hour for it (this is because of shortage of IPv4 address. To make billing simple, you’ll not be charged for it until you accrue $1 or more.).
How To Use Floating IPs on DigitalOcean.

Submit an Answer