- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vg question
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
05-29-2003 06:22 AM
05-29-2003 06:22 AM
vg question
I have a cluster with two nodes, Node-A and Node-B and PKG.
PKG active vg vg_try in exclusive mode (vgchange -a e)
Suppose that I want activate frome server Server-C the vg_try vg in read only,I must execute this command: vgchange -a r /dev/vg_try ?
PKG crash on Node-A what do happen to vg_try?
PKG deactivate vg_try from Node-A and reactivate this vg on Node-B in exclusive mode...and Server-C continue to see the vg in read only access without reexecute vgchange -a r after PKG switch?
I hope that I must plan.....I hope...
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 06:28 AM
05-29-2003 06:28 AM
Re: vg question
I am not sure that this is going to answer your question, but this is what we do. We have a two node cluster, the primary being Node A and the failover being Node B. The pkg runs on Node A. When we add a disk to a VG, we activate it in read-only on Node B to make sure everything is fine with that VG on Node B. Then we deactivate it, here are the commands that we use:
Activate Read-Only (secondary node)
vgchange -a r vgXX
Deactivate (secondary node)
vgchange -a n vgXX
I hope this helps.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 06:33 AM
05-29-2003 06:33 AM
Re: vg question
If that's the case, then I would use BCV's - like a third mirror - but only seen by Host C - all you do then is splt the BCV's and mount them on Host C....
Is Host C in the cluster? If not then you can't do it with a simple vgchange -a r...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 06:35 AM
05-29-2003 06:35 AM
Re: vg question
Even in read-only mode, Server-C will not see consistant data. The problem is buffer cache on the active nodes. Server C doesn't have a clue about what is happening in Server A's buffer cache.
The only way that servers can share filesystem data (or other block/io) is for ALL nodes to be read-only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 06:36 AM
05-29-2003 06:36 AM
Re: vg question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 06:40 AM
05-29-2003 06:40 AM
Re: vg question
You can only do something like this if you have a third mirror - like BCV's on an EMC frame....
RGds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 06:47 AM
05-29-2003 06:47 AM
Re: vg question
But....what happens if pkg switch...Can PKG activate vg_try in exclusive mode on Node-B without deactivate the read only activation on ServerC?
For example If I stop PKG Can I see from Server-C, the server that have activate vg_try in read only mode before the stop of the PKG, vg_try in read only mode?
And what happans if I try to start PKG on Node-B without deactivate vg_try on Server-C?
....Another doubt...what are the difference between exclusive mode and read/write mode?
Thanks for yours helps....
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 07:07 AM
05-29-2003 07:07 AM
Re: vg question
I have logical volume lv_try with FileSystem mount under /try....
I have activate, on Server A, vg_try with vgchange -a e.
On server-C I activate vg_try with vgchange -a r optinon.
Now I mount FS on Server-C under /try ....Now Ican read the files under /try also from Server-C.
Now I want activate vg on Server-B.
1 vgchange -a n on server A
2 vgchange -a e on server B
I mount FS always under /try.
Now I can read also from Server-C the file under Try?
Or whan I deactivate VG on server A I have also deactivate vg for server C
Please Help me is it important
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 09:02 AM
05-29-2003 09:02 AM
Re: vg question
#VGCHANGE="vgchange -a y"
VGCHANGE="vgchange -a r"
VG[0]...
LV[0]..., etc.
Please note the package.conf file and this variable: NODE_NAME [ node 1]
NODE_NAME [ node 2 ]
Order the nodes beginning with the primary node followed by the alternate for failing over to and in this way you designate how the package is to be handled.
Don't forget to mark the vg before starting the package:
vgchange -c y vg## (* must be run first *)
vgchange -a n vg##
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 09:09 AM
05-29-2003 09:09 AM
Re: vg question
VGCHANGE="vgchange -a e -q n"
Try this link:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B5140-90011/B5140-90011_top.html&con=/hpux/onlinedocs/B5140-90011/00/00/13-con.html&toc=/hpux/onlinedocs/B5140-90011/00/00/13-toc.html&searchterms=cntl%7cvgchange&queryid=20030529-110510