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.

Edd
  • 21

2 Answers2

0

enter image description here

I am trying to ACS 4.18

the NFS is showing as mounted but on dashboard it its not showing any details and my SSVM is stuck on Starting--stopping--staring--stopping

Kindly suggest where i am missing things?

GiriG
  • 11
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.

Thomas
  • 4,415