HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux host data/server migration
Operating System - Linux
1828476
Members
2668
Online
109978
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-18-2006 01:19 AM
07-18-2006 01:19 AM
Hi all. We are in the middle of a data center migration. We are physically moving our servers and migrating data from our old data center to new by copying from an old EMC disk array to a new ECM disk array using SRDF.
We have already migrated several HP-UX hosts using LVM and Veritas Volume Manager.
For migrating the data on the HP-UX hosts we used the vgexport -s -v -m mapfile /dev/vg0#
command. The -s marked a signature on the disks so that even though the hardware path changed, vgimport new to look for the signature of the disk and bring in the disks into the correct volume group. It worked perfectly.
My question is, we are doing the same thing on some Linux hosts.
The current SAN connected filesystems are not using LVM. We have zoned in the new storage, (we are extending the fabirc so the hosts can see old and new arrays at same time) and I have configured those disks using lvm.
Will vgexport/vgimport on RedHat using LVM2 work the same way it does on HP-UX? I know you can't tell the vgexport to use a signature to identify which disk is in which volume group, but does it store that information automatically?
We have already migrated several HP-UX hosts using LVM and Veritas Volume Manager.
For migrating the data on the HP-UX hosts we used the vgexport -s -v -m mapfile /dev/vg0#
command. The -s marked a signature on the disks so that even though the hardware path changed, vgimport new to look for the signature of the disk and bring in the disks into the correct volume group. It worked perfectly.
My question is, we are doing the same thing on some Linux hosts.
The current SAN connected filesystems are not using LVM. We have zoned in the new storage, (we are extending the fabirc so the hosts can see old and new arrays at same time) and I have configured those disks using lvm.
Will vgexport/vgimport on RedHat using LVM2 work the same way it does on HP-UX? I know you can't tell the vgexport to use a signature to identify which disk is in which volume group, but does it store that information automatically?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 04:43 AM
07-18-2006 04:43 AM
Solution
Shalom,
vgexport/vgimport is SUPPOSED to work on Linux LVM2 as it does on HP-UX.
Note that LVM on Linux was not a code port, it was a feature and functionality port.
Therefore you should test that it ACTUALLY works.
Do it with a play system first.
SEP
vgexport/vgimport is SUPPOSED to work on Linux LVM2 as it does on HP-UX.
Note that LVM on Linux was not a code port, it was a feature and functionality port.
Therefore you should test that it ACTUALLY works.
Do it with a play system first.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
07-18-2006 04:47 AM
07-18-2006 04:47 AM
Re: Linux host data/server migration
Hi Taylor, that it's possible, check these links:
http://www.die.net/doc/linux/HOWTO/LVM-HOWTO-16.html
http://www.linux.com/howtos/LVM-HOWTO/recipemovevgtonewsys.shtml
http://www.die.net/doc/linux/HOWTO/LVM-HOWTO-16.html
http://www.linux.com/howtos/LVM-HOWTO/recipemovevgtonewsys.shtml
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 06:50 AM
07-18-2006 06:50 AM
Re: Linux host data/server migration
I tested it, I can pleasantly say it did work.
Here is what we did for test. We zoned/lun masked the same LUN to two different servers. I pvcreated the LUN on one, made a test volume group and mkfs on it, then mounted it and copied some data to it.
unmount
vgchange -a n vgtest
vgexport vgtest
On other system
vgimport vgtest
vgchange -a y vgtest
mount /dev/vgtes/lvol1 /test_dir
Worked great. Pretty impressed.
Thanks all...
Taylor
Here is what we did for test. We zoned/lun masked the same LUN to two different servers. I pvcreated the LUN on one, made a test volume group and mkfs on it, then mounted it and copied some data to it.
unmount
vgchange -a n vgtest
vgexport vgtest
On other system
vgimport vgtest
vgchange -a y vgtest
mount /dev/vgtes/lvol1 /test_dir
Worked great. Pretty impressed.
Thanks all...
Taylor
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP