From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,bf98da65c7d90c8a X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-08-05 14:26:35 PST Newsgroups: comp.sys.dec Path: gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!psinntp!vitro.com!v7.vitro.com!vaxs09 From: vaxs09@v7.vitro.com Subject: Re: Weathering the network storm (Was: VMS Robustness) Message-ID: <1993Aug5.135006.1@v7.vitro.com> Sender: news@vitro.com (USENET News System) Organization: Vitro Corporation References: <52813@sdcc12.ucsd.edu> <3AUG199323435176@gergo.tamu.edu> Date: Thu, 5 Aug 1993 17:50:06 GMT In article <23ocrj$r1q@news.acns.nwu.edu> jweiss@casbah.acns.nwu.edu (Jerry Weiss) writes: > > I still would like to know what in cluster function or design mandates that > systems crash when they lose quorum? As others have noted, systems don't crash when they lose quorum. They hang. And they resume operation when quorum has been regained. In the situations being described, however, quorum isn't the whole story. If you get a network outage that lasts longer than RECNXINTERVAL, the cluster splits. The nodes on each side decide that the nodes on the other side have gone away. Accordingly, each half of the cluster kicks the nodes from the other side out of its cluster database. The distributed lock databases on each side are rebuilt, dropping all locks held by nodes that are no longer in the cluster. (Actually, I'm not sure whether the lock database rebuild takes place immediately or is deferred until quorum is regained). At this point, one half of the cluster is certain to have lost quorum and the other side may have lost it as well. In previous versions of VMS, it was possible to cleverly configure quorum disks such that both sides could regain quorum. I am told that this is no longer possible. Now if the network outage is fixed, both cluster halves discover each other. VAX clustering does not have the capability to merge two clusters. There are a number of problems that would make any such capability quite difficult to implement. In the absence of such a solution, the resolution of the problem is for machines in one (or both?) sub-clusters to crash with a CLUEXIT bugcheck -- "node voluntarily exiting VAXcluster" until only one cluster remains. If a machine that is already in a cluster discovers the existence of another cluster with the same cluster number/password then the machine is crashed in this way with a CLUEXIT bugcheck. In article , twilley@dewey.nl.nuwc.navy.mil (Jack Twilley) responds: > I had this question as well, and spoke with a faceless yet helpful > person from tech support. They explained to me that each OS-serving > machine (machine with a boot disk) gets a 'vote'. This way, when there > aren't enough there, it waits until it gets enough 'votes'. > Makes sense to me. Well yes, that's close to what's going on. The votes are allocated by the system manager. He can put as many votes on each machine as he likes. The intent is to avoid the phenomenon known as a "partitioned cluster". In a partitioned cluster, you have a cluster in which half of the nodes cannot talk to the other half. Aside from the lack of communication and the fact that you can't combine the two halves without getting a CLUEXIT bugcheck, this isn't a big problem -- _unless_ you've got some sort of cluster-wide shared resource. In particular, shared, multi-ported disk drives are a problem. If the two halves of the cluster still have a path to the same disk, then they would cache and update the disk data without the coherency that a cluster-wide lock manager allows. Because of the _very_ serious consequences of updating a shared disk from a partitioned cluster, DEC adopted the quorum scheme. A cluster with half or less of the expected number of cluster votes (set in part by the SYSGEN parameter EXPECTED_VOTES) is not allowed to do anything. It hangs. A cluster with more than half of the expected number of votes can safely assume that no other collection of nodes can form a cluster and access the shared disks (the other cluster would hang for lack of votes if the system manager hasn't outsmarted himself by having a too-small value for EXPECTED_VOTES) Quorum disks are a feature where cluster members use a shared, multi-ported disk drive as a low-speed network connection, polling it to periodically re-validate the [non]membership of other cluster nodes. The disk contributes votes toward quorum as long as it is cluster- accessible and does not indicate the presence of non-member nodes. Here's hoping I'm neither boring the Unix weenies nor about to be toasted by the VMS gurus more experienced than myself. John Briggs vaxs09@v7.vitro.com