We are using XenServer 6.5 ACS 4.5 iSCSI LUN's for Primary and when I enabled multipathing I enabled maintenance mode for the LUN in question and I see all vm's migrate to another they did not reboot or shutdown. Once in maintenance I was able to remove it from ACS and XenServer and then re-add in each location.
I haven't had to do it again since then but using shared storage I was able to reproduce what you mentioned below about old documentation. Jeremy -----Original Message----- From: Dag Sonstebo [mailto:dag.sonst...@shapeblue.com] Sent: Tuesday, December 8, 2015 2:39 AM To: users@cloudstack.apache.org Subject: Re: How to replace Primary Storage Hi Amir Not tried it - but as Ahmad pointed out just make sure your DB matches real VMFS location, otherwise the two platforms go out of sync. Regards, Dag Sonstebo Cloud Architect ShapeBlue On 08/12/2015, 04:15, "Amir Abbasi" <abb...@tebyanidc.ir> wrote: >Hi, > >Thanks, as I found in older documents if I enable maintenance mode ol Primary >Storage then CS will try to move all storages to another Primary Storage with >same tag. Has anyone tried that? > >-----Original Message----- >From: Ahmad Emneina [mailto:aemne...@gmail.com] >Sent: Monday, December 7, 2015 11:30 PM >To: Cloudstack users mailing list >Subject: Re: How to replace Primary Storage > >Hey Amir, this should be doable behind the scenes with vCenter. It will >involve live storage migration, then massaging the cloudstack db (volumes >table pool_id and folder references). If snapshots are involved, its a bit >more involved. > >On Fri, Dec 4, 2015 at 10:19 PM, Amir Abbasi <abb...@tebyanidc.ir> wrote: > >> Hi, >> >> >> >> I've added a new Primary Storage to a VMware zone and want to replace >> that with old one. Both of them are VMFC (FC). What do you recommend >> for live migration? What would happened if I enable maintenance mode >> for old Primary storage? >> >> >> >> Thanks >> >> > Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.