- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Relocating disk array to a different server
Categories
Company
Local Language
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
04-03-2002 08:44 AM
04-03-2002 08:44 AM
Is there a process (or documentation) for this procedure? I would like to avoid the "backup, relocate, redo luns, restore" method if I can help it.
One other note, I'm going from 10.20 to 11.00 in this migration.
Thanks.
Masaki
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:52 AM
04-03-2002 08:52 AM
SolutionOf course, I'd always recommend a backup just in case.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:58 AM
04-03-2002 08:58 AM
Re: Relocating disk array to a different server
It is always advisable to have a backup to be on safer side. You don't need to use it unless required. Regarding the vgexport/vgimport process, identify the volume groups residing on the 12h and do the following for each volume group vgxx.
#vgexport -v -s -m /tmp/vgxx.map vgxx
Copy the map files to the new system into /tmp directory. Also copy /etc/fstab to the new system into /tmp. Connect 12h to the new system.
#ioscan -f
#insf
#mkdir /dev/vgxx
#mknod /dev/vgxx/group c 64 0x0?0000
(? should be a unique number)
#vgimport -v -s -m /tmp/vgxx.map vgxx
#vgchange -a y vgxx
Create mount points for these logical volumes. You can get them by doing a grep vgxx /tmp/fstab
#mkdir /filesystemxx
Copy the entries related to vgxx from /tmp/fstab to /etc/fstab
#mount -a
This should mount all the filesystems.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 09:01 AM
04-03-2002 09:01 AM
Re: Relocating disk array to a different server
This involves the following :
1. vgexport the volume groups on the present server.
2.Disconnect the array .
3.Connec tot the enw server , ensure that the Terrminator is in the correct place and the pins of the cable are not bent.
4.Boot the server it should sense the new disk device.
5.Do a vgimport .
6. Mount the Filesystems .
You are good to go.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 09:05 AM
04-03-2002 09:05 AM
Re: Relocating disk array to a different server
I'll assume this is vg06
---- On old box
0) Backup - to be safe
1) unmount filesystems
2) vgexport -s -m /tmp/vg06.map -p /dev/vg06
(This does not harm any data)
3) vgchange -a n /dev/vg06
Copy the map file /tmp/vg06.map to your new box.
------ On new box
4) cd /dev
mkdir vg06
cd vg06
mknod group c 64 0x060000
chmod 644 group
5) vgimport -v -s -m /tmp/vg06.map /dev/vg06
6) vgchange -a y /dev/vg06
7) create mountpoints, /etc/fstab entries for your filesystems, and mount the filesystems.
Man vgexport, vgimport for details.
NOTE: vgimport -s will only use the primary path; if you want to split your paths for LUN's across both controllers, you will need to specify the disk devices.
Man vgexport, vgimport for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 09:05 AM
04-03-2002 09:05 AM
Re: Relocating disk array to a different server
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90053/B2355-90053_top.html&con=/hpux/onlinedocs/B2355-90053/00/00/32-con.html&toc=/hpux/onlinedocs/B2355-90053/00/00/32-toc.html&searchterms=a%7cdisk%7cmoving&queryid=20020403-090850
Basically you have to do vgexport and import with the map file.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 09:40 AM
04-03-2002 09:40 AM
Re: Relocating disk array to a different server
Masaki