- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: need steps for exporting and importing volume ...
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
тАО04-03-2010 05:10 AM
тАО04-03-2010 05:10 AM
need steps for exporting and importing volume group from one server to another server
1) Can any one tell me steps for exporting and importing volume group from one server to another server.
2) Do both server needs to have access to same LUN for exporting and importing volume group from one server to another server.
3) If there is any data in existing volume which is to be exported will it effect the data while exporting to another server.How to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2010 05:34 AM
тАО04-03-2010 05:34 AM
Re: need steps for exporting and importing volume group from one server to another server
> 1) Can any one tell me steps for exporting and importing volume group from one server to another server.
You use 'vgexport' and 'vgimport. The manpages have some good examples.
> 2) Do both server needs to have access to same LUN for exporting and importing volume group from one server to another server.
No, the physical hardware address can differ. If you have 'vgexport'ed with a mapfile containing the VGID of the volume group ('-s') then this can be used during the 'vgimport' to find the volumes again on the receiving server. Otherwise, you can specify the physical paths at which to find the disk(s) with the 'pv_path' argument(s) on the command line or in a file given by the '-f infile' argument.
> 3) If there is any data in existing volume which is to be exported will it effect the data while exporting to another server.
No, a 'vgimport'/'vgexport' operation does not disturb volume group data. The process operates by examining the LVM metadata only. Filesystems in logical volumes of the volume group in question are not disturbed.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2010 04:29 PM
тАО04-03-2010 04:29 PM
Re: need steps for exporting and importing volume group from one server to another server
copy the copy file to destination server
Map the lun to destination server
vgimport -m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2010 06:53 PM
тАО04-07-2010 06:53 PM
Re: need steps for exporting and importing volume group from one server to another server
copy this vgname.map to second server. its a binary file.
go to second server.
mkdir -p /dev/vgname
cd /dev/vgname
mknod /dev/vgname/group c 64 0x330000
vgimport -v -s -m vgname.map vgname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2010 07:28 PM
тАО04-07-2010 07:28 PM
Re: need steps for exporting and importing volume group from one server to another server
To do import and export 1st you need to login to nodeA suppose you need to export vg01
#vgexport -v -p -s -m /tmp/vg01.map vg01
FTP or SCP this map file to nodeB (suppose /tmp) now login to nodeB Create directory and group file and then import the map file
#mkdir -p /dev/vg01
#cd /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
#vgimport -v -s -m /tmp/vg01.map vg01
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2010 02:43 AM
тАО04-08-2010 02:43 AM
Re: need steps for exporting and importing volume group from one server to another server
For export/ import vg , procedure as follows,
Node1:
#vgexport -p -s -v -m /tmp/vg01.map /dev/vg01
#rcp /tmp/vg01.map node2:/tmp/vg01.map
Node2:
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x030000
#vgimport -s -v -m /tmp/vg01.map /dev/vg01
During vg export/import , close all application and for precaution take ignite backup and database backup.
Cheers/
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2010 04:44 AM
тАО04-09-2010 04:44 AM
Re: need steps for exporting and importing volume group from one server to another server
You've only awarded points to 6 of 41 requests for help the past year!
Shame on you! Shame! Shame!
These nice people have gone out of their way to assist you with your questions and problems and this is how you acknowledge that help?
tsk! tsk!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2010 09:56 PM
тАО06-23-2010 09:56 PM