...
Architecture and Design description
Storage allocation
- When a volume is created, cloudstack queries all the storage allocators for a suitable pool for the volume. It checks the allocator for a suitable pool for the volume in the following order; local, cluster and finally zone wide storage allocator.
- If a suitable pool is found; then that pool is placed on that pool.
- If a volume is created with a 'Shared' disk offering and a cluster wide and a zone wide pool, both a re available; the volume may get placed in either of the pools.
- To guarantee placement of a volume on a zone wide primary storage; storage tags may be used.
Volume migration
Web Services APIs
The api 'createStoragePool' can be used for adding SMB as a zone wide primary storage. The 'scope' parameter has to be 'zone' and hypervisor parameter set to 'Hyperv'. This is an existing api and no changes need to be made to it for this feature.
...