- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Host based SAN migration
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
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
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
тАО03-10-2010 08:33 AM
тАО03-10-2010 08:33 AM
Host based SAN migration
Can some one please give me the best approach to do this? Please keep in mind it is Service Guard Cluster.
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 12:23 PM
тАО03-10-2010 12:23 PM
Re: Host based SAN migration
Several good approaches.
1) Bring the applications down, and use SAN based tools to replicate the data.
2) Bring the applications down and use tar or scp -rp to copy the data system to system.
3) Present the new LUNS to the system, replicate the data, bring the applications down and umount the filesystems,then change the /etc/fstab entries, and mount the filesystems and bring up the applications.
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
тАО03-10-2010 11:23 PM
тАО03-10-2010 11:23 PM
Re: Host based SAN migration
do you use LVM?
rescan all scsi buses by
# echo "- - - " > /sys/class/scsi_host/host?/scan.
Then add your new LUNs to VG (pvcreate/vgextend) and use pvmove(1) to migrate your data online to the new LUNs.
After that vgreduce if needed. Keep in mind to tell the cluster about the new cluster-lock-disk if it is subject to migration as well.
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2010 02:31 PM
тАО03-16-2010 02:31 PM
Re: Host based SAN migration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2010 04:54 AM
тАО03-17-2010 04:54 AM
Re: Host based SAN migration
Can you give some more detail of your current and you future setup?
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2010 04:17 PM
тАО03-18-2010 04:17 PM
Re: Host based SAN migration
I want some thing equivalent in Linux. I tried lvextend -m 1 but it doesnt work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2010 05:08 PM
тАО03-18-2010 05:08 PM
Re: Host based SAN migration
If you want to use LVM its fine, and when u say lvextend is not working what is the error you getting.
have you added the new disks in VG properly?
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 03:02 AM
тАО03-22-2010 03:02 AM
Re: Host based SAN migration
what you tried with lvextend -m 1 to add a mirror to lvol is exactly that what pvmove does internally. It creates a mirror and when it is synchronized it will reduce it by the old pv.
# pvmove [-n/--name LogicalVolume] [SourcePhysicalVolume[:PE[-PE]...] [DestinationPhysicalVolume[:PE[-PE]...]...]]
You can pvmove either all physical extends off a pv to a new pv or you can do it per lvol.
Have a look at pvmove(1).
rgds
HGH