©2012 Microsoft Corp |Do not distribute
Microsoft Private Cloud with System
Center 2012 and Windows Server 2012
Student Lab Manual
注:本手册仅参考,最终以课堂及实际环境为主!
©2012 Microsoft Corp |Do not distribute 1
Table of Contents
LAB 1A: Exploring VMM 2012 Administration Tools ..................................................................................... 2
Exercise 1: Exploring the VMM User Interface ......................................................................................... 3
Exercise 2: Explore the VMM 2012 PowerShell Provider ......................................................................... 4
Exercise 3: Exploring Run As Accounts .................................................................................................... 4
Exercise 4: Explore the VMM Fabric ......................................................................................................... 5
Lab 1B: Configure VMM Resources ............................................................................................................. 8
Exercise 1: Add Hyper-V hosts to VMM ................................................................................................... 9
Exercise 2: Configure the Network Fabric .............................................................................................. 10
Exercise 3: Create a Basic Service Template ......................................................................................... 11
Lab 1C: Working with Private Clouds ......................................................................................................... 13
Exercise 1: Create a Private Cloud ......................................................................................................... 13
Exercise 2: Delegate User Access and Utilization .................................................................................. 14
Exercise 3: Deploy cloud-based resources as a self-service user ........................................................ 16
Lab 2A – Self-Service Provisioning and Management ............................................................................... 17
Exercise 1: Add a VMM 2012 Instance ................................................................................................... 18
Exercise 2: Deploy a Service as a Self-Service User ............................................................................. 19
Exercise 3: Update a Service using Image-Based Servicing .................................................................. 20
Exercise 4: Scale Out a Service ............................................................................................................. 22
©2012 Microsoft Corp |Do not distribute 2
LAB 1A: Exploring VMM 2012 Administration Tools
Virtual Machines:
DC.contoso.com
SCSQL.contoso.com
SCVMM.contoso.com
HV03.contoso.com
Username: CONTOSO\administrator
Password: P@ssw0rd
Estimated time to complete: 30 minutes
Start the virtual machines in the order shown below. Wait for each virtual machine to boot completely
before starting the next virtual machine in the list:
1. DC.contoso.com
2. HV03.contoso.com
3. SCSQL.contoso.com
4. SCVMM.contoso.com
Scenario:
Contoso IT is facing multiple issues in managing service delivery in the datacenter, including
2-4 week delays in service and resource provisioning have resulted in tension between IT and
other business units
Disagreements between IT and some business units regarding allocation of compute resources
across business units
Lack of visibility into virtual and physical datacenter resources has resulted in widespread
performance problems in LOB applications
Al Young has been tasked with exploring the capabilities of System Center 2012 and Hyper-V to
streamline provisioning of new services and management of data center infrastructure (including compute,
storage and network resources) as part of a private cloud infrastructure. Additionally, he will be
investigating System Center 2012 capabilities for establishing quotas and service tiers for data center
resources to establish clear boundaries for resource allocation to the business units within Contoso.
©2012 Microsoft Corp |Do not distribute 3
Exercise 1: Exploring the VMM User Interface
In this task, you will explore the user interface for Virtual Machine manager, and become familiar with the UI terms,
location of tasks, and overall layout.
Task Detail step
Perform the following tasks on this virtual computer:
SCVMM.Contoso.com
1. Explore the
user interface
The VMM 2012 user interface is easy to navigate and is broken up into six key areas with
context sensitive buttons
1. Logon to SCVMM as Contoso\Administrator
2. On the Start menu, click All Programs/Microsoft System Center 2012/Virtual
Machine Manager/Virtual Machine Manager Console.
If the SCVMM connect screen is displayed press Connect
The console will connect to the local server. This may take a few minutes to load.
3. Click VMs and Services.
This area lists all VMs and Services organized by host group.
4. Click Fabric.
This area lists all VM host computers, storage arrays, and network configuration
settings.
Global resources such as PXE servers, WSUS servers and connections to other
VMM and vCenter servers are also managed here.
5. Click Library.
Objects such as updates, templates, capability profiles, and service components are
stored here.
6. 5. Click Jobs.
All job history is for current and past jobs are stored in this area.
7. 6. Click Settings.
You can manage global system settings and RunAs accounts using the settings area.
You can also configure additional providers and connections to other System Center
products.
©2012 Microsoft Corp |Do not distribute 4
Exercise 2: Explore the VMM 2012 PowerShell Provider
In this task, you will explore the commands available in the VMM 2012 PowerShell provider and perform some basic
administration tasks.
Task Detail step
Perform the following tasks on this virtual computer:
SCVMM.Contoso.com
1. Launch the
Virtual
Machine
Manager
Command
Shell
1. Click Start | All Programs | Microsoft System Center 2012 | Virtual Machine
Manager | Virtual Machine Manager Command Shell.
2. Type the following commands, pressing ENTER after each one.
Get-VMHost
Get-SCVMHost
Get-SCCloud
3. Close the Virtual Machine Manager Command Shell.
2. Review VMM
automatic
scripts
1. In Virtual Machine Manager, click VMs and Services.
2. Right-click Contoso Research Cloud, and then click Properties.
3. Click Capacity.
4. In Storage (gigabytes), uncheck the column Use Maximum.
5. Click View Script.
Even the simplest tasks generate easy-to-reproduce scripts for task automation.
6. Close Notepad.
7. Click Cancel, and then click Yes.
Exercise 3: Exploring Run As Accounts
Six categories of Run As accounts determine the type of objects the credentials can be used with. Run As
account creation rights for administrative roles in VMM 2012 are limited to the categories of Run As
account that role members need to perform their jobs. For example, network administrators need only
create Run As accounts for network devices and cloud managers need only create the profile accounts that
are used during service deployment
Task Detail step
Perform the following tasks on this virtual computer:
SCVMM.Contoso.com
1. Explore User
Roles
1. In the VMM Console, Click Settings, and then in Security, click User Roles.
2. Click Contoso Research Cloud Self-Service users, and then in the ribbon toolbar click
Properties.
3. Click Members
The users who are members of this self-service profile are listed.
4. Click Scope
©2012 Microsoft Corp |Do not distribute 5
Task Detail step
The scope defines the resources that the self-service user has access to.
5. Click Quotas for the Contoso Research Cloud cloud
Role level and member level quotas for cloud resources are here.
6. Click Resources
Members of the role are limited to the resources specified here. Resources can
include virtual machine templates, service templates, and profiles. A path can also be
specified, allowing members of the role to upload their data to a library path location.
7. Click Actions
The actions the user is allowed to perform are listed.
8. Click Run As accounts
The accounts the self-service user may use when deploying services are listed. The
user does not need to know the details of the accounts.
9. Click Cancel to close the Contoso Research Cloud Self-Service user Properties
page.
2. Explore
RunAs
Accounts
1. Click Settings, and then in Security, click Run As Accounts.
2. Click Doman RAA, and then in the ribbon toolbar click Properties.
3. Review General.
Account credentials are defined here.
4. Review Consumers.
Resources that use this Run As account are shown here. These resources can
include virtual machine templates and service templates.
5. Review Access.
The owner of the Run As account is defined here, as well as self-service users and
roles that have access to use the Run As account..
6. Click Cancel.
Exercise 4: Explore the VMM Fabric
Preparing the fabric includes creating a host group structure, creating a library infrastructure, configuring
networking resources such as static IP and MAC address pools, and discovering storage devices to make
logical units and storage pools available for allocation within VMM 2012.
Explore Networks
A logical network, together with one or more logical network definitions, is a named grouping of IP
subnets and VLANs that is used to organize and simplify network assignments. Some examples include
BACKEND, FRONTEND, LAB, MANAGEMENT, and BACKUP. Logical networks represent an
abstraction of the underlying physical network infrastructure which enables you to model the network
based on business needs. After a logical network is created, it can be used to specify the network on
©2012 Microsoft Corp |Do not distribute 6
which a host or a virtual machine (stand-alone or part of a service) is deployed. Users can assign logical
networks as part of virtual machine and service creation without having to understand the network details.
You can use logical networks to describe networks with different purposes, for traffic isolation and to
provision networks for different types of service-level agreements (SLAs). For example, for a tiered
application, you may group subnets and VLANs that are used for the front-end Web tier as the
FRONTEND logical network. For the subnets and VLANs that are used for backend servers such as the
application and database servers, you may group them as BACKEND. When a user models the
application as a service, they can easily pick the logical network for virtual machines in each tier of the
service to connect to.
Task Detail step
Perform the following tasks on this virtual computer:
SCVMM.Contoso.com
1. Explore a
Logical
Network and
Network Site
1. In the VMM Console, click Fabric, and then in Networking, click Logical Networks.
2. Click Dallas Network, and then in the ribbon toolbar click Properties.
3. Select Network Site.
A Network Site is used to associate a logical network with Host Groups,
VLANs, and subnets.
4. Review Host Groups.
Each logical network can be scoped to only the hosts or host groups to which it is
connected.
5. Review Subnets and VLANs.
Each logical network is defined by the IP subnets to which it is attached. You can add
as many subnets and VLANs as are needed.
6. Click Cancel and then click Yes.
2. Explore IP
Pools
1. Expand Dallas Network.
2. Click Dallas IP Pool, and then in the ribbon toolbar click Properties.
3. Review Name
An IP address pool is associated with a logical network.
4. Review Network Site.
The associated Network Site settings are shown.
5. Review VIP and Reserved IPs.
The IP range is a range of IP addresses that can be used to statically assign IP
addresses to virtual machines that are configured to have a static address and be on
this network. IP addresses can be reserved for load balancer VIPs and other uses.
6. Review Gateway.
The gateway is the IP gateway assigned to new VMs.
7. Review DNS.
DNS servers for the IP Pool are defined here.
©2012 Microsoft Corp |Do not distribute 7
Task Detail step
8. Review WINS
WINS servers for the IP Pool are defined here.
9. Review Inactive Addresses.
Inactive addresses are IP addresses that were allocated to an entity that is
no longer under VMM management. Releasing inactive addresses returns
them to the static IP address pool for reuse.
10. Click Cancel, and then click Yes.
3. Review MAC
Address Pool
1. Click MAC Address Pools.
MAC address pools are used when assigning MAC addresses. You can create
additional pools.
New MAC address pools must have the same values in the first three octets.
4. Explore
Storage
1. Click Storage.
2. In the ribbon toolbar click Add Resources, then Storage Devices.
VMM 2012 allows you to register your SAN and other storage providers with VMM to
allow VMM to manage things such as disk allocations, LUN assignments, and perform
tasks such as creating new volumes.
3. Click Cancel, and then click Yes.
Do not shut down any of the running virtual machines. You will be using the same
set of virtual machines for Lab 1B.
©2012 Microsoft Corp |Do not distribute 8
Lab 1B: Configure VMM Resources
Virtual Machines:
DC.contoso.com
SCSQL.contoso.com
SCVMM.contoso.com
HV03.contoso.com
Username: CONTOSO\administrator
Password: P@ssw0rd
Estimated time to complete: 45 minutes
If the virtual machines for this lab are not already running, start the virtual machines in the order shown
below. Wait for each virtual machine to boot completely before starting the next virtual machine in the
list:
1. DC.contoso.com
2. HV03.contoso.com
3. SCSQL.contoso.com
4. SCVMM.contoso.com
Scenario:
Contoso IT is facing multiple issues in managing service delivery in the datacenter, including
2-4 week delays in service and resource provisioning have resulted in tension between IT and
other business units
Disagreements between IT and some business units regarding allocation of compute resources
across business units
Lack of visibility into virtual and physical datacenter resources has resulted in widespread
performance problems in LOB applications
Al Young has been tasked with exploring the capabilities of System Center 2012 and Hyper-V to
streamline provisioning of new services and management of data center infrastructure (including compute,
storage and network resources) as part of a private cloud infrastructure. Additionally, he will be
investigating System Center 2012 capabilities for establishing quotas and service tiers for data center
resources to establish clear boundaries for resource allocation to the business units within Contoso.
©2012 Microsoft Corp |Do not distribute 9
Exercise 1: Add Hyper-V hosts to VMM
In this task, you will add your physical Hyper-V hosts to System Center Virtual Machine Manager.
Task Detail step
Perform the following tasks on this virtual computer:
SCVMM.Contoso.com
1. Add Hyper-V
hosts to VMM
1. Logon to SCVMM as Contoso\Administrator
2. On the Start menu, click All Programs/Microsoft System Center 2012/Virtual
Machine Manager/Virtual Machine Manager Console.
If the SCVMM connect screen is displayed press Connect
The console will connect to the local server. The console may take a few minutes
to load.
3. Select the Fabric wunderbar
4. From the ribbon toolbar select Add Resources and then Hyper-V Hosts and
Clusters
5. On the Resource Location page, select Windows Server computers in a trusted
Active Directory domain, and press Next.
6. On the Credentials page, under Use an existing Run As account, press Browse.
7. Select the Domain RAA Run As account and press OK.
8. On the Credentials page press Next.
9. On the Discovery scope page, verify Specify Windows Server computers by
name is selected, and in the Computer names box enter Host1 and Host2. Press
Next.
10. On the Target resources page, wait for discovery to complete and press Select All.
Press Next.
11. In the Virtual Machine Manager popup box, read the notice and press OK.
12. On the Host settings page, in the Host group dropdown box, select Contoso
Production.
Important: Verify that you add the Hyper-V hosts to
the Contoso Production host group and not the
Contoso Lab host group.
13. In the Add the following path: box, enter C:\VirtualMachines(此处位置也可以根据
具体情况而定) and press Add. Press Next.
Press Next.
14. On the Host Settings page add the following path: C:\VirtualMachines (此处位置
也可以根据具体情况而定)and press Next.
15. On the Summary page, review the settings and press Finish.
16. The Jobs pane will open. Watch the status of both Add virtual machine host jobs.
©2012 Microsoft Corp |Do not distribute 10
Task Detail step
Verify each job completes with a status of Completed w/ Info. Close the Jobs pane
when complete.
Note: the add virtual machine host jobs will complete with a
status of Completed w/ Info due to the fact that VMM attempts
to enable MPIO. MPIO is not configured or utilized in the
classroom environment.
2. Verify Hyper-V
hosts and VMs
1. In the VMM console, select the VMs and Services wunderbar. On the ribbon in the
Show section, select VMs.
2. Expand All Hosts > Contoso Production.
3. Verify that both hosts (Host1 and Host2) are shown.
4. Select the Contoso Production host group. In the VMs pane, verify that the VMs
from both Hyper-V hosts are shown.
Exercise 2: Configure the Network Fabric
In this exercise you will configure the networking fabric for the Dallas data center
Task Detail step
Perform the following tasks on this virtual computer:
SCVMM.Contoso.com
1. Configure the
networking
fabric for the
New York data
center
1. Logon to SCVMM as Contoso\Administrator
2. On the Start menu, click All Programs/Microsoft System Center 2012/Virtual
Machine Manager/Virtual Machine Manager Console.
If the SCVMM connect screen is displayed press Connect
The console will connect to the local server. This may take a few minutes to load.
3. Select Fabric and then Logical Networks
4. From the central panel select the New York Network and choose Create IP Pool
from the ribbon toolbar
5. On the Name page of the wizard enter the following information
Name : New York IP Pool
Logical Network : New York Network
Press Next
6. On the Network Site page enter the following information
Net
本文档为【跨越公有云和私有云体验-lab】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑,
图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。