- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Migration of data from one SAN to another
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 02:36 AM
06-26-2006 02:36 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 02:46 AM
06-26-2006 02:46 AM
Re: Migration of data from one SAN to another
I think your path may work.
I think your path is dangerous and risks the data.
A better option is the old fashioned way. Back up the data to tape, or have both san's up and set up all the luns and let one of the connected OS's do the copy.
If by chance the two san's are compatible, there may be a supported way of connecting them and doing the equivalent of a business copy.
Full backup before you start, no matter what the decision is.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 02:51 AM
06-26-2006 02:51 AM
Re: Migration of data from one SAN to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 08:06 AM
06-26-2006 08:06 AM
Re: Migration of data from one SAN to another
Nothing will have you down longer than using a risky process and failing. You didn't say what kind of SAN you are using. If you have something like Continuous Access you can sync up the data between the two SAN's. Then have a short outage to swap out your luns.
I would hope you have a test environment that you can practice on in advance of the cut over.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 08:15 AM
06-26-2006 08:15 AM
Re: Migration of data from one SAN to another
If your new storage array is connected to the same fabric, then you don't have to unplug the cables on the back of your HBA. Simply zone the LUNs on the new array to your server(s) and then follow whichever migratory method you are using to move data off the old and onto the new.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 08:53 AM
06-26-2006 08:53 AM
SolutionI just want to clarify, you said you are using "Powerlink" for path failover, do you mean pvlinks? I assume that is the case. I also assume by NEW SAN, you mean a completely separate fabric (if you are on a fabric that can see both arrays, by all means DONT pull one HBA, just zone your server to the new array, present the new LUNS then migrate).
Given those assumptions, I would:
1. Determine if an online LVM mirror is even possible. It is NOT possible if a) you LVM striped your lvols, b) your new LUNS are larger than the old LUNS and your max physical extents is too small for the new drives, c) you are adding enough drives to exceed Max PV's for the group, or d) the number of extents you are adding exceeds the maxium extents for the VG. If any of the above apply, you can't do an online mirror migration.
2. Perform a complete backup as you said.
3. Issue pvchange -s /dev/dsk/c#t#d# for every device. Force failover to the devices that will NOT be disconnected. Don't just pull the cable. Now is not the time to test that your other path is good. Issue the pvchanges, check for syslog errors, make sure everything is on the path that will remain up, all filesystems/devices are good, then and only then proceed :)
4. Pull the now unused path and connect it to the second fabric.
5. Present the new storage to the server
6. Perform the migration. If LVM mirroring is possible, do it, it works great.
If LVM Mirroring is not gonig to work, use a dd based copy. This requires you to create a new VG on the new disk, then copy the data between LVols while the filesystems are unmounted and the apps are down. The command I use is:
dd if=/dev/vg##/lvol## of=/dev/vgnew##/lvol## bs=256k
Run several of those in parallel. I have done hundreds of migrations this way, it works reliably and is usually much faster than the filesystem based backup/restore methods.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 01:03 AM
06-27-2006 01:03 AM
Re: Migration of data from one SAN to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 02:33 AM
07-13-2006 02:33 AM
Re: Migration of data from one SAN to another
Can you let us know how the migration went?
Anything to be aware of?
Thanks.