- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to import BCV disk on the same host usin...
Operating System - HP-UX
1753499
Members
4417
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-18-2007 08:42 PM
тАО04-18-2007 08:42 PM
How to import BCV disk on the same host using veritas volume manager
I have businees copy using xp1024 & veritas volume manger in system , How I can import the bcv disks after pairsplit in the system.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2007 01:41 AM
тАО04-19-2007 01:41 AM
Re: How to import BCV disk on the same host using veritas volume manager
Greetings,
If you have a support contract, request a toolit or script from HP - they should have it.
If not or you are unsuccessful in requesting such AND you are are someone is VxVM literate - then the following generally are the procedures (PLEASE TRY ON A NON-PROD DISKGROUP/SYSTEM FIRST!!!):
0.) make a listing of all cXtYdZ of your BCV set and decide a "name" for each one - i.e. c10t0d1 == BCV1_maindg01 , c10t0d2 == BCV1_maindg02 etc...
1.) Sync your BCV disks with your maindg
2.) Create a MAPFILE of all objects in your maindg diskgroup:
vxprint -hvmps -g maindg > maindg.map
3.) Perform your split (pairsplit) - of course if this is a DB Storage, shutdown or place DB in Hotbackup mode.
4.) Immediately after the split, do for each BCV cXtYdZ component:
vxdisk -f init puboffset=X publen=Y privoffset=V privlen=W
X,Y,V,W you can get from doing a vxdisk list cXtYdZ on one disk from your maindg.
5.) Create / Init your BCV Diskgroup using one of your BCV cXtYdZs (needed still at VxVM 3.5):
vxdg init BCV1_maindg BCV1_maindg01=c10t0d1
6.) Add the remaining BCV Disks (cXtYdZs) to the diskgroup:
vxdg -g BCV1_maindg BCV1_maindg02=c10t0d2
...
vxdg -g BCV1_maindg BCV1_maindg0n=c10t0dn
7.) Re-create the Subdisks, Plexes and Volumes - which should still contain synched data and which should have been preserved despite the operations done above:
vxmake -g BCV1_maindg -d maindg.map
8.) Start the Volumes within the now established BCV Diskgroup:
vxvol -g BCV1_maindg -f start vol01
vxvol -g BCV1_maindg -f start vol02
...
vxvol -g BCV1_maindg -f start vol03
or even
vxvol -g BCV1_maindg -f startall
9.) Mount the volumes contained filesystems as desired.
When redoing the whole cycle:
1.) Unmount volumes/filesystems.
2.) vxdg destroy BCV1_maindg
3.) Perform yuor BCV resync...
4.) DO the above once again...
CAVEAT!!!!
USE THE ABOVE STEPS AT YOUR OWN RISK!!! AND BE SURE YOU KNOW WHAT YOU ARE DOING!!!
Veritas may still consider the above unsupported to this very day BUT is usually supported by the array vendor which should be bound to provide you with scripts or toolkits to perform the above safely.
If you have a support contract, request a toolit or script from HP - they should have it.
If not or you are unsuccessful in requesting such AND you are are someone is VxVM literate - then the following generally are the procedures (PLEASE TRY ON A NON-PROD DISKGROUP/SYSTEM FIRST!!!):
0.) make a listing of all cXtYdZ of your BCV set and decide a "name" for each one - i.e. c10t0d1 == BCV1_maindg01 , c10t0d2 == BCV1_maindg02 etc...
1.) Sync your BCV disks with your maindg
2.) Create a MAPFILE of all objects in your maindg diskgroup:
vxprint -hvmps -g maindg > maindg.map
3.) Perform your split (pairsplit) - of course if this is a DB Storage, shutdown or place DB in Hotbackup mode.
4.) Immediately after the split, do for each BCV cXtYdZ component:
vxdisk -f init
X,Y,V,W you can get from doing a vxdisk list cXtYdZ on one disk from your maindg.
5.) Create / Init your BCV Diskgroup using one of your BCV cXtYdZs (needed still at VxVM 3.5):
vxdg init BCV1_maindg BCV1_maindg01=c10t0d1
6.) Add the remaining BCV Disks (cXtYdZs) to the diskgroup:
vxdg -g BCV1_maindg BCV1_maindg02=c10t0d2
...
vxdg -g BCV1_maindg BCV1_maindg0n=c10t0dn
7.) Re-create the Subdisks, Plexes and Volumes - which should still contain synched data and which should have been preserved despite the operations done above:
vxmake -g BCV1_maindg -d maindg.map
8.) Start the Volumes within the now established BCV Diskgroup:
vxvol -g BCV1_maindg -f start vol01
vxvol -g BCV1_maindg -f start vol02
...
vxvol -g BCV1_maindg -f start vol03
or even
vxvol -g BCV1_maindg -f startall
9.) Mount the volumes contained filesystems as desired.
When redoing the whole cycle:
1.) Unmount volumes/filesystems.
2.) vxdg destroy BCV1_maindg
3.) Perform yuor BCV resync...
4.) DO the above once again...
CAVEAT!!!!
USE THE ABOVE STEPS AT YOUR OWN RISK!!! AND BE SURE YOU KNOW WHAT YOU ARE DOING!!!
Veritas may still consider the above unsupported to this very day BUT is usually supported by the array vendor which should be bound to provide you with scripts or toolkits to perform the above safely.
Hakuna Matata.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2007 01:45 AM
тАО04-19-2007 01:45 AM
Re: How to import BCV disk on the same host using veritas volume manager
Korrection to step 6 (minor syntax error):
It should be:
.) Add the remaining BCV Disks (cXtYdZs) to the diskgroup:
vxdg -g BCV1_maindg adddisk BCV1_maindg02=c10t0d2
...
vxdg -g BCV1_maindg adddisk BCV1_maindg0n=c10t0dn
Enjoy!
It should be:
.) Add the remaining BCV Disks (cXtYdZs) to the diskgroup:
vxdg -g BCV1_maindg adddisk BCV1_maindg02=c10t0d2
...
vxdg -g BCV1_maindg adddisk BCV1_maindg0n=c10t0dn
Enjoy!
Hakuna Matata.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP