WSFC for SQL Server Flashcards

(17 cards)

1
Q

In one sentence, what is Windows Server Failover Clustering (WSFC)?

A

WSFC is a Windows OS feature that groups two or more servers into a cluster so clustered workloads are owned by one node at a time and can be moved (failover) when a node or dependency fails.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does WSFC provide that prevents split-brain for clustered resources (especially FCI storage)?

A

Membership, health monitoring, resource orchestration, and quorum math so only one partition of the cluster stays “in charge” after a split — avoiding two sides both thinking they own shared resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

For Always On availability groups on Windows, what does WSFC do vs what does SQL Server do?

A

WSFC hosts the AG resource, failover policy, and often the listener (cluster network name + IPs). SQL Server does log send/redo, synchronization, read-only routing, and the HADR endpointdata replication is not WSFC’s job.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

For a failover cluster instance (FCI), what does WSFC do vs SQL Server?

A

WSFC moves one clustered SQL instance between nodes; shared storage is presented to whoever owns the instance. SQL Server runs that single instance against shared database files — no per-replica copy of data for that instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a distributed availability group, in terms of clusters?

A

Two separate WSFC clusters (e.g. two sites); each side is a normal cluster. AG replication runs between clusters for DR/geo while WSFC still governs each side’s membership and quorum.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

On Linux, does SQL Server AG use WSFC?

A

No. AG on Linux uses Pacemaker (and related components), not WSFC. The ideas overlap (membership, resource agents, quorum), but the stack is different.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define node, cluster network, and why NIC layout matters.

A

A node is a Windows Server member of the cluster. A cluster network is the set of NICs used for client vs cluster (heartbeat) traffic. Best practice is redundant paths and correct metric ordering so heartbeat stays reliable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are cluster core resources vs a role / resource group?

A

Cluster core resources keep the cluster itself viable (e.g. cluster name, quorum/witness resources). A role/resource group is the clustered application footprint (e.g. SQL Server AG, SQL Server FCI) with dependencies like IP, name, and storage (for FCI).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are CNO and VCO, and why do interviewers care about AD and DNS?

A

CNO = Cluster Name Object (cluster identity in AD). VCO = Virtual Computer Objects for clustered names (e.g. listener, FCI network name). Permissions and DNS registration for these objects matter when resources “don’t come online.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What problem does quorum solve, and what is a witness for?

A

Quorum is the vote model so only one side of a partition stays online. A witness (file share, disk, cloud, etc.) often breaks ties on even node counts. Deep witness math → defer to your clustering note.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does automatic failover of the primary in an AG on Windows involve both SQL and WSFC?

A

It’s a cooperation of SQL (health) and WSFC (resource failover policy). Every AG replica runs on a WSFC node in the same cluster for that AG on Windows.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Why is the listener usually a cluster resource, and what do clients use on multi-subnet deployments?

A

The listener is typically a cluster resource (network name + IP(s)). Multi-subnet deployments register multiple IPs; clients use MultiSubnetFailover=True (alongside correct connectivity patterns).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Contrast FCI vs AG using storage and WSFC’s role.

A

FCI: WSFC moves the instance to a node that sees the same disksshared storage. AG: WSFC does not replace log shipping; it orchestrates roles and the listener while each node’s SQL has its own storage for AG databases — shared-nothing replicas.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Give a panel-ready one-liner: WSFC vs SQL Server for Always On.

A

WSFC is the Windows clustermembership, quorum, and moving clustered roles. SQL Server still does replication and redo for AG; WSFC orchestrates which node owns the AG/primary and the listener.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Give a panel-ready contrast: FCI vs AG on the same WSFC.

A

FCI is shared-storage instance failover; AG is shared-nothing replicas — same WSFC, different SQL HA pattern.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Name high-level operational concerns: AD, patching, and cloud.

A

Traditional WSFC for SQL is usually domain-joined; CNO/VCO and DNS depend on AD health (workgroup clusters exist but are uncommon in enterprise SQL stories). Patching/reboots: drain roles or fail over deliberately; quorum after node loss must still add up. In cloud (e.g. AWS), witness placement, AZ layout, and stretch networking still use the same quorum ideas — platform detail lives in your cloud note.

17
Q

When adding or restoring a node, what order do you think in (WSFC first vs SQL)?

A

Touch WSFC first (membership, quorum), then SQL (Always On, endpoint, replica) — your add-node/restore-node notes spell out the steps.