ms cluster 入門

 

 

 


Install

 

1. Server join Domain

All servers in the cluster must be in the same Active Directory domain.

2. 準備 heartbeat networks

10.10.10.1/252
      |
crossover cable
      |
10.10.10.2/252

3. Add features - "Failover Clustering"

所有參與 Cluster 的 Server 都要安

4. Add node (已有存在的 Cluster)

Start -> Administrative Tools -> Failover Cluster Management ->

Actions Tab -> Create a Cluster...

Nodes -> Right Click -> Add node

5. 準備 Shared Volumes - iscsi storage (非必要)

Start -> Administrative Tools -> iSCSI Initiator ->

 Targets tab -> Discovered targets -> Properties

  1. Change "Initiator Name"
  2. Input "CHAP"

Dicovery tab -> Discover Portal -> Add session -> Advanced -> click "Enable CHAP logon"

Remark:

在 failover cluster 上設定東西時, 一定要用 domain login 去做!!

 


Persistent Mode

 

Services and applications -> right click -> property

"Enable persistent mode"

Persistent mode sets the initial state of a resource or group when the cluster service starts.

By default, cluster roles have this setting disabled (except for Hyper-V virtual machine cluster roles)

When enabled, this remembers the last node the administrator onlined a group on, or moved a group to.  

The group will be hosted on this “default” node on next cluster cold start.

(Otherwise, all the resources will attempt to restart on the first nodes which achieve quorum and compete for resources.)

* Note that if the group’s preferred owners are defined, the preferred owners take precedence over the default owner.

 


Failover

 

Node failure

Resource failure-triggered group failover

Group is moved to the next node in its failover list, which first includes its preferred owners,

then other nodes in a unique order for the group, as described change #2 above.

Administrator-initiated group move

Group is moved to the first available preferred owner;

or if no preferred owner node is available, to a node with the fewest groups, as described in change #1 above.

Cluster cold start

Group is initially placed on a preferred or default owner that joins within “ClusterGroupWaitDelay” time,

default 30 seconds. (See information below about default owners and ClusterGroupWaitDelay)

 


Node and Disk Majority (要有 Common Storage 才用到)

 

過程:

  • 建立 Cluster
  • 建立 Storage
  • 設定

 


Cluster Shared Volumes (CSV)

 

CSV first introduced in Windows Server 2008 R2 for use with the Hyper-V role

shared disk containing an NTFS volume that is made accessible for read and write operations

by all nodes within a Windows Server Failover Cluster.

Benefits:

This enables a virtual machine (VM) complete mobility throughout the cluster

as any node can access the VHD files on the shared volume.

(CSV is not required for Live Migration of VMs)

 


 

Creative Commons license icon Creative Commons license icon