Heinz,
Something to consider, i've not tried this yet, but you can try and let us know. Here is the scenario you need to consider, You have 5 VMs using service offering "1x2 local disk offering", if you alter the service offering type to "shared" from DB side - cloudstack may not handle it well when you do stop and start operations. "shared storage" - implies you can see disks across all hosts within a cluster, therefore the chance of you failing to start VMs is very high - for VMs that have not migrated yet. With that said, if you choose to migrate - to shared, i suggest you handle it properly and apply the change to all VMs, or set the VMs that have not been migrated to another local service offering. Try: Create new local service offering deploy 3 vms migrate 1 with db hack stop and start all vms - see which ones fail to start Regards ilya On 1/5/16 6:48 AM, Leiser Heinz wrote: > Hi all, > > Our Environment: ACS 4.5.1 with XenServer 6.5.0 (Local Storage): > > We plan to migrate all VM's from XenServer Cluster with local storage (ext) > to a shared storage pool (lvm) and have some challenges and questions. > > When we stop a VM which is on local Storage and move it to shared storage and > start it, it's Volume still shows "Storage Type = local". > > When we then do a life migration, CloudStack moves the Volume back on a local > Storage pool. > > We assume this is because of the current Service Offering referred to the VM, > which has a Local Storage Flag set to"use_local_storage=1". > > When we try to change the Service Offering to an Offering with Storage Type = > Shared Storage, it's not possible, as they are not listed in the Compute > Offering Pull-Down Menu. > > A work around would be to temporarily change the Flag "use_local_storage=1" > of this Service Offering (in the database) to 0 then Change the Service > Offering to one with "Share Storage" and revise the DB change. > > Is there any trap we need to consider in this approach? > Has anyone experience with migration from a local Storage to a shared Storage > with ACS 4.5/XenServer6.5? > > What happen to the Template the VM was created from when we move to a shared > storage, is there any "Chain" / dependency to it? Do we need to move the > Template also from local Storage to the shared storage? > > Thanks a lot for any response and advise > > Best regards > Heinz > > EveryWare AG > Heinz Leiser > > Zurlindenstrasse 52a > CH-8003 Zürich > > T +41 44 466 60 00 > F +41 44 466 60 10 > > heinz.lei...@everyware.ch > www.everyware.ch >