Comments inline

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

Great, this my first time, so just for confirmation I'll the following
steps:

1- add storage tag to current disk offerings to force craeting new volumes on 
new Primary storage from now on
You need to create offering disk/compute to use the storage tags so that 
deployment happens using that storage only.
If that's the only storage available then CS will deploy in that storage only.

2- enable maintenance mode on old primary storage and it will shutdown all 
instances which has volumes on that.
If systemvm's are running on the storage, CS will migrate them to possible 
deployment storage.

3- move volumes to New primary storage manually
Once you have added new primary storage, from UI you can migrate the disks to 
any storage.

4- restart netword on each account (clean-up is marked) to recreate VR on new 
primary storage.
Yes. It will recreate VR's


Are they the correct steps?

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


Process I had mentioned will work for all system vms.

Thanks
Rajesh Battala

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

What about the SSVM's or Virtual routers? How to migrate their volumes to 
second primary storage?

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


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