Академический Документы
Профессиональный Документы
Культура Документы
This document will guide you through the process of setting up the bare minimum components to demo a Private Cloud environment using current release versions of Microsoft products and technologies. It is NOT meant for nor is it an ideal configuration for use in a production environment. If you have a Technet or MSDN subscription then you have all the software you need already. Otherwise you can download FREE TRIAL versions of all the necessary components from the Microsoft Technet Evaluation Center. Once the installation and configuration are complete, you will be able to demo the use of System Center Virtual Machine Manager and the SCVMM Self Service Portal 2.0 to build and manage a Private Cloud. With additional software and hardware resources, this configuration can be expanded to include additional System Center Technologies to demonstrate a much broader Private Cloud implementation including monitoring, reporting, change management, deployment and more. There are free trial versions of all the System Center products at the Microsoft Technet Evaluation Center. There is an assumption that you have at least a basic knowledge of the roles and services in Windows 2008 R2, a cursory knowledge of how to install SQL Server 2008 R2, and a basic understanding of how the System Center Virtual Machine Manager works. Additional documents and walkthroughs may be produced for more detail. If there is something you would like to have more information on, please comment to this blog post and let me know. If you plan on doing this in a single sitting, bring plenty of your favorite caffeinated beverage, some good music to listen to, maybe even a good book, and lot of patience. There is a lot of hurry up and wait that takes place during this setup. Expect to spend 6-10 hours depending on how fast your hardware is and how efficient you are. This guide could be condensed even further to combine certain steps and reduce setup time slightly but I have opted to make it as fool proof as possible. If you follow this guide exactly, you should not see any errors or failures during the installation. The resultant demo configuration does not provide for any failover or redundancy and is intended solely as a lightweight demo/test/learning environment. The concepts here can be used as a template to install a production Private Cloud, but please, do not implement this configuration in production without speaking to the appropriate persons that administer your network. If you implement this in production, you do so at your own risk and you should have an updated resume available.
Architecture:
Host Machine Windows Server 2008 R2 + SP1 + all post SP1 Updates Roles: Active Directory Domain Services, DNS Server, Hyper-V, Web Server (IIS) Software: SQL Server 2008 R2 x64, System Center Virtual Machine Manager 2008 R2 Server Components and Administrator Console, SCVMM Self Service Portal 2.0 Guest VMs Once this install is complete, you can create whatever guest VMs you like to use for testing and demoing. In a future document I will detail a list of resources you may wish to create so you have a relevant test and demo environment.
Hardware Requirements:
I personally recommend using a desktop computer because of the drive options available. However, a high-end laptop can be used. I have performed this install to both hardware platforms in the following configurations: Laptop: Lenovo W510 (quad processor + hyper-threading), 16gigs RAM, (1) 7200rpm SATA drive for host operating system, (1) 140gig Solid State Drive for guest VM storage ***This is the platform I used when creating this document*** Pros: Compact, very portable Cons: Disk I/O and potential CPU bottlenecks decreases performance. This can be mitigated by investing is higher end disk drive and/or a laptop with greater processing capabilities but increases the cost dramatically. Overall a more expensive solution even with lower end components. Desktop: Quad-processor CPU, 16gigs RAM, (1) 7200rpm for host operating system, (2 or more ) 7200rpm+ SATA drives for guest VM storage (these drives can be striped as RAID-0 for additional performance *or* they can be formatted independently and place guest VMs on separate spindles. For my desktop implementation at home I am using the RAID-0 option) Pros: Better performance due to disk drive configuration options. Lower cost of desktop PC components make this a less expensive solution even with higher end hardware. Cons: More of a fixed solution, less portable. Could potentially use an ultra-mini case or small media center type case to increase portability, however, desk top components are not designed to be moved around a lot so you are at a higher risk of component failure. I also *highly recommend* a high capacity dedicated external storage device for backup up configurations along the way. The entirety of this private cloud configuration is relatively simple but the overall process is time consuming. The more frequently you backup/snapshot at key stages the less likely you will be to spend rebuilding from scratch.
Software Requirements:
If you have a Technet or MSDN subscription you have everything you need. If you do not have a Technet or MSDN subscription you can use free trial software for everything. Just be mindful of the individual timebombs and make note of when things expire. Using the pieces below you should be able to run for 180 days from the day the Host machine OS is installed. Windows Server 2008 R2 with SP1 Trial System Center Virtual Machine Manager 2008 R2 with SP1 Trial Microsoft SQL Server 2008 R2 Trial (get the 64bit version) Microsoft System Center Virtual machine Manager Self-Service Portal 2.0 with SP1
Suggested Pre-Reading/Learning:
An assumption is being made that you are familiar with installing and configuring Windows Server 2008 R2 and its related Roles and Features. If not, then you should bookmark and leverage the following Microsoft Technet Windows Server TechCenter Additional Resources: Microsoft SQL Server 2008 R2 TechCenter System Center Virtual Machine Manager 2008 R2 TechCenter System Center Virtual Machine Manager Self-Service Portal 2.0 TechCenter
Install Necessary Windows Server Roles and Features Add the Role: Active Directory Domain Services Run the Active Directory Domain Services installation wizard (dcpromo.exe) Create a new domain in a new forest Supply FQDN of the new forest root domain (ie; privatecloud.local) Supply Domain NetBIOS name (ie; PRIVATECLOUD) Select Forest Functional Level (Windows 2003 is fine) Select Domain Functional Level (Windows 2003 is fine) Allow DNS to be installed (Assign Static IP if necessary) (***I assigned a static IP address/mask for my local subnet and pointed to my default gateway. I then configured DNS with forwarders of 4.2.2.1 and 4.2.2.2 These are AT&Ts public DNS servers. This allows for Internet access to download Windows Updates or other software needed***) Location for Database, Log Files, SYSVOL = Default Assign Password for Directory Services Restore Mode Complete Wizard and Reboot Add the Role: Hyper-V Create Virtual Network: Attach to local Ethernet Complete Wizard and Reboot Allow Wizard to Complete
Install System Center Virtual Machine Manager R2 + SP1 VMM Server Component
Start SCVMM Setup Setup VMM Server Accept License Next CEIP Your choice Next Product Registration Fill in Next Prerequisite Check Next Installation Location Default is fine Next SQL Server Settings Use a supported version of SQL Server: Server name: <name of localhost> Check Use the following credentials: User name: <domain>\Administrator Password: <password> Select or enter a SQL instance: Drop down to MSSQLSERVER Select or enter a database: <enter a database name; ie; SCVMMDB> Check Create a new database Library Share Settings Create a new library share Defaults are fine Next Installation Settings Ports Defaults are fine VMM Server Account Local System is fine Next Summary of Settings Install
Once logged in: Delete any setup files or unnecessary files/data you will not use for demonstration purposes Empty the Recycle Bin NOT OPTIONAL Perform Bare Metal Recovery Backup to external storage using Windows Backup (or the backup system of your choice). Trust me. At this point you have 6-10 hours invested in this setup and you do NOT want to have to start over.
You now have the hardware and software in place to demo a private cloud!
However, a Private Cloud is more about the HOW you use the infrastructure to create value, provide self-service, reduce overheard, automate resource creation and ultimately - reduce costs. In the next document I produce, I will define a list of resources to create using the Hyper-V MMC, System Center Virtual Machine Manager, and the SCVMM Self-Service portal. I will then do a few recorded demos with these resources that you can customize for your own demonstration purposes.
Call To Action
Bookmark my blog and watch for more posts and screen casts on Private Cloud. Here are some of the Planned Posts/Content/Screencasts I am working on: Configuring Basic Resources for use in a Private Cloud Creating virtual hard disks Creating virtual machines Creating templates in SCVMM Creating Hardware and OS profiles in SCVMM Configuring and using the Self-Service Portal 2.0 Initial Configuration Creating and managing Infrastructures Working with Virtual Machines Managing User Roles and Business Units Walking through the Request process If there is a particular feature or process you would like to know more about, please contact me through a comment to this post or in email and we will discuss getting it produced. For now, have fun playing with your new Private Cloud! (AFTER that bare metal recovery backup!)
Cheers!