- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- BCVs, vgchgid and restore
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
Forums
Discussions
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
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
06-07-2005 01:17 AM
06-07-2005 01:17 AM
BCVs, vgchgid and restore
I have a MCSG OPS with three nodes which are sharing (vgchange -s) database VGs.
These VGs are mirrored with BC. The problem is that I want to mount the BCVs on one node.
So, I get my BC devices and import them in new VGs with the map file (this work perfectly in standalone configuration).
In cluster mode, the vgchange -a s hangs due to the same VGID and I saw that I have to use vgchgid.
Ok no problem for that but what in case of (after doing a vgchgid on the BCs device) a pairesync -restore ?
Primary volumes VGID are suddendly corrupted, isn't it ?
Is there an easy way to automate that ?
thanks in advance,
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 01:44 AM
06-07-2005 01:44 AM
Re: BCVs, vgchgid and restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 01:51 AM
06-07-2005 01:51 AM
Re: BCVs, vgchgid and restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 01:57 AM
06-07-2005 01:57 AM
Re: BCVs, vgchgid and restore
vgchgid /dev/dsk/cXtXdX /dev/dsk/cYtYdY /dev/cXtXdX
Specify ALL the disks for the backup volume group at once. The do your mknod, vgimport etc. You should then be able to vgchange the "new" volume group, as all its disks are different to the primary. Mount and use as required, then unmount, vgchange -a n, vgexport, and finally pairresync. The resync will copy the primary back to the secondary keeping your mirror up to date.
The only way the primarys will get corrupted is if you perform your pairresync the wrong way around. (it helps to be very careful with your HORCMINST=0 environment variable before executing this!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:14 AM
06-07-2005 02:14 AM
Re: BCVs, vgchgid and restore
In this case, lvmtab is not coherent with VGID ...
The only way seems to be a vgcfgrestore ? this seems to be a really low end solution and to be quite dangerous especially when it's late and there is a crash (it's always when there is a crash that you have to do this)... I think
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:25 AM
06-07-2005 02:25 AM
Re: BCVs, vgchgid and restore
I would (and do) have another server outside the cluster have access and mount them there.
Main reason - when you do a vgimport - it is going to use all disks it sees with the same vgid - including the BCV'S!
Repeat - don't allow node access to the BCV's!
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:26 AM
06-07-2005 02:26 AM
Re: BCVs, vgchgid and restore
However what scenario would you require to do this? If you split purely to provide a point-in-time recovery whilst you perform work on the primary system then I would not mount the S-VOL's. If you need to mount the S-VOL's then you would write these to tape, then restore onto the S-VOL's in the case of a disaster.
Maybe I'm missing the point you are trying to achieve and using Business Copy in a unique way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:44 AM
06-07-2005 02:44 AM
Re: BCVs, vgchgid and restore
In fact, Oracle DBAs want to view BC's raw devices because they would like to restore just a portion of the database in case of a disaster.
If I mount the BCVs on a different server, restoration of a raw device could take some times due to network and the quite large raw devices we have. If I'm working on the same server, time's really reduce.