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 <[email protected]> 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"><[email protected]>
> Sent: Thursday, September 17, 2020 11:23 PM
> To: [email protected] "
> target="_blank"><[email protected]>
> Subject: Adding Local Storage to Primary Storage
>
> Hi
>
> Anybody know to add local storage to Primary Storage.
>
>
>
> --
> Regards,
> Hean Seng
>
> [email protected]
> http://www.shapeblue.com
> 3 London Bridge Street, 3rd floor, News Building, London SE1 9SGUK
> @shapeblue
>
>
>
>