Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: hoffman@xdelta.enet.dec.nospam (Stephen Hoff Hoffman)
Subject: Re: Need some guidance with changing quorum values...
Date: 1997/08/29	[thread overview]
Message-ID: <5u6ie7$m9a@usenet.pa.dec.com> (raw)
In-Reply-To: 340471f7.1568064@nntp.netcomuk.co.uk



In article <340471f7.1568064@nntp.netcomuk.co.uk>, rstevens@netcomuk.co.uk (Rob) writes:
:It's the first time I'v ehad to play around with the quorum values on
:my machines, and the advice in the manuals just seemed to bounce off
:my brain... :)

  Well, does "MASSIVE USER DISK DATA CORRUPTIONS" catch your attention?
  (Yes, I thought that would. :-)

  Mis-setting the EXPECTED_VOTES and VOTES parameters can lead to the
  aformentioned MASSIVE CORRUPTIONS on any shared resources -- and the
  severity of the corruptions in a partitioned VMScluster is stunning.

  The running value of quorum is only ever raised, and only as votes are
  found -- the quorum value is never automatically lowered.  The value
  in EXPECTED_VOTES is used to set the initial value of quorum, the value
  used only until connections are established to other VMScluster nodes.

  Since the vault-based OpenVMS system at your site -- based on your
  statements -- has to remain up at all times, assign it one vote, and
  assign no votes to the non-vault OpenVMS systems, and set EXPECTED_VOTES
  to one on each VMScluster node.

  Here's some text I've just submitted to the OpenVMS FAQ:

	--

The VMScluster connection manager uses the concept of votes and quorum
to prevent disk and memory data corruptions -- when sufficient votes are
present for quorum, then access to resources is permitted.  When sufficient
votes are not present, user activity will be blocked.  The act of blocking
user activity is called a "quorum hang", and is better thought of as a
"user data integrity interlock".  This mechanism is designed to prevent
a partitioned VMScluster, and the resultant massive disk data corruptions.

On each OpenVMS node in a VMScluster, one sets two values in SYSGEN: VOTES,
and EXPECTED_VOTES.  The former is how many votes the node contributes to
the VMScluster.  The latter is the total number of votes expected when the
full VMScluster is bootstrapped.

Some sites erroneously attempt to set EXPECTED_VOTES too low, believing
this will allow when only a subset of voting nodes are present in a
VMScluster.  It does not.  Further, an erroneous setting in EXPECTED_VOTES
is automatically corrected once VMScluster connections to other nodes are
established, meaning user data is at risk of severe corruption only during
the initial system bootstrap.

One can operate a VMScluster with one, two, or many voting nodes.  With
any but the two-node configuration, keeping a subset of the nodes active
when some nodes fail can be easily configured.  With the two-node
configuration, one must use a primary-secondary configuration (where the
primary has all the votes), a peer configuration (where when either node
is down, the other hangs), or (preferable) a shared quorum disk.

Use of a quorum disk does slow down VMScluster transitions somewhat --
the addition of a third voting node that contributes the vote(s) that
would be assigned to the quorum disk makes for faster transitions -- but
the use of a quorum disk does mean that either node in a two-node VMScluster
configuration can operate when the other node is down.

In a two-node VMScluster with a shared storage interconnect, typically each
node has one vote, and the quorum disk also has one vote.  EXPECTED_VOTES
is set to three.

Using a quorum disk on a non-shared interconnect is unnecessary -- the
use of a quorum disk does not provide any value, and the votes assigned
to the quorum disk should be assigned to the OpenVMS host serving access
to the disk.

For information on quorum hangs, see the OpenVMS documentation.  For
information on changing the EXPECTED_VOTES value on a running system,
see the SET CLUSTER/EXPECTED_VOTES command, and see the OpenVMS system
console documentation for the processor-specific console commands used
to trigger the IPC (Interrrupt Priority Level %x0C; IPL C) handler.
The IPC handler can be used to clear a quorum hang, and to clear disk
mount verification hangs.

  -------------------------- pure personal opinion ---------------------------
   Hoff (Stephen) Hoffman   OpenVMS Engineering   h*ffman@xdelta.enet.dec.c*m
     headers and addresses munged to avoid automated spammers: junk-e-mail




  parent reply	other threads:[~1997-08-29  4:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-27  4:00 Need some guidance with changing quorum values Rob
1997-08-27  4:00 ` fairfield
1997-08-27  4:00 ` Jim Mehlhop
1997-08-28  4:00 ` Michael Moroney
1997-08-29  4:00 ` Stephen Hoff Hoffman [this message]
1997-08-30  4:00   ` Malcolm Dunnett
     [not found]     ` <1997Aug31.005423.1@eisner>
1997-08-31  4:00       ` Malcolm Dunnett
1997-09-01  4:00         ` George Cornelius
1997-09-01  4:00           ` Malcolm Dunnett
1997-09-02  4:00     ` Jerry Leichter
     [not found]     ` <34089e4d.2459055@nntp.netcomuk.co.uk>
1997-09-04  4:00       ` Stephen Hoff Hoffman
1997-09-04  4:00     ` Michael Moroney
1997-08-29  4:00 ` Rob
1997-08-31  4:00 ` Barrys2552
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox