storage migration.
Dear Sir,
We are using RHEV 2.2 in our environment and we are planning to do a storage migration. We have already presented 28 LUN’s from our enterprise storage EMC VMAX and we are using those LUN’s in 4 storage domains.
We have another three storage domains with is attached to our midrange storage IBM DS 4800. We are doing an upgrade on our enterprise storage EMC VMAX and we are planning to remove all the LUN’s which we have presented to the RHEV and going to present new LUN’s.
We are planning to copy data to the new devises by using the storage itself. We are cloning all the LUN’s by using the emc storage. After all the data sync, we are planning to remove the old devises and present new LUN’s.
The OLD LUN ID will get change and please let us know how to do this task in RHEV level.
Best Regards,
shantha
Responses
The recommended method is to shut down guests one by one and "Move" it to a different storage domain.
All the current images of guests are represented in db as having the storage_id pointing to the old sd. If you clone from EMC side and the new sd is getting a new storage_id, I don't know how this change will happen in db.
Hi Shantha,
What you are saying definitely makes sense, and can be done, however, we do not support editing the database, and the procedure has never been tested.
In order to stay within support boundaries, you will either need to follow the plan Sadique outlined, or open a support case, and request assistance with moving the VMs using the SAN based LUN cloning. The idea is to be sure that the move is supervised, and well tested - this is not only a matter of changing a LUN ID - the LUNs have to be identical at the block level, the amount of LUNs under each SD should also be the same. The only difference we can tolerate in this case is the WWIDs of the LUNs in use, but nothing else, and even then, we need to walk you through this change, and not just tell you "alter table xyz and you're ok".
What I described, derives mainly from the limitations on the storage format in RHEV 2 (which has to keep the list and extents of every LUN in use), in RHEV3, the storage format is different, and it will allow for more flexibility, so if you're considering an upgrade, this is definitely a factor.
There is another way, which wasn't mentioned - using an export domain. This is slower than simply moving VMs, but allows for more flexibility, in terms of where you import the VMs to afterwards.
In any case, this is a complex topic, which will require planning ahead and very precise execution, so please open a support case for this.
Thanks,
Dan
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
