Step-by-step installation of Service Provider Foundation 2012 R2


Русская версия

Hi, folks!

This is the first part of series of posts related with Windows Azure Pack (WAP) and VMM Clouds.

Article 1 : SPF installation (you are here)

Article 2 : WAP and its optional resources

Article 3: WAP+VM Cloud Service

I’ll try to show you how to install all required components and connect WAP to your VMM Cloud. But now let’s talk about SPF.

Service Provider Foundation (SPF) is provided with System Center 2012 – Orchestrator, a component of System Center 2012 R2 (and System Center 2012 SP1). Service Provider Foundation exposes an extensible OData web service that interacts with Virtual Machine Manager (VMM). This enables service providers and hosters to design and implement multi-tenant self-service portals that integrate IaaS capabilities available on System Center 2012 R2. The following picture shows how SC w/SPF interacts with WAP to provide VM Cloud Services (see TechNet article for more info):

service provider foundation

As every installation, SPF requires additional software, features and server roles. Setup wizard checks prerequisites and reports about their status. Unfortunately, there is no “button” to install all of requirements automatically. I’ve wrote a sample script to automate this process (see below). SQL Server is virtual machine srv-sql-01, SPF is the virtual machine srv-spf-01. Don’t try to install SPF on VMM Server. It’s not supported.

Requirements:

  • OS – Server 2012 R2
  • SQL Server 2012 SP1
  • Feature – Management OData Internet Information Services (IIS) Extension
  • Feature – NET Framework 4.5 features, WCF Services, and HTTP Activation.
  • Web Server (IIS) server. Include the following services:

Basic Authentication

Windows Authentication

Application Deployment ASP.NET 4.5

Application Development ISAPI Extensions

Application Deployment ISAPI Filters

IIS Management Scripts and Tools Role Service

  • Web Services:

WCF Data Services 5.0 for OData V3

ASP.NET MVC 4

  • Virtual Machine Manager 2012 R2 Console
  • Certificates: self-signed (wizard creates one automatically) or obtained SSL-certificate (recommended for production)

Here is the script for installation all requirements (don’t forget to install VMM console manually)

#IIS + Process activation model
Install-WindowsFeature Web-Asp-Net45,Web-Scripting-Tools,Web-Basic-Auth,Web-Windows-Auth,NET-WCF-Services45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Scripting-Tools,WAS-Process-Model,WAS-Config-APIs,ManagementOdata
#Download and install WcfDataServices and AspNetMVC4
New-Item C:\SPFRequirements -ItemType Directory
Invoke-WebRequest http://download.microsoft.com/download/8/F/9/8F93DBBD-896B-4760-AC81-646F61363A6D/WcfDataServices.exe -OutFile C:\SPFRequirements\wcfdatasvc.exe
Invoke-WebRequest http://download.microsoft.com/download/2/F/6/2F63CCD8-9288-4CC8-B58C-81D109F8F5A3/AspNetMVC4Setup.exe -OutFile C:\SPFRequirements\aspnetmvc.exe
Set-Location C:\SPFRequirements
.\aspnetmvc.exe /quiet
Wait-Process aspnetmvc
.\wcfdatasvc.exe /quiet
Wait-Process wcfdatasvc
Write-Host "All prerequisites are installed. Insert VMM DVD and install VMM Console manually. Then your environment will be ready for SPF installation"

Mount ISO with Orchestrator and run SetupOrchestrator.exe and click on “Service Provider Foundation”

spf_1

Click Install

spf_2

Accept license terms and click Next

spf_3

We’ve already installed all prerequisites, so just click Next

spf_4

Define SQL Server Name , Port Number and click Next. If you unable to reach SQL Server you have to open firewall ports (https://support.microsoft.com/kb/968872) or check SQL TCP properties

spf_5

Choose certificate type (I’ll use self-signed in my DEMO) and click Next

spf_6

Define application pool credentials and domain groups or users who will have an access to SPF services and click Next. It’s recommended to create new domain accounts for every SPF services instead of using Network Service account

spf_7

Provider Web Service properties , click Next

spf_8

Usage Web Service configuration, click Next

spf_10

Windows updates + CEIP – yes, click Next

spf_11

Click Install

spf_12

Setup is complete!

spf_13

Update SPF with the latest rollup (http://support.microsoft.com/kb/2992021) or use Windows Update.

Additional links:

http://technet.microsoft.com/en-us/library/jj642895.aspx

http://technet.microsoft.com/en-us/library/dn266007.aspx

5 thoughts on “Step-by-step installation of Service Provider Foundation 2012 R2”

  1. Hello,
    This is a great tutorial but I’m missing few points (I’m a completely new to Azure infra) :
    About the VM srv-sql-01 : I have to install SQL server on top of Windows 2012 R2 ?
    SPF 2012 R2 installation srv-spf-01 : do I have to run your script on this VM ?
    Where do you install SCVMM ? on a new distinct VM ?
    Thank you for your help 🙂

    1. Hi, Marc!

      1) SQL Server on top of WS2012 r2 – VM number 1 (VMM and SPF require SQL Server instance)
      2) Run script on SPF node (VM) – VM number 2 (To install required roles/features and external packages)
      3) SCVMM needs to be placed on a VM number 3 (WAP requires VMM server)
      4) SCVMM console must be availablet @SPF VM . Just install it from VMM media

      +See my previous posts (use search) about deploying or updating SCVMM (in HA as well).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s