Step by step: How to connect SCAC 2012 R2 to SCVMM 2012 R2 and Microsoft Azure

February 17, 2016 at 10:43 am in Azure, Cloud, hybrid cloud, Private Cloud, Public Cloud, SCAC 2012 R2, SCVMM 2012 R2 by Wim Matthyssen

11-02-2016 16-14-33What’s a System Center App Controller (SCAC) server without a connection to System Center Virtual Machine Manager (SCVMM) or Microsoft Azure … right nothing! That’s why in this blog post I will show you how you can connect your SCAC server to your private (SCVMM) and public cloud (Microsoft Azure) environments.

Before we start some things to keep in mind:

To connect SCAC to SCVMM, complete these steps:

1) Open the SCAC web portal, expand Settings and click Connections. On het menu bar, click Connect and select SCVMM

clip_image002

2) In the Add a new VMM connection screen, enter a Connection name (this is the name the user sees), a Description, the SCVMM server name in FQDN format, and the TCP port of that same SCVMM server (default is 8100). Check the “Automatically import SSL Certificates” check box if you plan to copy files and templates to and from SCVMM libraries (this option is recommend). Click OK

clip_image003

3) SCAC establishes the connection and begins a session with the SCVMM server. You can follow the completion in the Jobs section

clip_image004

clip_image006

clip_image008

4) If all is setup without any errors, you will be able to connect to your different on premise Clouds and Virtual Machines (VMs)

clip_image010

clip_image012

To connect SCAC to your Azure Subscription, complete these steps:

1) To create the Self-Signed Certificate open up the IIS Manager on the SCAC server. Double-click on Server Certificates

clip_image014

2) In the Actions pane select Create Self-Signed Certificate

clip_image016

 

3) Name the certificate (in my example AzureSCACCert) and click OK

clip_image018

4) Now we need to export this certificate as a .pfx file. To do so, right-click on the certificate and choose Export…

clip_image020

5) Choose a file name, a location and set a password. If all is filled in click OK

clip_image021

6) In my example the .pfx file is created under the C: root

clip_image023

7) Now open run an type mmc and add the Certificates Snap in for the “Local Computer Account”

 

clip_image025

8) Go to Personal, right-click Certificates and under All Tasks select Import…

 

clip_image027

9) Follow all steps to import the .pfx file (AzureSCACCert) in the personal certificate store

clip_image028

clip_image030

10) To generate the .cer file by right clicking on the certificate, and under All Tasks, select Export

 

clip_image032

 

11) Use the defaults trough the wizard, as file name I used AzureSCAC.cer and as location C: At the end of the wizard press Finish

clip_image033

12) As a next step we need to upload the .cer file to Azure. To do so logon into your subscription in the classic portal (https://manage.windowsazure.com). When logged on, select Settings at the bottom left, select MANAGEMNT CERTIFICATES and finally select Upload at the bottom

clip_image035

13) Browse to the .cer file (located under the C: drive) select it, and click the check box. After a few seconds you should see a notification telling you that your upload is successful and the certificate should be added to the list of management certificates

clip_image036

clip_image038

clip_image040

14) Before we can connect SCAC to this Azure Subscription we need the Azure subscription ID. Because were already at the MANAGEMENT CERTIFICATES page, you can find this ID under the field SUBSCRIPTION ID. Copy the subscription ID to the clipboard

clip_image042

15) Open up the SCAC web console again, in the Overview pane, under Public Clouds, select Connect a Windows Azure Subscription

 

clip_image044

 

16) Fill in a Name and a Description, past the Azure Subscription ID, and select the correct certificate and add the password. If all is foreseen click OK

clip_image045

17) If all went well, you can see that you have an Azure subscription is now connected in the Overview page

clip_image047

18) Under the Virtual Machines section you can see your Azure IaaS VMs running

clip_image049

This concludes this blog post, hope it helps. Till next time!

Wim Matthyssen (@wmatthyssen)

Share on LinkedInTweet about this on TwitterShare on Google+Share on Facebook