As most of you probably know besides implementing a hypervisor merely capable of running regular VMs, we’ve also implemented a CPU virtualization extensions called VT-I for Intel or SVM for AMD cpus. These extensions, in essence, allow running other hypervisors such as KVM or VMware ESXi™ in the public cloud on top of Ravello. In this blog I’m going to focus on installing and configuring NFS image template that can be later used as a shared datastore in a VMware datacenter.
We recently held a webinar discussing how to build ESXi labs on AWS/ Google Cloud. Enjoy the webcast...
If you do not already have an account in Ravello, please first open a trial account.
This article describes how to build a simple share storage using an NFS server in 10 minutes on top of Ravello. If you care for a fancier NFS server with multiple users, rolles, LDAP integration etc check out the internet for your favorite OS flavour (for example, see here).
To simplify the process we’ll use one of the preconfigured ubuntu virtual machines delivered by Ravello.
SSH into the newly created VM using the DNS name (as appear on the VM summary tab) and your private key.
ssh -i <key> ubuntu@<DNS name>
Once in, do the following:
sudo apt-get update
sudo apt-get install nfs-kernel-server -y
sudo mkdir /nfs
sudo chmod 777 /nfs
/etc/exports the following line:
sudo service nfs-kernel-server restart
Done, your new NFS is ready. The vm is listening to the hostname you defined and the NFS directory is /nfs.
Once the NFS server is properly installed and configured, you are welcome to finally save it to Ravello’s library for future usage. Read here how to save the NFS VM to Ravello’s library.
VMware product names, logos, brands, and other trademarks featured or referred to in the ravellosystems domain are the property of VMware. VMware is not affiliated with Ravello Systems or any of Ravello System's employees or representatives. VMware does not sponsor or endorse the contents, materials, or processes discussed on the site.