- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: move whole volume group to another server
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
тАО10-17-2010 07:37 AM
тАО10-17-2010 07:37 AM
server os :HP unix 11.31
#strings /etc/lvmtab
/dev/vg00
/dev/disk/disk3_p2
regards/irshad
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2010 04:03 PM
тАО10-17-2010 04:03 PM
Re: move whole volume group to another server
If they are vg00, do you want them to be vg00 on the other server?
If so, shutdown the first server, move the disks to the second server and boot from the same disks. The system and vg00 will now be on the other hardware.
If it is not vg00, You'll want to do a vgexport -s -m vgxx.map vgxx
Move the disks and the vgxx.map file over to the other hardware.
do an ioscan and an insf -e
create the /dev/vgxx and /dev/vgxx/group using the mknod command and then do a vgimport -s -m vgxx.map vgxx
vgchange -a y vgxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2010 06:19 PM
тАО10-17-2010 06:19 PM
Re: move whole volume group to another server
You want to move vg00 from one sever to another??
Is your disk are from san? or internal?
If san then you need to deallocate luns from old server and allocate to new server.
Powron server you should able to boot server.
If internal disks then you can move disks from one server to another and boot server.
Chandra
Assigning points motivate each one in this forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2010 06:59 PM
тАО10-17-2010 06:59 PM
Re: move whole volume group to another server
tel me what is "vgxx.map"
Regards,
irshad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2010 07:42 PM
тАО10-17-2010 07:42 PM
Re: move whole volume group to another server
The vgexport command generates a mapfile that can be copied to other systems that are part of a high availability. The mapfile contains description of the volume group and its associated logical volumes. The logical volume information found on the physical volumes is not modified. By default, a file named mapfile is created in the current directory. Use -m option to specify a different name for the file, mapfile. When used with the -s option, the volume group specified in the mapfile can be shared with other systems in the high availability cluster.
see: http://docs.hp.com/en/B2355-60130/vgexport.1M.html
Rgds \ vel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2010 10:59 PM
тАО10-17-2010 10:59 PM
SolutionI aasume your request is to mount the vg00 filesystems of server A in Server B.
In Server A:-
===========
Identify the VG00 disk
(a)
#strings /etc/lvmtab
/dev/vg00
/dev/disk/disk3_p2
(b)
dd if=/dev/disk/disk3_p2 of=/null bs=1024k
(c) Check the LED status of the disk , the disk which continuos light could be your VG00 disk.
(d) Shutdown the server
shutdown -hy 0
In Server B:-
===========
PLug the Server A hard disk ( I presume hot swappable disk)
#ioscan -fnC disk
#ioscan -fnkC disk -----------------Identify the new disk device file or check in syslog you will the new disk HW path
#mkdir /dev/vg10
#mknod /dev/vg10/group c 64 0x0a0000
#vgimport vg10 /dev/disk/diskxx
#vgchange -a y vg10
# Mount the filesystems
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2010 12:33 AM
тАО10-18-2010 12:33 AM
Re: move whole volume group to another server
Please tel me each step description
#mknod /dev/vg10/group c 64 0x0a0000
#vgimport vg10 /dev/disk/diskxx
#vgchange -a y vg10
also "vgexport" cammand not required for removing VG00 from serverA.
Mr.Bill Costigan written "You'll want to do a vgexport -s -m vgxx.map vgxx"
Please reply .
Regards/irshad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2010 01:50 AM
тАО10-18-2010 01:50 AM
Re: move whole volume group to another server
> #mknod /dev/vg10/group c 64 0x0a0000
Creates character device file for VG10
> #vgimport vg10 /dev/disk/diskxx
Imports the description of volume group and LV informations from the specified PV path dev/disk/diskxx into system.
> #vgchange -a y vg10
Activate the volume group vg10
> also "vgexport" cammand not required for > removing VG00 from serverA.
> Mr.Bill Costigan written "You'll want to > do a vgexport -s -m vgxx.map vgxx"
If it is not vg00, You'll want to do a vgexport -s -m vgxx.map vgxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2010 03:21 AM
тАО10-19-2010 03:21 AM
Re: move whole volume group to another server
In your case you are doing root volume group "vg00" right ? ,vgexport things will not work/required for root vg00.
Aneesh