* Re: Need some guidance with changing quorum values...
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
` (4 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: fairfield @ 1997-08-27 4:00 UTC (permalink / raw)
In article <340471f7.1568064@nntp.netcomuk.co.uk>,
rstevens@netcomuk.co.uk (Rob) writes:
[...]
> I have an Alphaserver 2100 and 2 Vax 4000's running VMS 6.2. The 2100
> now has to remain up all the time, through the night, whilst the Vaxes
> have to be shutdown/removed from the cluster every night. I won't bore
> you with the details, but doing this is for security reasons. (The
> 2100 being in a vault and the Vaxes outside the vault)
>
> Currently, all three members have VOTES=1, EXPECTED_VOTES=1, which was
> fine for a full cluster shutdown like we used to do. However, now I'm
> removing the two Vaxes in the evening, the 2100 loses quorum when both
> have left. I looked at the CL_VOTES, CL_EXPECTED and CL_QUORUM with
> show/clus and found quorum to be 2, which accounts for the problem.
[...]
Jim Mehlhop <jmehlhop@cisco.com> already commented, quite
correctly, that your current parameters for VOTES vis-a-vis
EXPECTED_VOTES could result in a fragmented cluster. Not good. As
he said, _if_ you had at least one disk on a shared bus, i.e., the
CI or DSSI (can DSSI do three hosts?), then you could use a quorum
disk. This would be the "best" solution, but I doubt you have the
equipment to implement it.
Let me observe, however, that you're taking down the two VAXen
nightly anyway, so why do you need them to contribute votes to the
cluster? Are you really in a position to have, or want, the cluster
to continue if the Alpha goes down but the VAXen stay up? That is
the only reason to have them contribute votes.
I'd suggest instead that you set VOTES=1 on the Alpha, VOTES=0
on the two VAXen, and EXPECTED_VOTES=1 on all nodes. With these
settings, the VAXen can come and go as they please. It does mean
that the VAXen can't form a cluster until the Alpha is booted, but
in your situation that may not be an issue...
-Ken F.
--
Kenneth H. Fairfield | Internet: Fairfield@Slac.Stanford.Edu
SLAC, P.O.Box 4349, MS 46 | DECnet: 45537::FAIRFIELD (45537=SLACVX)
Stanford, CA 94309 | Voice: 650-926-2924 FAX: 650-926-3515
-------------------------------------------------------------------------
These opinions are mine, not SLAC's, Stanford's, nor the DOE's...
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Need some guidance with changing quorum values...
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
` (3 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: Jim Mehlhop @ 1997-08-27 4:00 UTC (permalink / raw)
To: Rob
Rob wrote:
>
> Hi Guys/Gals,
>
> 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... :)
>
> I have an Alphaserver 2100 and 2 Vax 4000's running VMS 6.2. The 2100
> now has to remain up all the time, through the night, whilst the Vaxes
> have to be shutdown/removed from the cluster every night. I won't bore
> you with the details, but doing this is for security reasons. (The
> 2100 being in a vault and the Vaxes outside the vault)
>
> Currently, all three members have VOTES=1, EXPECTED_VOTES=1, which was
> fine for a full cluster shutdown like we used to do. However, now I'm
> removing the two Vaxes in the evening, the 2100 loses quorum when both
> have left. I looked at the CL_VOTES, CL_EXPECTED and CL_QUORUM with
> show/clus and found quorum to be 2, which accounts for the problem.
>
> The trouble is, I thought, according to my calculations, that quorum
> should be 1 in that case..
>
> So, how do I remove two of the three machines without stopping the
> other. I'm aware that I've probably made a hash up of my calculations,
> and would appreciate your thoughts/ideas...
>
> -Rob Stevens-
> DERA Farnborough
Your original values are not good if you have hardware problems during a
boot. could end up with 3 single node clusters.
The safest way to do this is to use a quorum disk. This has to be a
disk that all 3 systems have direct access too IE CI. I would not think
that is your case. However for completeness sake if you had that you
would set VOTES=1, EXPECTED_VOTES=6, DISK_QUORUM = "physical device
name",QDSKVOTES=3 on all 3 systems. With these parameters any one
system and the quorum disk would form a running cluster.
Your other solution which has downsides is
VOTES=3, EXPECTED_VOTES=5 on the Alpha and
VOTES=1, EXPECTED_VOTES=5 on the Vaxes. This REQUIRES the Alpha to be
running to have enough votes to survive as a cluster.
Jim
--
Jim Mehlhop
jmehlhop@cisco.nospam.com You can figure
the return address that has been modified
to block some of the D_____ SPAM
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Need some guidance with changing quorum values...
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
` (2 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: Michael Moroney @ 1997-08-28 4:00 UTC (permalink / raw)
In article <340471f7.1568064@nntp.netcomuk.co.uk>,
rstevens@netcomuk.co.uk (Rob) wrote:
> I have an Alphaserver 2100 and 2 Vax 4000's running VMS 6.2. The 2100
> now has to remain up all the time, through the night, whilst the Vaxes
> have to be shutdown/removed from the cluster every night. I won't bore
> you with the details, but doing this is for security reasons. (The
> 2100 being in a vault and the Vaxes outside the vault)
>
> Currently, all three members have VOTES=1, EXPECTED_VOTES=1, which was
> fine for a full cluster shutdown like we used to do. However, now I'm
> removing the two Vaxes in the evening, the 2100 loses quorum when both
> have left. I looked at the CL_VOTES, CL_EXPECTED and CL_QUORUM with
> show/clus and found quorum to be 2, which accounts for the problem.
>
> The trouble is, I thought, according to my calculations, that quorum
> should be 1 in that case..
No, quorum should be 2 in your case. (3 votes +1)/2
BTW, setting EXPECTED_VOTES=1 when obviously the expected votes being
3 is a bad idea. You can get multiple single node clusters and corruption
of any disks. (if the cluster forms correctly VMS sees EXPECTED_VOTES being
bogus on the fly and adjusts things accordingly)
> So, how do I remove two of the three machines without stopping the
> other. I'm aware that I've probably made a hash up of my calculations,
> and would appreciate your thoughts/ideas...
Do you want the 4000s to keep running if the Alpha happens to crash? Or is
the Alpha essential to whatever you are doing?
If you don't expect/want/need the VAXes to stay up, the simplest solution
is to set VOTES=1, EXPECTED_VOTES=1 on the Alpha, and VOTES=0, EXPECTED_VOTES=1
on the VAXes.
-Mike
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Need some guidance with changing quorum values...
1997-08-27 4:00 Need some guidance with changing quorum values Rob
` (2 preceding siblings ...)
1997-08-28 4:00 ` Michael Moroney
@ 1997-08-29 4:00 ` Stephen Hoff Hoffman
1997-08-30 4:00 ` Malcolm Dunnett
1997-08-29 4:00 ` Rob
1997-08-31 4:00 ` Barrys2552
5 siblings, 1 reply; 14+ messages in thread
From: Stephen Hoff Hoffman @ 1997-08-29 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Need some guidance with changing quorum values...
1997-08-29 4:00 ` Stephen Hoff Hoffman
@ 1997-08-30 4:00 ` Malcolm Dunnett
[not found] ` <1997Aug31.005423.1@eisner>
` (3 more replies)
0 siblings, 4 replies; 14+ messages in thread
From: Malcolm Dunnett @ 1997-08-30 4:00 UTC (permalink / raw)
In article <5u6ie7$m9a@usenet.pa.dec.com>,
hoffman@xdelta.enet.dec.nospam (Stephen Hoff Hoffman) writes:
>
> 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. :-)
>
It seems that a partitioned cluster is only a danger if one has a resource
(disk) which can be independantly accessed by more than one host and it is
possible for the hosts to lose communication with each other without also losing
connection to the disk. This was certainly possible in the CI/Star Coupler/HSC
world. I believe it is also possible in a SCSI cluster ( the cluster management
traffic taking a different path than the disk accesses ).
Perhaps I'm being dense here, but it appears to me that this is not a concern
in NI based clusters. While it is easy to conceive of network failures which may cause
a single cluster to split into 2 ( or more ), any resource available within one
of those clusters would be safe as it would only be accesible to hosts which were
fully participating in the cluster.
Given that the scenario of 2 hosts clustered over NI is not all that uncommon
(particularly at smaller sites) it seems it would be useful to permit a configuration
where each of those systems could have enough votes to keep the cluster running in the
absence of the other. If there is a danger of data corruption in this configuration
I'd appreciate someone explaining it.
--
=============================================================================
Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca
Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (250)755-8738
^ permalink raw reply [flat|nested] 14+ messages in thread[parent not found: <1997Aug31.005423.1@eisner>]
* Re: Need some guidance with changing quorum values...
[not found] ` <1997Aug31.005423.1@eisner>
@ 1997-08-31 4:00 ` Malcolm Dunnett
1997-09-01 4:00 ` George Cornelius
0 siblings, 1 reply; 14+ messages in thread
From: Malcolm Dunnett @ 1997-08-31 4:00 UTC (permalink / raw)
In article <1997Aug31.005423.1@eisner>,
cornelius@eisner.decus.org (George Cornelius) writes:
>
> The closest I could come to a serious problem was a node undergoing
> a CLUEXIT because it lost its path to the rest of the cluster, then
> rebooting and forming its own cluster. A disk it had served to the
> cluster could be updated by this node while it was still in mount
> verification on the part of the cluster that remained up. Once network
> communications were reestablished and the node rebooted, the drive
> could conceivably come out of mount verification and information that
> the file system had cached on the other nodes, such as available
> free blocks, might no longer be valid and corruption could result.
>
This is just a special case of a node which serves disks to
the cluster leaving and re-entering the cluster at a later time (before MVTIMEOUT).
While it's probable that the disks haven't been updated in isolation between
the crash and the reboot there's no guarantee of this, so VMS has to be designed to
handle the general case (ie assume nothing about the state of disks
on a new cluster member).
> In reality, though, I have never seen this happen. The file system
> may protect itself - for example, there may be a "number of times
> mounted" somewhere in the home block or storage control block.
I believe the mechanism VMS uses is to record the "date and time of
last mount" in the SCB. If the disk has been mounted while not served
to the cluster it will have a different date/time here than the
cluster has for the disk. When the node re-enters the cluster the
difference in these values will be noted and the mount verify won't
complete.
--
=============================================================================
Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca
Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (250)755-8738
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Need some guidance with changing quorum values...
1997-08-31 4:00 ` Malcolm Dunnett
@ 1997-09-01 4:00 ` George Cornelius
1997-09-01 4:00 ` Malcolm Dunnett
0 siblings, 1 reply; 14+ messages in thread
From: George Cornelius @ 1997-09-01 4:00 UTC (permalink / raw)
In article <vTPaEtSUyrgL@malvm1.mala.bc.ca>, dunnett@mala.bc.ca (Malcolm Dunnett) writes:
> This is just a special case of a node which serves disks to the cluster
> leaving and re-entering the cluster at a later time (before MVTIMEOUT).
> While it's probable that the disks haven't been updated in isolation between
Actually, I would say that if it is the system disk of the other node,
the opposite is true: it has certainly been updated during the time when
that node was its own cluster.
> the crash and the reboot there's no guarantee of this, so VMS has to be designed to
> handle the general case (ie assume nothing about the state of disks
> on a new cluster member).
[...]
> I believe the mechanism VMS uses is to record the "date and time of
> last mount" in the SCB. If the disk has been mounted while not served
If it's anything like volume shadowing, it records the quadword time but
has a mechanism to guarantee that the value always moves forward and never
backwards - so it's really a pseudo-time. The other cluster members need
not have precisely synchronized internal clocks but would record the current
contents of the quadword as a magic check value.
> to the cluster it will have a different date/time here than the
> cluster has for the disk. When the node re-enters the cluster the
> difference in these values will be noted and the mount verify won't
> complete.
Makes sense. Now in how many other areas in VMS or in various cluster
aware layered products, databases, etc., does something equivalent have
to be done, and have they done it right?
Remember that it could be considered a perfectly reasonable assumption that
as long as you hold an exclusive clusterwide lock that protects a file
which you periodically open, update, and close, it will never be touched
in the interim by someone else. A database server might work this way,
for example, if it were designed to minimize the number of channels open
at a time, and if it did this it might not detect a situation in which
a drive was dismounted and remounted to recover from a mount verification
failure such as the kind we have been discussing.
Again, it takes some tortured logic to come up with a scenario in which
corruption occurs, and this is probably because the mount verification
mechanism does a good job of protecting the disk volumes, which are
the only places we would normally expect to have anything change in a
way that could affect cluster integrity when a lost node rejoined.
As you say, setting VAXCLUSTER=0 and rebooting would result in similar
exposures in any event, and since many of us have done this in the
past with no ill effect and are not enjoined by Digital against doing
so, we tend to assume that there are no major risks associated with it.
This leaves cluster communications. I previously mentioned I would
expect a CLUEXIT if communications between two halves of a partitioned
cluster were restored, but are all the bases covered for the case where
only a random packet from one instance of the cluster makes it through
and is seen by a node of the other? I suppose they could be, since,
after all, even an SCS broadcast packet most likely includes the ID of
the transmitting node, and the remaining nodes should reject it if it
is not from a current member of their cluster.
So, who knows? If you don't have any critical shared resources outside
of properly mounted VMS volumes, and do not access shared files via sneak
paths like NFS serving, i.e., paths which in some network failure modes
would remain up even if cluster communications were down, it may in fact
be relatively safe to have a partitioned NI-only cluster.
--
George Cornelius cornelius@eisner.decus.org
cornelius@mayo.edu
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Need some guidance with changing quorum values...
1997-09-01 4:00 ` George Cornelius
@ 1997-09-01 4:00 ` Malcolm Dunnett
0 siblings, 0 replies; 14+ messages in thread
From: Malcolm Dunnett @ 1997-09-01 4:00 UTC (permalink / raw)
In article <1997Sep1.054353.1@eisner>,
cornelius@eisner.decus.org (George Cornelius) writes:
>
> As you say, setting VAXCLUSTER=0 and rebooting would result in similar
> exposures in any event, and since many of us have done this in the
> past with no ill effect and are not enjoined by Digital against doing
> so, we tend to assume that there are no major risks associated with it.
>
That's really the point though. The node removed in this way could
be serving disks to the cluster. Since this form of node removal
is a supported operation VMS has to be designed in such a way that doing
so is safe. Granted, there could be latent bugs in the system which will
only be exposed by allowing partitioned NI clusters - but in principle
I don't see them as being any different from intentionally removing a
node in this fashion.
> So, who knows? If you don't have any critical shared resources outside
> of properly mounted VMS volumes, and do not access shared files via sneak
> paths like NFS serving, i.e., paths which in some network failure modes
> would remain up even if cluster communications were down, it may in fact
> be relatively safe to have a partitioned NI-only cluster.
>
Isn't NFS serving basically layered on top of the underlying VMS
file system? So if the mechanisms used to manage the file system itself
are "safe" wouldn't NFS by extension be safe also ( ie NFS can't do
anything to the files that the underlying mechanism won't permit )
--
=============================================================================
Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca
Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (250)755-8738
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Need some guidance with changing quorum values...
1997-08-30 4:00 ` Malcolm Dunnett
[not found] ` <1997Aug31.005423.1@eisner>
@ 1997-09-02 4:00 ` Jerry Leichter
[not found] ` <34089e4d.2459055@nntp.netcomuk.co.uk>
1997-09-04 4:00 ` Michael Moroney
3 siblings, 0 replies; 14+ messages in thread
From: Jerry Leichter @ 1997-09-02 4:00 UTC (permalink / raw)
To: Malcolm Dunnett
| It seems that a partitioned cluster is only a danger if one has a
| resource (disk) which can be independantly accessed by more than one
| host and it is possible for the hosts to lose communication with each
| other without also losing connection to the\x1adisk. This was certainly
| possible in the CI/Star Coupler/HSC world.... Perhaps I'm being
| dense here, but it appears to me that this is not a concern in NI
| based clusters.
Incorrect.
This issue comes up periodically, and perhaps ought to be mentioned in
the proposed FAQ text (not to mention DEC's documentation). Cluster
partitioning is an issue whenever there's a shared *resource*. Disks
are *not* the only kind of resource! The cluster connection software is
very careful to provide its users with a consistent view of the cluster.
At the base of all these guarantees, all "live" nodes will agree at all
times as to which nodes are part of the cluster. There are other
guarantees about the order in which cluster messages get delivered.
Cluster-cognizant software makes use of these guarantees to build
reliable cluster-wide resources.
The cluster disk drivers are the most widely known - and widely used -
piece of cluster-cognizant software. They take a single physical
resource - a disk - and reliably share it across the cluster. However,
other pieces of such software exist. One good example is the shadowing
drivers. These take multiple physical resources - disk drives perhaps
spread across an Ethernet - and make them look like a single cluster-
wide resource. In this particular case, the possible failure mode
should be obvious: In a partitioned cluster, multiple nodes may
independently decide that their local copy of the shadow set is up to
date and modify it. The result will be an inconsistent, unmergeable
shadow set.
RDB makes similar use of cluster capabilities. I don't know enough
details to construct an exact failure mode, but I certainly wouldn't
have much confidence that a database constructed on multiple disks that
was modified - on disjoint sets of disks - from partitions of a cluster
would be worth much after the cluster was properly re-formed.
The coordination that keeps the disk drivers, the shadowing software,
and RDB working properly is all based on the same lock manager that user
programs have access to. Is there user software on your system that is
building a reliable resource abstraction out of disjoint physical
pieces, relying on the lock manager to keep things in sync? What will
happen to *it* in a partitioned cluster environment?
-- Jerry
^ permalink raw reply [flat|nested] 14+ messages in thread[parent not found: <34089e4d.2459055@nntp.netcomuk.co.uk>]
* Re: Need some guidance with changing quorum values...
[not found] ` <34089e4d.2459055@nntp.netcomuk.co.uk>
@ 1997-09-04 4:00 ` Stephen Hoff Hoffman
0 siblings, 0 replies; 14+ messages in thread
From: Stephen Hoff Hoffman @ 1997-09-04 4:00 UTC (permalink / raw)
In article <34089e4d.2459055@nntp.netcomuk.co.uk>, rstevens@netcomuk.co.uk (Rob) writes:
:Yes, I thought that was a particularly condescending (but not
:unexpected) comment from Mr Hoffman,
If you feel my comments were condescending, direct email with
constructive comments, flames :-), or suggestions are welcome.
:...especially as he is not in
:possession of the facts about my installation. The entire cluster was
:shut down daily for security reasons (unfortunately), and the two Vax
:4000's were actually very loosely tied to the AS2100 as they have the
:sole purpose of capturing high speed data from various sources, for
:feed to the other parts of the network.
I'm quite familiar with military security -- both the theoretical
mandatory and discretionary access control aspects, and the more
practical aspects. (Uh, yes, those rifles really are loaded. :-)
And I believe I understand what your site is up to, and I believe
I understand the risks you are taking with your data.
What I want to make sure is that you understand those risks...
..
:The quorum values were originally set up so that the capture machines
:could continue to work, even if the main systems were not, though
:failure. The requirement for this has now changed though, and I
:decided, one evening, to ask you guys/gals what you thought about the
:situation I had come up against, especially as I'd been stupid and
:done my sums wrong.
EXPECTED_VOTES is not QUORUM -- we removed the QUORUM SYSGEN parameter
a while back, and replaced it with EXPECTED_VOTES -- we made this change
as we found customers were not setting QUORUM to the correct value, we
determined we could implement a way to set the "live" quorum value to
the correct value automatically, and we believed this would help reduce
the risk of customer data corruptions. (I may be repeating comments
made in an earlier post here.)
EXPECTED_VOTES is used to set the initial value of quorum -- if the value
in EXPECTED_VOTES is incorrect, then the connection manager will notice
and correct the setting -- here's the important part -- once the initial
connections are established. (I've mentioned that before.) Once the
connections are established, the running value of quorum is corrected.
(It's this window before the connections are fully established when the
data can be at risk.)
: I was not looking for the stuff, I had read in the
:manuals, Mr Hoffman.
No offense is intended. I'd not want to see your data scrozzled, and
I'd not want to provide you with any suggestions that might lead you to
unwittingly scrozzle your data. (Never offend somebody that calls you
"Mr" -- but I digress. :-)
More than just the obvious coordination of shared disk storage is involved
in the quorum mechanism. Even though you might think you have a VMScluster
with no shared storage, realize that each node has a picture of the state
of the storage servers across the VMScluster, each node can have parts of
the distributed lock tree, and each node can have cached data intended for
storage on other nodes.
The following is derived from a recent email exchange on this topic:
The quorum scheme is a set of "blade guards" -- a construct that is
designed to prevent your data from being severely trashed -- remove
the "blade guards" at your own (great) peril.
With a VMScluster with:
o no shared SCSI interconnects,
o no multi-host KFQSA connections,
o no multi-host CI, MC, or DSSI interconnects,
o no possibility that anyone will ever configure
and begin to use shared interconnects....
... Then no, your data is probably not at any great risk of corruption.
(And note that I did *not* say "no risk".)
It is that last bullet that causes most system managers concern: you
fall ill (or your trip to the DECUS symposium gets approved :-), and
your second-in-command tries to get the new hardware configuration
working because your boss needs it for The New Hot Project, and your
stand-in doesn't know to check for the EXPECTED_VOTES "armed bomb"
left lurking in SYSGEN...
Should this "no shared interconnects" state of affairs change next week,
next month, or next year, then yes, an incorrect setting in EXPECTED_VOTES
can cause your data can become severely corrupted. And the speed at which
the data corruption will arise in a partitioned VMScluster will be quite
surprising -- the last time I saw this happen, the system disk was quite
scrozzled before anyone ever got to the "Username:" prompt...
And even in a no-shared-storage VMScluster, data structures such as the
lock manager are shared -- these structures reflect the configuration of
each node. And the lock manager can potentially get confused...
And -- if you think about what it entails -- something as simple as
booting off the wrong system root on a SCSI disk in a VMScluster with
SCSI interconnects can trigger the EXPECTED_VOTES "bomb"...
-------------------------- 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Need some guidance with changing quorum values...
1997-08-30 4:00 ` Malcolm Dunnett
` (2 preceding siblings ...)
[not found] ` <34089e4d.2459055@nntp.netcomuk.co.uk>
@ 1997-09-04 4:00 ` Michael Moroney
3 siblings, 0 replies; 14+ messages in thread
From: Michael Moroney @ 1997-09-04 4:00 UTC (permalink / raw)
In article <eHjMXkbbJsky@malvm1.mala.bc.ca>,
dunnett@mala.bc.ca (Malcolm Dunnett) wrote:
> In article <5u6ie7$m9a@usenet.pa.dec.com>,
> hoffman@xdelta.enet.dec.nospam (Stephen Hoff Hoffman) writes:
> >
> > 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. :-)
> >
>
> It seems that a partitioned cluster is only a danger if one has a resource
> (disk) which can be independantly accessed by more than one host and it is
> possible for the hosts to lose communication with each other without also losing
> connection to the disk. This was certainly possible in the CI/Star Coupler/HSC
> world. I believe it is also possible in a SCSI cluster ( the cluster management
> traffic taking a different path than the disk accesses ).
>
> Perhaps I'm being dense here, but it appears to me that this is not a concern
> in NI based clusters. While it is easy to conceive of network failures which may cause
> a single cluster to split into 2 ( or more ), any resource available within one
> of those clusters would be safe as it would only be accesible to hosts which were
> fully participating in the cluster.
On the contrary. Any process, procedure or device whose activity is
coordinated on two nodes by the lock manager can be corrupted by two instances
of the cluster. Two that I can think of offhand immediately are a server
process that uses the "dead man's switch" type of lock to ensure that there
there is only one "master" process in a cluster with a process on each node
(there could be one master per cluster) and shadowing. For shadowing, consider
a 2 member cluster with a 2 member shadowset, with each shadowed disk directly
attached to a cluster member and not accessible to the other member except
through the MSCP server. Shut down the cluster and bring the systems up
as 2 1-node clusters. The nodes will mount the shadowsets which come up
as single member sets since the other disk doesn't exist, as far as it is
concerned. The disks are updated independently of each other, and now can't
be merged. (if you bring the cluster up again as a 2 member cluster one
disk will be overwritten by the other - losing all work done to it)
For the "dead man's switch" example consider a server process that normally
produces a single log file which has entries that must be in timewise order.
You'll wind up with multiple log files that can't be appended in any order,
you'd have to do something to merge them.
-Mike
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Need some guidance with changing quorum values...
1997-08-27 4:00 Need some guidance with changing quorum values Rob
` (3 preceding siblings ...)
1997-08-29 4:00 ` Stephen Hoff Hoffman
@ 1997-08-29 4:00 ` Rob
1997-08-31 4:00 ` Barrys2552
5 siblings, 0 replies; 14+ messages in thread
From: Rob @ 1997-08-29 4:00 UTC (permalink / raw)
On Wed, 27 Aug 1997 18:42:55 GMT, rstevens@netcomuk.co.uk (Rob) wrote:
Thanks for all the help guys, I've now read the books again and
realised my mistake. The quorum was never really a problem before, as
all the machines were shutdown (CLUSTER_SHUTDOWN) every night,
dismantled and locked in safes. (sound of tut-tut ing sysman's
everywhere)
It is however, extremely necessary.
Thanks again..
-Rob Stevens-
DERA Farnborough
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Need some guidance with changing quorum values...
1997-08-27 4:00 Need some guidance with changing quorum values Rob
` (4 preceding siblings ...)
1997-08-29 4:00 ` Rob
@ 1997-08-31 4:00 ` Barrys2552
5 siblings, 0 replies; 14+ messages in thread
From: Barrys2552 @ 1997-08-31 4:00 UTC (permalink / raw)
You could try and setup the VAX 4000's so that they don't vote, that way
they can come and go without the cluster losing qorum. Also you might
investigate the possiblity of setting up a qorum disk so that it votes in
the cluster.
Barry Streets
PSP Information Group
^ permalink raw reply [flat|nested] 14+ messages in thread