• Creating a Private Cloud – Part 2: Configuration

    In this post I’ll carry on from part 1 and cover the configuration side of the System Center products to deliver Private Cloud type functionality.

    Where should you be after Part 1?

    So a quick recap from part 1, you should have Windows Server 2008 R2 installed, with the additional Roles and Features etc. installed. You should have promoted this machine to be a domain controller, name of your choice, and have DNS working.

    SQL Server 2008 or higher should be installed along with System Center VMM Server and Admin console installed, plus System Center SSP 2.0. So right now we have everything installed and but nothing configured. That’s the next step.

    SQL Server tip

    I’ve talked and used SQL Server 2008 R2 standard in this discussion so far. If you want to extend SCVMM to include System Center Operations Manager 2007 you will encounter two minor annoyances. First, SCOM doesn’t play with SQL Server 2008 R2 using the standard install procedure off the DVD. Which is not too surprising considering the release dates, but it’s not the end of the install. You can use the DBCreateWizard.exe to get around the installers relocation to play nice with R2, the procedure is documented in this KB article, http://support.microsoft.com/kb/2425714. The other annoyance it that you will need to uninstall the VMM admin console and reinstall the Ops Manager version. This is lower down the VMM install page; the reason for this is that the management packs are added in with this install.

    The other tip, ensure the SQL Agent service is running. The Agent runs a daily job that accumulates the costs for the registered Business units.

    Just a couple of tips I found creating test setups.

    Self-Service Portal Tips.

    Now a couple of points to remember on the SSP install that I didn’t cover in part 1, apologies for not calling this out and thank you to Didier for posting this on the blog to remind me. The deployment guide does say to enable Windows Authentication on the IIS server before installing SSP 2.0. It could cause the install to fail; it will also cause the portal to prompt you for credentials each time you access it. Windows Authentication is not selected by default.

    Also worth noting is that during the SSP install you are asked for Site name and port number. You can, using Host Header names and GlobalNames in DNS set up the Single name site. On my setup, I configured a GlobalNames zone in DNS, and added ITasaService to that zone, mapping it to the FQDN of the server. I then went back into the IIS and altered the bindings for the SSP Website to use port 80 and also added the host header ITasaService. My SSP users can now access the site via http:// ITasaService.

    One thing to note with the RC build, which happened to me on all the installs I’ve done of SSP 2.0. Check the Self Service Portal Service after a reboot. I’ve noticed that, even though it’s set to automatic, the service may not start. It’s always started when I’ve gone in and manually started it. Just a quirk with the RC build, which is still a pain when you are doing a demonstration and you forget that trick.

    Configuring SCVMM

    I’m going to start with SCVMM, since this is the core of the environment. Basically, to create a self-service Private Cloud environment you need to configure the following:-

    • User Role group for the portal
    • Add any base images and ISO files to the library
    • Create templates of the workloads you want to offer.

    It’s a surprisingly short list.

    So the first step is to configure a new user group for the Self-Service side. The deployment docs for SSP 2.0 tell us to create a group called Self Service User and give it the Self Service role. This group is populated automatically by the portal as new Business Unit Admins are identified.

    The next step is relatively easy too. The SCVMM library can store a number of file, from ISOs to VHDs. When dealing with self-service requests the ideal is that those users pick from a predefine set of templates that you’ve already configured ready for use.

    Next step is the creation of your templates. The templates are just preconfigured images that have been generalized for easy deployment. So you can either take an existing VHD, or install a new OS, configure it the way it needs to be. Then prepare it. On the VM menu, selecting New Template will take the image and do all the work needed to generalize it. When you start this process the source image is destroyed. So if you need a copy, now is a good time to take one.

    clip_image002The New Template Wizard asks for some basic information and the location where you want to store the template. When you configured SCVMM’s Library component during setup you created a share for the library, within that share you can create a folder for templates to help organizes these files.

    Once a template is created you have the minimum need to try out the self-service portal, which is what we will now configure.

    Configuring the Self-Service Portal

    As the administrator, the first task is to configure the portal. Connecting to website as the administrator, you need to configure just two of the four options on the Settings link. The main one is the “Configure Datacenter Management” link, here you configure these properties.

    • VMM Server. This is the FQDN of the machine you installed the VMM server role on.
    • Device. Configure the names any SANS or Load Balancers you have.
    • Networks. These map to the names of the networks you configured in Hyper-V. The names here must match those in the Virtual Network Manager in the Hyper-V console.
    • Active Directory. Add any Domains you have.
    • Quota Cost. Enter the default values for memory and storage. You can alter these on a template basis later.
    • Environment. Enter the names of any environments you want to use to group infrastructures in. This is purely process and organization.

    Save and close and you are almost set.

    Next part is to configure the Templates. On the Template page enter the library server where you’d like to get the templates from. If the Self-Service Portal service is not running, this is the point you find out as service will not return any information from the library server.

    The list you configure here is the list that BU’s can access; you can also select a cost for each template.

    clip_image003Now you are ready to try out the configuration of Business Units, Infrastructures and Virtual Machines. As the administrator you get to approve all requests, so while anyone could request a BU, you get the final say. Now, if you are testing this, don’t use really BU names because once you use than name you can’t delete it later yet – as I found setting up a demo.

    So what do you configure? I’ll run through the basics to get the system working on a test environment. On the BU registration, a lot of it is simply documentation; the administrators are the one area that interacts with VMM. Those names you enter here are added to the role we configured earlier. When submitted, the request appears as an “Onboarding” request in the request queue.

    Once approved, the BU can set up its infrastructures. From the first post, the diagram of what an infrastructure consist of gives us a good idea of what the request process will cover. The request is a 3 step process:-

    • Configure the Infrastructure name.
    • Configure the Service and Service Role
    • Add Templates for the VMs.

    This maps to our diagram and pulls in the information and configurations we made earlier.

    Configure the Infrastructure name.

    The first part asks for the infrastructure name, the priority, how long the BU expects to keep it and the forecast for the capacity it will use. The capacity you enter here is used when calculating free space when starting VMs or when creating new Services and Service roles. If you exceed the capacity later, you will need to enter an Infrastructure change request to change the capacity.

    Configure the Service and Service Role

    In the Service and Service Roles we set out how the Infrastructure is set up. We provide the name of the service, add it to the environment. The environment is the list we added earlier when setting up the portal. The billing code and datacenter are names you use internally. It’s when you get to the Service Quota you start to use information from the other pages. As mentioned above, the Infrastructure capacity on the first page is used as the cap for Services and Roles.

    The networks are those setup earlier or you can be request them on this page. These have to match the name use in the Hyper-V Virtual Network Manager. The services can have their own access control; you can enter additional admins to those for the BU, plus members who can access this service.

    The service role is tucked away at the end, all you need to enter is the Role name and the number of images it needs. The rest for our test environment can be left to their default.

    Add Templates for the VMs.

    The final part of the infrastructure request is to assign the templates to this request. The list you get is the one from the template settings for the portal. Here selecting the templates available are the ones that will be available when the BU tries to create VMs. If the template is not selected here and is needed later then a new Infrastructure change request needs to be created.

    Once approved the virtual machine creation can begin and the billing starts.

    Creating Virtual Machines

    We’ve now got to the point where BU can request Virtual Machines and manage their environment. The control on resources comes in here, when requesting a VM you are asked for the number of machines, their names, the infrastructure details and template to use. If they exceed the resources, the creation process stops. BU’s can’t say one thing about capacity and do something else.

    Once created the VMs are managed and controlled from the VM page, all members of the BU Roles can start or stop the VMs created. You can also monitor the jobs from the Jobs page or as a DC Administrator the SCVMM console.

    From this point on, you have enough configured to try things out. I used this information to demonstrate a Private Cloud at a trade show in the UK recently

    Beyond the Basics covered here.

    These two posts covered the basics. With SCVMM and SCSSP 2.0 you can test out and a simple Private Cloud scenario. By adding more Hyper-V hosts you can certainly extend this model. However, there is more. I haven’t included System Center Operations Manager (SCOM), System Center Service Manager (SCSM), System Center Configuration Manager (SCCM) or the Offline Image Servicing Solution Accelerator in either of the posts. The roles they play become more critical the larger your deployment becomes and provide much more flexibly. To help we’ve released some guidance and guides, these can be found at http://www.microsoft.com/virtualization/en/us/private-cloud.aspx.

    Also the reporting and Dashboard components of the portal are another post on their own. These are important if you want to implement true charge-back modelling.

  • Migration planning made easier with MAP Toolkit 5.5 Beta

    I’m a fan of this toolkit, not just because I’ve worked with the people who build it, but also seeing what is can do. It’s used internally by use when we visit sites, also partner use it for their customers.

    Over the years it’s been improved and expanded both through changing technologies and also feedback from these beta program.

    So once again a new beta is available and the opportunity to try and provide feedback is here. So for those of you familiar with MAP, jump to the bottom of this post to find the sign up details.

    For those not familiar with MAP, what does it do?

    In a nutshell, “Simplify planning for upgrade or migration to the latest Microsoft products and technologies.” It provides reports and analysis of your environment to help you make decisions about migration and upgrade. The 5.5 version helps with the following.

    Assess your environment for upgrade to Windows 7 and Windows Internet Explorer 8 (or the latest version). This tool helps simplify your organization's migration to Windows 7 and Internet Explorer 8—and, in turn, helps you enjoy improved desktop security, reliability and manageability.The MAP 5.5 Internet Explorer Upgrade Assessment inventories you environment and reports on deployed web browsers, Microsoft ActiveX controls, plug-ins and toolbars, and then generates a migration assessment report and proposal—information to help you more easily migrate to Windows 7 and Internet Explorer 8 (or the latest version).

    Identify and analyse web application, and database readiness for migration to Windows Azure and SQL Azure. You can simplify you move to the cloud with the MAP 5.5 automated discovery with detailed inventory reporting on database and web application readiness for Windows Azure and SQL Azure. MAP identifies web applications, IIS servers, and SQL Server databases, analyses their performance characteristics, and estimates required cloud features such as number of Windows Azure compute instances, number of SQL Azure databases, bandwidth usage, and storage.

    Discover heterogeneous database instances for migration to SQL Server. Now with heterogeneous database inventory supported, MAP 5.5 helps you accelerate migration to SQL Server with network inventory reporting for MySQL, Oracle, and Sybase instances.

    Enhanced server consolidation assessments for Hyper-V. Enhanced server consolidation capabilities help you save time and effort when creating virtualization assessments and proposals. Enhancements include:

    • Updated hardware libraries allowing you to select from the latest Intel and AMD processors.
    • Customized server selection for easy editing of assessment data.
    • Data collection and store every five minutes for more accurate reporting.
    • Better scalability and reliability, requiring less oversight of the data collection process.
    • Support for more machines.

    If you are interested in this then read on…

    Join the MAP beta review program for MAP Toolkit 5.5.  We’d like your feedback too.  Visit Microsoft Connect to download the beta materials.

    Tell us what you think! Test drive our beta release, and send us your constructive feedback. Send your feedback and questions to the MAP Development Team. We value your input; this is the perfect opportunity to be heard. MAP 5.5 will be available for beta download through January, 14, 2011.

    Already using Solution Accelerators? We’d like to hear about your experiences. Please send comments and suggestions to satfdbk@microsoft.com.

  • How to Manage Server Costs with Windows Azure

    New Applications often mean new servers. The rate of technical change in our industry means our workforce has different demands and so our “line of business” applications need to be updated. This could mean a new version or modifications that add a web service front end. Whichever way, there usually is a new hardware request in there somewhere.

    What do you do if budgets are tight? Do you buy a smaller box and hope it does the job, or do you cut funding for another project? Tough decisions IT departments have to make. What is different these days is that there is a different option. You could use a platform service such as Windows Azure.

    Windows Azure can lower your up-front capital costs. With consumption-based pricing, packages and partner discounts lower the barriers to entry to cloud services adoption and ensure a predictable IT spend.

    Microsoft’s data centers can provide organizations with the equivalent of hundreds or even thousands of servers. Now, instead of buying new hardware, you add the resources you need and pay for only that usage. Reducing the number of physical servers in your environment slashes other costs, such as the price of power, cooling and the day-to-day maintenance physical hardware requires. This frees IT people to focus on software, and to simply carry on running and maintaining application as they do today, with the knowledge that they can improve the throughput performance in minutes.

    When the need arises to increase the performance of some applications in an environment to keep up with new demand, it often means investing in a new server or undertaking a performance-tuning exercise, both of which incur costs. By contrast, moving those applications to Windows Azure provides a means to scale these applications and increase throughput at reduced costs compared to adding new hardware and software.

    To take advantage of this cloud computing scenario requires some planning to transition a cloud application from your on-premise systems.  After reading the above you probably have lots of questions, most everyone does when anyone mentions the cloud. To help with this the TechNet has put together a new Cloud hub. This hub contains information and resources to help you understand this option above and be able to take advantage of. Called Getting Business Done with the Cloud, the site contains 7 scenarios today; we will be adding new scenarios on regular basis, to continue to explain the cloud options and how to implement them quickly.

    The particular scenario mentioned above can be found on the How to Manage Server Costs with Windows Azure section of the hub.

  • System Center Virtual Machine Manager Self-Service Portal 2.0 - Now Available!

    Following on from my previous posts on Creating a Private Cloud Part 1 and Part 2, System Center Virtual Machine Manager Self-Service Portal 2.0 (SSP)  is now available.

    For those who have not read the two posts yet, briefly the System Center Virtual Machine Manager Self-Service Portal 2.0 (SSP) is a fully supported, partner extensible solution that enables you to dynamically pool, allocate, and manage compute, network and storage resources to deliver a private cloud platform in you datacenter. Installed with System Center Virtual Machine Manager 2008 R2 and SQL Server 2008 or 2008  R2 the self-service portal consists of three components:

    • VMMSSP website component. A web-based component that provides a user interface to the self-service portal.
    • VMMSSP database component. A SQL Server database that stores information about configured assets and other information related to tasks performed in the portal.
    • VMMSSP server component. A Windows service that runs default and customized virtual machine actions that the user requests through the VMMSSP website.

    To Learn more about the System Requirements Visit the SSP page on TechNet.

    Key Features:

    · Automation and Guidance: To assess, plan and design your private cloud foundation infrastructure

    · Customer/business unit on-boarding: Automated workflows to onboard business unit IT departments onto to your virtualized shared resource pool

    · Dynamic provisioning engine: To rapidly provision virtualized infrastructure in conjunction with System Center and Hyper-V

    · Self-Service portal: To empower consumers of IT to request and provision infrastructure for their apps/services

    · Partner Extensibility: Enable partners to expose their unique hardware capabilities through familiar Microsoft scripting technologies while providing variety and flexibility to IT

    You can download today.

    Want more info?

    Questions or Comments?

    · Feel free to send your comments and feedback to sspfeedback@microsoft.com, or visit www.Microsoft.com/SSP.

  • Waiting for my Phone, browsing the Apps

    One of the perks of working for Microsoft is that every now and then we get included in some great programs. The current one is to replace all hour current mobile phones with Windows Phone 7 units. As I wait for my turn I’ve been reading some of the buzz internally as the rollout happens.

    One site (two if you could country codes) that was sent around was the visualisation of the applications.

    UK: http://www.bing.com/visualsearch?g=uk_wp7&qpvt=Windows+Phone+7+Apps&FORM=Z9GE32#

    US http://www.bing.com/visualsearch?g=wp7&qpvt=Windows+Phone+7+Apps&FORM=Z9GE43#

    Granted it’s not the thousands of applications other mobile OS provides boast, but I probably won’t need thousands of different apps on my phone.

    I also spent time on the how-to site when a friend asked me some questions on their phone. Worth noting this site, http://www.microsoft.com/windowsphone/en-us/howto/wp7/default.aspx, I have just in case I need pointers.