- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vg synchronize
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
10-21-2003 11:36 PM
10-21-2003 11:36 PM
vg synchronize
1. vg with two disks
2. I have lost link to one disk - vg is not active
3. I activate vg with no quorum
vgchange -a y -q n vgtest
4. vgdisplay vgtest shows me:
couldn't query physical volume
it is true because link to disk is down -
but I can work - vg is active.
5. Now - my link to disk commes back - is up
6. I have tried to do vgsync to synchronize volumens - but I have got I/O error
7. when I deactivate and activate it again
- everything is OK but it takes to much
time for synchronize. During sych.. I cant
use vg.
Question:
Is it possible to synchronize volume group,
which is activated with noquorum (one disk
is unreachable) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 11:48 PM
10-21-2003 11:48 PM
Re: vg synchronize
After that a vgsync should work. If not, do a vgcfgrestore or even a lvreduce to remove the mirroring and then add the mirroring again.
Hope you can do something usefull with this answer...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 11:53 PM
10-21-2003 11:53 PM
Re: vg synchronize
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 11:53 PM
10-21-2003 11:53 PM
Re: vg synchronize
when you activate a vg using "-q n" and later on you re-establish a link to a missing disk
you should just enter
vgchange -a y vgname
this brings in the missing disks/links
then you enter
vgsync vgname
syncing the vg while it remains active.
the sync itself is always time-consuming.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 11:55 PM
10-21-2003 11:55 PM
Re: vg synchronize
vgcfgrestore -n /dev/vgname /dev/rdsk/c-t-d-
vgchange -a y /dev/vgname
vgsync /dev/vgname
Or if your volume group is already active you might:
vgcfgrestore -R -n /dev/vgname /dev/rdsk/c-t-d-
vgsync /dev/vgname
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 11:56 PM
10-21-2003 11:56 PM
Re: vg synchronize
I have tried ioscan -fnC disk
but there is no changes in vg behavior.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 12:00 AM
10-22-2003 12:00 AM
Re: vg synchronize
Try running
dd if=/dev/rdsk/cXtYd0 of=/dev/null bs=1024k
Guess at some time
dd will bail out with I/O error
1. replace disk
2. use Rita's advice to proceed
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 12:14 AM
10-22-2003 12:14 AM
Re: vg synchronize
1. I have MC/SG cluster (continental)
with two va7110 - distannce
between servers and va7110 is 600m,
luns are mirrored between va7110
2. I simulate catastrof - one center is powered-off
3. My aplication package is moved to second server, activate vg group but one va7110 is
powered off - activation vg is done with noquorum option (one va7110 is unreachable)
4. Now I turn on first data center,
but without deactivatin and after that
activatin vg group volumens can't synchronize !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 01:43 AM
10-22-2003 01:43 AM
Re: vg synchronize
I understand that the failover works, and the package runs in the second data center.
Then you power on everything in the first data center again. What do you do next?
In my opinon you would do the following on the node in the second data center where the package is running:
ioscan -fn
# all disks CLAIMED?
vgchange -a e vgXYZ
# re-activate all cluster vgs with all disks
vgsync vgXYZ
Only after the vgs are sync'd you're safe you can switch back to data center one.
Did you do it this way, or anything different?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 07:32 AM
10-22-2003 07:32 AM
Re: vg synchronize
After failover package to second center
my package vg group has access only to
one va7110 - in vg status there is no avaiable disks from powered off center (mirror copies).
When I power on first center - I have access from second center to luns in first center,
all works, ioscan, diskinfo - everithing is OK, but vg in active package doesn't synchronize mirror copies. When I do:
cmhaltpkg ...
cmrunpkg ...
synchronization works after vg activation
(vgchange -a e -q n -s)
My problem is how to synchronize without
package restarting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 07:39 AM
10-22-2003 07:39 AM
Re: vg synchronize
If you have activated the VG without quorum, you don't have to deactivate and reactivate the vg once you have fixed the quorum problem.
Once you have fixed the quorum problem, just activate the vg again manually without issueing the -q n option.
vgchange -a y -q n /dev/vg_name
fix the disk prob.
activate the vg again,
vgchange -a y /dev/vg_name
now do a vgsync.
vgsync /dev/vg_name
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 07:49 AM
10-22-2003 07:49 AM
Re: vg synchronize
you use the "vgchange -a e /dev/vg_name" in the above example. then do a vgsync. you do this on the node where the vg was activated in non-quorum mode.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 07:50 AM
10-22-2003 07:50 AM
Re: vg synchronize
Good Luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2003 03:21 PM
10-22-2003 03:21 PM
Re: vg synchronize
Refer to the following links for more info.
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=lpv38859
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=lpg35144
Hope this helps.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 12:34 AM
10-23-2003 12:34 AM
Re: vg synchronize
Sanjay and Pramod have stressed what I was trying to tell you:
After the failover DO NOT HALT THE PACKAGE.
Instead you should re-gain the links to disks missing at intitil vg activation (by package control script) by doing a
vgchange -a e
on all vgs in your package WHILE the PACKAGE is UP. Then
vgsync vgxyz
ONLY AFTER your mirrors in the previuosly failed data center are back in sync you can safely bring down and re-start the package.
This is my personal checklist whenever a failover in an MC/SG package occurs:
- make sure you know exactly what happened
- fix the fault
- make sure EVERYTHING is as it is supposed to be (no other fault)
- think twice before you do anything else
- think about it a third time
- try halting and starting on the same node
- try switching to an adoptive node
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 08:34 AM
12-09-2003 08:34 AM
Re: vg synchronize
Yesterday I depowered one of the VA's (deliberately), and the L3000 in the same rack (which was running our only package), and thus simulating a building power failure (the failover node and other va7410 being in another building).
When the package came up on the other node (automatically), the package came up clean (I had set 'no quorum on vgchange'). I thought 'this okay'.
THEN, I brought back the depowered va, and l3000 (the l3000 is not further relevant to this problem) and a short time later an ioscan on my failover node running the the active package showed the links were available. SO, I shutdown the package, and started it again. It was a painful 80 mins until the package came backup up.
The question is, if I read the man page for vgchange correctly, that if I use the s switch 'no resync' it will be ignored due to NOMWC being relevant to this case.
Want I really want to happen is that on vgchange it becomes active immediately for use, and stale syncing goes on the background. I don't want certain scenarios putting an hours delay into package startup!
Further, the syncing that did occur in the foreground of package startup seemed to involve almost as much time as the creation of a mirror copy would, even though there were only a maximum of 10MB's of data being change during the depower!
I note Bernhards comments of DON'T STOP THE PACKAGE.
Finally, if I lose sitewide power, the va's will go down at diffent times, due to differnt ups capacities. Thus, when node come back up, its seems I will have to go through all this again.
Basically, the problem is that I WILL have quorum if the package is restarted, and will thus get a foreground resync, thus hours of waiting.
HELP!
PS, Can I get my cluster nodes to tell the va's to shutdown if the ups sends a signal to the node?