Pages

Thursday, July 18, 2013

How to Configure UAG 2010 for SharePoint 2013

 

This blog is part of Series : Comprehensive SharePoint 2013 Development Environment Installation and Configuration

Overview

This blog article discusses how to configure UAG 2010 for exposing your SharePoint 2013 Site(s). Assuming you have followed the previous blog on how to install UAG.

 

Steps

From the Program Menu, run Forefront UAG Management

clip_image001

clip_image002

clip_image003

clip_image004

Assign your external and internal NIC cards accordingly

clip_image005

clip_image006

clip_image007

clip_image008

clip_image009

clip_image010

clip_image011

clip_image012

clip_image013

clip_image014

clip_image015

clip_image016

clip_image017

 

clip_image018

Now create an UAG Trunk

clip_image019

clip_image020

Provide appropriate Public Host name for your UAG Trunk, this should be other than your Extranet URL.

Something like Login.myexternaldomain.com. Provide your Public IP (I have a dummy IP below)

clip_image021

Add and select appropriate authentication providers below and I have left short of this here.

clip_image022

clip_image023

Follow next to Create and configure an Extranet…(Coming soon…)

Installing UAG 2010 for SharePoint 2013

This blog is part of Series : Comprehensive SharePoint 2013 Development Environment Installation and Configuration

Overview

This blog article discusses how to install UAG 2010 for the purpose of exposing your SharePoint 2013 Site(s).

Important:

  • You will need to install UAG 2010 with SP3 (which has support for SharePoint 2013) (And there is no UAG 2012 or 2013)
  • UAG 2010 SP3 does not support Windows Server 2012, so you will have to use Windows 2008 R2.
  • You will need minimum Two NIC Cards. One to point to your Public IP and second one to point to your internal network where your On-Prem SharePoint 2013 Farm is installed.

For IT professionals follow the recommended Network Adapter Configuration for Forefront UAG Servers

  1. From <http://social.technet.microsoft.com/wiki/contents/articles/3198.recommended-network-adapter-configuration-for-forefront-uag-servers.aspx>
  2. Recommended Network Card Configuration for Forefront UAG Servers From <http://blog.msedge.org.uk/2010/04/recommended-network-card-configuration_14.html>

Reference: http://www.wictorwilen.se/sharepoint-2013-and-unified-access-gateway-uag-2010-service-pack-3

Steps

clip_image001

Internal

clip_image002

External

clip_image003

clip_image004

clip_image005

Prepare your UAG Installation media as below:

  1. UAG Service Pack 1 Update 1
  2. TMG Service Pack 2
  3. UAG Service Pack 2
  4. UAG Service Pack 3

clip_image006

Install Forefront UAG with SP1 as a clean installation.

clip_image007

clip_image008

clip_image009

clip_image010

Install Forefront Unified Access Gateway (UAG) Service Pack 1 (SP1) Update 1

From <http://www.microsoft.com/en-us/download/details.aspx?id=27604>

clip_image011

clip_image012

Install Microsoft Forefront Threat Management Gateway (TMG) 2010 Service Pack 2

From <http://www.microsoft.com/en-us/download/details.aspx?id=27603>

clip_image013

clip_image014

clip_image015

Install Forefront Unified Access Gateway (UAG) Service Pack 2

From <http://www.microsoft.com/en-us/download/details.aspx?id=30459>

clip_image016

clip_image017

Install Forefront Unified Access Gateway (UAG) Service Pack 3 (SP3)

From <http://www.microsoft.com/en-us/download/details.aspx?id=36788>

clip_image018

clip_image019

Follow next blog for Configuration

Configure SharePoint 2013 for Apps

This blog is part of Series : Comprehensive SharePoint 2013 Development Environment Installation and Configuration

Overview

This blog article discusses how to configure your environment for SharePoint 2013 Apps.

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

Steps

Create new Zone

Under your DNS, first create a forward lookup zone for the app domain name

clip_image001[1]

clip_image002

clip_image003

clip_image004

clip_image005

clip_image006

clip_image007

Create a wildcard Alias (CNAME) record for the new domain name

clip_image008

clip_image009

clip_image010

clip_image011

Ensure Servers are started

clip_image012

Validate Service Applications

Create Subscripts Settings Service Application via Powershell

# Gets the name of the managed account and sets it to the variable $account for later use.

$account = Get-SPManagedAccount corp\spservices

# Creates an application pool for the Subscription Settings service application.
# Uses a managed account as the security account for the application pool.
# Stores the application pool as a variable for later use.

$appPoolSubSvc = New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account $account

# Creates the Subscription Settings service application, using the variable to associate it with the application pool that was created earlier.
# Stores the new service application as a variable for later use.

$appSubSvc = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name SettingsServiceApp –DatabaseName SettingsServiceDB

# Creates a proxy for the Subscription Settings service application.

$proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc

clip_image013

clip_image014

clip_image015

Configure App Domain

Set-spappdomain -appdomain "mydomainapps.com"

Set-spappSiteSubscriptionName -Name "app"

clip_image016

Configure the app URLs to use

clip_image017

clip_image018

clip_image019

clip_image020

clip_image021

clip_image022

clip_image023

clip_image024

clip_image025

From your VS.net 2012 create a new sample App

clip_image026

clip_image027

clip_image028

clip_image029

clip_image030