1

My goal is to setup the secondary storage and the nfs server on the same machine as the management server. I've followed the guidelines according to the cloudstack installation docs here but the secondary storage is still not configured, as shown here

The main goal of adding NFS storage is so that the SSVM can run, and thus enabling me to download ISO images to create instances.

0

First check if the nfs storage is working properly and you are able to mount it on Hypervisor.

mount -t nfs management-server-ip:/nfsshare /mnt

If this is working properly then you can add this nfs share as secondary storage.

Once secondary storage has been added make sure you register system vm template. Mount the nfs share on management server itself and register the template:

mount -t nfs management-server-ip:/nfsshare /mnt

/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt \
-m /mnt/secondary \
-u http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-kvm.qcow2.bz2 \
-h kvm -s <optional-management-server-secret-key> -F

Download the template as per your hypervisor and then enable the zone. After this ssvm should work fine.

I hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.