- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgexport/vgimport
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
Forums
Discussions
Discussions
Discussions
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
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
03-12-2002 02:11 AM
03-12-2002 02:11 AM
vgexport/vgimport
Scenario: Server A with vg02(disks on EMC A).
Server B with vg02(disks on EMC B). The disks on EMC A are syn'ed to disks on EMC B. When splitting we want to run the application on server B with the EMC B disks in vg02. What's the recommended approach?? Do you have any suggestions??
Rgds
NilsI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 02:15 AM
03-12-2002 02:15 AM
Re: vgexport/vgimport
You can switch the package or vgchange in exclusive mode
Otherwise vgexport with the -m option to create a mapfile,
copy the map file to the new server, vgimport the vg
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 07:36 AM
03-13-2002 07:36 AM
Re: vgexport/vgimport
If you use the emc software, you must split the mirror and after you can see the disk's on server B.
Have you any detail about it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 11:40 AM
03-13-2002 11:40 AM
Re: vgexport/vgimport
Study this thread.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x66d494f22a31d6118fff0090279cd0f9,00.html
This is basically what to do:
On host A, export the vg maps of vg01:
# vgexport -p -m vg01.map -f vg01.pv vg01
Copy vg01.map and vg01.pv to host B.
On host B:
split the RDF links so the host can see the volumes, install the disks (ioscan; insf -e). edit vg01.pv to reflect the correct pv paths, and create the new volume group:
# mkdir /dev/vg02
# mknod /dev/vg02/group c 64 0x020000
# vgimport -m vg01.map -f vg01.pv /dev/vg02
Naturally, there may be a little more to this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 01:38 PM
03-13-2002 01:38 PM
Re: vgexport/vgimport
You can add after doing the import:
# vgchange -a y /dev/vg02
if any of these are mounted volumes you will
need to mount them as well. You may need to
change the /etc/fstab file and then mount
them using 'mount -a'
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 02:09 PM
03-22-2002 02:09 PM
Re: vgexport/vgimport
I can give you more details if you need them. I hope that this is useful.
Regards,
Jason V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 02:15 PM
03-22-2002 02:15 PM
Re: vgexport/vgimport
Jason is right , you have to do a vgchgid on all the disks togeether in the volume gtroup vg02 . and then only it can be imported. You can import w/o using the map files tooo and it work properly , just you got to know where the ountpoints get mounted.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 03:56 AM
03-25-2002 03:56 AM
Re: vgexport/vgimport
Use symrdf to split the SRDF link, set the R2 devices in Read/Write mode and use vgimport to import the volume group. You can use a map file, but that is not necessary if your logical volumes are in the correct order. Also, if you know the R2 device files which belong to the VG you can specify them. ALternatively you can let vgimport search for the correct devices which takes longer.
After the vgimport activate them using vgchange -a y. There is no need for vgchgid since you activate the R2 volume group on a different system than the R1 VG.
All you need to do now is to mount the file systems. If this is a disaster-recovery setup, please be aware that you need the mountpoint info when the server A crashes.
Note: under "normal" operation it is possible to import the vg in read only mode and mount the file systems read only on server B, while the R1 vg is active on server A.
This way you have a chance to test the procedure.
All this can be automated using MC ServiceGuard together with the MCSG EMC SRDF toolkit which can be buight from HP.
HtH,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 04:00 AM
03-25-2002 04:00 AM
Re: vgexport/vgimport
An "symrdf failback" will synch the R1 volumes with the R2 volumes.
Mark