- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: VG activation modes difference
Operating System - HP-UX
1753595
Members
6428
Online
108796
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
Go to solution
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
тАО07-19-2007 03:17 AM
тАО07-19-2007 03:17 AM
Re: VG activation modes difference
I couldn't tell if you were mounting your BCV onn your production server or a secondary server. I use a secondary server here (backup server).
To activate the volume group on the BCV, I do the following:
vgchange -c n /dev/vgXXX\
vgchange -a y /dev/vgXXX
Note that this is on the secondary server - not on the primary.
It removes the cluster lock on the BCV volume groups (which is not needed because there is no cluster).
You have to do this every time you split/mount. When you sync back, just issue a vgchange -a n /dev/vgXXX and sync. The sync will put the cluster lock back on the disk.
To activate the volume group on the BCV, I do the following:
vgchange -c n /dev/vgXXX\
vgchange -a y /dev/vgXXX
Note that this is on the secondary server - not on the primary.
It removes the cluster lock on the BCV volume groups (which is not needed because there is no cluster).
You have to do this every time you split/mount. When you sync back, just issue a vgchange -a n /dev/vgXXX and sync. The sync will put the cluster lock back on the disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2007 06:50 PM
тАО07-19-2007 06:50 PM
Re: VG activation modes difference
I want to mount my BC volumes to another server not on the primary machine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2007 02:10 PM
тАО07-20-2007 02:10 PM
Solution
Then you don't need vgcgid unless you already have a vg with that ID.
The way I do it:
Whenever I make a change to the volume group on the primary server I recreate it on the backup server:
On primary:
vgexport -m /var/tmp/vgXX.map -s -p -v /dev/vgXX
copy /var/tmp/vgXX.map from primary to backup server
Do BCV Split
On backup server
vgexport /dev/vgXX
mkdir /dev/vgXX
mknod /dev/vgXX/group c 640xYY0000
vgimport -m /var/tmp/vgXX.map -s -v /dev/vgXX
You have to remove the cluster mark on the volume group on the backup server
vgchange -c n /dev/vgXX
Activate it:
vgchange -a y /dev/vgXX
Now you can mount your filesystems.
To sync the BCV
umount all your filesystems
vgchange -a n /dev/vgXX
Sync your BCV.
Repeat split, vgchange -c n /dev/vgXX, vgchange -a y /dev/vgXX each time you want to split.
I've seen several other scripts where the vgimport portion is built into the script so you don't have to worry that you'll forget.
The way I do it:
Whenever I make a change to the volume group on the primary server I recreate it on the backup server:
On primary:
vgexport -m /var/tmp/vgXX.map -s -p -v /dev/vgXX
copy /var/tmp/vgXX.map from primary to backup server
Do BCV Split
On backup server
vgexport /dev/vgXX
mkdir /dev/vgXX
mknod /dev/vgXX/group c 640xYY0000
vgimport -m /var/tmp/vgXX.map -s -v /dev/vgXX
You have to remove the cluster mark on the volume group on the backup server
vgchange -c n /dev/vgXX
Activate it:
vgchange -a y /dev/vgXX
Now you can mount your filesystems.
To sync the BCV
umount all your filesystems
vgchange -a n /dev/vgXX
Sync your BCV.
Repeat split, vgchange -c n /dev/vgXX, vgchange -a y /dev/vgXX each time you want to split.
I've seen several other scripts where the vgimport portion is built into the script so you don't have to worry that you'll forget.
- « Previous
-
- 1
- 2
- Next »
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