+ All Categories
Home > Documents > Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below....

Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below....

Date post: 26-Apr-2018
Category:
Upload: vuongtruc
View: 222 times
Download: 0 times
Share this document with a friend
87
Getting Started with DDC Enabling Dynamic Data Centers for Hosters Prepared for Microsoft Corporation Friday, 7 October 2011 Version 3.25 Final
Transcript
Page 1: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Getting Started with DDC

Enabling Dynamic Data Centers for Hosters

Prepared for

Microsoft Corporation

Friday, 7 October 2011

Version 3.5 Final

Page 2: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication.

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.

Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.

Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.

The descriptions of other companies’ products in this document, if any, are provided only as a convenience to you. Any such references should not be considered an endorsement or support by Microsoft. Microsoft cannot guarantee their accuracy, and the products may change over time. Also, the descriptions are intended as brief highlights to aid understanding, rather than as thorough coverage. For authoritative descriptions of these products, please consult their respective manufacturers.

© 2023 Microsoft Corporation. All rights reserved.

Microsoft and Windows are either registered trademarks of Microsoft Corporation in the United States and/or other countries.

The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

Page iiGetting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 3: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Revision and Signoff Sheet

Change Record

Date Author Version Change reference

10/11/2010

Mark Stevenson

2.2 Updated for new DDC 3.0 update

11/30/2010

Mark Stevenson

2.3 Added additional service manager config steps

12/15/2010

Mark Stevenson

2.4 additional MP configuration added

SCSM MP Revisions

3/17/2010 Mark Stevenson

3.1 Added SCOM MP info to SCOM Service setup

3/21/2010 Mark Stevenson

3.2 Updated errata on SCVMM service setup

9/19/2010 Aman Sharma

3.3 Updated with SCSM and Opalis setup

9/20/2010 Aman Sharma

3.4 Updated additional configuration steps required

9/29/2010 Amit Srivastav

3.5 Updated configuration steps of Opalis, SCSM and added section for steps for first VM creation

Reviewers

Name Version approved

Position Date

Mayur Deshpande

3.3 Consultant 9/19/2010

Aaron Cushner

3.4 Architect 9/20/2010

Page iiiGetting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 4: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Table of Contents

1 Executive Summary.............................................................................................................................. 1

2 Introduction........................................................................................................................................ 4

2.1 Purpose......................................................................................................................................... 4

2.2 Out of Scope................................................................................................................................. 4

2.3 Audience....................................................................................................................................... 5

2.4 Pre-Requisites............................................................................................................................... 5

3 DDC Overview..................................................................................................................................... 7

4 DDC Hardware Infrastructure..........................................................................................................10

4.1 Configuring a 2 Node High Availability Cluster (lab deployment)................................................10

5 DDC SOFWARE - Management.......................................................................................................12

5.1 Systems Center Virtual Machine Manager 2008 R2....................................................................12

5.2 Systems Center Operations Manager 2007 R2...........................................................................14

5.3 Systems Center Configuration Manager 2007 R2.......................................................................17

5.4 System Center Data Protection Manager 2010 RTM..................................................................19

5.5 System Center Service Manager 2010 SP1................................................................................201. Import the management pack for SCSM.....................................................................................212. Create and synchronize AD and SCOM connectors...................................................................21

5.6 Opalis Integration Server 6.3.......................................................................................................28Opalis Integration Server 6.3 Post Installation Configuration.............................................................29

6 DDC SERVICES – Toolkit.................................................................................................................37

6.1 Installing the SCVMM Service.....................................................................................................41

6.2 Installing & Configuring the Monitoring Service...........................................................................44

6.3 Installing & Configuring the Configuration Management Service.................................................46

6.4 Installing & Configuring Data Protection Manager Service..........................................................47

6.5 Installing & Configuring Service Manager Service.......................................................................48

7 DDC Toolkit - Services..................................................................................................................... 49

7.1 System Center Virtual Machine Manager (SCVMM) Service......................................................50

7.2 Monitoring Service.......................................................................................................................54

7.3 Configuration Service..................................................................................................................55

7.4 System Center Service Manager(SCSM) Service.......................................................................57

7.5 Data Protection Manager Service................................................................................................57

Page ivGetting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 5: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

8 Before Provisioning your first virtual machine..............................................................................59

9 DDC CLIENT & CONTROL PANEL INTEGRATION.........................................................................60

Control Panel Integration from Microsoft .NET Platform........................................................................60Building Silverlight based Demo Application......................................................................................60

1. Install pre-requisites.................................................................................................................... 60

1. Installers...................................................................................................................................... 64Control Panel Integration from NON-Microsoft .NET Platform (example IBM/Java/PHP)...................69

Page vGetting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 6: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 1: Figure showing relationship between DDC and the DDC Toolkit..............................................2

Figure 2 Main Components of Dynamic Data Center (DDC)...................................................................8

Figure 3: Two Node Hyper-V Host Cluster w/Failover...........................................................................11

Figure 4: DDC LAB Deployment of System Center Suite......................................................................12

Figure 5: Virtual Machine Manager 2008 Console after being fully deployed........................................14

Figure 6: Operations Manager 2007 R2 Single Server Deployment......................................................15

Figure 7: Operations Manager 2007 R2 Console..................................................................................16

Figure 8: Configuration Manager 2007 Console....................................................................................18

Figure 9: DPM 2010 Admin Console.....................................................................................................20

Figure 12: Deployment Diagram Showing the various Services deployed to respective Management Servers/Hyper-V.................................................................................................................................... 38

Figure 13: Ensure that the Web Server Role is Installed by using Server Manager Console................40

Figure 14: Ensure that WCF Activation is added as Feature using Server Manager Console...............40

Figure 15- IIS 6 compatability...............................................................................................................41

Figure 16: Virtualization Web Service Setup Dialog..............................................................................42

Figure 17: Virtualization Web Service Installation Option(s)..................................................................43

Figure 18: Virtualization Web Service in IIS...........................................................................................44

Figure 19: Monitoring Web Service in IIS..............................................................................................45

Figure 20: Hyper-V MPs in SCOM console...........................................................................................45

Figure 21: Host based counters retrieved by MPs.................................................................................46

Figure 22: Configuration Web Service in IIS..........................................................................................47

Figure 23: Logical Architecture of DDC Services Layer showing the Separation of Interlaces & Implementation...................................................................................................................................... 50

Figure 24: Virtualization Service Contracts............................................................................................54

Figure 25: Virtualization Service: Data Contracts..................................................................................54

Figure 26: Monitoring Service UML Diagram.........................................................................................55

Figure 27: Configuration Service UML Diagram....................................................................................56

Figure 28: Configuration Service UML Diagram....................................................................................57

Figure 29: DPM Service UML................................................................................................................58

Figure 30: Web PI Website.................................................................................................................... 61

Figure 31: Tools section in Web PI installer...........................................................................................62

Figure 32: Required tools...................................................................................................................... 63

Figure 33: DPM MUI Component..........................................................................................................64

Page viGetting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 7: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 34: Deployment Projects in the sample solution.........................................................................64

Figure 35: Portal projects in the solution................................................................................................64

Figure 36: Service References in the Portal project..............................................................................65

Figure 37: Configure Service Reference Dialog....................................................................................66

Figure 38: Collaboration Diagram showing Demo Application interaction.............................................67

Figure 39: Add Service Reference Dialog..............................................................................................68

Page viiGetting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 8: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

1 EXECUTIVE SUMMARY

Hosting Service Providers (HSPs) are constantly facing the challenge of responding to growing complexity, regulatory compliance, capacity, and availability, while ensuring manageability and efficiencies in their data centers. The emergence of Virtualization technology, and underlying hardware support for virtualization, and its broad acceptance by the industry has created new market opportunities for service providers to capitalize on virtualization technology to optimize Datacenters through server consolidation, and enhance server utilization and processing power, thereby reducing costs and complexity in the datacenter. This is done without sacrificing processing power and offering same or higher levels of SLA are, thereby reducing costs for customers through reduced power consumption, and resultant economies of scale. The challenge for HSP’s is how to make use of this unique market opportunity to harness the power of virtualization and ensure growth and manageability of the datacenter while increasing the range of managed services that they can provide to their customers.

The Dynamic Data Center (DDC) is part of initiative by the Communication Sector group within Microsoft to help hosting partners create a dynamic and scalable IT Infrastructure that responds and grows with the hosting provider’s business. The DDC enables the creation of a flexible and agile eco-system around the datacenter that enables organizational agility and also makes it possible for ISV’s and hosting partners to respond to new market opportunities. A dynamic and agile data center has several components to it including: hardware, software, and services.

There are three key “abilities” exposed in the dynamic datacenter. The first is high availability of server hardware, storage, network, connectivity, and support infrastructure. Secondly, to be enterprise ready, there is the need for the hosting provider’s virtualization technology to be scalable. The scalability requirement must extent to include server provisioning, patching, configuration management, end-to-end monitoring, backup and recovery. Thirdly, there is manageability and the need for a services layer that enables hosting partners to take advantage of the underlying product management capabilities. Through automation, these management abilities facilitate the creation of new types of managed services while empowering their customers.

In this white paper, we focus on the hardware and software infrastructure that make up the Dynamic Data Center, and how to setup and configure the DDC components in a LAB Environment, as well as the setup and configuration of automation services that are included as part of the DDC Toolkit.

The Dynamic Data Center Toolkit consists of software (web services) and a sample control panel application. The DDC Toolkit also contains documents outlining best practices for the creation and configuration of Dynamic Data Centers to meet the needs of the provider’s customers using proven technology and repeatable, documented process. The figure below illustrates how the DDC Toolkit exposes management functionality by providing a layer on top of the Microsoft Platform.

Page 1Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 9: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 1: Figure showing relationship between DDC and the DDC Toolkit

The hardware infrastructure is detailed in vendor neutral way. We describe how Microsoft Software and Services can help hosting partners create an agile data center by enabling the underlying technologies and services that are part of the dynamic data center. We show how the DDC is made possible by using Microsoft Virtualization Technology based on Hyper-V and Windows Server 2008, and Microsoft System Center Enterprise Suite of applications that provide the end-to-end eco system for managing the Data Center. The System Center suite is composed of server based applications that help manage and optimize both physical and virtual infrastructure. The DDC setup in this document is geared towards creating a LAB/Pre-Production environment for testing and proof of concept. This configuration can form the basis for creating agile and scalable Data Center infrastructure in a production environment.

In this document we describe in detail how you can install and configure a sample services layer( included the Dynamic Data Center Toolkit). The services layer provides an abstraction layer to take advantage of the virtualization and management software in Windows and System Center. This document discusses how the service oriented architecture (SOA) makes it possible to take advantage of this layer from both Microsoft .NET based technology as well as non-Microsoft technologies such as Java/PHP. The architecture of the services layer is also described in detail to help hosting providers take advantage of the underlying technology. Hosting providers can leverage the services in their own

Page 2Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 10: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

environment to achieve a high degree of automation to achieve low touch or zero touch deployment. These systems can be integrated with the hosting providers control panel/management portal and backend systems. The appendix contains links to additional documents that you can peruse to get more in-depth knowledge around the surrounding technologies, such as Microsoft Hyper-V and System Center Enterprise. These documents are also included in the DDC Toolkit.

Page 3Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 11: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

2 INTRODUCTION

2.1 Purpose

The intent of this document is to help understand how Microsoft Software and Services help facilitate the creation of Dynamic Data Center (DDC). They do this by describing the underlying technologies, and by walking through the steps needed to establish a DDC in LAB environment. The lab is established using minimal Hardware, and by installing and configuring requisite software and services needed.

The software components include Windows Server 2008 Hyper-V, System Center Suite, and the DDC Toolkit. We start with a sample Silverlight based control panel that demonstrates the underlying technologies working together. The control panel application provides a rich customer experience that illustrates how services software can automate the creation of managed offerings that in turn can increase profitability of the HSP/ISP. The offerings are created while at the same time lowering costs, and reducing time to market for the hosting provider. Each of the components of the DDC is discussed in detail, with additional information found in the appendix.

This document is not intended to provide the means for establishing full scale production environment, which entails additional capacity planning, analysis, and investments in infrastructure. However, it is our intent to provide enough detail in this document that an ISP or HSP can take advantage of the information to and scale out for production scenarios. It must also be emphasized that the web services included in DDC Toolkit are not a production product, and carries no support from Microsoft. They are intended for illustration purpose only, and to provide a quick entry point for HSP’s/ISV’s to integrate their control panel/management portal with the management layer. The rest of the document is organized as follows:

1. What is the DDC? Overview of the DDC is provided in Section 3.

2. DDC hardware infrastructure is discussed in Section 4.

3. DDC management software (System Center) –installation & configuration is discussed in Section 5.

4. DDC software – services installation & configuration is discussed in Section 6.

5. Section 7 contains discussion of the software architecture of the WCF services.

6. How to setup the dev environment to consume the DDC Services from VS 2010; extend this with an ASP.net app - 1 simple page/service ... as time permits.

It is our hope and desire that HSP’s/ISP’s that wish to take advantage of MS technologies for the datacenter can do so now and do it in a way that helps them to capitalize on growing market for dynamic, virtualized, hosted, managed services thereby increasing profitability, and enabling HSP’s to go up the value chain.

2.2 Out of Scope

In this document, we do not discuss the physical infrastructure (housing), hardware, rack space, organization of data center, setting up Active Directory infrastructure, DNS, DHCP, ISA, networking, routers, switches, firewalls, connectivity, energy requirements, security, capacity planning, support, and personnel requirements for setting up and operating a data center. It is assumed that hosting service

Page 4Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 12: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

providers (HSP’s) will have pre-existing infrastructure or are in the process of establishing a datacenter with requisite capacity and support infrastructure. What is described in this document is how HSP’s can take advantage of Microsoft software and services, coupled with documentation in the DDC Toolkit, to build a flexible and dynamic datacenter.

2.3 Audience

The target audience is IT Directors/CTO’s, Managers, IT Architects, Systems Engineers, IT Developers, and technical staff of Hosting Providers/ISP’s who can use this document to gain an understanding of various components of the DDC, and implement it in their own environment, and thereby increase the type of managed services that they provide to their customers. This document will also be useful to anyone intending to get better understanding of Microsoft Technologies geared for the Data Center, and the services layer that enables one to automate the day-to-day tasks of running and maintaining dynamic data centers, whether it is on-premise, or off-premise.

2.4 Pre-Requisites

In order to have DDC installed and configure in LAB environment, we suggest that the following Hardware/Software be available:

Hardware/Infrastructure:      

Two servers with similar hardware specs that will be used as Hyper-V a cluster. 

•       SAN shared storage of 300GB accessible by the cluster.  Partition the shared storage equally into 4 40GB LUNs and one 140G LUN.

•       One additional LUN of 100MB for use as the quorum drive.

•       Ensure both your SAN firmware and/or HBA firmware supports iSCSI-3 persistent reservation mode.

•       A working AD environment and other infrastructure server roles.

•       A Windows Enterprise Server 2008 x64 sysprep'd image (if available) .

Software (ISO Images or DVD’s for Installation)

•       Install an ISO mounting tool on both nodes of the cluster.

•       Download the following ISO images onto either of the hosts: 

•       SQL Server 2005 SP3 (x64)

•       Windows Server 2008 Enterprise (x64)

Windows Server 2008 SP2 (x64)

•       System Center Virtual Machine Manager 2008 R2 (x64)

•       System Center Data Protection Manager 2010 RTM (x64)

•       System Center Service Manager 2010 SP1

•       System Center Operations Manager 2007 R2 (x64)

•       Systems Center Configuration Manager 2007 R2

•       Opalis Integration Server 6.3Page 5

Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 13: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

•       Microsoft Deployment Toolkit (MDT Update 4) or Sysprep’ed Images

Note that the above is minimal configuration for LAB based deployment of the DDC, pre-production and production environments require careful thought, capacity planning, and may entail additional physical machines and hardware for scalability, performance, and high availability reasons. Setting up such a production environment is beyond the scope of this document.

Page 6Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 14: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

3 DDC OVERVIEW

In this section, we break down the various architectural components of the Dynamic Data Center built on Microsoft Technologies for the datacenter. The DDC architecture includes the hardware infrastructure, software, and services needed to complete the ecosystem for creating managed, automated, dynamic, agile, and flexible datacenter. In order to keep the document succinct, we provide references to individual DDC best practices and supporting documentation where deemed necessary. For additional details please refer to the following document named: “Dynamic Data Center Guidance.docx”. A case study of the DDC in practical use can be found by reviewing the document named: “MaximASPCaseStudy.docx”.

In this document, the focus is on software and services components of the DDC. The coverage for hardware and infrastructure components is limited to providing the minimal hardware required for setting up the DDC in a lab environment. For additional hardware details, and setting up the network infrastructure, please refer to the appendix or the specific hardware manufacturer’s documentation. The software is broken up into virtualization software, and systems management software. The services layer is comprised of set of web services, and a sample application showcasing self-service customer portal that leverages the DDC services to provide an enhanced/self-managed user experience.

The components of the DDC are as follows:

1) Hardware Infrastructure.

2) Software comprising Microsoft Software for the Dynamic Data Center.

a. Microsoft Hyper-V© based Virtualization built on Windows Server 2008.

b. Microsoft System Center© Suite for Management and Operations.

3) Web wervices (based on WCF) that leverage the manageability and virtualization backend.

4) Supporting documentation, guidelines, and best practices found on http://www.microsoft.com/hosting/dynamicdatacenter/Resources.html

Page 7Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 15: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

The following diagram shows the DDC and its components can be deployed:

Figure 2 Main Components of Dynamic Data Center (DDC)

As depicted above, the DDC comprises of four (4) or more Windows Server 2008 RTM servers running Microsoft System Center Enterprise Suite and a local or remote instance SQL Server 2005 SP3 or higher, as well as one or more Hyper-V host clusters for high availability. The host clusters are running the Hyper-V role of Windows Server 2008, and connected to backend iSCSI, Fiber Channel, or SeS based SAN for shared storage. They are clustered using Windows Server 2008 clustering technology. The WCF Services are also installed on individual System Center Enterprise Servers as described in the section on DDC SERVICES – Toolkit. Note that each Hyper-V host cluster can have up to 16 nodes (Host Servers); with each node typically running 10-20 Hyper-V based Virtual Machines (actual number may vary based on host capacity). Note that in LAB environment, a minimal of 2 Node Hyper-V host clusters is required to enable high availability and failover.

The management servers are used to run Microsoft System Center Enterprise, and can be deployed on either physical or virtual servers. It is recommended that physical machines be used for setting up production environment, and to use virtual machines in a LAB Environment. The Microsoft System Center® Enterprise software is powered by Windows Server 2008 and SQL Server 2005 (or higher). It is comprised of suite of applications that help you manage and optimize entire physical and virtual infrastructure within dynamic datacenter. The products within System Center (SC) 2007 Enterprise include:

- System Center Virtual Machine Manager 2008 R2: VMM provides scalable infrastructure for managing virtual machines. It integrates with System Center Operations Manager 2007 to enable performance & resource optimization.

Page 8Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 16: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

- System Center Operations Manager 2007 R2: Used for monitoring hardware, network, and software. R2 extends support to Linux based systems.

- System Center Configuration Manager 2007 R2: Used for software updates, configuration management, OS deployment, provisioning, inventorying etc.

- System Center Service Manager 2010 SP1: Used for incident and problem resolution, change control, and asset lifecycle management.

- Opalis Integration Server 6.3: Used for orchestration, integration, and automation of IT processes

- Systems Center Data Protection Manager 2010 RTM: Used for protecting (short term/long term backup and recovery) physical and virtual machines, and disaster recovery.

Each of the management servers perform a specific role within dynamic and managed Datacenter, and therefore requires a separate Physical or Virtual Server, and supporting infrastructure such as SQL Server backend, SQL Reporting Services, Active Directory Accounts, PKI, and other infrastructure services such as DNS/DHCP etc. The management servers for System Center can be installed individually on a Single Server, Multi-Server (for load balancing/redundancy), as well as High Availability mode with either stand alone (local) instance of local or remote instance of SQL Server 2005, with optionally clustered instance of SQL Server 2005. For details refer to the section – DDC SOFWARE - Management.

The third component of DDC is the Services backend, consisting of WS-* (Web Services Open Standards) compliant services for integration with the control panel/web portal, and sample Silverlight based web application. These that showcase a customer centric self service portal that integrates with backend services. The WCF® based services are based on Microsoft’s Windows Communication Foundation (part of .NET 4.0 Framework) and support multiple protocols such as SOAP/HTTP. The following WCF services are provided as part of the DDC Toolkit:

- Virtualization WCF Service: This service geared toward interacting with Hyper-V API’s, and provides automation tasks such as provisioning and managing VM.

- Monitoring WCF Service: This service provides ability to monitor physical and virtual devices.

- Configuration Management WCF Service: This service provides the ability to perform software updates, patching, configuration management and other tasks.

- Data Protection Management Windows Service: This is a windows service that is accessible from Http endpoint, that provides backup and recovery services.

The services layer is described further in the section on DDC Services – Toolkit.

Page 9Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 17: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

4 DDC HARDWARE INFRASTRUCTURE

Any successful implementation of Dynamic Data Center requires careful analysis and capacity planning to meet current and future growth. The requirements for each hosting service provider are unique, and dependant on various factors such as hoster’s competencies, specific market and customer base, and their growth potential. A detailed description of planning for dynamic datacenter infrastructure is beyond the scope of this document, for details the reader is referred to Microsoft Infrastructure Planning and Design (IPD) Guides available from www.microsoft.com/IPD.

The Hardware infrastructure for DDC is designed to support the following goals:

- High Availability of Virtual Machines, with Automatic Failover (also called Quick Migration)

- Network Redundancy & High Availability

- Ability to Provision new Virtual Machines using Light Touch or Zero Touch Deployment

- Performance and Resource Optimization (PRO) of Physical and Virtual Infrastructure through functionality provided through integration between System Center Operations Manager 2007 R2 and Systems Center Virtual Machine Manager 2008 R2.

- Large Shared Storage based on SAN technology (such as iSCSI, Fiber Channel, SeS) for VHD’s, Pass-Through Disk were needed.

- System Center Enterprise Suite (including the core products – SC-CM, SC-OM, SC-DPM, SC-SM, Opalis, and SC-VMM).

- Running WCF Services and Demo Instance

4.1 Configuring a 2 Node High Availability Cluster (lab deployment)

Here we describe how to setup a 2 Node High Availability Hyper-V Host Cluster using Windows Server 2008 RTM and Hyper-V RTM. In order to set up 2 Node High Availability Cluster, the following hardware configuration is needed:

Page 10Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

For more Information on the Hardware

Infrastructure, Refer to the following section

of Windows HDA Documentation:

- Setting up High Availability

- Setting up Shared Storage

Page 18: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Cluster Node 1

Cluster Node 2

Shared Storage

Failover

Virtual Hard Disks (VHD)

Figure 3: Two Node Hyper-V Host Cluster w/Failover

The following describes high level steps required to set up 2 Node High Availability Cluster, with references to appropriate documentation in the DDC Toolkit, as follows:

1) Ensure that the physical hardware meets the requirements for Hyper-V based virtualization, such as Intel or AMD x64 with Hyper-V support.

2) Refer to the Document: “Provisioning Hyper-V Virtual Machine in Hosting Environment.docx” to get an overview of the Hyper-V provisioning process related to hosting providers.

3) If the servers are being deployed on bare hardware, the Windows Server 2008 x64 operating system must be deployed, along with any drivers and OS features. There are various techniques available for provisioning bare hardware, such as using Syprep’ed images, using a tool such as Microsoft Deployment Toolkit (MDT), or Windows imaging techniques. Each technique has its own benefits and advantages. Please refer to the following document to determine the best option for provisioning the operating System: “Operating System Imaging with Windows Server 2008 R2.docx”.

Page 11Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 19: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

5 DDC SOFWARE - MANAGEMENT

The management software is comprised of the System Center Enterprise Suite of applications. In the next couple of sections, we discuss each of the products, and their installation in the DDC LAB environment. Please note that in the case of production environment, the hardware requirements are going to be different than in virtual environment. Additionally, failover and scalable installations require multiple and redundant hardware, which is not discussed here. A detailed description of products that comprise the System Center Suite and their capabilities is beyond the scope of this document, the user is referred to: http://www.microsoft.com/systemcenter/en/us/default.aspx.

In order to setup the System Center LAB Environment, the following servers, a minimum of 4 Windows Server 2008 servers are needed, as shown in the physical architecture below; each of these servers could be physical or virtual. Note that in production environment, we recommend high end physical machines in scalable configuration.

Figure 4: DDC LAB Deployment of System Center Suite

5.1 Systems Center Virtual Machine Manager 2008 R2

Virtual Machine Manager 2008 R2 is a component of System Center Enterprise Suite, and is used for managing virtual machine infrastructure.

Install & Configure Virtual Machine Manager 2008 R2

Page 12Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 20: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

To install System Center Virtual Machine Manager 2008 R2, please follow the following steps:

1) Capacity Planning: On the Infastructure Planning and Design, review the following documents http://technet.microsoft.com/en-us/solutionaccelerators/ee395429.aspx

2) Review the latest Pre-Requisites for Deploying Virtual Machine Manager 2008 R2 online at TechNet: http://technet.microsoft.com/en-us/scvmm/default.aspx

3) Provision a Physical or Virtual Machine to install the VMM 2008 R2 Server (for instance, DDC-SC-VMM01).

4) Install necessary VMM Pre-requisites, including any service packs, and any dependant software such as SQL Server 2005 w/SP3. Refer to TechNet documentation for installing System Center VMM 2008 R2 on single server at: http://technet.microsoft.com/en-us/library/cc764289.aspx.

5) Install Virtual Machine Virtual Machine Manager per TechNet documentation and “New Installation of VMM 2008 R2” at http://technet.microsoft.com/en-us/library/cc793149.aspx.

VMM 2008 R2 Post Installation Tasks

Once Virtual Machine Manager 2008 R2 is installed, perform the following tasks:

1) Ensure that you can launch the VMM 2008 R2 console as shown in Figure 5 below.

2) Create one or more Host Server Groups.

3) Add the cluster created earlier to the host.

4) Ensure that you can see the virtual machines that are provisioned in the host cluster.

5) Create and configure the library server. Add any VHD’s and ISO images to the library.

6) Create hardware/software templates.

7) Set/configure high availability options for virtual machines.

8) If Integrating with VMWare ESX server, add the ESX host or cluster to the VMM Group.

Page 13Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 21: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 5: Virtual Machine Manager 2008 Console after being fully deployed

5.2 Systems Center Operations Manager 2007 R2

Operations Manager 2007 R2 is component of System Center Enterprise, and provides end-to-end service management of applications and IT services running across data center fabric, providing greater control and insight into health and performance of Microsoft, UNIX, and Linux servers, and the workloads running on them. For an overview of Systems Center Operations Manager 2007, please refer to the site: http://www.microsoft.com/systemcenter/en/us/default.aspx.

Install & Configure Operations Manager 2007 R2

To install System Center Operations Manager 2007 R2 in DDC Lab Environment, please follow the following steps:

1) “Getting Started with Operations Manager 2007 R2” on TechNet at: http://technet.microsoft.com/en-us/library/dd887701.aspx .

2) Review “Operations Manager 2007 R2 Planning Guide” at: http://technet.microsoft.com/en-us/library/dd789005.aspx and IPD guide in “http://technet.microsoft.com/en-us/solutionaccelerators/ee395430.aspx”.

3) Determine the specific deployment scenario for installing Operations Manager 2007 R2 by reviewing the TechNet article “Operations Manager 2007 Deployment Scenarios” found at: http://technet.microsoft.com/en-us/library/bb432145.aspx. Note that in a lab environment, a single server, single management group scenario is recommended, as shown below:

Page 14Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 22: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 6: Operations Manager 2007 R2 Single Server Deployment

4) Review the pre-requisites for deploying Operations Manager 2007 R2 online at TechNet: http://technet.microsoft.com/en-us/library/bb432131.aspx.

5) If needed, provision a physical or virtual machine needed for installing the Operations Manager 2007 R2 Server (for instance, DDC-SC-OM01).

Page 15Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 23: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

6) Install necessary Operations Manager 2007 R2 pre-requisites, including any service packs, and any dependant software such as SQL Server 2005 w/SP3, and SQL Reporting Services. For Details refer to the appropriate section of the Document: “System Guide for System Center Enterprise Suite.docx”, found in the DDC Toolkit. Refer to TechNet documentation “Deploying the Single Server, Single Management Server Scenario” at http://technet.microsoft.com/en-us/library/bb432146.aspx.

7) Once Ops Manager 2007 R2 is installed, verify that you can launch the Administrative Console as shown below:

Figure 7: Operations Manager 2007 R2 Console

8) Follow post-installation configuration steps as detailed below.

Operations Manager 2007 R2 Post Installation Steps

One you have installed Operations Manager, implement the following steps:

1) Review the online documentation on “Configuring Operations Manager 2007 R2” on TechNet at: http://technet.microsoft.com/en-us/library/cc540365.aspx.

2) Install and deploy operations management agents on each computer and device being managed. Make sure you deploy the SCOM agents on all the fabric machines as well. (e.g. on VMM machine etc.)

3) Install Operations Manager 2007 R2 Management Packs. Management packs help manage the health of specific objects and components. Please refer to the Operations Manager software catalog at http://technet.microsoft.com/en-us/opsmgr/cc539535.aspx for list of the management packs for Ops Manager that are available for download. The following Management Packs are Recommended:

a. Windows Server 2008 (Windows Server)Page 16

Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 24: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

b. Hyper-V

c. DPM 2010 RTM

d. Configuration Manager 2007

e. Operations Manager management pack

f. SQL Server

g. Internet Information Services (IIS) Manager

4) Please note that in version 3 the Hyper-V management pack is required. It is available in the sample solution online with file name as “HyperV.Fabric.MP.xml”. While importing this management pack please ensure the internet connectivity on the SCOM machine and select “Yes” in “Online Catalog Connection” dialog box and import the dependent management packs.

5) Ensure PRO Functionality by installing requisite components on VMM 2008 R2 and Ops Manager 2007 R2 servers.

6) Set up monitoring of computers and devices.

7) Set up alerts and tasks.

8) Create views.

9) Author management packs as needed.

5.3 Systems Center Configuration Manager 2007 R2

Configuration Manager 2007 R2 is a component of System Center Enterprise, and is used for assessing, deploying, updating servers, clients, and devices, across physical and virtual infrastructure. For details about Configuration Manager 2007 R2, please refer the Configuration Manager Product Portal page at: http://www.microsoft.com/systemcenter/configurationmanager/en/us/default.aspx.

Installation of System Center Configuration Manger 2007 R2

To install System Center Configuration Manager 2007 R2, please follow the following steps:

1) Guidance: http://technet.microsoft.com/en-us/library/bb693806.aspx

2) Review the latest Pre-Requisites for Deploying Configuration Manager 2007 R2 online at TechNet: http://technet.microsoft.com/en-us/scvmm/default.aspx

3) Provision a physical or virtual machine to install the Configuration Manager 2007 Server (for instance, DDC-SC-CM01) and R2 update.

4) Install necessary Configuration Manager 2007 R2 pre-requisites, including any security packs and OS Service Packs, and any dependant software such as SQL Server 2005 w/SP3. For Details refer to the TechNet guide at http://technet.microsoft.com/en-us/library/bb694113.aspx for latest pre-requisites. Note that in order to install Configuration Manager 2007 R2, you need to install Configuration Manager 2007 SP1, and then apply the R2 Update.

5) Refer to TechNet documentation for installing Configuration Manager 2007 R2 for single server at: http://technet.microsoft.com/en-us/library/bb632990.aspx. Install Configuration Manager 2007 R2 per the document “Installation Guide for System Center Enterprise Suite.docx”.

6) Follow Post-Installation Configuration steps as detailed below.

Configuration Manager 2007 R2 Post Installation Configuration

The following tasks are required to complete the Installation of Configuration Manager 2007 R2.

Page 17Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 25: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

1) Ensure that Configuration Manager Site Server has been installed correctly by launching the Configuration Manager 2007 R2 Console and verifying the Site Configuration as shown below.

Figure 8: Configuration Manager 2007 Console

2) Refer to the Tasks List for “Configuration Manager Tasks for Single Site System” on TechNet at: http://technet.microsoft.com/en-us/library/bb694280.aspx. In general, the following configuration tasks are recommended:

a. Specify the configuration management boundary

b. Configure the default management point for a site

c. Configure Site Systems (i.e. computers running Configuration Manager 2007 Roles).

d. Configure Site System Roles. The following roles may be needed:

i. ConfigMgr Site Server

ii. ConfigMgr Site System

iii. ConfigMgr Management Point

iv. ConfigMgr Software Update Point

v. ConfigMgr Reporting Point

vi. ConfigMgr Distribution Point

e. Configure site components for status reporting, SQL Server Reporting etc.

Page 18Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 26: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

3) Review Configuration Manager features at http://technet.microsoft.com/en-us/library/bb680550.aspx. A detailed walkthrough of each for the features is beyond the scope of this document, please refer to online documentation.

4) Create/Modify collections. Collections in Configuration Manager are a way of organizing users.

5) Deploy Configuration Manager clients. The steps required for installing clients include:

a. Configure the management point

b. Determine if server locator point is needed.

c. Configure the fallback status point and reporting point.

d. Install the ConfigMgr client.

e. Configure client agents.

6) Configure operating system deployment.

7) Configure software distribution and maintenance Windows(s).

8) Configure integration with Windows Update Server (WSUS).

5.4 System Center Data Protection Manager 2010 RTM

Systems Center Data Protection Manager (DPM) 2010 RTM is a component of System Center Enterprise. DPM is used for backup and recovery across physical and virtual environments. DPM 2010 RTM provides disk-based and tape-based protection and recovery of servers in and across an Active Directory Forest. DPM 2010 RTM includes support for protecting Hyper-V, including support for both guest-based and host-based protection. For an additional layer of protection, DPM 2010 RTM enables backup of local file servers and Hyper-V hosts. For more information, please refer to the DPM product home page at: http://www.microsoft.com/systemcenter/dataprotectionmanager/en/us/default.aspx.

System Center Data Protection Manager 2010 Installation

DPM 2010 RTM is installed on single server and uses local or remote (non-clustered) instance of SQL Server 2008. To install System Center Data Protection Manager 2010 RTM, please follow the following steps:

1) Technet guidance on DPM 2010 http://technet.microsoft.com/en-us/library/ff399192.aspx

2) Provision a physical or virtual machine to install the DPM 2010 RTM Server (for instance, DDC-SC-DPM01).

3) Install necessary DPM pre-requisites, including any service packs, and any dependent software such as SQL Server 2008.

4) Follow post-installation configuration steps as detailed below.

DPM 2010 RTM Post Installation Configuration

The following tasks are performed after installing DPM 2010 RTM to configure and start protecting servers:

1) Ensure that DPM 2010 RTM was successfully installed by launching the DPM Configuration 2010 Console as shown below. Review each of the tabs and online documentation to get to know the features.

Page 19Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 27: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 9: DPM 2010 Admin Console

2) Use the DPM admin console to add disks to the storage pool. Optionally, configure tape libraries.

3) Create DPM protection groups for each storage group to be protected.

4) Deploy the DPM protection agent on each computer that DPM performs backup and recovery on, per TechNet article: technet.microsoft.com/en-us/library /ff399686.aspx . The protection agent could also be installed on server image prior to the server being provisioned. Specify short term and long term protection objectives.

5) For the DDC demo software that is installed later in this document, note that the protection group name must match the machine name for the demo.

5.5 System Center Service Manager 2010 SP1

Systems Center Service Manager (SCSM) 2010 is a component of System Center Enterprise. SCSM delivers an integrated platform for automating and adapting IT Service Management best practices to your organization's requirements. For more information, please refer to the SCSM product home page at: http://www.microsoft.com/en-us/server-cloud/system-center/service-manager.aspx.

System Center Service Manager 2010 SP1 Installation

. To install System Center Service Manager 2010, please follow the following steps:

1) Technet guidance on SCSM 2010 http://technet.microsoft.com/en-us/library/ff461010.aspx Page 20

Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 28: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

2) Provision a physical or virtual machine to install the SCSM 2010 Server (for instance, DDC-SC-SCSM01).

3) Install necessary SCSM pre-requisites, including any service packs, and any dependant software such as SQL Server 2008.

4) Follow post-installation configuration steps as detailed below.

SCSM 2010 Post Installation Configuration

The following tasks are performed after installing SCSM 2010 to configure it appropriately:

1. Import the management pack for SCSM. To do this, build the sample code under directory “MP”. Then the management pack required will be available with the name “Microsoft.ServiceManagement.mpb”. Import this by navigating to Administration section in SCSM console, and then to Management Packs.

2. Create and synchronize AD and SCOM connectors

Open the Service Manager Console

Expand Administration, and then click Connectors.

In the Tasks pane, under Connectors, click Create Connector, and then click Active Directory Connector

Page 21Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 29: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

On the Before You Begin page, click Next

On the General page, in the Name box, type the name ActiveDirectoryConnector for the new connector.

Make sure that the Enable this connector check box is selected, and then click Next

On the Domain or organizational unit page, select Use the domain: <domain name>. Or, select Let me choose the domain or OU, and then click Browse to choose a domain or an organizational unit (OU) in your environment.

In the Credentials section Run As account dialog box, click New…

Page 22Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 30: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

In the Run As Account page enter DDC-SCSM-ADConn for the Display Name

Select Windows Account from the Account list

Enter the user name, password and domain for SCSM AD Connector account (e.g. DDC-SCSM-ADConn) and then click OK

Back on the Domain or organizational unit page, click Test Connection

Click OK and then click Next

On the Select objects page, select All computers, printers, users, and user groups to import all items.

Or, select the Select individual computers, printers, users or user groups radio button to import only the selected items. Then, click Next

Page 23Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 31: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

On the Summary page, make sure that the settings are correct, and then click Create

On the Completion page, make sure that you receive the following confirmation message:

Active Directory connector successfully configured.

Click Close.

In the Connectors pane, select the Active Directory connector.

In the Tasks pane, under the name of the connector, click Synchronize Now

Click OK

In the Connectors pane, locate the Active Directory connector that you created. You might have to wait for a minute before the connector appears.

In the Connectors pane, review the Status column for a status of Finished Success.

Page 24Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 32: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

In the Service Manager console, click Configuration Items.

In the Configuration Items pane, click Users, and then verify that the intended users and user groups from AD DS appear in the Users pane

In the Service Manager console, click Administration.

In the Administration pane, expand Administration, and then click Connectors.

In the Tasks pane, under Connectors, click Create Connector, and then click Operations Manager CI Connector.

On the Before You Begin page, click Next

On the General page, in the Name box, type the name OpsMgrVMM.

Make sure that the Enable check box is selected, and then click Next

Page 25Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 33: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

On the Server Details page, in the Server name box, type the name of the server that is hosting the Operations Manager root management server

Under Credentials, click New

In the User name, Password, and Domain boxes, type the credentials for the OpsMgr Connector CI Account (e.g. DDC-SCSM-OMCIConn), and then click OK

On the Server Details page, click Test Connection.

You will receive the following confirmation message: “The connection to the server was successful”

Click OK, and then click Next

Page 26Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 34: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

On the MP Selection page, click Select only System Center Virtual Machine Manager R2 and then click Next

On the Schedule page, click Next

On the Summary page click Create

Page 27Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 35: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

On the Completion page click Close

In the Connectors pane, select the Operations Manager connector OpsMgrVMM

In the Tasks pane, under the connector name, click Synchronize Now.

In the Synchronize Now dialog box, click OK

5.6 Opalis Integration Server 6.3

Opalis Integration Server 6.3 is a component of System Center Enterprise. Opalis Integration Server is the leading solution for IT Operations Run Book Automation (RBA). It provides orchestration, integration, and automation of IT processes, enabling companies to define and standardize best practices and improve operational efficiency. For more information, please refer to the Opalis product home page at: http://www.microsoft.com/en-us/server-cloud/system-center/opalis.aspx.

Opalis Integration Server 6.3 Installation

. To install Opalis Integration Server 6.3, please follow the following steps:

1) Technet guidance on Opalis http://technet.microsoft.com/en-us/library/ff630946.aspx

2) Provision a physical or virtual machine to install the Opalis Integration Server 6.3 Server (for instance, DDC-SC-Opalis01).

3) Install necessary Opalis pre-requisites, including System Center Operations Manager console and System Center Virtual Machine Manager console, any service packs, and any dependant software such as SQL Server 2008.

4) Follow post-installation configuration steps as detailed below.

Opalis Integration Server 6.3 Post Installation ConfigurationThe following tasks are performed after installing Opalis to configure it appropriately:

Page 28Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 36: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

a. Import the Opalis workflows.

In the Import Wizard, browse to the export file (File

with the extension “*.ois_export”. This is

available on the DDTKH forum itself)

Make sure all check-boxes are selected

Click Finish

b. Configure Opalis Global VariablesOpalis global variables are used so that server names and other environment specific variables are not hard coded into scripts and workflows.

Steps to configure opalis global variables

On the Opalis server, expand the Global SettingsVariablesDDTK folder.

The workflow import should have created a number of global variables in this folder and in its child folders. These variables under “DDTK” and “System Center Agents” folders must be updated to reflect the server names and other settings specific to your installation. The variables under “Linux Setup Settings” folder are not used.

The following table provides the Global Variable Name and Description for each of the required global variables:

Global Variable Name Description

PSExecPath Path to the psexec.exe Ex: c:\DDTK\psexec.exe

SCCM Setup Parameters Syntax: /mp:<ServerName> SMSSITECODE=<SiteCode> MP=<ServerName>

SCCMAgentInstallFiles \\<The Server Name of the DDTKH Fabric Management SCCM Server>\SMS_DCS\Client.

Page 29Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 37: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Global Variable Name Description

SCCMServer The Server Name of the DDTKH Fabric Management SCCM Server.

SCOMServer The Server Name of the DDTKH Fabric Management SCOM server.

VMM Server The Server Name of the DDTKH Fabric Management VMM server.

OpalisHelperPath Path to the OpalisHelper.exe (Place the OpalisHelper.exe on the opalis server (say at location “c:\Opalis\OpalisHelper”) and then configure this by updating the OpalisHelper.exe.config file as per your environment. Do update all the endpoint addresses in the config file to point to appropriate address)

c. Configuring the Opalis Integration Pack Connections

Each integration pack requires a connection to its respective System Center management server. In this section you will enter the appropriate server names and credentials for accessing the System Center servers via their Opalis integration packs

On the taskbar, click Start, click All Programs, click Opalis Software, Right-click Opalis Integration Server Client and select Run As Administrator

In the Opalis Integration Server Client, click

Options, and then select the System Center

Configuration Manager.

Page 30Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 38: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Click Edit to edit the connection settings for

the SCCM Integration Pack.

Do not edit the Name of the connection. This

should have been preserved from the

Workflow Import.

Edit the Server, Username, and Password

fields and set appropriately for your

installation.

Click the Test Connection button to make

sure the connection is configured properly.

Click Ok, and then click Finish to save the

changes.

In the Opalis Integration Server Client, click

Options, and then select the Microsoft

Operations Manager.

Page 31Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 39: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Click Edit to edit the connection settings for

the SCOM Integration Pack.

Edit the Name, Domain, Username, and

Password fields and set appropriately for

your installation.

Click the Test Connection button to make

sure the connection is configured properly.

Click Ok, and then click Finish to save the

changes.

In the Opalis Integration Server Client, click

Options, and then select the System Center

Service Manager.

Page 32Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 40: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Click Edit to edit the connection settings for

the SCSM Integration Pack.

Do not edit the Name of the connection. This

should have been preserved from the

Workflow Import.

Edit the Server, Domain, Username, and

Password fields and set appropriately for

your installation.

Click the Test Connection button to make

sure the connection is configured properly.

Click Ok, and then click Finish to save the

changes.

OPTIONAL:

In the Opalis Integration Server Client, click

Options, and then select the System Center

Data Protection Manager.

Page 33Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 41: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Click Edit to edit the connection settings for

the DPM Integration Pack.

Do not edit the Name of the connection. This

should have been preserved from the

Workflow Import.

Edit the Properties and set appropriately for

your installation.

Click Ok, then click Finish to save the

changes.

In the Opalis Integration Server Client, click

Options, and then select the System Center

Virtual Machine Manager.

Page 34Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 42: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Click Edit to edit the connection settings for

the VMM Integration Pack.

Do not edit the Name of the connection. This

should have been preserved from the

Workflow Import.

Edit the Properties and set appropriately for

your installation.

Click Ok.

Note: In the VM Provisioning workflows, for SCCM and SCOM agent installation steps to succeed, the Opalis, SCCM and SCOM service users should have appropriate privileges on the provisioned VM.

d. Configure Opalis Workflows

Once the Opalis workflows are imported, the

following workflow must be started, as it runs

on a periodic basis such as every few minutes.

In the DDTK Monitoring folder, select the

Provisioning Monitor tab and click Start

Page 35Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 43: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

6 DDC SERVICES – TOOLKIT

In this Section, we discuss how the DDC Toolkit can be used as a starting point for building a managed hosting solution that leverages management infrastructure built upon Hyper-V and System Center. The DDC Toolkit consists of Windows Communication Services (WCF) for virtualization, monitoring, configuration management and service management. The Data Protection Manager component is implemented as a Windows service. These are all used by a Sample Silverlight © based application. The logical architecture of the DDC Toolkit is as shown below:

Figure 10: Logical Architecture of DDC Toolkit showing the DDC Services Layer interaction with Management and Presentation Layers

As can be seen in the above figure, the Management Layer consists of the management servers that are running Hyper-V, and System Center. Each of the management servers have an API that allows for programmatic access, and collectively is referred to as the Management Layer. The Services Layer in the middle interacts with the Management Layer using Microsoft WMI (Windows Management Instrumentation) API calls. In some cases, Power Shell© scripts may also be used to interact with the Management layer. Each of the services runs as a WCF Service within IIS 7.x and WAS (Windows Activation Service), or in the case of DPM, as a Windows Service. The presentation layer at the top provides the UI/UX experience. It communicates with the Management Layer through the Services Layer using SOAP/HTTP protocol. In most cases, the UI is a customer centric control panel or web based management portal. Additionally, an administrative interface is also provided for greater control and access to those with proper security rights. Finally, a sample Silverlight based web application is

Page 36Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 44: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

used to demonstrate how the services layer can be accessed using SOAP/HTTP calls to build a managed hosting application that leverages the power of Hyper-V and System Center.

There are various possible configurations for deploying the Services Layer in DDC Toolkit. The figure below shows one possible physical configuration for deploying the services, with each service deployed to its respective Management Server, and the Virtualization Service deployed to a Hyper-V Host.

Figure 11: Deployment Diagram Showing the various Services deployed to respective Management Servers/Hyper-V

Page 37Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 45: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

In the next section we discuss high level tasks for installing the services layer, broken down into each of the various services. Please review the appropriate document for additional details and step-by-step instructions.

The following are pre-requisites for installing the services layer:

1) Note that all sample code is located at http://code.msdn.microsoft.com/ddc

2) Windows Server 2008 Host Server Running Hyper-V (for Virtualization Web Service) and corresponding System Center Management Server role for monitoring, configuration, service manager, and DPM services.

3) IIS Server role with IIS 6.0 Compatibility as shown in the figure below.

4) WCF Activation enabled as shown below.

5) .NET Framework 4.0 full install

6) Create an IIS Application Pool for each WCF Service.

7) Create a domain account for running each service. Grant necessary privileges to each of these accounts.

8) Admin rights on the server to install the service.

9) Install the clientaccesspolicy.xml file to the IIS root where the services are to be installed (usually \Inetpub\wwwroot). This is needed if you are calling services from Silverlight based application. A sample clientaccesspolicy.xml is provided in the DDC Toolkit.

10) Once the services are installed, verify that each of the services are running by invoking the corresponding WSDL in web browser.

Page 38Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

This Section assumes that you have Access to the Sample Code folder from the DDC Toolkit downloaded from http://code.msdn.microsoft.com/ddc

Page 46: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 12: Ensure that the Web Server Role is Installed by using Server Manager Console

Also ensure that WCF Activation is checked as shown in the figure below:

Figure 13: Ensure that WCF Activation is added as Feature using Server Manager Console

Page 39Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 47: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Also ENABLE IIS 6 Management Compatibility.

Figure 14- IIS 6 compatability

Note 1: Create an application pool for each web service. The application pool must have administrative permissions for each system center product.

Note 2: Also for each web service(except SCCM service), in the “web.config” file the “DomainSecurityGroup” should be set to an AD group, that the Portal IIS App Pool account needs to be a part of. This will be set in the web.config file in the line similar to the below line:

<add key="DomainSecurityGroup" value="CONTOSO\Domain Admins"/>

Change the “value” attribute appropriately.

Note 3: Note for all web services. The web services should be set to use anonymous authentication. The portal app must be set to use Windows Authentication.

6.1 Installing the SCVMM Service

The high level steps required for installing the SCVMM Service are as follows, for details on SCVMM deployment please refer to the appropriate product documentation:

1) Ensure that all Prerequisites are met, including creating application pool and domain account(s) needed as described in section 6.

2) On the server where you are installing virtualization service, run the following MSI package for the SCVMM Service: SCVMMServiceSetup.msi *1

3) At the dialog shown below, click Next.

1 If you are running Windows Account Control, you may have to launch the MSI package from command window and running it by right clicking it and using “Run as Administrator” command.

Page 40Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 48: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 15: Virtualization Web Service Setup Dialog

7. Click on Next, and select Web Site (Default in this case), Web Application name, and Application Pool as shown below. Please note that this identity under which this app pool account runs, needs to be local admin on all hosts.

Page 41Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 49: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 16: Virtualization Web Service Installation Option(s)

8. Select next twice to complete the installation.

9. Make sure the authentication type in the IIS is set as anonymous and the rest authentication types are disabled.

10) Open the web.config in the folder where the service is located and set the SCVMMServerName and SCVMMServerPort. These are the name and connection port for the SCVMM machine.

11) Validate that the Virtualization Service has been installed correctly, by launching IIS 7 Manager (Start Administrative Tools -> Internet Services Manager), Expand Default Web Site SCVMMService, and then selecting “Content View” tab in the details (content) pane (Middle), selecting “VirtualMachineManagementService.svc” and selecting “Browse” from the Actions menu on the right, as shown:

Page 42Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 50: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 17: Virtualization Web Service in IIS

12) Verify that this web service is set to use anonymous auth in IIS.

13) Alternatively, you can launch IE (or any web browser), and go directly to :

http://localhost/VirtualizationWebService/VirtualizationService.svc

6.2 Installing & Configuring the Monitoring Service

The steps for each service are very similar. The high level Steps required for installing the Monitoring Service are as follows

1) Ensure that all Prerequisites are met, including creating application pool and domain account(s) needed as described in section 6.

2) On the Server where you are installing Monitoring Service, run the following MSI package for Monitoring Service: SCOMSvcSetup.msi *2

3) At the Next Screen, select appropriate Web Site, Web Application Name, and Application Pool.

4) Click Next twice to confirm and install the Monitoring Service.

5) Make sure the authentication type in the IIS is set as anonymous and the rest authentication types are disabled.

6) Confirm that the service works by launching IIS Manager, Selecting MonitoringService web application, and browsing MonitoringService.svc as shown below:

2 If you are running Windows Account Control, you may have to launch the MSI package from command window and running it by right clicking it and using “Run as Administrator” command.

Page 43Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 51: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 18: Monitoring Web Service in IIS

7) Alternatively, browse to http://localhost/MonitoringWebService/MonitoringService.svc on the server where you installed the Monitoring Service.

8) The monitoring service uses the Hyper-V Fabric MP.  Install the HyperV.Fabric.MP.xml management pack onto the SCOM server by importing from the SCOM MMC.

9) You will need the below Hyper-V MP’s and SCOM monitoring the hosts.

Figure 19: Hyper-V MPs in SCOM console

The management pack retrieves host based counters into SCOM as in the below chart.

Page 44Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 52: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 20: Host based counters retrieved by MPs

6.3 Installing & Configuring the Configuration Management Service

The high level Steps required for installing the Configuration Service are as follows, for details please refer to the appropriate documentation in DDC Toolkit:

1) Ensure that all Prerequisites are met, including creating application pool and domain account(s) needed as described in section 6.

Page 45Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 53: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

2) On the Server where you are installing Configuration Management Service, run the following MSI package for Configuration Web Service: ConfigurationWebServiceSetup.msi *3

3) Select “Next” and enter the Web Site Address, Web Application Name, and Application Pool as shown below:

4) Select “Next” to confirm the installation.

5) Finish the Installation by clicking on “Close” button:

6) Make sure the authentication type in the IIS is set as anonymous and the rest authentication types are disabled..

7) Validate that the Configuration Service is running by using IIS Manager as shown below:

Figure 21: Configuration Web Service in IIS

8) Alternately, browse to the web site http://localhost/ConfigurationWebService/ConfigService.svc and verify that the link is working.

6.4 Installing & Configuring Data Protection Manager Service

The high level steps required for installing the DPM 2010 Service are as follows

Ensure that all Prerequisites are met, including creating domain account(s) needed as described in section 6.

1) On the Server where you are installing Data Protection Manager Service, run the following MSI package for DPM Windows Service: DPMSvcSetup.msi *4

2) At the Next Screen, select appropriate Web Site, Web Application Name, and Application Pool.

3) Select “Next” and confirm the Installation.

3 If you are running Windows Account Control, you may have to launch the MSI package from command window and running it by right clicking it and using “Run as Administrator” command.

4 If you are running Windows Account Control, you may have to launch the MSI package from command window and running it by right clicking it and using “Run as Administrator” command.

Page 46Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 54: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

4) Make sure the authentication type in the IIS is set as anonymous and the rest authentication types are disabled.

6.5 Installing & Configuring Service Manager Service

The high level steps required for installing the Service Manager Service are as follows

Ensure that all Prerequisites are met, including creating domain account(s) needed as described in section 6.

1) On the Server where you are installing the Service Manger Manager Service, run the following MSI package for the Service Manager Service: SvcMgrSetup.msi

2) At the Next Screen, select appropriate Web Site, Web Application Name, and Application Pool.

3) Select “Next” and confirm the Installation.

4) Make sure the authentication type in the IIS is set as anonymous and the rest authentication types are disabled.

5) Open the web.config in the folder where the service is located and set the value for the “ManagementServerName”. This is the name of the SCSM machine.

6) Create an operations manager connector in service manager to sync VMM CI’s from operations manager. For simplicity you can name the connector OpsMgr as this name will be used in the next step.

7) Under the sample source DDTK\MP\SyncOpsConnector you will find SyncOpsConnector.exe. Copy this to the service manager server and set up a scheduled task to run approx.. every 5 min under the context of an account with service manager admin rights.

This application runs the ops manager/ service manager more frequently than the once a day sync that ships out of the box.

The application takes a single parameter which is the operations manager connector name.

Example SyncOpsConnector.exe OpsMgr

Page 47Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 55: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

7 DDC TOOLKIT - SERVICES

This section describes logical architecture of each of the Web Services for Virtualization, Monitoring, and Configuration Management, and DPM Windows Service in detail. The services are described in terms of their adherence to SOA principles, and using UML5 diagrams for better understanding of the software architecture. The Services Layer of the DDC Toolkit is implemented using SOA principles, and contract (interface) based development, and is based on Microsoft’s distributed communication technology called Windows Communication Foundation (WCF). Contract based development is tenet of Service Oriented Applications (SOA’s) where the service is broken up into an “external” interface, and an internal “implementation”. The “external interface” is part of service capability or functionality that is exposed to the outside world. The implementation of the service is then an internal detail which external clients are not concerned with. Clients then interact with this service using external interface or contract. Contracts in WCF can be of different types. Service Contracts are a declaration of exposed behavior (methods), Data Contracts are used for persistent data exchange, and message contracts for structured messages, and Fault Contracts for communicating fault information. The WCF services for Hyper-V and System Center Suite are built upon this common foundation, and expose the following contracts as shown in the logical diagram below:

5 UML is acronym Unified Modeling Language, and is used to model Software by showing the classes and interfaces, and the interactions between them.

Page 48Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

A detailed description of WCF is beyond the

scope of this documentation. For

details please refer to documentation on

MSDN, or the appendix for

suggested reading.

Page 56: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 22: Logical Architecture of DDC Services Layer showing the Separation of Interlaces & Implementation

Figure: Hosting Services – Showing WCF Contracts provided, and Corresponding Implementation

WCF takes web services to the next level by providing unified programming model for building secure, reliable, and interoperable applications. It provides full support for latest suite of ws-* protocols, and thus can be used to interoperate with heterogeneous systems using open protocols such as soap/http based web services.

7.1 System Center Virtual Machine Manager (SCVMM) Service

The Virtualization Service provides a service oriented abstraction of underlying VMM platform. It runs on the web front end and is installed using the MSI package as described elsewhere in this document. Using the VMM Service, a client can do the following:

- Start Virtual Machine

- Shutdown Virtual Machine

- Take Snapshot of Virtual Machine

- Turn Off Virtual Machine

- Save Virtual Machine

- Mount Virtual Hard Disk

- Get Virtual System Configuration

- Perform Migrations

- Provision new virtual machines

Page 49Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 57: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

The following Service Interfaces and corresponding Methods are implemented by the Virtualization Service HDA:

Page 50Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 58: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Microsoft::Hosting…irtualizationServer«C# class»

Attributes~ Provider : WmiObjectProviderOperations+ Connect(hostName : String, timeout : TimeS…+ Dispose()+ GetVirtualSystem(name : String) : MsvmCom…+ GetVirtualSystemThumbnailImage(virtualSys…+ ModifyVirtualSystemResources(virtualSystem …+ VirtualizationServer(mgmtobject : Managem…+ VirtualizationServer()- static VirtualizationServer()

Microsoft::Hosting…anagementService«C# class»

Attributes- conn : ServerConnection~ Provider : WmiObjectProviderOperations+ ChangeVirtualSystemMemorySetting(vmNam…+ CloneGuestOSProfile(name : String, originalP…+ CloneHardwareProfile(name : String, oldProfi…+ DeleteVirtualMachine(vmId : Guid)+ DeleteVirtualMachineCheckpoint(checkpointI…+ GetAllVirtualMachines() : List<VirtualMachin…+ GetGuestOSProfileById(id : Guid) : GuestOS…+ GetGuestOSProfiles() : List<GuestOSProfileI…+ GetHardwareProfileById(hardwareProfileId : …+ GetHardwareProfles() : List<HardwareProfile…+ GetHostById(hostId : Guid) : HostInfo+ GetHostByName(hostName : String) : HostIn…+ GetHostClusterByName(clusterName : String…+ GetHostClusters() : List<HostClusterInfo>+ GetHostDisksByHost(host : HostInfo) : List<…+ GetHosts() : List<HostInfo>+ GetHostVolumes(host : HostInfo) : List<Hos…+ GetISOById(isoId : Guid) : ISOInfo+ GetISOs() : List<ISOInfo>+ GetLibraryServerByComputerName(compute…+ GetLibraryServers() : List<LibraryServerInfo>+ GetOperatingSystemById(id : Guid) : Operati…+ GetOperatingSystems() : List<OperatingSyst…+ GetProcessorTypeById(id : Guid) : Processor…+ GetProcessorTypes() : List<ProcessorTypeIn…+ GetScriptById(id : Guid) : ScriptInfo+ GetScripts() : List<ScriptInfo>+ GetSecurePassword(password : String) : Sec…+ GetTaskById(taskId : Guid) : TaskInfo+ GetTaskByName(name : String) : TaskInfo+ GetTasks() : List<TaskInfo>+ GetTemplateById(templateId : Guid) : Temp…+ GetTemplates() : List<TemplateInfo>+ GetVirtualCOMPortsByHardwareProfile(profil…+ GetVirtualCOMPortsByTemplate(template : T…+ GetVirtualCOMPortsByVM(vmId : Guid) : List…+ GetVirtualDiskDrivesByTemplate(template : …+ GetVirtualDiskDrivesByVM(vmId : Guid) : Lis…+ GetVirtualDVDDrivesByVM(vmId : Guid) : Lis…+ GetVirtualHardDisks() : List<VirtualHardDisk…+ GetVirtualHardDisksByTemplate(template : T…+ GetVirtualHardDisksByVM(vmId : Guid) : List…+ GetVirtualMachineByName(virtualMachineNa…+ GetVirtualMachineCheckpoints(vmId : Guid) …+ GetVirtualMachinesByHost(hostName : Strin…+ GetVirtualNetworkAdaptersByHardwareProfil…+ GetVirtualNetworkAdaptersByTemplate(temp…+ GetVirtualNetworkAdaptersByVM(vmId : Gui…+ GetVirtualNetworkByHost(host : HostInfo) : …+ GetVirtualSCSIAdaptersByHardwareProfile(pr…+ GetVirtualSCSIAdaptersByTemplate(template …+ GetVirtualSCSIAdaptersByVM(vmId : Guid) : …+ GetVirtualSystemMemorySetting(vmName : …+ GetVirtualSystemThumbnailImage(imgWidth …+ GetVMHostRatingsByCluster(vmId : Guid, is…+ GetVMHostRatingsByHost(vmId : Guid, isMig…+ MoveVirtualHardDisk(busType : VHDBusTyp…+ MoveVirtualHardDiskById(vhdId : Guid, desti…+ MoveVirtualMachine(vmId : Guid, hostId : G…+ NewGuestOSProfile(name : String, descriptio…+ NewHardwareProfile(processor : ProcessorT…+ NewHardwareProfileVirtualDVDDrive(profile : …+ NewHardwareProfileVirtualNetworkAdapter(p…+ NewHardwareProfileVirtualSCSIAdapter(profi…+ NewTemplate(name : String, description : St…+ NewTemplateFromTemplate(name : String, t…+ NewTemplateFromVHD(name : String, vhdId …+ NewTemplateFromVM(name : String, libServ…+ NewTemplateVirtualDVDDrive(template : Te…+ NewTemplateVirtualNetworkAdapter(templat…+ NewTemplateVirtualSCSIAdapter(template : …+ NewVirtualMachine(vmId : Guid, vmName : …+ NewVirtualMachine(vmName : String, descri…+ NewVirtualMachine(vmName : String, descri…+ NewVirtualMachineCheckpoint(vmId : Guid, …+ NewVirtualMachineFromTemplate(template : …+ NewVirtualMachineFromVM(vmId : Guid, vm…+ NewVMVirtualDiskDrive(vmId : Guid, size : I…+ NewVMVirtualDiskDriveFromVHD(vmId : Gui…+ NewVMVirtualDVDDrive(vmId : Guid, iso : IS…+ NewVMVirtualNetworkAdapter(vmId : Guid, …+ NewVMVirtualSCSIAdapter(vmId : Guid) : Vir…+ PauseVirtualMachine(vmId : Guid)+ PopulateObjectCache(conn : ServerConnecti…+ RemoveGuestOSProfile(profile : GuestOSProf…+ RemoveHardwareProfile(profile : HardwareP…+ RemoveISO(iso : ISOInfo)+ RemoveScript(script : ScriptInfo)+ RemoveTemplate(templateId : Guid)+ RemoveVirtualDVDDrive(dvd : VirtualDVDDri…+ RemoveVirtualMachine(vmId : Guid)+ RemoveVirtualNetworkAdapter(adapter : Virt…+ RemoveVirtualSCSIAdapter(adapter : Virtual…+ RestoreVirtualMachineCheckpoint(checkpoint…+ ResumeVirtualMachine(vmId : Guid)+ SaveVirtualMachine(vmId : Guid)+ SetVirtualMachine(vmId : Guid, jobGroup : N…+ SetVirtualNetworkAdapter(adapter : VirtualN…+ ShutdownVirtualMachine(vmId : Guid)+ StartVirtualMachine(vmId : Guid)+ StopVirtualMachine(vmId : Guid)+ SuspendVirtualMachine(vmId : Guid)+ VirtualMachineManagementService()- GetBootDeviceArray(bootDevice : BootDevice…- GetBootDeviceInfo(bootDevice : BootDevice[…- GetCheckpointHardwareProfileInfo(profile : C…- GetGuestOSProfileInfo(profile : GuestOSProfil…- GetGuestOSProfileInfoList(profiles : List<Gue…- GetHardwareProfileInfo(p : HardwareProfile) …- GetHardwareProfileInfoList(profiles : List<Har…- GetHostClusterDiskInfo(disk : HostClusterDisk…- GetHostClusterInfo(c : HostCluster) : HostClu…- GetHostClusterInfoList(clusters : List<HostClu…- GetHostDiskInfo(d : HostDisk) : HostDiskInfo- GetHostDiskInfoList(disks : List<HostDisk>) : …- GetHostGroupInfo(group : HostGroup) : Host…- GetHostInfo(host : Host) : HostInfo- GetHostInfoList(nodes : List<Host>) : List<H…- GetHostNetworkAdapterInfo(a : HostNetwork…- GetHostNetworkAdapterInfoList(adapters : Li…- GetHostVolumeInfo(v : HostVolume) : HostV…- GetHostVolumeInfoList(disks : List<HostVolu…- GetISOInfo(iso : ISO) : ISOInfo- GetISOInfoList(isos : List<ISO>) : List<ISOI…- GetLibraryServerInfo(s : LibraryServer) : Libr…- GetLibraryServerInfoList(servers : List<Librar…- GetOperatingSystemInfo(os : OperatingSyste…- GetOperatingSystemInfoList(oss : List<Opera…- GetProcessorTypeInfo(processorType : Proce…- GetProcessorTypeInfoList(processorTypes : Li…- GetScriptInfo(s : Script) : ScriptInfo- GetScriptInfoList(scripts : List<Script>) : List…- GetServerConnection()- GetStandaloneVirtualhardDiskInfo(d : Standal…- GetStandaloneVirtualHardDiskInfoArray(disks …- GetStepInfo(s : Step) : StepInfo- GetStepInfoList(steps : List<Step>) : List<St…- GetTaskInfo(t : Task) : TaskInfo- GetTaskInfoList(tasks : List<Task>) : List<Ta…- GetTemplateInfo(t : Template) : TemplateInfo- GetTemplateInfoList(templates : List<Templa…- GetVersionInfo(v : Version) : VersionInfo- GetVirtualcOMPortInfo(port : VirtualCOMPort) …- GetVirtualCOMPortInfoArray(ports : VirtualCO…- GetVirtualCOMPortInfoList(ports : List<Virtual…- GetVirtualDiskDriveInfo(drive : VirtualDiskDri…- GetVirtualDiskDriveInfoArray(drives : VirtualD…- GetVirtualDiskDriveInfoList(drives : List<Virtu…- GetVirtualDVDDriveInfo(drive : VirtualDVDDri…- GetVirtualDVDDriveInfoArray(drives : VirtualD…- GetVirtualDVDDriveInfoList(drives : List<Virtu…- GetVirtualHardDiskInfo(disk : VirtualHardDisk…- GetVirtualHardDiskInfoArray(disks : VirtualHa…- GetVirtualHardDiskInfoList(disks : List<Virtual…- GetVirtualMachineInfo(vm : VM) : VirtualMac…- GetVirtualMachineInfoList(vms : List<VM>) : …- GetVirtualNetworkAdapterInfo(adapter : Virtu…- GetVirtualNetworkAdapterInfoArray(adapters …- GetVirtualNetworkAdapterInfoList(adapters : …- GetVirtualNetworkInfo(v : VirtualNetwork) : V…- GetVirtualNetworkInfoList(vNetworks : List<V…- GetVirtualSCSIAdapterInfo(adapter : VirtualS…- GetVirtualSCSIAdapterInfoArray(adapters : Vi…- GetVirtualSCSIAdapterInfoList(adapters : List…- GetVirtualSystem(vmName : String, hostServ…- GetVMCheckpointInfo(c : VMCheckpoint) : V…- GetVMCheckpointInfoArray(cp : VMCheckpoin…- GetVMCheckpointInfoList(cp : List<VMCheck…- GetVMHostRatingInfo(r : VMHostRating) : VM…- GetVMHostRatingInfoArray(rs : VMHostRating…- GetVMHostRatingInfoList(rs : List<VMHostRa…

Microsoft::Hosting…alMachineManager«C# class»

Attributes- warning : PSSnapInExceptionOperations+ CloneGuestOSProfile(conn : ServerConnectio…+ CloneHardwareProfile(conn : ServerConnecti…+ CompressVirtualDiskDrive(drive : VirtualDisk…+ ConvertVirtualDiskDrive(drive : VirtualDiskDr…+ DeleteVirtualMachine(conn : ServerConnecti…+ DeleteVirtualMachineCheckpoint(conn : Serv…+ ExpandVirtualDiskDrive(drive : VirtualDiskDri…+ GetAllVirtualMachines(conn : ServerConnecti…+ GetGuestOSProfileById(conn : ServerConnec…+ GetGuestOSProfiles(conn : ServerConnection…+ GetHardwareProfileById(conn : ServerConne…+ GetHardwareProfiles(conn : ServerConnectio…+ GetHostById(conn : ServerConnection, hostI…+ GetHostByName(conn : ServerConnection, h…+ GetHostClusterByName(conn : ServerConnec…+ GetHostClusters(conn : ServerConnection) : …+ GetHostDisksByHost(host : Host) : List<Host…+ GetHostNetworkAdapters(host : Host) : List…+ GetHosts(conn : ServerConnection) : List<H…+ GetHostVolumes(host : Host) : List<HostVol…+ GetISOById(conn : ServerConnection, isoId : …+ GetISOs(conn : ServerConnection) : List<IS…+ GetLibraryServerByComputerName(conn : S…+ GetLibraryServers(conn : ServerConnection) …+ GetOperatingSystemById(conn : ServerConn…+ GetOperatingSystems(conn : ServerConnecti…+ GetParameterForVHDBusType(type : VHDBu…+ GetProcessorTypeById(conn : ServerConnect…+ GetProcessorTypes(conn : ServerConnection…+ GetScriptById(conn : ServerConnection, id : …+ GetScripts(conn : ServerConnection) : List<S…+ GetTaskById(conn : ServerConnection, taskI…+ GetTasks(conn : ServerConnection) : List<T…+ GetTemplateById(conn : ServerConnection, t…+ GetTemplates(conn : ServerConnection) : Lis…+ GetVirtualCOMPortsByHardwareProfile(profil…+ GetVirtualCOMPortsByTemplate(template : T…+ GetVirtualCOMPortsByVM(vm : VM) : List<Vi…+ GetVirtualDiskDrivesByTemplate(template : …+ GetVirtualDiskDrivesByVM(vm : VM) : List<V…+ GetVirtualDVDDrivesByVM(vm : VM) : List<V…+ GetVirtualHardDisks(conn : ServerConnectio…+ GetVirtualHardDisksByTemplate(template : T…+ GetVirtualHardDisksByVM(vm : VM) : List<Vi…+ GetVirtualMachineById(conn : ServerConnec…+ GetVirtualMachineByName(conn : ServerCon…+ GetVirtualMachineCheckpoints(conn : Server…+ GetVirtualMachinesByHost(conn : ServerCon…+ GetVirtualNetworkAdaptersByHardwareProfil…+ GetVirtualNetworkAdaptersByTemplate(temp…+ GetVirtualNetworkAdaptersByVM(vm : VM) : …+ GetVirtualNetworkByHost(host : Host) : List…+ GetVirtualSCSIAdaptersByHardwareProfile(pr…+ GetVirtualSCSIAdaptersByTemplate(template …+ GetVirtualSCSIAdaptersByVM(vm : VM) : List…+ GetVMHostRatingsByCluster(vm : VM, isMigr…+ GetVMHostRatingsByHost(vm : VM, isMigrati…+ GetVMHostRatingsByHostGroup(vm : VM, is…+ MoveVirtualHardDisk(conn : ServerConnectio…+ MoveVirtualHardDisk(vhd : StandaloneVirtual…+ MoveVirtualMachine(vm : VM, vmHost : Host…+ MoveVMHost(host : Host, newGroup : HostG…+ MoveVMHostCluster(cluster : HostCluster, ne…+ MoveVMHostGroup(group : HostGroup, new…+ NewGuestOSProfile(conn : ServerConnection…+ NewHardwareProfile(conn : ServerConnectio…+ NewHardwareProfileVirtualDVDDrive(profile : …+ NewHardwareProfileVirtualNetworkAdapter(p…+ NewHardwareProfileVirtualSCSIAdapter(profi…+ NewTemplate(conn : ServerConnection, nam…+ NewTemplateFromTemplate(name : String, t…+ NewTemplateFromVHD(name : String, vhd : …+ NewTemplateFromVM(name : String, libServ…+ NewTemplateVirtualDVDDrive(template : Te…+ NewTemplateVirtualNetworkAdapter(templat…+ NewTemplateVirtualSCSIAdapter(template : …+ NewVirtualMachine(template : Template, vm…+ NewVirtualMachine(vm : VM, vmName : Stri…+ NewVirtualMachine(vm : VM, vmName : Stri…+ NewVirtualMachine(server : ServerConnectio…+ NewVirtualMachine(conn : ServerConnection…+ NewVirtualMachineCheckpoint(conn : Server…+ NewVMHostGroup(conn : ServerConnection, …+ NewVMVirtualDiskDrive(conn : ServerConnec…+ NewVMVirtualDiskDrive(conn : ServerConnec…+ NewVMVirtualDVDDrive(vm : VM, iso : ISO, …+ NewVMVirtualNetworkAdapter(vm : VM, add…+ NewVMVirtualSCSIAdapter(vm : VM) : Virtua…+ PauseVirtualMachine(conn : ServerConnectio…+ RemoveGuestOSProfile(profile : GuestOSProf…+ RemoveHardwareProfile(profile : HardwareP…+ RemoveISO(iso : ISO)+ RemoveScript(script : Script)+ RemoveTemplate(template : Template)+ RemoveVirtualDiskDrive(drive : VirtualDiskDr…+ RemoveVirtualDVDDrive(dvd : VirtualDVDDri…+ RemoveVirtualHardDisk(disk : VirtualHardDis…+ RemoveVirtualMachine(vm : VM)+ RemoveVirtualNetworkAdapter(adapter : Virt…+ RemoveVirtualSCSIAdapter(adapter : Virtual…+ RemoveVMHostGroup(group : HostGroup)+ RestartTask(task : Task)+ RestoreVirtualMachineCheckpoint(conn : Ser…+ ResumeVirtualMachine(conn : ServerConnec…+ SaveVirtualMachine(conn : ServerConnection…+ SetVirtualMachine(vm : VM, jobGroup : Nulla…+ SetVirtualNetworkAdapter(adapter : VirtualN…+ SetVMHostGroup(group : HostGroup, name : …+ ShutdownVirtualMachine(conn : ServerConn…+ StartVirtualMachine(conn : ServerConnection…+ StopTask(task : Task)+ StopVirtualMachine(conn : ServerConnection…+ SuspendVirtualMachine(conn : ServerConnec…+ VirtualMachineManager()- GetCmdletProcessor() : CmdletProcessor- GetVirtualMachineById(conn : ServerConnecti…- static VirtualMachineManager()

Microsoft::Hosting::Vir…MsvmComputerSystem«C# class»

Attributes+ Caption : String+ ElemantName : String+ InstallDate : DateTime+ MemorySetting : MsvmMemorySettingData+ MemorySettingMO : ManagementObject+ Name : String+ OnTimeInMilliseconds : UInt64+ PrimaryOwnerName : String+ TimeOfLastConfigurationChange : DateTime+ TimeOfLastStateChange : DateTime+ VirtualSystemSetting : MsvmVirtualSystemSettingData- memRASD : MsvmMemorySettingData- vssd : MsvmVirtualSystemSettingData~ DateTime1601 : DateTime~ DateTime1970 : DateTime~ Provider : WmiObjectProviderOperations+ Dispose()+ MsvmComputerSystem(mgmtobject : ManagementObj…+ MsvmComputerSystem()

Microsoft::Hosting::Vir…vmMemorySettingData«C# class»

Attributes+ AutomaticAllocation : Boolean+ AutomaticDeallocation : Boolean+ DeviceType : VirtualDeviceTypeInfo+ DynamicMemoryEnabled : Boolean+ Limit : Int64+ Provider : WmiObjectProvider+ Reservation : Int64+ VirtualQuantity : Int64+ Weight : IntegerOperations+ Dispose()+ MsvmMemorySettingData(mgmtObject : Management…+ MsvmMemorySettingData()

MsvmComputerSystem *

MemorySetting 1

Microsoft::Hosting::Virtual…mVirtualSystemSettingData«C# class»

Attributes+ BiosNumLock : Boolean+ BootOrder : BootDeviceTypeInfo[*]+ CreationTime : DateTime+ InstanceId : String+ Notes : String+ ParentSnapshot : MsvmVirtualSystemSettingData+ Provider : WmiObjectProvider+ SettingType : VirtualSystemSettingTypeInfo+ SNAPSHOT_SUMMARY_INFORMATION : Integer[*]+ VM_SUMMARY_INFORMATION_FULL : Integer[*]Operations+ Dispose()+ MsvmVirtualSystemSettingData(mgmtobject : ManagementObject)+ MsvmVirtualSystemSettingData()

MsvmVirtualSystemSettingData *

ParentSnapshot

1

MsvmComputerSystem *

VirtualSystemSetting 1

Page 51Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 59: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 23: Virtualization Service Contracts

Data Contracts:

The VMM Service implements the following Data Contracts:

Figure 24: Virtualization Service: Data Contracts

7.2 Monitoring Service

The Monitoring Service provides access to the System Center Operations Manager 2007 R2 functions, and is installed on the Monitoring Server (SC-Operation Manger 2007 RMS) server.

The following UML Diagram represents the various classes, along with their fields and methods that comprise the Monitoring Service.

Page 52Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 60: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 25: Monitoring Service UML Diagram

7.3 Configuration Service

Configuration Service, as the name implies, is used to provide service oriented way to access the System Center Configuration Management Server 2007 functions.

The following is UML representation of the classes and objects in the Configuration Service.

Page 53Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 61: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 26: Configuration Service UML Diagram

Page 54Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 62: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

7.4 System Center Service Manager(SCSM) Service

The following is the UML representation of the SCSM Service:

Figure 27: Configuration Service UML Diagram

7.5 Data Protection Manager Service

The following is UML representation of DPM Service:

Page 55Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 63: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 28: DPM Service UML

Page 56Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 64: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

8 BEFORE PROVISIONING YOUR FIRST VIRTUAL MACHINE

i) Create appropriate VM template with hardware and OS configuration. Please make sure that the domain joining information is there in the VMM template. DDTKH v3 does not support workgroup VMs.

ii) In SCSM console go to Configuration Items Service Management Views VM Templates. Create appropriate VM template CI in SCSM with same name and corresponding values from the VMM template.

a. Template Name: Must match the template name in VMM

b. Template ID: Auto populated and disabled.

c. VMM Library Server: The Server Name of the DDTKH Fabric Management VMM Server.

d. Operating System: OS mentioned in the corresponding VM template in VMM.

e. No. of NICs: No. of NICs corresponding VM template in VMM.

f. Virtual CPU count: CPU count corresponding VM template in VMM.

g. RAM (GB): RAM corresponding VM template in VMM.

h. Storage (GB): Total storage capacity of the VM corresponding VM template in VMM.

i. Quota Cost: Enter Quota as per requirement.

j. Provisioning Engine: Select Windows.

k. Has Spacewalk Client: Uncheck the checkbox.

iii) Create a new tenant request from the portal.

iv) Approve the request by going to SCSM console: Configuration Items Service Management Views New Tenant Requests and move the request to “In Service” status.

v) Access the DDTKH portal as the Tenant and create a Service with appropriate service administrators and quota.

vi) Access the DDTKH portal as the Service Administrator and provision a VM by selecting appropriate template.

Page 57Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 65: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

9 DDC CLIENT & CONTROL PANEL INTEGRATIONIn order to integrate the backed services with control panel, the user needs to have access to development environment with a tool such as Visual Studio 2010 or other development environment installed. The specific steps required may be different depending on whether you are using Microsoft .NET platform or non .NET platform. The next sections discuss the process of setting up the environment for .NET platform, for other platforms such as Java/PHP, the steps maybe slightly different.

Control Panel Integration from Microsoft .NET Platform

To get started with using the control panel from Microsoft .NET Platform, the following steps are required, depending on whether plan to use Silverlight based demo application as starting point, or integrate with your own .NET based control panel.

Building Silverlight based Demo ApplicationThe managed hosting demo application is built using Silverlight 4.0 to demonstrate how to create a managed hosting solution using Microsoft Hyper-V and System Center Products.

1. Install pre-requisites

To build the Silverlight demo application, you need the following:

1. Visual Studio 2010

2. Silverlight 4.0 SDK

3. Silverlight Tools for Visual Studio 2010

4. Silverlight Toolkit

Download and install the Web Platform Installer

Page 58Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 66: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 29: Web PI Website

Launch WebPI and select the tools option

Page 59Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 67: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 30: Tools section in Web PI installer

I

Page 60Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 68: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Install the Silverlight tools as well as WCF RIA Services Toolkit

Figure 31: Required tools

After you install the pre-requisites, you will need to install the management console for each System Center product:

System Center Virtual Machine Manager

System Center Operations Manager

System Center Configuration Manager

System Center Service Manager

Special instructions for DPM:

Install the DPM 2010 management shell, then install the dpmui.msi component onto the portal server. This installs the components needed for the WCF services to connect to the DPM 2010 server.

Page 61Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 69: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 32: DPM MUI Component

In addition, you need to deploy all web services contained in DDC toolkit for interfacing with various System Center Products as per the steps in the section 6.

1. Installers

This are built when you build the installers in the DDTK solutuion

Figure 33: Deployment Projects in the sample solution

The Visual Studio solution for Silverlight UI sample contains two projects:

Figure 34: Portal projects in the solution

The DDCApplication and the DDCApplication.Web. One is the solverlight app and controls, the other contains the RIA services used bu the application. The installer for these is the HostingPortalSetup or may be deployed directly from visual studio for testing. Make sure the portal is set to use Windows Authentication and the web service are se to use Anonymous authentication in IIS.

Page 62Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 70: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

1) Right click on each of the Web Service References, and select “Configure Service Reference” in the “DDCApplication.Web” project, as shown below:

Figure 35: Service References in the Portal project

2) Update the service reference to the correct web service end point for each of the services, as described in section 6, using the dialog shown below.

Page 63Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 71: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 36: Configure Service Reference Dialog

3) Build and compile the application, and run it. Make changes to application as needed. The following collaboration diagram shows the interaction between the various objects.

Page 64Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 72: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Figure 37: Collaboration Diagram showing Demo Application interaction

Page 65Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 73: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

Building your own ASP.NET applicationDepending on the type of the Control Panel interface, there may be several different ways of integrating with the backend services. All of them require that you obtain a reference to the WCF Services that provide an interface to the management layer. In addition, Appendix A contains a sample hosted solution that integrates with various backend services.

1) Integrating with Backend Services using Visual Studio 2008 SP1 IDE: In this case you open the solution containing the existing or new control panel or web based portal, and right click on project, and select “Add Service Reference”. In the Service Reference, add the URL of the Service (.svc) file. (in this example, Virtualization Service) as shown below:

Figure 38: Add Service Reference Dialog

Page 66Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 74: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

2) Adding the above reference will query the service for the interface, created a managed proxy, generate method stubs (both synchronous and asynchronous), and add it to your project. You can then use the proxy (client) to call the web service methods using strongly typed .NET types.

3) Repeat Steps 1-2 above to add reference to each of the other services. Note that DPM also exposes HTTP endpoint for integrating with soap/http based web services.

4) Alternately, you can use the “svcutil” tool to generate proxy. For details on using svcutil from Visual Studio Command Prompt, see the documentation on svcutil. The syntax for generating the managed proxy is as follows:

svcutil.exe http://win08x64.contoso.com/VirtualizationService/VirtualizationService.svc?wsdl

5) Once you have added the service reference, you can add the following declaration in your Asp.net code behind page as follows:

using ManagedHostingWebClient.VirtualizationService;

6) Create an instance of the web service proxy (client) and use it in the code. Use intellisense or Object Browser and Appendix B,C,D, and E to discover the interfaces and methods for each of the proxy objects as follows:

VirtualizationProvisioningServiceClient virtualClient = new VirtualizationProvisioningServiceClient("BasicHttpBinding_IVirtualizationProvisioningService",DemoContextManager.GetInstance.HyperVWebServiceAddress);

// Invoke Virtualization Method. Note that both Synch & Async methods are provided.

virtualClient.GetVirtualSystemsAsync(DemoContextManager.GetInstance.ServerName, DomainName, UserName,Password);

Control Panel Integration from NON-Microsoft .NET Platform (example IBM/Java/PHP)

In order to integrate the control panel written on Non-Microsoft specific platform, you will need access to development platform with an ability to invoke web service call. All the web services are exposed over standard http binding, so any dev environment that allows you to make soap/http calls should suffice. Additionally, you may have to modify the config file for individual services to add additional behaviors. A sample web.config is shown below that support calling web services using Json to the Virtualization Service web.config.

      <system.serviceModel>

            <services>

                  <service behaviorConfiguration="Microsoft.Hosting.Virtualization.ServiceImplementation.VirtualizationProvisioni

Page 67Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8

Page 75: Getting Started with DDC · Web viewFollow post-installation configuration steps as detailed below. Operations Manager 2007 R2 Post Installation Steps One you have installed Operations

Microsoft Corporation Confidential

ngServiceBehavior" name="Microsoft.Hosting.Virtualization.ServiceImplementation.VirtualizationProvisioningService">

        <endpoint binding="wsHttpBinding" bindingNamespace="http://Microsoft.Hosting.Virtualization.ServiceContracts/2007/04" contract="Microsoft.Hosting.Virtualization.ServiceContracts.IProvisioningService"/>

        <endpoint address="ajaxEndpoint" behaviorConfiguration="AjaxBehavior" binding="webHttpBinding" bindingNamespace="http://Microsoft.Hosting.Virtualization.ServiceContracts/2007/04" contract="Microsoft.Hosting.Virtualization.ServiceContracts.IProvisioningService"/>

        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>

      </service>

            </services>

            <behaviors>

      <serviceBehaviors>

        <behavior name="Microsoft.Hosting.Virtualization.ServiceImplementation.VirtualizationProvisioningServiceBehavior">

          <serviceMetadata httpGetEnabled="true"/>

          <serviceDebug includeExceptionDetailInFaults="false"/>

        </behavior>

      </serviceBehaviors>

                  <endpointBehaviors>

                        <behavior name="AjaxBehavior">

                              <webHttp/>

                        </behavior>

                  </endpointBehaviors>

            </behaviors>

      </system.serviceModel>

The following attribute may also be need to the interface definition:

[WebInvoke(ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped)]

Page 68Getting Started with DDC, Enabling Dynamic Data Centers for Hosters, Version 3.2 FinalPrepared by Mark Stevenson"document.doc" last modified on 7 Oct. 11, Rev 8


Recommended