- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Help moving VGxx
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
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
тАО11-06-2002 12:01 PM
тАО11-06-2002 12:01 PM
and within SC10 in server1 we have created:
VG01
VG02
In server2 have
VG00 VG01 VG02 in the internal HD.
what happen if VG01 exist in server2 (different data) when I do a vgexport/vgimport? can I change the VG name??
What you recommend to do!!
Thanks for your help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2002 12:14 PM
тАО11-06-2002 12:14 PM
Solution1. vgexport the volume groups on server1, specify that you want a map file with the -m flag. Note which disk paths are in each volume group.
2. Copy the map files to server2.
3. Move the SC10 to server2.
4. If you've rebooted then the disks should have been recognised on server2, if not run ioscan and insf to locate them and create the device files.
4. Create the volume group files (example vg03 and vg04)
mkdir /dev/vg03
mknod /dev/vg03/group c 64 0x030000
mkdir /dev/vg04
mknod /dev/vg04/group c 64 0x040000
(you'll have to check that the minor numbers 0x030000 and 0x040000 are unique on server2)
5. Run vgimport for each VG specifying the relevant map file from server1 (which identifies the logical volume names) and specify the names of every disk (using the new pathnames) that you noted in step 1.
6. Activate each VG with vgchange -a y
Note that it's also possible to use the -s flag for the vgexport and vgimport in which case you don't have to supply the disk names to vgimport, see the relevant man pages for more information.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2002 12:14 PM
тАО11-06-2002 12:14 PM
Re: Help moving VGxx
On server1:
----------
umount FSs (of vg01 vg02)
vgchange -a n vg_name
ls -l /dev/vg_name/group (to get major/minor numbers)
vgexport -s -m /tmp/vg_name.map vg_name
On server2:
----------
mkdir /dev/new_vg
mknod /dev/new_vg/group c
vgimport -s -m /tmp/vg_name.map new_vg
make new /etc/fstab entries accordingly
vgchange -a y new_vg
mount new_mount_point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2002 12:14 PM
тАО11-06-2002 12:14 PM
Re: Help moving VGxx
Here you go , step by step guide
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062683930
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 03:22 AM
тАО11-08-2002 03:22 AM
Re: Help moving VGxx
then ...
- create a new mapfile
vgexport -p -m /tmp/vg.map /dev/vg02
- umount the filesystem
- deactivate the vg
vgchange -a n /dev/vg02
- then edit your mapfile (replace the vgname)
- create "new" /dev/vgnewname
- do mknod and so on
- now vgimport:
vgimport -m /tmp/vg.map /dev/vgnewname /dev/dsk/cxtyd0
- if you have many disks you can use an insertfile where you entry all your disks
vgimport -m /tmp/vg.map -f infile /dev/vgnewname
- then mount your filesystems
- start your database
Have a lot of fun !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 03:30 AM
тАО11-08-2002 03:30 AM
Re: Help moving VGxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2005 04:43 AM
тАО03-31-2005 04:43 AM