From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,742c6de18c1ed833 X-Google-Attributes: gidf7344,public X-Google-Thread: f86d6,742c6de18c1ed833 X-Google-Attributes: gidf86d6,public X-Google-Thread: 1164f8,742c6de18c1ed833 X-Google-Attributes: gid1164f8,public From: hoffman@xdelta.enet.dec.nospam (Stephen Hoff Hoffman) Subject: Re: Need some guidance with changing quorum values... Date: 1997/08/29 Message-ID: <5u6ie7$m9a@usenet.pa.dec.com>#1/1 X-Deja-AN: 269072047 References: <340471f7.1568064@nntp.netcomuk.co.uk> Reply-To: hoffman@xdelta.zko.dec.nospam Distribution: world Organization: Digital Equipment Corp Newsgroups: comp.os.vms,comp.sys.dec,vmsnet.sysmgt 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