I am using 4.14 , and indeed , it need create offering and the tag to local storage .
I am now using SolusVM for VPS and Virtualizor , Planning to use Cloudstack or OpenStack, Openstack has too many issue for setting up, and i forsee it may create a lot of maintenance in future . Thus try out Cloudstack, and cloudstack is clean. However, i feels that Cloudstack has very less support for Storage, and most of newly storage is not support, for example linbit , the only that best NFS, but sadly say NFS is not really suitable for public cloud where one Compute Host need to create a lot of VM. Otherwise it will kill the NFS server with high load. I am trying share mount point, but it require OCFS2 clustering filesystem, and ocfs2 now seems only suppport Oracle LInux, but not Redhat/Centos , Ubuntu Version has bug. Otherwise will be bare ISCSI , or CEPH, CEPH is good, but seems need a lot of server in order to get it up running in productions , at least 3osd , and 3 mon. Thus now I am looking back to Local Storage with proper raid setup . But now issue for local storage is it limited to fix folder , and not LVM block storage . The CLVM in Cloudstack is not test yet and not sure if can work . On Fri, Sep 18, 2020 at 3:11 PM Rafael del Valle <rva...@privaz.io.invalid> wrote: > Hi Hean, Cristian, > > Please also check with version of ACS you use. > > In ACS 4.14 I have to create a Compute Offering and Network Offering with > Local Storage Enabled. > > I think there is no longer a zone setting for user VMs, but there is for > SystemVMs. > > Here are some settings I am using : > > > # Global Offerings > > - name: Create a 10GB disk offering with local storage > cs_disk_offering: > name: ls-ssd-10gb > display_text: 10GB SSD LS > disk_size: 10 > storage_type: local > > - name: Create a non-volatile compute service offering with local > storage > cs_service_offering: > name: micro-ssd > display_text: Micro LS SSD 512mb 1cpu 500mhz > cpu_number: 1 > cpu_speed: 500 > memory: 512 > storage_type: local > > > > > - name: Allow SystemVMs to use local storage on zone 1 > cs_configuration: > name: system.vm.use.local.storage > zone: z1 > value: "true" > > > > That is all that is required in 4.14. > > If you use KVM local storage will be under /var/lib/libvirt.... you might > need to setup somthing there. > > Rafael > > On Fri, 2020-09-18 06:50 AM, Pearl d'Silva <pearl.dsi...@shapeblue.com> > wrote: > > Hi Hean, > > > > Either when creating a zone, in the zone creation wizard, while adding > the zone details, you must enable usage of local storage for user VM and / > or SystemVMs, so as to use local store as a primary storage; or if the zone > is already created, you may edit the zone configuration, and enable local > store usage for user VMs. For usage of local store for System VMs(after > zone deployment) there is a global setting namely, > "system.vm.use.local.storage", changing which will require a management > server restart. Post these changes, on checking the Primary Storage tab on > the UI, you will notice new pools created on each host. > > > > Thanks, > > Pearl > > ________________________________ > > From: Hean Seng " target="_blank"><heans...@gmail.com> > > Sent: Thursday, September 17, 2020 11:23 PM > > To: users@cloudstack.apache.org " target="_blank">< > users@cloudstack.apache.org> > > Subject: Adding Local Storage to Primary Storage > > > > Hi > > > > Anybody know to add local storage to Primary Storage. > > > > > > > > -- > > Regards, > > Hean Seng > > > > pearl.dsi...@shapeblue.com > > http://www.shapeblue.com > > 3 London Bridge Street, 3rd floor, News Building, London SE1 9SGUK > > @shapeblue > > > > > > > > -- Regards, Hean Seng