Re: Migrate volume from local to shared storage

2013-10-19 Thread Koushik Das
It is not possible due the reason you mentioned

On 19-Oct-2013, at 3:43 AM, Andrija Panic andrija.pa...@gmail.com wrote:

 Hi,
 
 I have 2 hosts with all local primary storage, and we have obtained new
 shared primary storage now.
 
 What would be a good/possible way to migrate existing volumes from local to
 shared primary storage?
 
 I have already done migration of some templates from one NFS secondary
 storage to another NFS secondary storage (on another host , by changing
 records inside template_host_ref, template_vm tables...so scp images, and
 change host to another host, etc..
 
 But with primary storage, not sure if this is possible, since disk offering
 for these local volumes is local type, not shared type... is it
 possible at all ?
 
 Thanks,
 -- 
 
 Andrija Panić



Re: Migrate volume from local to shared storage

2013-10-19 Thread Andrija Panic
Thanks for reply.

And what about creating new VM, cloning old VM's volume to the new volume
(copy/scp, dd, something), and then delete old VM and assign IP address of
old VM to the new VM (by editing the database) ???

Any hack to make this possible ?

Thanks



On 19 October 2013 19:22, Koushik Das koushik@citrix.com wrote:

 It is not possible due the reason you mentioned

 On 19-Oct-2013, at 3:43 AM, Andrija Panic andrija.pa...@gmail.com wrote:

  Hi,
 
  I have 2 hosts with all local primary storage, and we have obtained new
  shared primary storage now.
 
  What would be a good/possible way to migrate existing volumes from local
 to
  shared primary storage?
 
  I have already done migration of some templates from one NFS secondary
  storage to another NFS secondary storage (on another host , by changing
  records inside template_host_ref, template_vm tables...so scp images, and
  change host to another host, etc..
 
  But with primary storage, not sure if this is possible, since disk
 offering
  for these local volumes is local type, not shared type... is it
  possible at all ?
 
  Thanks,
  --
 
  Andrija Panić




-- 

Andrija Panić
--
  http://admintweets.com
--


Migrate volume from local to shared storage

2013-10-18 Thread Andrija Panic
Hi,

I have 2 hosts with all local primary storage, and we have obtained new
shared primary storage now.

What would be a good/possible way to migrate existing volumes from local to
shared primary storage?

I have already done migration of some templates from one NFS secondary
storage to another NFS secondary storage (on another host , by changing
 records inside template_host_ref, template_vm tables...so scp images, and
change host to another host, etc..

But with primary storage, not sure if this is possible, since disk offering
for these local volumes is local type, not shared type... is it
possible at all ?

Thanks,
-- 

Andrija Panić