• Step-by-step: Connecting System Center App Controller to Azure Virtual Machines

    So, you want to get started with Windows Azure VM’s and System Center?

    Well, here’s the fast track.

    Check this out when you have time – Mark Russinovich @ TechEd talking about Azure Virtual Machines.

    Get an Azure 3 month trial account: https://www.windowsazure.com/en-us/

    image

    Second, you need System Center App Controller SP1 CTP2.  This integration will not work with the RTM version (or any other previous version) of App Controller.  You can download it here:  http://www.microsoft.com/en-us/download/details.aspx?id=30133

    We’ll configure App Controller a little later – you don’t have to have VMM installed to get the Azure piece working, but if you want to upload VM’s to Azure, you’ll need to have that integration because you can only upload VM’s from the VMM library.

    When you get logged into your trial account, you may see the following screen, I did.  You may need to sign-up for the preview program.  I was approved quickly (within a few hours).

    clip_image001

    Once that’s done we have a few other details to take care.  Specifically, creating a certificate that we’ll use to connect App Controller to Azure.  You can do this with an IIS Server.  Just follow the screen shots.  The process is pretty straightforward.  We’re creating a self-signed X.509 certificate that we import into Azure and App Controller.  The steps to do this are well documented on the internet.

    image         

    Click on the “Server Certificates” and then click the option to create a “Self-Signed Cert”:

        image

    Now provide a “FRIENDLY NAME” – it doesn’t have to be anything specific or match anything in Azure…call it whatever you want.

    image

    This will create and place the certificate in the local machine.  Create a custom MMC Console and connect to ‘certificates’ on the local machine.

    image 

    Search by the column “FRIENDLY NAME” to match what you put in the “FRIENDLY NAME” when you ran through the wizard:

    image

    Do a right-click –> All Tasks –> Export

    image

    The first cert we will create will be the one we will upload in Azure.  Choose this option:

    image

    Use DER encoding and save the *.cer file to disk where you can easily get to it.

    IMPORTANT: You’ll want to run through that export wizard again on the same cert you used to create the *.cer file and this time select the YES, EXPORT THE PRIVATE KEY option.  This is the key that you’ll use in App Controller.  This process will create a *.PFX file.

    image

    Let’s go back out to our Azure Portal.  If you are still in the 'new’ metro style interface, the easiest way to get the cert in is to go back to the previous interface.  You can do this by hovering the mouse over the green PREVIEW area at the top of the webpage and a window will fly open prompting you to go back to the older interface:

    image

    Now that you’re in the old interface – lets’ import the *.cer.  I’ve highlighted all the places that you need to pay attention to.  Use the ‘add cert’ to upload your *.cer file.  You’ll want to take note of the ‘SUBSCRIPTION ID’ as you’ll need that in App Controller to get the integration working.

    image

    Now, let’s go to App Controller.

    image

    Once everything is working right, you’ll see your Azure subscription appear and as you create VM’s using the Azure Portal, they will appear in App Controller:

    image

    You can create VM’s using the Azure Preview Portal or using App Controller:

    image

    image

    Be sure to read the documentation (linked above) to get a more complete picture on what you can / cannot do with App Controller CTP2 and Azure.  This should get you going on the integration piece though.

    Good luck!

  • SCCM 2012 Survival Guide - “THE” definitive resource…

    Wow – bookmark this bad boy!

    http://social.technet.microsoft.com/wiki/contents/articles/7075.system-center-2012-configuration-manager-survival-guide-en-us.aspx

  • SI Learning Track: Windows Server 2012 Readiness

    Looking for some training on Windows Server 2012.  Check this out:

    http://assets.msleap365.com/content/lpguid/htmh/4DAD887914FA46FFB93929B14278D42C.htm

  • Server 2012 PowerShell and Server Manager Quick Reference Guides

    I can’t emphasize enough how important it is for Windows Server admin’s to start learning PowerShell…if you haven’t already.  With the updates to 3.0, we make that a lot easier on you, there’s no question about that.

    However, it’s always good to have some ‘cheat sheets’, so here you go.  Download these (some are great for print-out’s to hang in your work area) and keep them handy as you’re running Windows Server 2012 through it’s paces.  As you find yourself doing repeatable tasks – fire up PowerShell and make it work there too.

    Enjoy!

    http://www.microsoft.com/en-us/download/details.aspx?id=30002

    image 

  • Create Sysprepped Windows 7/8 & Server 2008 R2/2012 VHDX images from setup media…

    What can I do with this thing again?

    Convert-WindowsImage is the new version of WIM2VHD designed specifically for Windows 8. Completely rewritten in PowerShell, this command-line tool allows you to rapidly create sysprepped VHD and VHDX images from setup media for Windows 7/Server 2008 R2 and Windows 8/Server 2012.

    What’s new in this version?

    · Bug fixes (for example: bigger text on the UI to make it more readable, -Edition switch now accepts image number as well as image name, etc.)

    · New switches to enable kernel debugging in the VHD(X).

    · The ability to share this script with your friends, family, partners, pen pals, customers, and pets, even if they don’t work for Microsoft!

    Where can I get it?

    The public site is here.