Cluster operating system rolling upgrade

Posted: December 30, 2016 in Windows Server

Cluster OS Rolling Upgrade is a Windows Server 2016 feature that enables upgrade the operating system of the cluster nodes from Windows Server 2012 R2 to Windows Server 2016 without stopping the Hyper-V or the Scale-Out File Server workloads.

In this example we’ll upgrade Windows Server 2012 R2 cluster  to Windows Server 2016.

We have 2 nodes:cluster-01 and cluster-02

Backing up cluster configuration:

On both node install windows backup (if not already)

Install-WindowsFeature 'windows-server-backup' -IncludeManagementTools -IncludeAllSubFeature

1-1.PNG

1.PNG

1-2.PNG

1-3.PNG

1-4

1-5.PNG

Or with PowerShell:

wbadmin start backup -backupTarget:\\rd-sh\backup\ -include:C: -vssFull -quiet

If you are running Cluster Aware Updates (CAU), verify if CAU is currently running:

2

If it’s running,disable it:

Disable-CauClusterRole

Pause node:

Right-click node-Pause-Drain Node:

3.png

Or:

Suspend-ClusterNode -name cluster-02

4

Evict paused node from cluster:

Right click node-More Action-Evict:

5.png

Or:

Remove-ClusterNode -Name cluster-02

Upgrade node or delete it and create new VM with Windows Server 2016

I inserted Windows Server 2016 DVD and run setup

6

7.PNG

Only nothing was available for me

8.PNG

Install file server  (or Hyper-V if it’s Hyper-V cluster) and cluster role

install-windowsfeature fs-fileserver,failover-clustering -IncludeAllSubFeature -IncludeManagementTools

Add this node to cluster:

9.png

10

11

Or:

Add-ClusterNode -Name cluster-02 -Cluster test_cluster -NoStorage

Check cluster functional level:

get-cluster | select ClusterFunctionalLevel

12

If therer is any node with Windows Server 2012 Cluster functional level would be 8:(Mixed-OS mode: Windows Server 2012 R2 and Windows Server 2016 Failover cluster)

Repeat steps above for every node.When all nodes are upgraded to Server 2016 we can perform Cluster upgrade

Update-ClusterFunctionalLevel

 

13

Cluster Functional Level is now 9 (Windows Server 2016)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s