edit the global setting "system.vm.use.local.storage", restart mgmt server.
On Mon, Feb 9, 2015 at 8:20 PM, Abhinandan Prateek <abhinandan.prat...@shapeblue.com> wrote: > While creating a zone you can configure the use of local storage. It seems > you configured it erroneously. > In 4.3 as per my knowledge live vm migration with local storage is broken. > Use it in 4,5 it works I have tested it. > If you do not want to use local storage make sure you turn it off while > creating the zone. > > -abhi > > >> On 10-Feb-2015, at 1:20 am, Rafael Weingartner <rafaelweingart...@gmail.com> >> wrote: >> >> Well, >> There is a button, take a look at the SS I took: >> http://postimg.org/image/5sr7yxyud/ >> >> I am curious, why does the CS allocate system VMs’ VDI on local SR on Xen >> hypervisor? Why not use the primary storage of the cluster in which the >> host is in? >> I looked at the code, and it is hard coded there, Xen hosts have to have a >> local SR, otherwise you cannot add them into CS (first time I saw that I >> found it very weird, I even sent an email about it, but did not get any >> reply). >> >> That does not seem to happen with other hypervisors. >> >> Now that you mentioned the maintenance mode, I noticed that system VMs are >> not being migrated when I put its host in maintenance, I thought that was a >> normal behavior (weird one but normal, given that those VMs are using the >> local SR of the Xen hypervisor). >> >> On Mon, Feb 9, 2015 at 5:10 PM, Yiping Zhang <yzh...@marketo.com> wrote: >> >>> How do you migrate systemVM’s in UI? >>> >>> If you just put the host, where the systemVM’s are running, into >>> “maintenance” mode, then you may have hit this bug which was fixed in >>> 4.4.0: https://issues.apache.org/jira/browse/CLOUDSTACK-5660 >>> >>> >>> Yiping >>> >>> On 2/9/15, 11:01 AM, "Rafael Weingartner" <rafaelweingart...@gmail.com> >>> wrote: >>> >>>> Update: >>>> The UI may not be working because it uses the command "migrateSystemVm", >>>> instead of "migrateVirtualMachineWithVolume". >>>> Shoud I open a bug report? >>>> >>>> On Mon, Feb 9, 2015 at 3:21 PM, Rafael Weingartner < >>>> rafaelweingart...@gmail.com> wrote: >>>> >>>>> I also tried and it did not work. I am using CS 4.3.0. >>>>> I used the UI button. I got the error "VM_REQUIRES_SR". >>>>> >>>>> On Mon, Feb 9, 2015 at 2:52 PM, Prashant Kumar Mishra < >>>>> prashantkumar.mis...@citrix.com> wrote: >>>>> >>>>>> 1-Yes we can migrate system vm , I have done it many times >>>>>> >>>>>> >>>>>> 2-Even if vm is deployed with local storage you can migrate to another >>>>>> local storage . Check out this api migrateVirtualMachineWithVolume >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>> http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/migrateVirt >>>>>> ual >>>>>> MachineWithVolume.html >>>>>> >>>>>> < >>> http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/migrateVir >>>>>> tualMachineWithVolume.html> >>>>>> >>>>>> >>>>>> ~prashant >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 2/9/15, 5:08 PM, "Rafael Weingartner" <rafaelweingart...@gmail.com> >>>>>> wrote: >>>>>> >>>>>>> That is the answer I wanted to hear. If we can migrate system VMs, >>>>>> why >>>>>>> are >>>>>>> the systems VMs¹ VDI allocated in the local SR on Xen hypervisor? >>>>>>> >>>>>>> It is not possible to migrate those system VMs, hence they are using a >>>>>>> local SR. >>>>>>> >>>>>>> On Mon, Feb 9, 2015 at 3:01 AM, Sanjeev Neelarapu < >>>>>>> sanjeev.neelar...@citrix.com> wrote: >>>>>>> >>>>>>>> Yes, we can. >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: Rafael Weingartner [mailto:rafaelweingart...@gmail.com] >>>>>>>> Sent: Saturday, February 07, 2015 2:41 AM >>>>>>>> To: dev@cloudstack.apache.org >>>>>>>> Subject: Can System VMs be migrated? >>>>>>>> >>>>>>>> Hi folks, >>>>>>>> >>>>>>>> I was wondering, can we migrate systems vms from a host to another >>>>>> one >>>>>>>> in >>>>>>>> the same cluster? >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Rafael Weingärtner >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Rafael Weingärtner >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Rafael Weingärtner >>>>> >>>> >>>> >>>> >>>> -- >>>> Rafael Weingärtner >>> >>> >> >> >> -- >> Rafael Weingärtner > > 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.