- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Migration PowerPath to Linux multipath
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
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
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
тАО12-02-2010 09:42 AM
тАО12-02-2010 09:42 AM
Migration PowerPath to Linux multipath
1. Backup current VG's
2. remove PowerPath and uninstall it
3. de-commision the VG.
4. configure device-mapper-multipath
5. create new VG's and restore data.
Is there any other way of doing this migration without the backup/restore idea? Please help..
Thanks
Mike.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2010 10:53 AM
тАО12-02-2010 10:53 AM
Re: Migration PowerPath to Linux multipath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2010 12:52 PM
тАО12-02-2010 12:52 PM
Re: Migration PowerPath to Linux multipath
Thanks
Mike.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2010 02:37 PM
тАО12-02-2010 02:37 PM
Re: Migration PowerPath to Linux multipath
I'd do something like this:
1.) Contact the SAN administrator and make sure s/he knows how to present LUNs for Linux dm-multipath (may require different options at the SAN side than PowerPath; have him/her check the appropriate documentation from the SAN manufacturer)
2.) Unmount the data disks, shutdown any raw databases, and deactivate the VGs (vgchange -a n
3.) Remove and un-install PowerPath
4.) Configure device-mapper-multipath and make the appropriate changes to the LVM configuration: with PowerPath, your LVM should be configured to use only PowerPath devices/prefer them over anything else. Now LVM should be configured to use dm-multipath devices instead.
5.) Run "multipath -v2" to initialize the multipath configuration, then make sure the multipathd daemon is running and configured to start at boot time.
6.) Run "vgscan". It should automatically figure out that your VGs are now accessible through dm-multipath devices. Verify with commands like "pvs", "vgs". Make sure LVM uses dm-multipath devices, not /dev/sd* devices.
7.) Activate your VGs again (vgchange -a y). Mount filesystems; etc.
8.) Remember to re-create your initrd, to remove the last traces of PowerPath & to include your new LVM and dm-multipath configurations. You might want to reboot to make sure the system can boot without issues.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2010 03:18 PM
тАО12-02-2010 03:18 PM
Re: Migration PowerPath to Linux multipath
Points 1,2,3 are fine.
Point 4 you are referring to, is it to deal with the lvm.vonf filtering?
Point 5,6 and 7 are fine.
Could you please give an example for point 8 to re-create initrd in this case?
Thanks again!
Best Regards
Mike.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2010 11:03 PM
тАО12-02-2010 11:03 PM
Re: Migration PowerPath to Linux multipath
Yes, filtering and/or the "preferred_names" setting in lvm.conf, if your Linux distribution has it.
Filtering is stricter, and if you have used PowerPath correctly, you probably already know how to use it; the "preferred_names" setting can be more flexible if you have a significant number of local disks in addition to SAN LUNs, but it isn't available in all versions (e.g. the early update levels of RHEL 4). Either can be used to make LVM use multipathed devices.
Example for initrd creation for RHEL: (replace the kernel version number with the kernel you're actually using)
mv /boot/initrd-2.6.18-194.17.1.el5.img /boot/initrd-2.6.18-194.17.1.el5.img.old
mkinitrd -v /boot/initrd-2.6.18-194.17.1.el5.img 2.6.18-194.17.1.el5
In other distributions, the procedure might be different; check the documentation of your Linux distribution.
Once you've confirmed the new version works, remember to delete the initrd-*.img.old file.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2010 02:22 PM
тАО12-03-2010 02:22 PM
Re: Migration PowerPath to Linux multipath
I have a test server that i could try this..actually i am seeing the SAN using PowerPath and DMM and i have verified it. Let me try this and post results.
Best Regards
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 02:09 PM
тАО12-07-2010 02:09 PM
Re: Migration PowerPath to Linux multipath
UPDATE...
Here are the steps i followed..
umount /test
vgchange -a n testvg
rpm -e
multipath -v2
pvscan (is this reqd?)
vgscan -vvvv
vgchange -a y testvg
mount /dev/testvg/testvol /test
verify data in /test (looks good)
make a new initrd...
reboot..
Everything was fine.
One question..
When i changed the LVM filter from the default to use the mpath (after i turned the multipath, i lost the vg's
# By default we accept every block device:
filter = [ "a/.*/" ]
#filter = [ "a|/dev/mapper/mpath.*|", "r|.*|" ]
But when i changed back to the default it worked fine. So is it better to leave this at default when using DMM?
Best Regards
Mike.