Skip navigation

image

Last week, I presented my design chart of my Lab. Today, I’m going to build SCVMM2012 cluster on Virtual Machine. In another word, this post will also show you how to build Virtual Cluster on Hyper-V.

Environment:

Physical Host:

Before you start, you need to make sure that you have at least one Hyper-v Host available. You will also need a windows File Server which will provide quorum disk for your vmm cluster. You can use a virtual file server(Windows 2012) but I have a physical box.

Clearly, you need a virtual SQL server as database source.

Virtual Machine:

Since we are building cluster, so you will need to VMs which I install Windows 2012 on that. Each VM has 2 nics. One is heartbeat and the other is for production and management.

What you will install on VMM01 and VMM02:

  • AD Preparation

Create two user accounts, svc_vmm and svc_vmmadmin

image

 

image

  • Configure distributed Key Management (DKM)

DKM is critical for VMM which stores encryption key for both VMM servers to access.

clip_image002[23]

clip_image002[25]

clip_image002[27]

image

grant Vmmadmins rights for this AD  object

 

image

image

image

image

 

  • Install Windows 2012 Standard version

Build windows 2012

Add IP address

Join VM into domain

Turn off Firewall

Enable Remote Desktop

Disable IE security

Disable UAC

test remote winrs /r:vmm01 ipconfig

image

  • Add SCVMM accounts into local Administrator groups

You must add those two accounts separately.

Please DO NOT create a group and put users into group and put group into local administrator group, because it won’t work!

image

 

  • Install Failover Manager
  • Install .NET Framework 3.5 Feature

clip_image002

When you install that, be aware you need to have Windows 2012 ISO or CD ready like following

clip_image002[5]

You instruct installation application where to find source code, otherwise, it will fail.

Tip:

You will be surprised that how many features actually coded base on 3.5 rather than 4.1. This is one of “must install” for me every time I install a VM.

  • Install Windows ADK for Windows 8

clip_image002[7]

 

clip_image002[9]

 

clip_image002[11]

 

clip_image002[13]

 

clip_image002[15]

 

  • Install SQL Native Client (I’m using SQL 2008 R2 SP1)
  • Install SQL Command Line Utilities

clip_image002[17]

Build windows 2012 File Server

A file server is important for cluster. As cluster, you need a quorum disk which can be accessed by all members of cluster so they can exchange data, voting etc. You can have a NAS or SAN blah,blah, but the cheapest way is to use a free windows Server to provide shared folder. Windows 2012 cluster has this capability to use this share folder as quorum storage, thank for SMB 3.0 which allows multiple accesses at same time.

By saying that, we can also build iSCSI features on both File server and VMM01,02. No additional software required, Windows 2012 will allow us to have a iSCSI storage. I will write another post about it.

Let’s install

Make sure you have these service installed on your windows File server.

clip_image002[31]

You will also need a separated physical disk attached to file server.

clip_image002[33]

Once you have this physical disk, you can build a new storage Pool.

clip_image002[35]

clip_image002[37]

clip_image002[39]

clip_image002[41]

Now, I have storage Pool, I will start build a virtual disk on the pool.

clip_image002[43]

clip_image002[45]

clip_image002[47]

clip_image002[49]

clip_image002[51]

clip_image002[53]

clip_image002[55]

You will also need to build another virtual disk for storing VMs as to be used by VMMLibrary Role later on.

Now, you need to install Share feature.

clip_image002[57]

clip_image002[59]

 

clip_image002[61]

Once that’s done, Let’s come back and share the quorum

clip_image002[63]

clip_image002[65]

clip_image002[69]

clip_image002[67]

clip_image002[71]

don’t need anything here for quorum

clip_image002[73]

However, we do need permission to be added here. You need to add svc_vmm, svc_vmmadmin and also two VMM computer AD objects.

image

image

 

I’m not going to repeat similar steps here.

clip_image002[75]

With this File server, you can also build quorum for Hyper-v Hosts as well.

 

To be continued….

One Trackback/Pingback

  1. […] storage via SMB 3.0 Share and iSCSI. If you are looking for how to do SMB 3.0 share, please follow this link. Windows 2012 also provide native version of iSCSI feature which includes a iSCSI Server end and […]

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

Follow

Get every new post delivered to your Inbox.

Join 124 other followers

%d bloggers like this: