Archive for the ‘Windows 2012 Cluster’ Category

How to: Create a Failover Cluster (Setup) Windows Server 2012 Failover Cluster (Setup)   3 comments

To create a Windows server 2012 failover cluster you need just a few steps.

First we use the group creation to manage the servers easily. I name the Group as it would be my new SQL Cluster. I show you all the screens just so that you can find the options. Not every body find it easy to find the things that he has to do.

clip_image002 clip_image006

clip_image008 So we created the groups and we are adding the Failover cluster Roles to the nodes just right click and add roles and the wizard pops up choose the failover cluster tools do this for both nodes.

 clip_image016  clip_image018 

clip_image020 clip_image022

On top of the screen you can see on what node you install the Roles. Remember you don’t have to go to the node to install the roles you can do this in the server groups.

 

Or you can use Posh. there are a lot new powershell commands to find them it is easy you can use the *  The above Gui things can be done with one line Posh.

Now there are a few steps you can do to deploy roles

Get-WindowsFeature *

Get-WindowsFeature Failover-Clustering

clip_image024  clip_image026

As you can see this is on the remote cluster node ! I’m logged on on node 1 and it runs also on node 2

install-WindowsFeature Failover-Clustering

Or do it in

clip_image028 When We want to create a new cluster we can do this also in Posh just one line

New-Cluster -Name "myfirstcluster" -Node mvpwin8-n1 -NoStorage -StaticAddress "10.255.255.73"

Or gui again I show you all the screens just to see how fast posh is

clip_image030 clip_image032

clip_image034 clip_image036

clip_image038

Remember the validation reports are important to have if you setup fails or you cluster is in trouble run validation and see where to problem is.

clip_image040 clip_image042

7 clicks further your cluster is ready. now we are adding disk to the cluster and configure the witness disk

clip_image044 First in powershell.

My cluster name is : cluster8

the Get-ClusterAvailableDisk -Cluster cluster8

List all available disk

image

Get-ClusterAvailableDisk -Cluster cluster8

Get-ClusterAvailableDisk -Cluster cluster8 |Add-ClusterDisk

this adds all the disks to the cluster

or in the Gui

clip_image046  Now that the disk are ready we configure the Quorum disk

on top of the cluster right click and configure quorum.

image clip_image050

We have a two node cluster , use the recommended settings.

clip_image052 clip_image054

So all this in 3 lines powershell

install-WindowsFeature Failover-Clustering

Get-ClusterAvailableDisk -Cluster cluster8

New-Cluster -Name "myfirstcluster" -Node mvpwin8-n1 -NoStorage -StaticAddress "10.255.255.73"

 

 

Did you also see the little export line ? in the Roles installation field save it for later.

image it looks like this.

<?xml version="1.0"?>

<Objs xmlns="http://schemas.microsoft.com/powershell/2004/04" Version="1.1.0.1"><Obj RefId="0"><TN RefId="0"><T>System.Collections.ObjectModel.Collection`1[[System.Management.Automation.PSObject, System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T><T>System.Object</T></TN><LST><Obj RefId="1"><TN RefId="1"><T>Microsoft.Management.Infrastructure.CimInstance#root/Microsoft/Windows/ServerManager/ServerComponent_NET_Framework_Features</T><T>Microsoft.Management.Infrastructure.CimInstance#root/Microsoft/Windows/ServerManager/MSFT_ServerManagerServerComponentDescriptor</T><T>Microsoft.Management.Infrastructure.CimInstance#ServerComponent_NET_Framework_Features</T><T>Microsoft.Management.Infrastructure.CimInstance#MSFT_ServerManagerServerComponentDescriptor</T><T>Microsoft.Management.Infrastructure.CimInstance</T><T>System.Object</T></TN><ToString>ServerComponent_NET_Framework_Features</ToString><Props><Nil N="PSComputerName"/></Props>

 

So if you want to reuse / import this file on a fresh new server it can.

Import Configuration settings in windows 2012  based on exported Configuration settings in windows 2012

Go to powershell

install-WindowsFeature –configurationfilepath \\server\configfiles\savedconfig.xml

And your done

How to: Import Export (Setup) Windows Server 2012 configuration windows features   4 comments

If you want to build quick servers and add features to it and you don’t use #SCVMM then the export import is maybe the thing you can use.

Below is a sample on how to use this.

So we created the groups and we are adding the Failover cluster Roles to the nodes just right click and add roles and the wizard pops up choose the failover cluster tools do this for both nodes.

 clip_image016  clip_image018 

clip_image020 clip_image022

 

Did you also see the little export line ? in the Roles installation field save it for later.

image it looks like this.

<?xml version="1.0"?>

<Objs xmlns="http://schemas.microsoft.com/powershell/2004/04" Version="1.1.0.1"><Obj RefId="0"><TN RefId="0"><T>System.Collections.ObjectModel.Collection`1[[System.Management.Automation.PSObject, System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T><T>System.Object</T></TN><LST><Obj RefId="1"><TN RefId="1"><T>Microsoft.Management.Infrastructure.CimInstance#root/Microsoft/Windows/ServerManager/ServerComponent_NET_Framework_Features</T><T>Microsoft.Management.Infrastructure.CimInstance#root/Microsoft/Windows/ServerManager/MSFT_ServerManagerServerComponentDescriptor</T><T>Microsoft.Management.Infrastructure.CimInstance#ServerComponent_NET_Framework_Features</T><T>Microsoft.Management.Infrastructure.CimInstance#MSFT_ServerManagerServerComponentDescriptor</T><T>Microsoft.Management.Infrastructure.CimInstance</T><T>System.Object</T></TN><ToString>ServerComponent_NET_Framework_Features</ToString><Props><Nil N="PSComputerName"/></Props>

 

So if you want to reuse / import this file on a fresh new server it can.

Import Configuration settings in windows 2012  based on exported Configuration settings in windows 2012

Go to powershell

install-WindowsFeature –configurationfilepath \\server\configfiles\savedconfig.xml

And your done

 

Happy Building.

Hyper-V and Failover Clustering Poster   Leave a comment

Microsoft

Windows Server 2012 Hyper-V Component Architecture Poster and Companion References

Provides a visual reference for understanding key Hyper-V technologies in Windows Server 2012 and focuses on Hyper-V Replica, networking, virtual machine mobility (live migration), storage, failover clustering, and scalability.

The links in this section correspond to files available for this download. Download the files appropriate for you.

Poster Companion Reference – Hyper-V and Failover Clustering.pdf
Download

Poster Companion Reference – Hyper-V Replica.pdf

Download

Windows Server 2012 Hyper-V Component Architecture Poster For Printing.pdf

Download

This poster and and the companion references provide an understanding about key Hyper-V technologies in Windows Server 2012. The Hyper-V poster focuses on Hyper-V Replica, networking, virtual machine mobility (live migration), storage, failover clustering, and scalability. For posters related to earlier operating systems, see:

image_thumb[1]

Microsoft Tech Ed 2012: Continuous Availability Documentation   1 comment

Microsoft Tech Ed 2012: Continuous Availability Documentation

 

These documents supplement the Microsoft TechEd 2012 sessions related to continuous availability. They cover topics such as Scale-Out File Server, Cluster-Aware Updating, SMB 3.0, and NIC Teaming.

 

File name Size
Continuously Available File Server – Under the Hood.docx 60 KB Download
How to Increase SQL Availability and Performance by Using Window Server 2012 SMB 3.0 Solutions.docx 3.0 MB Download
Hyper-V Over SMB Remote File Storage Support in Windows Server 2012 Hyper-V.docx 3.0 MB Download
Update Management in Windows Server 2012 Revealing Cluster-Aware Updating and the New Generation of WSUS.docx 3.0 MB Download
Windows Server 2012 Cluster-in-a-Box, RDMA, and More.docx 3.0 MB Download
Windows Server 2012 File and Storage Services Management.docx 3.0 MB Download
Windows Server 2012 High-Performance, Highly-Available Storage Using SMB.docx 3.0 MB Download
Windows Server 2012 NIC Teaming and Multichannel Solutions.docx 3.0 MB Download

Windows Server 2012 contains a set of continuously available storage solutions that provide a cost effective alternative to an expensive storage area network (SAN) without sacrificing availability and performance. These solutions are targeted towards traditional information worker workloads and application workloads, and they span the scalability and price point needs for different market segments. Systems go from entry-level solutions to scale-out solutions with up to 400 drives. These solutions are based on software that is developed by several teams at Microsoft, hardware that is already in the market, and hardware that is being developed in cooperation with industry partners. These documents supplement the Microsoft TechEd 2012 sessions related to continuous availability. They introduce the new and enhanced features of Windows Server 2012 and cover topics such as Scale-Out File Server, Cluster-Aware Updating, SMB 3.0, and NIC Teaming.

Clustering DHCP on Windows 2012 Step by Step.   Leave a comment

Windows 2012 Clustering is just as easy as in windows 2008R2

In a few samples step by step I show you how to do clustering.

Now I cluster a DHCP server.

In the cluster you can create a resource , this resource option must be installed on all your cluster nodes !

So I choose DHCP and want to create a cluster a wizard pop’s up and follow…

 

clip_image003 clip_image005

Fill in a NetBIOS name this name will be created in the AD.

 

clip_image007 clip_image009

I select a disk that will hold the Database.

clip_image011 clip_image013

and a nice warning this I have only one node. I need to add the second node.

clip_image015 clip_image017

In the cluster manager you can see the just created resources and as you can see the DHCP resource is not online. Why ? well in the error screen you can see

clip_image019

Cluster network name resource ‘MVPDHCP79′ failed to create its associated computer object in domain ‘mvp.local’ during: Resource online.

The text for the associated error code is: A constraint violation occurred.

Please work with your domain administrator to ensure that:

- The cluster identity ‘CLUSTER12$’ has Create Computer Objects permissions. By default all computer objects are created in the same container as the cluster identity ‘CLUSTER12$’.

- The quota for computer objects has not been reached.

- If there is an existing computer object, verify the Cluster Identity ‘CLUSTER12$’ has ‘Full Control’ permission to that computer object using the Active Directory Users and Computers tool.

Cluster resource ‘MVPDHCP79′ of type ‘Network Name’ in clustered role ‘MVPDHCP79′ failed.

The cluster identity ‘CLUSTER12$’ has Create Computer Objects permissions. By default all computer objects are created in the same container as the cluster identity ‘CLUSTER12$’.

 

Ok seams clear to me the Cluster computer object has no access to create a object in the AD.

Easy to fix just give the account god mode and your done… Well yes but I do it different.

In the AD I created a OU where I placed My Cluster resources.

 

clip_image021 clip_image023

In my OU I do delegation of Control

clip_image025 clip_image027

I pick my cluster netbiosname and choose what to do with it. custom rule

clip_image029 clip_image031

and create object is this folder this way I have control over who and what is creating objects in my AD , all I need is that the cluster computer account can create objects in the AD.

clip_image033 clip_image035

And in my cluster I bring the DHCP online and yes is is online and in the AD there is my DCHP object

clip_image037 clip_image039

And it is creating the objects in the cluster OU

  • Now Reading

    Microsoft Windows Server vNext
  • Follow

    Get every new post delivered to your Inbox.

    Join 1,241 other followers

    %d bloggers like this: