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