Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 03, 2008

Q. How can I change a Windows Server 2008 cluster quorum from the command line?

Cluster-configuration steps and screencast included
RSS
Subscribe to Windows IT Pro | See More Clustering and Load Balancing Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A. You can use the cluster.exe command to change a cluster’s quorum mode. To view the existing quorum mode for a cluster, you use the following command (in the format cluster cluster name /quorum), as follows:

C:\>cluster savdalclusfs01 /quorum

You’ll get this output:

Witness                Resource Name                                Path Type
--------------------- --------------------------------------------- --------
(Node Majority)        Majority

To change the quorum mode, you add a resource for the type of quorum mode you want—for example, a file-share witness—as follows. (Both the commands you enter and their output are shown.)

C:\>cluster /cluster:savdalclusfs01 res "File Share Witness" /create /group:"Cluster Group" /type:"File 

Share Witness" /priv SharePath=\\savdaldc02\fsw

Creating resource 'File Share Witness'...

Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
File Share Witness   Cluster Group        savdalclus01    Offline

C:\>cluster /cluster:savdalclusfs01 res "File Share Witness" /online

Bringing resource 'File Share Witness' online...

Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
File Share Witness   Cluster Group        savdalclus01    Online

C:\>cluster savdalclusfs01 /quorum:"File Share Witness"

Witness               Resource Name                                 Path Type
--------------------- --------------------------------------------- --------
File Share            Witness Majority

Notice we add the file share as a resource, bring the new resource online, then tell the cluster to use that resource for the quorum. Unlike the procedure for changing the cluster quorum via the Microsoft Management Console (MMC) Failover Cluster Management snap-in, you must give the cluster computer object, and not the administrator, full control on the share. That is, for my cluster I must add account savdalclusfs01$ with full control to the share fsw on server savdaldc02.

To change quorum to a disk witness, you need to move a disk resource into the cluster group, like this:

C:\>cluster res "Quorum Disk" /move:"Cluster Group"

Moving resource 'Quorum Disk' to group 'Cluster Group'...

Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
Quorum Disk          Cluster Group        savdalclus01    Online

Now you need to tell the cluster to use the disk for the quorum:

C:\>cluster /quorum:"Quorum Disk"

Witness               Resource Name                                 Path Type
--------------------- --------------------------------------------- --------
Quorum Disk           F:\Cluster\                                   Majority

Note that if you add /disk to the end of the command, you tell the cluster to use disk only and not Node and Disk Majority (the normal mode).

C:\>cluster /quorum:"Quorum Disk" /disk

Quorum Resource Name Path                                          Type
-------------------- --------------------------------------------- --------
Quorum Disk          F:\Cluster\                                   No Majority--Disk Only

You can switch to Node Majority only by running the following command:

C:\>cluster /quorum /node

Witness Resource Name Path                                          Type
--------------------- --------------------------------------------- --------
(Node Majority)                                                     Majority

The screencast below takes you through using the command line to perform this and other Server 2008 cluster-configuration tasks.

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Virtualization for Mission-Critical BI with SQL Server

SQL Consolidation: Insights from Customers, Analysts & HP

Configuration Manager SP1 and R2 Overview

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing