Quantcast
Viewing all articles
Browse latest Browse all 19

Build SCVMM 2012 SP1 Cluster on virtual Machine, Virtual Cluster on Hyper-V 2012 Part 1

Image may be NSFW.
Clik here to view.
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 may be NSFW.
Clik here to view.
image

 

Image may be NSFW.
Clik here to view.
image

  • Configure distributed Key Management (DKM)

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

Image may be NSFW.
Clik here to view.
clip_image002[23]

Image may be NSFW.
Clik here to view.
clip_image002[25]

Image may be NSFW.
Clik here to view.
clip_image002[27]

Image may be NSFW.
Clik here to view.
image

grant Vmmadmins rights for this AD  object

 

Image may be NSFW.
Clik here to view.
image

Image may be NSFW.
Clik here to view.
image

Image may be NSFW.
Clik here to view.
image

Image may be NSFW.
Clik here to view.
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 may be NSFW.
Clik here to view.
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 may be NSFW.
Clik here to view.
image

 

  • Install Failover Manager
  • Install .NET Framework 3.5 Feature

Image may be NSFW.
Clik here to view.
clip_image002

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

Image may be NSFW.
Clik here to view.
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

Image may be NSFW.
Clik here to view.
clip_image002[7]

 

Image may be NSFW.
Clik here to view.
clip_image002[9]

 

Image may be NSFW.
Clik here to view.
clip_image002[11]

 

Image may be NSFW.
Clik here to view.
clip_image002[13]

 

Image may be NSFW.
Clik here to view.
clip_image002[15]

 

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

Image may be NSFW.
Clik here to view.
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.

Image may be NSFW.
Clik here to view.
clip_image002[31]

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

Image may be NSFW.
Clik here to view.
clip_image002[33]

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

Image may be NSFW.
Clik here to view.
clip_image002[35]

Image may be NSFW.
Clik here to view.
clip_image002[37]

Image may be NSFW.
Clik here to view.
clip_image002[39]

Image may be NSFW.
Clik here to view.
clip_image002[41]

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

Image may be NSFW.
Clik here to view.
clip_image002[43]

Image may be NSFW.
Clik here to view.
clip_image002[45]

Image may be NSFW.
Clik here to view.
clip_image002[47]

Image may be NSFW.
Clik here to view.
clip_image002[49]

Image may be NSFW.
Clik here to view.
clip_image002[51]

Image may be NSFW.
Clik here to view.
clip_image002[53]

Image may be NSFW.
Clik here to view.
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.

Image may be NSFW.
Clik here to view.
clip_image002[57]

Image may be NSFW.
Clik here to view.
clip_image002[59]

 

Image may be NSFW.
Clik here to view.
clip_image002[61]

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

Image may be NSFW.
Clik here to view.
clip_image002[63]

Image may be NSFW.
Clik here to view.
clip_image002[65]

Image may be NSFW.
Clik here to view.
clip_image002[69]

Image may be NSFW.
Clik here to view.
clip_image002[67]

Image may be NSFW.
Clik here to view.
clip_image002[71]

don’t need anything here for quorum

Image may be NSFW.
Clik here to view.
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 may be NSFW.
Clik here to view.
image

Image may be NSFW.
Clik here to view.
image

 

I’m not going to repeat similar steps here.

Image may be NSFW.
Clik here to view.
clip_image002[75]

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

 

To be continued….


Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 19

Trending Articles