Add the new primary store.
Enable Maintenance mode on the old primary store.
CS will take care of migrating the VM's running the old store to the new one.
Once the migrations are complete CS will report the status. 
Then remove the old store.

Yes You can use tags to force CS to pick the tagged resources.

Thanks
Rajesh Battala


-----Original Message-----
From: Amir Abbasi [mailto:abb...@tebyanidc.ir] 
Sent: Saturday, April 26, 2014 2:50 PM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

Hi,

Thanks, is there any way to force CS to create virtual machines on a particular 
Primary-storage from now on (I wan to remove older Primary storage as soon as 
possible)?

----- Original Message -----
From: "Rajesh Battala" <rajesh.batt...@citrix.com>
To: <users@cloudstack.apache.org>
Sent: Saturday, April 26, 2014 10:52 AM
Subject: RE: How to migrate volumes of Virtual routers


Reboot VR, a new VR will be re-created with new disks and all the rules will 
be applied again.

-----Original Message-----
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Saturday, April 26, 2014 10:23 AM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

originally I face 2 problems;

1- The VPN which has been enabled and working since a few months ago is not 
working (error 789) after facing the "Read-only file system" issue and I 
can't delete the VPN users (but I can add new users).

2- sometimes web service of instances (which uses this router) does not load 
js queries properly, I suspect the VR is not working properly.

----- Original Message -----
From: "Rajesh Battala" <rajesh.batt...@citrix.com>
To: <users@cloudstack.apache.org>
Cc: "Sanjeev Neelarapu" <sanjeev.neelar...@citrix.com>
Sent: Saturday, April 26, 2014 8:52 AM
Subject: RE: How to migrate volumes of Virtual routers


Reboot the VR. It will recreate disks and apply all the rules.

Thanks
Rajesh Battala

-----Original Message-----
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Saturday, April 26, 2014 9:34 AM
To: users@cloudstack.apache.org
Cc: Sanjeev Neelarapu
Subject: Re: How to migrate volumes of Virtual routers

Hi,

Thank you, Is it possible to force cloudstack to recreate VR instance from
scratch (not only cleaning up)?


----- Original Message ----- 
From: "Sanjeev Neelarapu" <sanjeev.neelar...@citrix.com>
To: <users@cloudstack.apache.org>
Sent: Thursday, April 24, 2014 8:23 AM
Subject: RE: How to migrate volumes of Virtual routers


Hi,

If the host on which VR is running is disconnected and connected back to
Primary storage then the instance becomes read-only. This is the linux
behavior nothing to do with the cloudstack. Please restart the VR to make
the disk writable.

-Sanjeev

-----Original Message-----
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Wednesday, April 23, 2014 10:58 AM
To: users@cloudstack.apache.org
Subject: How to migrate volumes of Virtual routers

Hi,

I've assigned two primary storages. All virtual routers have been created on
Primary-Storage1 but sometimes I face "Read-only file system" on some VR
instances. I found no option to migrate their volumes. I have cloudstack
3.0.

Reply via email to