You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Mārtiņš Jakubovičs <ma...@vertigs.lv> on 2016/01/28 09:21:10 UTC

Virtual Router volume migration

Hello,

Is it possible to migrate Virtual Routers volume with storage migration 
from one storage to other, like it is possible with user volumes? Can't 
find such function.

Re: Virtual Router volume migration

Posted by Remi Bergsma <RB...@schubergphilis.com>.
Hi Martins,

That also works indeed! I also need the database, but only read from it.

Regards,
Remi



On 28/01/16 10:32, "Mārtiņš Jakubovičs" <ma...@vertigs.lv> wrote:

>Hello Remi,
>
>Thanks, I will check your scripts. Right now I migrate in XenServer it 
>self, after that update router's volume pool_id and path fields.
>
>Best regards,
>Martins
>
>On 2016.01.28. 11:22, Remi Bergsma wrote:
>> Good morning,
>>
>> By default it cannot be done. I wrote a collection of scripts [1] that can do it. In the README, search for "Migrate a Virtual Router”. The script you need is [2].
>>
>> Regards,
>> Remi
>>
>> [1] https://github.com/schubergphilis/cloudstackOps
>> [2] https://github.com/schubergphilis/cloudstackOps/blob/master/migrateRouterVM.py
>>
>>
>>
>>
>> On 28/01/16 09:21, "Mārtiņš Jakubovičs" <ma...@vertigs.lv> wrote:
>>
>>> Hello,
>>>
>>> Is it possible to migrate Virtual Routers volume with storage migration
>> >from one storage to other, like it is possible with user volumes? Can't
>>> find such function.
>

Re: Virtual Router volume migration

Posted by Mārtiņš Jakubovičs <ma...@vertigs.lv>.
Hello Remi,

Thanks, I will check your scripts. Right now I migrate in XenServer it 
self, after that update router's volume pool_id and path fields.

Best regards,
Martins

On 2016.01.28. 11:22, Remi Bergsma wrote:
> Good morning,
>
> By default it cannot be done. I wrote a collection of scripts [1] that can do it. In the README, search for "Migrate a Virtual Router”. The script you need is [2].
>
> Regards,
> Remi
>
> [1] https://github.com/schubergphilis/cloudstackOps
> [2] https://github.com/schubergphilis/cloudstackOps/blob/master/migrateRouterVM.py
>
>
>
>
> On 28/01/16 09:21, "Mārtiņš Jakubovičs" <ma...@vertigs.lv> wrote:
>
>> Hello,
>>
>> Is it possible to migrate Virtual Routers volume with storage migration
> >from one storage to other, like it is possible with user volumes? Can't
>> find such function.


Re: Virtual Router volume migration

Posted by Remi Bergsma <RB...@schubergphilis.com>.
Good morning,

By default it cannot be done. I wrote a collection of scripts [1] that can do it. In the README, search for "Migrate a Virtual Router”. The script you need is [2].

Regards,
Remi

[1] https://github.com/schubergphilis/cloudstackOps
[2] https://github.com/schubergphilis/cloudstackOps/blob/master/migrateRouterVM.py




On 28/01/16 09:21, "Mārtiņš Jakubovičs" <ma...@vertigs.lv> wrote:

>Hello,
>
>Is it possible to migrate Virtual Routers volume with storage migration 
>from one storage to other, like it is possible with user volumes? Can't 
>find such function.