- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migrating from one HP Server to another connected ...
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
тАО05-20-2003 07:05 PM
тАО05-20-2003 07:05 PM
When upgrading/migrating from one HP server to another that is attached to an EMC Symmetrix, there will be controller number changes for the disks when mounted on the new server. How can I cater for this with the vgimport, without losing any data? Do I specify the disks with the new controller number, or will the "-s" option cater for this.
I do award points, and will appreciate any advice.
Thanks,
Jo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2003 07:14 PM
тАО05-20-2003 07:14 PM
Re: Migrating from one HP Server to another connected to an EMC
You will want a good tape backup before you start, but you should be able to use vgexport on the volume groups on the EMC and then vgimport to bring those volume groups into the new machine.
A few things to think about.
If its a boot volume, you might have problems because there are likely hardware and driver differences.
If you used nonstandard volume group names, those won't import the same way.
If a filesystem in vg01 on the EMC was called oracle, it will be imported with standard volume group names as if created without the -n option in vgcreate.
/dev/vg01/oracle will become /dev/vg01/lvol8 when imported.
There may be a way around it with 11i, but I've done it with HP suport on an 11.00 box.
I had to mount the logical volumes after the import one at a time, figure out what was on them and make adjustments to my /etc/fstab file.
This is a start, I'll hunt down some itrc posts and get back to you after handling some issues with my kiddies.
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
тАО05-20-2003 07:15 PM
тАО05-20-2003 07:15 PM
SolutionI've done this many times. The key is in how you do the vgexport. The -s places a VGID in the mapfile.
Try this e.g.
old server for each volume group
# cd /tmp
# vgexport -m myvg.mapfile -v -p -s /dev/myvg (you must use -p or you'll lose everything)
ftp the files to new server
unplug the cables/new cables/ rezone etc
on new server for each volume group e.g.
# mkdir /dev/myvg
# mknod /dev/myvg/group c 64 0x020000 (or whatever number is next)
# vgimport -m myvg.mapfile -v -p -s /dev/myvg
if it all works
# vgimport -m myvg.mapfile -v -s /dev/myvg (remove the -p preview option)
# vgchange -a y /dev/myvg
Make your directories etc mount, copy your /etc/fstab
Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2003 07:19 PM
тАО05-20-2003 07:19 PM
Re: Migrating from one HP Server to another connected to an EMC
-s option will be enough.
vgexport -m /tmp/vg01.map -v -s /dev/vg01
On new server :
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x020000
vgimport -m /tmp/map/vg01.map -v -s /dev/vg01
vgchange -a y vg01
vgcfgbackup vg01
Thanks
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2003 07:48 PM
тАО05-20-2003 07:48 PM
Re: Migrating from one HP Server to another connected to an EMC
You got it...
yes -s option is more than sufficient....
SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 04:04 AM
тАО05-21-2003 04:04 AM
Re: Migrating from one HP Server to another connected to an EMC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2003 05:49 AM
тАО05-22-2003 05:49 AM
Re: Migrating from one HP Server to another connected to an EMC
Deactivate the volume group
#vgchange -a n /dev/vg03
Remove LVM settings from /etc/lvmtab (-m will create a mapfile)
#vgexport ???v -s ???m /tmp/vg03_map /dev/vg03
Modify the fstab file so when the system reboots it will come up cleaner
#cp /etc/fstab /etc/fstab.old
Modify the fstab so it just contains vg00(root volume group info), comment out the rest
Architecture change (EMC)
Add the Brocade switches???
Reboot system
Unix Commands (HP)
The device files will need to change
#ioscan -fn
Recreate the directory
#mkdir /dev/vg03
See which numbers have been used already for the group files
#ll /dev/vg*/group
???n??? has to be a unique number (see previous command)
#mknod /dev/vg03/group c 64 0x0n0000
Restore the LVM settings (-m references the mapfile)
#vgimport ???v -s ???m /tmp/vg03_map /dev/vg03
Reactivate the Volume Group
#vgchange -a y /dev/vg03
Backup the new LVM settings
#vgcfgbackup /dev/vg03 (do twice)
copy back the /etc/fstab
#cp /etc/fstab.old /etc/fstab
mount -a
Good luck!