0% found this document useful (0 votes)
235 views114 pages

Building Your Own Private Cloud - Home Lab: Prepared by

This document provides instructions for building a private cloud home lab. It outlines prerequisites like hardware, software, and an Active Directory forest. It describes the architectural design including Hyper-V virtual switch components before and after private cloud creation. It then covers planning tasks like IP and VLAN allocation, security group mappings, and switch configurations. The document proceeds to guide the reader through steps like creating iSCSI storage, installing SCVMM, configuring highly available VMM servers, adding storage and file shares to VMM, creating virtual NICs on Hyper-V hosts, and more to fully stand up the private cloud environment.

Uploaded by

ssitha6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
235 views114 pages

Building Your Own Private Cloud - Home Lab: Prepared by

This document provides instructions for building a private cloud home lab. It outlines prerequisites like hardware, software, and an Active Directory forest. It describes the architectural design including Hyper-V virtual switch components before and after private cloud creation. It then covers planning tasks like IP and VLAN allocation, security group mappings, and switch configurations. The document proceeds to guide the reader through steps like creating iSCSI storage, installing SCVMM, configuring highly available VMM servers, adding storage and file shares to VMM, creating virtual NICs on Hyper-V hosts, and more to fully stand up the private cloud environment.

Uploaded by

ssitha6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 114

Building Your Own Private Cloud – Home Lab

Prepared by

Manish Dhall
Revision

Change Record
Date Author Version Change reference
April 22 2013 Manish Dhall 1 Rev 1
April 30 2013 Manish Dhall 1 Rev 2

Page ii
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Table of Contents
1 Introduction .......................................................................................................... 1

2 Background ........................................................................................................... 1

3 Flow of the Step-by-Step Guide ............................................................................. 1

4 Terminology Used ................................................................................................. 3

5 Prerequisites ......................................................................................................... 3
5.1 Infrastructure Components.............................................................................................. 3
5.1.1 Physical Servers / Hardware ...................................................................................................... 3
5.1.2 Software .................................................................................................................................... 4
5.2 Active Directory Forest .................................................................................................... 4
5.3 Hyper-V Host with no VMs workload ............................................................................... 4
5.4 Hyper-V Host with VMs workload .................................................................................... 4

6 Architectural Design .............................................................................................. 1


6.1 Home Lab Overview......................................................................................................... 1
6.2 Hyper-V Virtual Switch Architecture - Before & After ....................................................... 2
6.3 Hyper-V Virtual Switch Components - Before & After....................................................... 3
6.4 VMM Networking Creation Process Flow ......................................................................... 1

7 Planning ................................................................................................................ 2
7.1 IP, Subnet & VLAN ........................................................................................................... 2
7.2 Managed Switch Configurations ...................................................................................... 2
7.3 Security Groups Mapping to VMM Roles.......................................................................... 2
Administrators................................................................................................................. 2
Fabric Administrators ...................................................................................................... 2
Read Only Administrators ................................................................................................ 2
Tenant Administrators ..................................................................................................... 2
Application Administrators .............................................................................................. 3

8 Creating iSCSI Target Storage ................................................................................. 3


8.1 Storage Space Workflow .................................................................................................. 3
8.2 Creating a LUN................................................................................................................. 3
Creating a Storage Pool.................................................................................................... 3
Creating Storage Space (Virtual Disk) ............................................................................... 4
Create a Volume .............................................................................................................. 6
Page iii
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
8.3 Presenting the LUN to another Host over iSCSI ................................................................ 8
8.4 Creating Volume on the Host ......................................................................................... 10

9 SCVMM SP1 Installation ...................................................................................... 12


9.1 Systems Requirements .................................................................................................. 12
9.2 Software Requirements ................................................................................................. 12
9.3 SQL Server Installation ................................................................................................... 13
9.4 Installing VMM SP1........................................................................................................ 17

10 Installing Highly Available VMM Management Server ..................................... 19


10.1 Prerequisites ................................................................................................................. 19
10.2 Installation Process High Available VMM ....................................................................... 19

11 Configuring Storage in VMM ........................................................................... 20


11.1 Prerequisites / Supported types ..................................................................................... 20
Block Storage................................................................................................................. 20
File Storage.................................................................................................................... 20
Windows Storage Management API (SMAPI) ................................................................. 20
SMB 3.0 File Shares........................................................................................................ 20
Dos & Don’t’s................................................................................................................. 20
11.2 Adding A File share to VMM for VMs deployment in Private Cloud ................................ 21
Provision an iSCSI LUN ................................................................................................... 21
Add a Storage Device thru Providers .............................................................................. 21
Add a File Share ............................................................................................................. 22
Present the VMM Managed Share to the Hyper-V Clustered Host Group ....................... 23

12 Configuring VMM Library ................................................................................ 24


Library Resource Types .................................................................................................. 24
12.1 Creating A VMM Library Share ....................................................................................... 25
Associate the new share with the Host Group................................................................ 26
Add Resources to the VMM Library Share ...................................................................... 27

13 Creating Virtual NICs on Hyper-V Hosts ........................................................... 27


Hyper-V Configurations with Teaming............................................................................ 27
Hyper-V Host before creating Converged Teamed Logical Switch ................................... 27
Virtual Switch Manager view on Host ............................................................................ 27
Change the Global Settings on VMM.............................................................................. 28
Add Host/s in VMM under the designated Host Group.................................................. 28

Page iv
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Create Logical Networks & Associate a Network Site for each Logical Network .............. 28
Create IP Pool ................................................................................................................ 29
Crate Port Profile ........................................................................................................... 31
Native Profile................................................................................................................. 32
Port Profile for Management ......................................................................................... 32
Create Logical Switch, to be applied to the Host ............................................................ 34
Add Converged Uplink Port Profile created in the previous step .................................... 35
Create VM Networks & assign them to Logical Networks created earlier ....................... 37
Host view for Logical Switches, before changes.............................................................. 38
Create Logical Converged Teamed Switch on the Host ................................................... 39
Create Virtual Network Adapter with the linked Port Profiles & VM Networks ............... 39
Adding multiple Physical NICS in the Team..................................................................... 40
Moving the VMs to new Converged Logical Switch ........................................................ 40
Moving the Management Network to the new Converged Logical Switch ...................... 40
DNS Cache refresh ......................................................................................................... 41

14 Configuring second Hyper-V Host with Converged Teamed Logical Switch ....... 42
Create Logical Converged Teamed Switch on the Host ................................................... 42
Adding multiple Physical NICS in the Team..................................................................... 43

15 Configuring File Servers with Converged Teamed Logical ................................. 44


Create Logical Networks ................................................................................................ 44
Create Converged Team Uplink Port Profile ................................................................... 44
Create Logical Switch ..................................................................................................... 45
Create VM Networks ..................................................................................................... 47
Create Logical Converged Teamed Switch on the File Servers ........................................ 48

16 Building High Available File Server (Storage) Cluster ........................................ 49


SCVMM view of Converged Logical Switch on File Servers.............................................. 49
Network Connections view of FS1 .................................................................................. 49
Network Connections view of FS2 .................................................................................. 50
IPs & VLANs to be used for FS-Cluster ............................................................................ 50
Disk Management view of FS1 before creating Cluster................................................... 50
Disk Management view of FS2 before creating Cluster................................................... 50
Creating High Available FS Hyper-V Cluster .................................................................... 50
Rename the Cluster Network names to be more descriptive .......................................... 51
Disk Management view of FS1 after creating Cluster...................................................... 51

Page v
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Disk Management view of FS2 after creating Cluster...................................................... 51

17 Building High Available Compute Cluster......................................................... 52


SCVMM view of Converged Logical Switch on Hyper-V Hosts ......................................... 52
Network Connections view of Hyper-V Host1................................................................. 52
Network Connections view of Hyper-V Host2................................................................. 53
IPs & VLANs to be used for FS-Cluster ............................................................................ 53
Creating High Available Compute Hyper-V Cluster ......................................................... 53
Disk Management view of Host1 after creating Cluster .................................................. 54
Disk Management view of Host2 after creating Cluster .................................................. 54

18 Managing Fabric Updates ............................................................................... 55


18.1 Prerequisites ................................................................................................................. 55
18.2 Adding WSUS Server to VMM ........................................................................................ 56
Configure Update Baseline............................................................................................. 56
Scan for Update Compliance .......................................................................................... 57
Performing Update Remediation ................................................................................... 57
Remediate Updates on Stand-Alone Hyper-V Host......................................................... 58
Perform Rolling updates on a Hyper-V Host Cluster ....................................................... 58
Update Exemptions ....................................................................................................... 59
On Demand WSUS Synchronizations .............................................................................. 60

19 Creating a Private Cloud.................................................................................. 61


19.1 Requirements & Prerequisites ....................................................................................... 61
VM Library Share Structure for Private Cloud (PvtCloud1) .............................................. 62
19.2 Creating A Private Cloud (PvtCloud1) ............................................................................. 62
Creating Private Cloud from Host Groups....................................................................... 62
Capacity of the Private Cloud ......................................................................................... 65
Deleting the Private Cloud ............................................................................................. 65

20 Calculating Host Ratings.................................................................................. 65

21 Creating & Deploying Virtual Machine ............................................................ 66


21.1 Creating & Preparing a Gold Image Master VM for future Deployments ........................ 66
Create a new VM ........................................................................................................... 66
Create a copy of the VHDX file of the VM....................................................................... 70
Create a clone of the VM with a new name.................................................................... 70
21.2 Create and deploy a new VM manually from Master Gold Image VHDX without VMM... 71

Page vi
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Start the Cloned VM ...................................................................................................... 71
Sysprep Process ............................................................................................................. 71
21.3 Create and deploy a new VM using a virtual machine template in VMM ........................ 72
Creating VM Template ................................................................................................... 72
Deploy VM using Template ............................................................................................ 74

22 Deploying App Controller ................................................................................ 76


22.1 Requirements ................................................................................................................ 76
22.1.1 Hardware & Software Requirements...................................................................................... 76
22.1.2 App Controller Deployment Checklist ..................................................................................... 77
22.1.3 App Controller Maintenance Checklist .................................................................................... 77
22.2 Installing APP Controller ................................................................................................ 78
Installing SQL Server ...................................................................................................... 78
Installing VMM Console ................................................................................................. 83
Run & Complete Windows Updates ............................................................................... 85
Installing APP Controller ................................................................................................ 85
How to Enable SSO for App Controller ........................................................................... 88
To turn On Constrained Delegation ................................................................................ 89
Installing PowerShell Module for APP Controller............................................................ 89
Opening the APP Controller Console .............................................................................. 89
22.3 Administering App Controller ........................................................................................ 89
User Roles ..................................................................................................................... 90
Library Resources .......................................................................................................... 90
Permissions on File Shares ............................................................................................. 90
Adding a High Available Network File Share ................................................................... 90
Copy Files & VMM Templates between File Shares & Private Clouds ............................. 91
Setting Up Public & Private Clouds ................................................................................. 91
Connecting VMM to App Controller ............................................................................... 91
Remove Connection to a Private Cloud .......................................................................... 92
Change or View Run As Accounts ................................................................................... 93
Configuring VMM Connection Properties ....................................................................... 93
View the Status of a Job ................................................................................................. 93

23 References...................................................................................................... 95
23.1 Configuring Networking in VMM Overview .................................................................... 95
23.2 Common Scenarios for Networking in Virtual Machine Manager ................................... 95
23.3 Configuring Ports and Switches ...................................................................................... 95
Page vii
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
23.4 VMM2012 Host and VM Networking ............................................................................. 95
23.5 Object Model for Logical Switch..................................................................................... 95

25 Annex-A – Misc. Commands ............................................................................ 97


25.1 Domain Time Sync ......................................................................................................... 97

27 Annex-B – SC2012 SP1 Configuration Analyzer Setup....................................... 98


Downloads .................................................................................................................... 98
Installation .................................................................................................................... 98
Configuring Server & Client ............................................................................................ 98
Enable CredSSP.............................................................................................................. 98

29 Annex-C - Deleting the Converged Switch........................................................ 99


Delete Logical Sites from Logical Networks .................................................................... 99
Un-associate all VMs on Hyper-V from using the Converged Switch components ........... 99
Delete the vNICs ............................................................................................................ 99
Remove the Converged Switch from Hyper-V Host ........................................................ 99
Remove VM Networks ................................................................................................... 99
Remove Uplink Port Profile ............................................................................................ 99
Remove Logical Switch................................................................................................... 99
Remove Port Profile....................................................................................................... 99
Remove IP Pool Cluster .................................................................................................. 99
Remove Network Site .................................................................................................... 99
Remove Logical Network ............................................................................................... 99
Entire Converged Switch has been collapsed.................................................................. 99

Page viii
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
1 Introduction
This guide helps in setting up the Private Cloud Fabric Layer in Home Lab.

Private/Home labs are vital to everyone in IT, providing isolated test environments of learning and
testing. These environments can be challenging to put together and simulate what we may see at
our customers – and this topic is the purpose of this presentation.

The guide contains step by step instructions for standing up the LAB components, setup the
Converged Teamed Switch, and then migrate the existing VMs workload from traditional Hyper-V
switch to the newly created Converged Teamed Network Switch, with no downtime for Hyper-V
Host & VMs.

2 Background
This Step-by-Step Guide is developed as an extracted contents from several Datacentre
Optimization, Private Cloud Trainings and TechNet Guides. For deeper dive with recommended
best practices, it is highly recommended to refer the appropriate guides, as mentioned.

This document has strength of cutting the chase, and standing up the Home lab environment’s
Private Cloud Fabric layer in a speedier & recommended way.

3 Flow of the Step-by-Step Guide


Steps Details
Terminology Used Section contains List of Acronyms with the
descriptions, used in this guide
Prerequisites Section contains various pre-requisites including
Hardware, Software, Logical infrastructure for
completing the Home Lab build.
Architectural Design Section contains architecture figures including Home
Lab Overview, Hyper-V Switch Architecture &
Components with the comparison of Windows 2008
with Windows 2012, VMM Networking creation
processes.
Planning Section contains Planning part of IPs, Subnet, VLAN
schemes, Managed Switch Configurations projecting
VLANs, & Security Groups mapping for VMM Roles in
Home building Lab
Creating iSCSI Target Storage Section contains step by step instructions in setting
up an iSCSI Target, to be used as carving out &
presenting the required LUNs for VMM Server, High
Available Compute & Storage Clusters.

Page 1
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
SCVMM SP1 Installation Section Contains step by step instructions for
complete installations of System Center Virtual
Machine Manager SP1
Installing Highly Available VMM Management Server Section contains Prerequisite, Facts, Limitations, Dos
& DON’Ts in setting up the High Available SCVMM
SP1.
Configuring Storage in VMM Section contains supported Storage types with Dos &
DON’Ts, followed with setting up a High Available
Network File Share in VMM Library, to be used for
Files, VMs, ISOs and other Library components
transfer between Private Cloud & Local Network
space.
Configuring VMM Library Section contains types of VMM Library resources &
step by step instructions to setup VMM library share
Creating Virtual NICs on Hyper-V Hosts Section contains step by step instructions for creating
a converged Virtual Network Switch on Hyper-V Hosts
using SCVMM 2012 SP1
Configuring second Hyper-V Host with Converged Section contains step by step instructions for creating
Teamed Logical Switch a converged Virtual Network Switch on Hyper-V Hosts
using SCVMM 2012 SP1
Configuring File Servers with Converged Teamed Section contains step by step instructions for creating
Logical a converged Virtual Network Switch on Hyper-V Hosts
using SCVMM 2012 SP1
Building High Available File Server (Storage) Cluster Section contains step by step instructions in building
High Available Hyper-V Clusters to be served as High
Available Storage Cluster
Building High Available Compute Cluster Section Contains step by step instructions in building
High Available Hyper-V Clusters to be served as High
Available Compute Cluster
Managing Fabric Updates Section contains step by step instructions in
configuring SCVMM to use WSUS Server for deploying
the Windows updates on Fabric Components
Creating a Private Cloud Section contains step by step instructions to setup a
Private Cloud (For this lab I used the name PvtCloud1)
on the Fabric Layer.
Calculating Host Ratings Section contains the explanations of rating
mechanisms of Hyper-V Hosts in placement process
of VMs
Creating & Deploying Virtual Machine Section contains step by step instructions in creating
a Gold Image Master VM to be used in deploying
future VMs using VMM’s Template feature & manual
process without using VMM’s Template feature
Deploying App Controller Section contains step by step instructions in
deployment of App Controller
References Section contains additional references for deep dive
Section contains additional useful commnads
Annex-A – Misc. Commands

Page 2
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
Section contains steps to setup System Center 2012
Annex-B – SC2012 SP1 Configuration Analyzer Setup SP1 Configuration Analyzer
Section contains steps to delete the converged virtual
Annex-C - Deleting the Converged Switch network switch on Hyper-V Hosts

4 Terminology Used
Acronym Details Notes
VM Virtual Machine A guest operating system running on Hyper-V Host
vSwitch Virtual Switch How a guest VM connects to a network.
vNIC Virtual NIC A software NIC created in VM guest & Host Operating System
P-NIC Physical NIC Physical NIC on the Physical Server as a member of the
Teamed NIC
tNIC Teamed NIC A software NIC created with LBFO NIC Teaming. It contains
one or more Physical NICs as its team members.
VLAN Virtual Local Area Network A single layer-2 network may be partitioned to create
multiple distinct broadcast domains, which are mutually
isolated so that packets can only pass between them via one
or more routers; such a domain is referred to as a Virtual
Local Area Network, Virtual LAN or VLAN.
LNet Logical Network Logical Networks created using VMM Console
HV-HB Hyper-V Heartbeat Dedicated network subnet on a dedicated VLAN for Hyper-V
Heartbeat communications
HV-LM Hyper-V Live Migration Dedicated network subnet on a dedicated VLAN for Hyper-V
VMs Live Migrations

5 Prerequisites
The following Prerequisites must be met to complete the process outlined in the document.

5.1 Infrastructure Components


To produce the step by step guide, a Lab environment has been created with the following
components.

5.1.1 Physical Servers / Hardware


Server Name Server Role OS with Roles
Host1 Compute Layer Windows 2012 w/ Hyper-V Role
Host1 Compute Layer Windows 2012 w/ Hyper-V Role

Page 3
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
FS1 Storage Layer Windows 2012 w/ Hyper-V Role
FS2 Storage Layer Windows 2012 w/ Hyper-V Role
iSCSI-Tgt  iSCSI Target presenting LUNs Windows 2012 w/ iSCSI Target Role
 SCVMM SP1 System Center Virtual Machine Manager SP1
Managed Switch VLAN & QoS

5.1.2 Software
Type Details
Operating System Windows 2012 x64 Datacentre Edition
System Center 2012 SP1 System Center Virtual Machine Manager SP1
System Center App Controller SP1
SQL SQL Server 2012 x64 Standard or Datacentre Edition
Dependent Components Various dependent components are listed under the
product installation process
 Windows Remote Management (WinRM) service
 Microsoft .NIT Framework 4 / 4.5
 Windows deployment and installation kit

5.2 Active Directory Forest


A fictitious functional AD Forest is created in the lab environment with the name ADIT.COM. All of
the Physical Servers used in this guide are member servers of the domain ADIT.COM

5.3 Hyper-V Host with no VMs workload


The installation of Windows Server 2012 with Hyper-V must be completed per suggested best
practices, prior to attempting this scenario.

5.4 Hyper-V Host with VMs workload


A production Hyper-V Host with teamed NICs supporting traditional configured vSwitch/s for VMs
workload must exist.

Page 4
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
6 Architectural Design

6.1 Home Lab Overview


Converged Private Cloud Architecture - Home Lab

AppController

Tools

Hyper-V VMs SMB Share


AdminPC-MD
Cluster
VMs CSV
LAN-Cluster

LAN-Cluster
Quorum-Hyper-V
Team-LAN-VMs

Team-LAN-VMs
LAN-HostMgmt

LAN-HostMgmt

Teamed NICs
Teamed NICs
Teamed NICs

iSCSI Target
HA FS
& VMM Clustered
Roles
3 TB

1 TB
950 MB Quorum-FS

500 GB VMM Library


HA SMB Share

1 GB Quorum-Hyper-V
DC1 DC2
DC3 DC4
1 TB VMs CSV
ADIT.com Default Site
600 GB VMs HA SMB Share

Page 1
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
6.2 Hyper-V Virtual Switch Architecture - Before & After
Hyper-V Switch Hyper-V Switch
Before After
iSCSI Target iSCSI Target

Teamed NIC LBFO Teamed NIC


P-NIC1 P-NIC2 P-NIC1 P-NIC2

192.168.2.0/24 192.168.2.0/24

Site

P-NIC6
vNIC-

LNet
P-NIC3

LM
172.16.13.0/24
172.16.13.0/24

Hyper-V Converged Teamed vSwitch


V-NIC-HB
Management OS

Management OS
Site

vNIC-
10.10.13.0/24

LNet
vNIC-LM

LM
P-NIC2
10.10.13.0/24

P-NIC5
vNIC-Mgmt

Site

Mgmt
vNIC-
192.168.2.0/24

LNet
192.168.2.0/24

P-NIC4
LBFO Teamed NIC
P-NIC4
VM VM

P-NIC3
External

P-NIC5
VM VM
vSwitch 192.168.2.0/24
Teamed NIC

VM VM

Hyper-V Host
P-NIC6

P-NIC2
Hyper-V Host
Internal Internal
VM
vSwitch VM vSwitch
P-NIC1

P-NIC1
Internal Internal
VM vSwitch VM vSwitch

Page 2
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
6.3 Hyper-V Virtual Switch Components - Before & After
Windows 2008 R2 SP1 Windows 2012 / SCVMM SP1

Physical NICs
Physical NICs
Host

Teamed NIC
Teamed NIC

Host
Logical Switch
(vSwitch)

vSwitch

Virtual Adapter Port


Uplink Port Profile
VMM Profile

Fabric
Logical Network

Logical Network

VMM
Fabric Logical Network Site
Definition
Logical Network Site
Definition

VM vNIC
VM vNIC

VM vSwitch
VM
VM Network Virtual Adapter Port
Connection Profile

VLAN ID VLAN ID

Page 3
Building Your Own Private Cloud – Home Lab, Version 1
Prepared by [email protected]
6.4 VMM Networking Creation Process Flow

Physical NICs
Host

Site / IP Pool
Logical Network
/ VLAN

Virtual Adapter Port


Uplink Port Profile
Profile
VMM
Fabric

Logical Switch
Virtual Ports
(vSwitch)

VM Network Logical Network

Converged Switch

Physical NIC Uplink Port Profile


VM

VM s vNIC

VM Network w/ Virtual Adapter Port


VLAN ID Profile

Legend Objects Association

Page 1
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
7 Planning

7.1 IP, Subnet & VLAN


Server Name Network Subnet VLAN ID IP Address
iSCSI-Tgt Management 192.168.2.0/24 Default 192.168.2.33
Host1 / 2 Management 192.168.2.0/24 Default 192.168.2.101/102
Host1 / 2 Cluster Heartbeat 172.16.13.0/24 1713 172.16.13.11/12
Host1 / 2 Cluster Live Migration 10.10.13.0/24 1013 10.10.13.11/12
FS1 / 2 Management 192.168.2.0/24 Default 192.168.2.103/104
FS1 / 2 Cluster Heartbeat 172.16.14.0/24 1714 172.16.14.11/12
FS1 / 2 Cluster Live Migration 10.10.14.0/24 1014 10.10.14.11/12
Note – VMs will be using the Host’s Management Network

7.2 Managed Switch Configurations

7.3 Security Groups Mapping to VMM Roles


VMM User Role AD Security Groups Profile Type - Details
Administrators Admins Members of the Administrators user role can perform all
administrative actions on all objects that VMM manages.
Fabric Administrators F-Admins Delegated Fabric Administrator
Members of the Delegated Administrator user role can
perform all administrative tasks within their assigned host
groups, clouds, and library servers, except for adding
XenServer and adding WSUS servers
Read Only Administrators RO-Admins Readonly Administrator
Read-only administrators can view properties, status, and
job status of objects within their assigned host groups,
clouds, and library servers, but they cannot modify the
objects.
Tenant Administrators T-Admins Tenant Administrator

Page 2
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Members of the Tenant Administrator user role can
manage self-service users and VM networks.
Application App-Admins Self Service User
Administrators Members of the Self-Service User role can create, deploy,
and manage their own virtual machines and services by
using the VMM console or a Web portal.
Reference For more details http://technet.microsoft.com/en-us/library/gg696971.aspx

8 Creating iSCSI Target Storage

8.1 Storage Space Workflow


 Windows Server 2012 enables you to virtualize
storage by grouping industry-standard physical
disks into storage pools, and then create virtual
disks called storage spaces from the available
capacity in the storage pools.
 From a storage pool, you can create one or more
virtual disks.
 These virtual disks are also referred to as storage
spaces. A storage space appears to the Windows
operating system as a regular disk from which
you can create formatted volumes.

Deploy Storage Spaces on a stand-Alone Server Addditional Reference:


For this lab guide walk thru a standalone server is http://technet.microsoft.com/en-
setup with Storage Spaces us/library/jj822938.aspx

8.2 Creating a LUN


Creating a Storage Pool You must first group available physical disks into one
or more storage pools.

Page 3
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Under STORAGE POOLS, click the TASKS list, and then
click New Storage Pool and complete the wizard
Creating Storage Space (Virtual Disk)
Next, you must create one or more virtual disks from
the storage pool. When you create a virtual disk, you
can select how the data is laid out across the physical
disks. This affects both reliability and performance.
You can also select whether to create thin- or fixed-
provisioned disks.
Under VIRTUAL DISKS, click the TASKS list, and then
click New Virtual Disk

Page 4
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 5
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Create a Volume

Page 6
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 7
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
New iSCSI Virtual Disk wizard under TASKS menus of
8.3 Presenting the LUN to another Host iSCSI VIRUAL DISKS option of iSCSI tab of File and
Storage Services.
over iSCSI

Page 8
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 9
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
8.4 Creating Volume on the Host

Page 10
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 11
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
9 SCVMM SP1 Installation
http://technet.microsoft.com/en-
9.1 Systems Requirements us/library/gg610562.aspx

9.2 Software Requirements


A supported operating system For more information, see Supported operating
systems in this topic.
Windows Remote Management (WinRM) service WinRM is included in Windows Server 2012, and by
default, the Windows Remote Management (WS-
Management) service is set to start automatically.
Microsoft .NET Framework Microsoft .NET Framework 4 is included in Windows
Server 2012.
Microsoft .NET Framework 4.5 is available at the
Visual Studio 2012 Download page.
Windows deployment and installation kit For VMM in System Center 2012 SP1: Windows
Assessment and Deployment Kit (ADK) for Windows 8
Windows ADK is available at the Microsoft Download
Center. When you install Windows ADK, select the
Deployment Tools and the Windows Pre-installation
Environment features.

Page 12
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
When you install Windows ADK, select the
Deployment Tools and the Windows Pre-installation
Environment features.

For more information about the supported versions


9.3 SQL Server Installation of SQL Server, see System Requirements: VMM
Database.

Page 13
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
When you install SQL Server, select the Database
Engine Services and the Management Tools -
Complete features.

Page 14
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 15
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
`
Run Windows Updates
Specifying a Service Account http://technet.microsoft.com/en-
us/library/gg697600.aspx
Configuring Distribution Key Management http://technet.microsoft.com/en-
us/library/gg697604.aspx

Page 16
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
9.4 Installing VMM SP1

Page 17
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 18
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
10 Installing Highly Available VMM Management Server

10.1 Prerequisites
Following pre-requisites are required for Installing High Available VMM Management Server

Tasks Description
A Failover Cluster Running Windows 2008 R2 or Windows 2008 R2/SP1
or Windows Server 2012
http://technet.microsoft.com/en-
us/library/hh831579.aspx
http://technet.microsoft.com/library/cc730692.aspx
System Requirements http://technet.microsoft.com/en-
us/library/gg610592.aspx
You must use a domain account for a highly http://technet.microsoft.com/en-
available VMM management server. us/library/gg697600.aspx
You must use distributed key management for a http://technet.microsoft.com/en-
highly available VMM management server us/library/gg697604.aspx
You have a computer with a supported version of
Microsoft SQL Server installed and running before
you start the installation of VMM

IMPORTANT Do not create highly available file shares for the VMM
library on the same cluster as a highly available VMM
management server installation. VMM does not
support this configuration.

10.2 Installation Process High Available VMM


This topic is out of scope of this guide. Step by Step guide will be coming in Next version of
this Guide

Page 19
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
11 Configuring Storage in VMM

11.1 Prerequisites / Supported types


Storage Type Explanation
Block Storage VMM supports the use of block-level storage devices that expose logical
unit numbers (LUNs) for storage, using fiber channel, iSCSI, and SAS
connection mechanisms.
File Storage VMM supports the use of network shares for storage. Network shares that
support the server message block (SMB) 3.0 protocol can reside on a
Windows Server 2012 file server or on a network-attached storage (NAS)
device from storage vendors such as EMC and NetApp.
Windows Storage Management For the management of directly attached storage, and external storage
API (SMAPI) arrays.
SMAPI supersedes the Virtual Disk Service (VDS) application programming
interface (API) in Windows Server 2012.
SMB 3.0 File Shares  It is recommended that you use a dedicated file server.
 The Windows file server should be in the same Active Directory domain
as the virtual machine hosts.
 Files shares that will be assigned to hosts and clusters should not be
added as VMM library shares.
 For SMB 3.0 file shares to work correctly with VMM, the file server
must not be a Hyper-V host. This also applies to a highly available file
server. Do not add the file server (stand-alone or cluster) as a managed
host in VMM.
 The VMM service account must have local administrative permissions
on the file server where the SMB 3.0 share resides. You must assign
these permissions outside of VMM.
Dos & Don’t’s  Storage automation with VMM is only supported for Hyper-V hosts.
 Do not install the SMI-S provider on the VMM management server. This
configuration is not supported.
 WMI SMP providers from Dell EqualLogic and NexSan must be installed
on the VMM server.
 Check the supported Storage Array List
 If the SMI-S provider type for the storage array is a “proxy” provider
that needs to be installed on a separate server, obtain and install the
latest version of the SMI-S provider from your storage vendor on a
server that the VMM management server can access over the network
by IP address or by FQDN
 Notify your storage administrator that by default, when VMM manages
the assignment of logical units, it creates one storage group (or
masking set) per host that can include the initiators for that host. In a
cluster configuration, VMM creates one storage group per cluster
node, with all the initiators from that cluster node.
Additional Notes on this Lab  I had to go for standalone File share for this Lab guide, due to limited
setup availability of the Physical servers.
o For SMB 3.0 file shares to work correctly with VMM, the file
server must not be a Hyper-V host.

Page 20
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
11.2 Adding A File share to VMM for VMs deployment in Private Cloud
Task Details
Provision an iSCSI LUN Deployed LUN will be used for the deployment of
VMs thru VMM
In this Lab walkthrough, it is presented to the Server
as “M:”
Add a Storage Device thru Providers

Page 21
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Add a File Share

Page 22
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Present the VMM Managed Share to the Hyper-V
Clustered Host Group

Page 23
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
12 Configuring VMM Library
The following table lists the file types that are automatically indexed and added as physical library resources
during library refreshes in VMM.

Library Resource Types Filename Extension


Virtual Hard Disks .vhd (Hyper-V and Citrix XenServer),
.vhdx (Hyper-V),
.vmdk (VMware)
ISO Image Files .iso
PowerShell Scripts .ps1
SQL Server Scripts .sql
Web Deploy (MSDeploy) Packages .zip
Note – Appears in the library as the “Web Application
Package” type
SQL Server data-tier applications (DACs) .dacpac
Server App Packages .osd
Note - These appear in the library as the “Virtual
Application Package” type.
Driver Files .inf
Important
 If you add driver files, we strongly recommend
that you create a separate folder for each driver
package, and that you do not mix resources in
the driver folders.
 If you include other library resources such as .iso
images, .vhd files or scripts with an .inf file name
extension in the same folder, the library will not
discover those resources.

Page 24
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
 Also, realize that when you delete an .inf driver
package from the library, VMM deletes the
entire folder where the driver .inf file resides.
Answer Files .inf
.xml
Custom Resources Folders with .CR extension
Virtual Floppy Disk .vfd (Hyper-V)
.flp (VMware)

12.1 Creating A VMM Library Share


To make the library server highly available, you can create highly available file shares on a clustered file server.

IMPORTANT  Do not create highly available file shares for the VMM library on the same cluster as a highly
available VMM management server installation. VMM does not support this configuration.

Task Details
Create a standard Share folder Assign appropriate file share & NTFS permissions
Start the wizard “Add File Shares”

Page 25
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
OPTIONAL
Delete the default VMM Library Share, as newly
added share is set as default share for the VMM

Associate the new share with the Host Group

Page 26
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Add Resources to the VMM Library Share For File based resources, create appropriate folder
structure in the share & copy the required file based
resources in the folders
Refresh the Library Share

13 Creating Virtual NICs on Hyper-V Hosts


Hyper-V Configurations with Teaming

Hyper-V Host before creating Converged Teamed Logical Switch


Virtual Switch Manager view on Host

Page 27
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Change the Global Settings on VMM

Login to SCVMM SP1 Console & Uncheck “Create


Logical Networks” under “Settings -> Network
Settings”

Add Host/s in VMM under the designated Host Make sure Added hosts are communicating fine with
Group the VMM Server by running “refresh host”.
Create Logical Networks & Associate a Network Site
for each Logical Network

Page 28
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Create IP Pool By right clicking on the Logical Network, just created
above

Page 29
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 30
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Start Configuring the Host by applying these changes One for the Uplink & One for the Converged Network,
Crate Port Profile we will create
http://technet.microsoft.com/en-
us/library/jj721570.aspx

Page 31
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Native Profile
for Uplink profile & Link to the N/W Sites we have
created
(Converged Team Uplink Profile)

Port Profile for Management


Virtual Adapter Port Profile to be connected to
Virtual NICs in Hosts & VMs

Page 32
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 33
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Create Logical Switch, to be applied to the Host

Important -> Recommended to put “_” (underscore)


after the end of the name

Page 34
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Add Converged Uplink Port Profile created in the
previous step

Assign it to Team Mode  will create a new Team


on the Host, when assigned to the NIC on Host

Page 35
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Assign Port Classification for the Logical Switch &
Link the Port Profile created earlier

For Management Add the Virtual Port

For Live Migration add the Virtual Port

Page 36
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
For Cluster add the Virtual Port

Set the Host Management to Default

Create VM Networks & assign them to Logical


Networks created earlier

Page 37
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
All required Objects creation is completed now
Host view for Logical Switches, before changes

Page 38
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Create Logical Converged Teamed Switch on the Host

Note  Make sure there is no static IP assigned to


the P-NIC, going to associate with Converged Switch
in this step.

Create Virtual Network Adapter with the linked Port


Profiles & VM Networks

IP POOL, VLAN & MAC address scope can also be


assigned at the same time

Converged Switch has been created on the Hyper-V Host

Page 39
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Adding multiple Physical NICS in the Team  Now that our new VNIC is ready to serve the
host, assign a new IP address in the management
subnet, and RDP to the host using the new VNIC
with the new IP.
 From the Server Manager -> NIC Team option,
add additional Physical NICS to the newly created
ConvergedSwitch team.
Moving the VMs to new Converged Logical Switch Migrate all the VMs to the new created Converged
Teamed vSwitch with appropriate VLAN ID
Moving the Management Network to the new Important  Make sure to have either Physical
Converged Logical Switch Access or Direct Consol Access (ILO/KVM) of the
server, before making changes to the Management
Network.
 Check RDP & other required Connectivity
Assign the new IP address to the new vNIC-Mgmt In the screenshot below:
 Old traditional Hyper-V Switch:
vEthernet(External)
 New Converged Switch’s vNIC: vEthernet(vNIC-
Mgmt)

Page 40
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Make RDP connection off the new IP on Converged  Remove the Hyper-V vSwitch using the old NIC
Switch vNIC Team thru Hyper-V Virtual Switch Manager
 Now that you have connectivity to Host 1 thru
new IP & new interface, Now the old interface
with it’s NIC Team can be torn down.
 Rename (as required) the Display Names of the
NICs in Network Connection Window. Screenshot
listed below for the reference
 Once the physical NIC becomes available, join
this Physical NIC to the new Converged Teamed
Virtual Switch.

Optional Re-assign the original Mgmt IP to vNIC-Mgmt of


Converged Switch.
DNS Cache refresh To speed up the process of reporting all newly added
NICs in the converged Switch in Fully Compliant state,
run “IPCONFIG/flushdns” & IPCONFIG/registerdns”
on Host & VMM server. Once VMM refreshes it
should show all the NICS & Switches in Fully
Compliant state, as follows.

Page 41
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
14 Configuring second Hyper-V Host with Converged Teamed Logical
Switch
In order to build the compute cluster, second Hyper-V host is needed with the same networking
configurations configured, as the first Hyper-V Host. As an additional note, Hardware configurations
of the second Hyper-V physical server is same as the first Hyper-V physical server.

Tasks Details
Create Logical Converged Teamed Switch on the Host
Note  Make sure there is no static IP assigned to
the P-NIC, going to associate with Converged Switch
in this step.

Page 42
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Converged Switch has been created on the Hyper-V Host

Adding multiple Physical NICS in the Team Please follow the steps as described above, while
performing on the first Hyper-V Host

This will complete the configurations on second


Hyper-V Host

Page 43
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
15 Configuring File Servers with Converged Teamed Logical
Converged Teamed Logical Switch is needed on both File Servers, FS1 & FS2. These servers will be
the member nodes of the High Available File Server Cluster.

Tasks Details
Create Logical Networks Logical Networks have been created for FS1. Same
Logical Network can be used for the FS2.

Create Converged Team Uplink Port Profile

Page 44
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Create Logical Switch

Page 45
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 46
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Create VM Networks

Page 47
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Repeat the following steps on FS1 & FS2
Create Logical Converged Teamed Switch on the File
Servers

Note  Make sure there is no static IP assigned to


the P-NIC, going to associate with Converged Switch
in this step.

Page 48
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Converged Teamed Logical Switch has been created Join other remaining P-NICs to the Converged Switch
Team

16 Building High Available File Server (Storage) Cluster


Tasks Details
Converged Logical Switch created by SCVMM SP1
will be used in building the Hyper-V Cluster for
building High Available File Server
SCVMM view of Converged Logical Switch on File Servers

Network Connections view of FS1

Page 49
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Network Connections view of FS2

IPs & VLANs to be used for FS-Cluster Network Name IP VLAN ID


FS-Cluster 192.168.2.32
FS1-Mgmt 192.168.2.103
FS2-Mgmt 192.168.2.104
FS1-Cluster-LM 10.10.14.11 1014
FS2-Cluster-LM 10.10.14.12 1014
FS1-Cluster-HB 172.16.14.11 1714
FS2-Cluster-HB 172.16.14.12 1714
Disk Management view of FS1 before creating Cluster

Disk Management view of FS2 before creating Cluster

Creating High Available FS Hyper-V Cluster Running Failover Cluster Validate Configuration
Wizard

It is strongly recommended to run All Tests at this


point of time, and resolve any issues reported in the
wizard’s report.
Failover Cluster FS-Cluster has been created
successfully with 2 nodes FS1 & FS2

Disks have been added Add Available Storage to CSV

Page 50
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Rename the Cluster Network names to be more
descriptive

Disk Management view of FS1 after creating Cluster

Disk Management view of FS2 after creating Cluster

Page 51
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
17 Building High Available Compute Cluster
Converged Logical Switch created by SCVMM SP1
will be used in building the Hyper-V Cluster for
building High Available Compute Infrastructure
SCVMM view of Converged Logical Switch on Hyper-V Hosts

Network Connections view of Hyper-V Host1

Page 52
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Network Connections view of Hyper-V Host2

IPs & VLANs to be used for FS-Cluster Network Name IP VLAN ID


HV-Cluster 192.168.2.31
HV1-Mgmt 192.168.2.101
HV2-Mgmt 192.168.2.102
HV1-Cluster-LM 10.10.13.11 1013
HV2-Cluster-LM 10.10.13.12 1013
HV1-Cluster-HB 172.16.13.11 1713
HV2-Cluster-HB 172.16.13.12 1713
Creating High Available Compute Hyper-V Cluster Running Failover Cluster Validate Configuration
Wizard

It is strongly recommended to run All Tests at this


point of time, and resolve any issues reported in the
wizard’s report.
Failover Compute Cluster HV-Cluster has been
created successfully with 2 nodes Host1 & Host2

Disks have been added Add Available Storage to CSV

Page 53
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Rename the Cluster Network names to be more
descriptive

Disk Management view of Host1 after creating Cluster

Disk Management view of Host2 after creating Cluster

Page 54
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
18 Managing Fabric Updates
The procedures in this scenario explain how to set up update management in System Center 2012 –
Virtual Machine Manager (VMM) and how to perform updates on physical servers that are managed
by VMM.

VMM supports on demand compliance scanning and remediation of the fabric. Administrators can
monitor the update status of the servers. They can scan for compliance and remediate updates for
selected servers. Administrators also can exempt resources from installation of an update.

VMM supports orchestrated updates of Hyper-V host clusters.

18.1 Prerequisites
Requirements Details
Virtual Machine Manager (VMM) provides the  Virtual machine hosts
capability to use a Windows Server Update Services  Library servers
(WSUS) server to manage updates for the computers
 VMM management server
in your VMM environment
 PXE servers
 The WSUS server
Software Requirements
A 64-bit edition of Windows Server Update Services  WSUS 4.0 is a server role that is integrated with
(WSUS) 3.0 Service Pack 2 (SP2) Windows Server 2012.
A 64-bit edition of Windows Server Update Services  VMM can use either a WSUS root server or a
(WSUS) 4.0 downstream WSUS server. VMM does not
support using a WSUS replica server.
 The WSUS server can either be dedicated to
VMM or can be a WSUS server that is already in
use in your environment.
 If you do not install WSUS server on the same
computer as the VMM management server, you
must install a WSUS Administrator Console on
the VMM management server. If you use a highly
available VMM management server, you must
install a WSUS Administrator Console on each
node.
Adding WSUS to VMM  After you add a WSUS server to VMM, you
should not manage the WSUS using the WSUS
console.
 If you add the update server to VMM in Single
Sockets Layer (SSL) mode, you can update proxy
server credentials for synchronization in the
update server properties.
 If the update server is not added to VMM in SSL
mode, proxy server credentials are managed in
the WSUS Administration Console.
User Roles & Update Management  Only administrators can manage the update
server and synchronize updates.

Page 55
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
 Delegated administrators can scan and
remediate updates on computers that are within
the scope of their user roles.

18.2 Adding WSUS Server to VMM


Task Details
In the VMM console, open the Fabric workspace.
On the Home tab, in the Add group, click Add
Resources, and then click Update Server.

IMPORTANT Note After you enable update management in VMM, you


should manage the WSUS server only through VMM,
unless you are using a WSUS server in a Configuration
Manager environment

Configure Update Baseline You can use two methods to prepare update
baselines for remediation:
 Use one of the built-in update baselines that
VMM provides: Sample Baseline for Critical
Updates and Sample Baseline for Security
Updates.
 Create your own update baseline.

Page 56
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Scan for Update Compliance After a compliance scan, each update has a
compliance status of Compliant, Non Compliant,
IMPORTANT  Error, or Unknown
You should perform all updates in Compliance view. The following changes can cause an Unknown update
The Scan and Remediate actions also are available in status for a computer, and should be followed by a
Fabric Resources view. However, if you scan and scan operation to access the computer's compliance
remediate updates in Fabric Resource view, you status
cannot see the results of the operations.  A host is moved from one host group to another
host group.
 An update is added to or removed from a
baseline that is assigned to a computer.
 The computer is added to the scope of a
baseline.

Performing Update Remediation The operation of bringing a managed computer into


compliance is known as update remediation
You can choose to remediate all update baselines
that are assigned to a computer, all noncompliant

Page 57
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
updates in a single update baseline, or a single
update.
Remediate Updates on Stand-Alone Hyper-V Host  On the Home tab, in the Compliance group, click
Remediate. (The Remediate task is only available
NOTE  when the selected objects are noncompliant.)
If you choose to manually restart computers after  Optionally select or clear update baselines or
individual updates to determine which updates
installing updates, that status of the computers will
remain Pending Reboot until after you scan the to remediate. If you selected a computer to
remediate, all updates are initially selected.
computer for updates again. VMM does not scan
computers to assess their update compliance status  If you prefer to restart the computers manually
during refreshes. after remediation completes instead of letting
the wizard do that, select the Do not restart the
servers after remediation check box.

Perform Rolling updates on a Hyper-V Host Cluster In the resource list of Update Remediation dialog box,
select the host cluster by its cluster name
If you select the cluster by its cluster name, VMM
assumes you want to orchestrate remediation of the
hosts in the cluster, and displays cluster remediation
options.

Page 58
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Update Exemptions
Select the update & click “Create”

Page 59
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
To Delete the Exemption, select the update and
Delete.
Exemption flag will be removed & the status of the
update will be converted to “Unknown”

You should perform a compliance scan on the


resource to update the compliance status, and then
perform update remediation to bring the resource
into compliance.

On Demand WSUS Synchronizations When the update server is added to VMM, an initial
synchronization is performed. VMM does not
perform automatic synchronizations after that.
On demand synchronizations needed to be
performed.
Important 
After you add a WSUS server to VMM, you should
only manage the WSUS server in VMM. VMM does
not synchronize settings that are entered in the
WSUS Administration Console with those that are
entered in the update server properties.
In VMM, update the properties of the update server
to configure a proxy server for synchronizations and
to change the update categories, products, and
supported languages that are synchronized by the
WSUS server.

Page 60
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
19 Creating a Private Cloud
You can use this procedure to create a private cloud from resources in one or more host groups in
System Center 2012 – Virtual Machine Manager (VMM)

19.1 Requirements & Prerequisites


Items Details
Account requirements You must perform this procedure as a member of the Administrator
user role or as a member of the Delegated Administrator user role
where the administrative scope includes the host groups that you want
to use for the private cloud.
Self-Service Users to store VMs in Create a library share, or create a folder in a library share that will
the VMM Library serve as the storage location.
Realize that self-service users must have the Store and re-deploy
permission to store their virtual machines
IMPORTANT   The library share location that you designate for stored virtual
machines must be different from the shares that you designate as
read-only resource locations for the private cloud.
 The path or part of the path must be unique when compared to
the user role data path that is specified for a self-service user role
 You could also create entirely separate library shares.
 Realize that you configure the stored virtual machine path and
read-only library shares when you run the Create Cloud Wizard.
 The self-service user role data path is specified when you create a
self-service user role or modify the properties of a self-service user
role.
 Make sure that one or more library shares exists that you can
assign as the read-only library shares for self-service users to use.
 The library shares that you designate as read-only resource
locations for the private cloud must be unique when compared to
the library share or shares that are used for stored virtual
machines and for the user role data path that is specified for a self-
service user role.

Domain Security Groups aligning to User Roles

Page 61
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
VM Library Share Structure for Private Cloud
(PvtCloud1)

19.2 Creating A Private Cloud (PvtCloud1)


Tasks Details
Creating Private Cloud from Host Groups
 Open the VMs and Services workspace.
 On the Home tab, in the Create group, click
Create Cloud

Page 62
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 63
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 64
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Capacity of the Private Cloud

Deleting the Private Cloud

20 Calculating Host Ratings


The ratings are based on default criteria. Note that host rating criteria do not include all information.
For example, network connection speed is not taken into account. Ratings are based on individual
hosts and not on the relative suitability of all available hosts. Ratings for one host do not change
based on the ratings for other hosts. VMM calculates host ratings according to specific formulas,
described in the following table.

Page 65
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
21 Creating & Deploying Virtual Machine

21.1 Creating & Preparing a Gold Image Master VM for future Deployments
Using this method you can create a virtual machine from an existing virtual hard disk stored in the
VMM library. You can follow two ways to use & deploy the Gold Image Master VM for in future
multiple deployments. One with the help of VMM presence and another without the presence of
VMM.

Create a new VM

Page 66
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Note 
If any suitable Hardware Profile already created,
select it, if not, specify the hardware configurations,
and optionally you can save this hardware profile for
future use

Page 67
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 68
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Mounting the ISO for Windows 2012 x64 DC Edition
Media to the VM

This may take a few minutes, as ISO file is being


copied to the VM Folder

Power ON the VM & complete the installation of the


OS

Page 69
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Connect the VM to a valid Network, Login to OS,
Assign an IP & run the Windows Updates to fully
patched the VM’s OS

Optional 
Install & Configure BgInfo

http://technet.microsoft.com/en-
us/sysinternals/bb897557.aspx

Shutdown the VM
Create a copy of the VHDX file of the VM

Create a clone of the VM with a new name Shutdown the VM

IMPORTANT  Issues can occur if you turn on two In the VMM Console -> Right Click the VM -> Create -
virtual machines with the same identity at the same > Clone
time.
Achieved so far We have 2 clones of the same VM
We have one extra copy of VHDX
(I have created the copy of the VHDX for a bacup
purpose, this can be deleted later. Some times
Sysprep or Cloning process doesn’t complete
successfully, and leaves the VM in unstable condition.
It is always a good idea to keep an extra copy of
VHDX, to save the time of not repeating the OS install
& Updates).

Page 70
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
21.2 Create and deploy a new VM manually from Master Gold Image VHDX
without VMM
We recommend that you use a virtual hard disk that has been generalized using Sysprep, otherwise
the new virtual machine will have the same identity as the source machine.

Start the Cloned VM If you have not been using VMM, You can manually
creat a VM with using the copied VHDX, we created
in previous steps, & start the VM.
IMPORTANT  Since this will be your last saved copy
of VHDX, it will be a good idea to create another copy
of the VHDX, before start working on this process.
Login to VM

Sysprep Process
Run “Sysprep” as an Administrator from
“C:\Windows\System32\Sysprep” folder

Select the Options as follows:


 System Cleanup Action – OOBE
 Check Generalize
 Shutdown Options - Shutdown

Hit OK

Page 71
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
This will start Sysprep Process, and upon the
completion, it will shut down the VM

After the Sysprep process is completed & VM is Every time new VM is deployed using a copy of this
shutdown successfully  Gold Image Master Copy, While starting up It will go
VHDX is Sysprep’ed, You can copy the VHDX to safe thru the new SID generation process.
place to use as a Gold Image Master Copy for future
VMs deployment.

IMPORTANT  Make sure to keep Gold Image updated with


http://technet.microsoft.com/en- Windows Updates
us/library/cc721940(v=WS.10).aspx  Sysprep process is allowed only for maximum 4
times on an OS.

21.3 Create and deploy a new VM using a virtual machine template in VMM
Creating VM Template In the VMM Console -> Right Click the VM -> Create
-> Create VM Template

Page 72
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 73
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Deploy VM using Template

You can use the VHDX Template to deploy VMs in


Cloud, Virtual Host and on High Available Cluster
during Create Virtual Machine Wizards

Page 74
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 75
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Completing the Wizard will let you deploy a new VM
either of these three places.
 To a Private Cloud
 On a Host
 Store in VMM Library

22 Deploying App Controller


Following Step by Step guide helps in the installation process, as well as configuring user role-based
security and adding resources to the App Controller Library.

22.1 Requirements
22.1.1 Hardware & Software Requirements
Required Items Details
Refer the TechNet for detailed list http://technet.microsoft.com/en-
us/library/jj860571.aspx
Required Software Roles & Features Components If any of Required Software Roles & Features are
missing, APP Controller Installer will install them
during installation

Page 76
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
22.1.2 App Controller Deployment Checklist
Required Items Details
Private Cloud Presence Before you install App Controller, you should already
have configured one or more private clouds in VMM,
delegated user roles to the clouds, and designated a
writeable file share for each user role.
Using App Controller for Windows Azure To use Windows Azure functionality in App
Controller, you should have already obtained at least
one Windows Azure subscription, made a note of the
subscription GUID, and created a management
certificate.
SQL DB Rights To ensure sufficient user rights during installation,
the database administrator must grant at least
database operator (DBO) access to a database to the
user account under which App Controller is being
installed.
Valid SSL Make sure that you import a valid Secure Sockets
Layer (SSL) certificate on the App Controller server.
For evaluation purposes, you can have App Controller
create a self-signed certificate during Setup.
Administrator Rights Any user accounts that are to administer App
Controller must also be granted VMM administrator
rights.
Presence of Service Templates in VMM You must create service templates in VMM before
you can deploy or update VMM services using App
Controller.

22.1.3 App Controller Maintenance Checklist


Tasks Details
Backup After App Controller is completely installed and
configured, back up the App Controller database and
the database encryption key.
APP Controller Account To change the account under which that App
Controller services are running, you must uninstall
and reinstall App Controller.
SSL Certs Expired SSL production certificates can be replaced
using the Internet Information Services (IIS)
management console without requiring any
additional configuration in App Controller
Access to VMM Library Shares Whenever you create a network file share to which
files will be copied from a VMM cloud library, or from
which files will be copied to a VMM cloud library,
then the App Controller machine account must be
added to the file share permission list.

Page 77
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
22.2 Installing APP Controller
Tasks Details
Installing SQL Server

Page 78
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 79
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Select Database Engine Services & Management
Tools - Complete

Page 80
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
If you require support for 4 byte Unicode strings,
ensure before installing that the database collation
is set to one of the _100_collations

Page 81
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 82
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Installing VMM Console

Page 83
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 84
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Run & Complete Windows Updates
Installing APP Controller

Page 85
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Note 

If a domain account is used, it is strongly


recommended that you create an account that is
specifically designated to be used by App Controller
services.

To change the account under which that App


Controller services are running, you must uninstall
and reinstall App Controller.

Page 86
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
This port is used for communication between App
Controller services only. You do not need to
configure the firewall on the computer running App
Controller to allow access to this port.
Important
The port that you assign during the installation of
App Controller cannot be changed without
uninstalling and reinstalling App Controller.

Note
Port: Type the port to use for communication with
the computer that is running SQL Server. By default,
this value is not required and is therefore left blank.

Page 87
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
How to Enable SSO for App Controller
By default, App Controller is enabled to prompt users
to sign in by entering their Active Directory user
name and password.
 Open IIS manager on the App Controller server.
 Select the App Controller website.
 Expand the website and select the /api node.
 Click Authentication.
 Enable Windows Integrated Authentication.
 Disable Basic Authentication.

Page 88
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
To turn On Constrained Delegation
1. Log on using an account that has OU
Administrator privileges in Active Directory
Domain Services. Ensure that this account is also
granted the SeEnableDelegationPrivilege user
right (for example, a domain administrator could
run the command ntrights -u domain\user +r
SeEnableDelegationPrivilege on a domain
controller, where domain/user represent the
domain and account name for the account).
2. In Active Directory Users and Computers, expand
the App Controller Machine node.
3. Click the Delegation tab.
4. Select the Trust this computer for delegation to
specified services only option.
5. Select the Use any authentication protocol
option.
6. Click Add and then do one of the following:
a. If the VMM management server is
running under the Local System
account, enter the name of the VMM
management server and select HOST,
and then click OK.
b. If the VMM management server is
running under a domain account, enter
the name of domain account and select
SCVMM, and then click OK.
7. Select the Common Internet File System (CIFS)
service, and then click OK.
8. Restart the App Controller management server.
Installing PowerShell Module for APP Controller

Opening the APP Controller Console https://<webserver>:<port>


for the sake of this lab, https://app-cntrl.adit.com

22.3 Administering App Controller


Tasks Details

Page 89
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
User Roles  Only user roles for Windows Azure subscriptions
or hosting providers can be created in App
Controller.
 VMM Administrators must manage VMM user
roles by using the VMM console.
Library Resources In System Center 2012 - App Controller, you can use
the Library page to manage file shares, templates,
and resources for both System Center 2012 – Virtual
Machine Manager (VMM) and Windows Azure.

App Controller makes available three types of shared


storage:
 File shares on your network
 Private cloud libraries
 Windows Azure storage accounts
Permissions on File Shares To copy resources from a network file share to a
private cloud, the App Controller machine account
needs read access to the file share.
To copy resources from a private cloud to a network
file share, the App Controller machine account needs
write access to the file share.
Administrators can add or remove file shares in the
App Controller Library.
Self-service users with proper permission are allowed
to create or delete folders in a share, and copy and
paste files between shares.
Files can be copied from local shares to public or
private cloud libraries.

Adding a High Available Network File Share Create a High Available FS on a Clustered File Servers
Host and host a High Available Share

Page 90
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
IMPORTANT  Make Sure you login to APP
Controller with Administrator privileges

1. On the Library page, click Shares.


2. Right Click -> Add Share.
3. In the Add a network shared folder dialog
box, enter the share path.
4. Click OK.

Copy Files & VMM Templates between File Shares & VMM Administrators can copy files from local shares
Private Clouds to any VMM cloud library. VMM users can copy files
from local shares to folders in private cloud libraries.
Using simple Copy Paste Options
Setting Up Public & Private Clouds Users who manage public and private clouds must be
members of the Administrator user role.
Note  In App Controller, the Clouds page displays the
The Scope of this Guide is to Private Cloud. following information:
 A list of all public and private clouds, further
grouped by connection name.
 The properties of each public and private cloud
to which App Controller is connected.
 Resources used and available on private clouds.
 Tasks you can perform on a selected public or
private cloud.
Connecting VMM to App Controller

On the Clouds page, click VMM Server.

Page 91
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
NOTE 
SSL certificates must be imported to the App
Controller server in order to copy files or templates
to and from VMM cloud libraries. In order for the
import to succeed, users need to be part of all of the
following roles:
 Local administrator of the App Controller
server
 Local administrator of the VMM server
 VMM administrator

Remove Connection to a Private Cloud

In the navigation pane, click Settings and then click


Connections.
 In the list of VMM management server
connections, select the connection you want to
remove, and then click Remove.
 Click OK to remove the selected connection.

NOTE  If any SSL certificates are associated with


this connection, they must be manually removed

Page 92
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Change or View Run As Accounts

In the navigation pane, click Clouds. Select a private


cloud from the list and then click Manage Run As
Accounts in the taskbar.

Configuring VMM Connection Properties

View the Status of a Job

Page 93
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 94
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
23 References
Additional References Details
http://technet.microsoft.com/en-us/library/gg610596.aspx
23.1 Configuring Networking in
VMM Overview
http://technet.microsoft.com/en-us/library/jj870823.aspx
23.2 Common Scenarios for
Networking in Virtual
Machine Manager
http://technet.microsoft.com/en-us/library/dn186234.aspx
23.3 Configuring Ports and
Switches
https://spsites.microsoft.com/sites/ASMSI/Capacity/CU/Shared
23.4 VMM2012 Host and VM Documents/VMM 2012/VMM 2012 Networking Brownbag
Networking

23.5 Object Model for Logical Switch

Page 95
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
Page 96
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
25 Annex-A – Misc. Commands
Commands Purpose
 w32tm /config /manualpeerlist:pool.ntp.org
25.1 Domain Time Sync /syncfromflags:MANUAL
 Stop-Service w32time
 Start-Service w32time
 http://support.microsoft.com/kb/816042

Event ID 1196 Ggiving the Cluster Name Object Full control of the A-
Cluster network name resource 'Cluster Name' failed record and then running from a CLI cluster . res
registration of one or more associated DNS name(s) for the <cluster name> /registerDns should solve the issue
following reason:
DNS operation refused.

Page 97
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
27 Annex-B – SC2012 SP1 Configuration Analyzer Setup
Downloads SC 2012 SP1 Configuration Analyzer:
http://www.microsoft.com/en-
us/download/details.aspx?id=36796
MS Baseline Configuration Analyzer
http://www.microsoft.com/en-
us/download/details.aspx?id=16475
Installation Install MS Baseline Configuration Analyzer first, as
this is a pre-requisite component for SC2012 SP1
Configuration Analyzer
Configuring Server & Client If running remotely for VMM server
Server – SCVMM 2012 SP1
Client – Your PC/Server
Enable CredSSP To enable Credssp, run the following command on the
server:
Enable-WsManCredssp -Role Server
You must enable Credssp or run Microsoft Baseline
Configuration Analyzer 2.0 from the local machine.
On the current machine, run the following:
Enable-WSManCredSSP -Role Client -DelegateComputer
[target machine name]

Page 98
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"
29 Annex-C - Deleting the Converged Switch
Delete Logical Sites from Logical Networks
Un-associate all VMs on Hyper-V from
using the Converged Switch components
Delete the vNICs Using VMM
Remove the Converged Switch from Using VMM or NIC Teaming on Host
Hyper-V Host
Remove VM Networks
Remove Uplink Port Profile Uplink Port Profiles have “Logical Switch” as one dependent
component.
Logical Switch has following dependent components. Remove
both association by going in the properties of the Logical Switch
 Uplink Port Profile
 Network Port Classification
Remove the Uplink Port Profiles

Remove Logical Switch Remove Virtual Port Association


Remove Uplink Port Profile Association
Remove Port Profile
Remove IP Pool Cluster
Remove Network Site
Remove Logical Network If the IP address needs to be revoked:
 $ip = get-scipaddress
 $ip | revoke-scipaddress
Entire Converged Switch has been
collapsed

Page 99
Building Your Own Private Cloud – Home Lab
Prepared by [email protected]
"Building your Private Cloud - Home Lab - TechnetEdition"

You might also like