connecting sharepoint 2010 service applications with other farms

41
Connecting SharePoint 2010 Service Applications with other Farms Alex Pearce SharePoint Saturday UK

Upload: pearcealex

Post on 19-Dec-2014

3.031 views

Category:

Technology


1 download

DESCRIPTION

Session give at SharePoint Saturday by Alex Pearce

TRANSCRIPT

Page 1: Connecting SharePoint 2010 Service Applications with other Farms

Connecting SharePoint 2010 Service Applications with other

FarmsAlex Pearce

SharePoint Saturday UK

Page 2: Connecting SharePoint 2010 Service Applications with other Farms

Alex Pearce Microsoft SharePoint MVP Blog: www.bfcnetworks.com Email: [email protected] Twitter: @alex_pearce

Page 3: Connecting SharePoint 2010 Service Applications with other Farms

Alex Pearce Personal Interest in SharePoint…

– Education– Learning Gateways/Learning Platforms– User Adoption– Integration

Founder of the Learning Gateway User Group and co-founder of the Learning Gateway Conference

Page 4: Connecting SharePoint 2010 Service Applications with other Farms

Agenda

Introduction to Publishing Service Applications

Creating a trust between SharePoint Farms

Connecting Metadata My Sites Search

Page 5: Connecting SharePoint 2010 Service Applications with other Farms

http://www.microsoft.com/downloads/details.aspx?FamilyID=fd686cbb-8401-4f25-b65e-3ce7aa7dbeab&displaylang=en

Page 6: Connecting SharePoint 2010 Service Applications with other Farms

Topologies for SharePoint 2010

http://www.microsoft.com/downloads/details.aspx?FamilyID=fd686cbb-8401-4f25-b65e-3ce7aa7dbeab&displaylang=en

Page 7: Connecting SharePoint 2010 Service Applications with other Farms

Example

Web Applications

User

Web Analytics

SearchMetadata

Service Applications

Publishing Farm Receiving Farm

Web Applications

Service Applications

Page 8: Connecting SharePoint 2010 Service Applications with other Farms

Real Life - Redstone

Page 9: Connecting SharePoint 2010 Service Applications with other Farms

Real Life - Redstone

Redstone PLCMetadata Service Application

User Profile Service ApplicationSearch Service Application

Redstone Managed SolutionsRedstone i4eRedstone Converged Solutions

Page 10: Connecting SharePoint 2010 Service Applications with other Farms

Creating a Trust

Page 11: Connecting SharePoint 2010 Service Applications with other Farms

Creating a Trust between Farms

Export Certificates Root Certificate (PowerShell) Security Token Certificate (PowerShell)

Import Certificates (PowerShell & GUI) Farm Permissions (PowerShell)

Application Discovery and Load Balancing Service Application

Page 12: Connecting SharePoint 2010 Service Applications with other Farms

Export Certificate

Publishing Server Root Certificate

Receiving Server Root Certificate Security Token Certificate

Page 13: Connecting SharePoint 2010 Service Applications with other Farms

Export Certificate - Publishing

1. $rootCert = (Get-SPCertificateAuthority).RootCertificate

2. $rootCert.Export("Cert") | Set-Content C:\Cert\PublishingFarmRoot.cer -Encoding byte

Page 14: Connecting SharePoint 2010 Service Applications with other Farms

Export Certificate - Receiving

1. $rootCert = (Get-SPCertificateAuthority).RootCertificate

2. $rootCert.Export("Cert") | Set-Content C:\Cert\ReceivingFarmRoot.cer –Encoding byte

3. $stsCert = (Get-SPSecurityTokenServiceConfig).LocalLoginProvider.SigningCertificate

4. $stsCert.Export("Cert") | Set-Content C:\Cert\ReceivingFarmSTS.cer -Encoding byte

Page 15: Connecting SharePoint 2010 Service Applications with other Farms

Import Certificates

Publishing Server needs to have both Root and Security Token Certificates

Receiving Server only requires the Root Certificate.

Page 16: Connecting SharePoint 2010 Service Applications with other Farms

Import Certificate - Publishing

1. $trustCert = Get-PfxCertificate C:\Cert\ReceivingFarmRoot.cer

2. New-SPTrustedRootAuthority ReceivingFarm -Certificate $trustCert

3. $stsCert = Get-PfxCertificate c:\Cert\receivingFarmSTS.cer

4. New-SPTrustedServiceTokenIssuer ReceivingFarm -Certificate $stsCert

Page 17: Connecting SharePoint 2010 Service Applications with other Farms

Import Certificate - Receiving

1. $trustCert = Get-PfxCertificate C:\cert\PublishingFarmRoot.cer

2. New-SPTrustedRootAuthority PublishingFarm -Certificate $trustCert

Page 18: Connecting SharePoint 2010 Service Applications with other Farms

Farm Permission

Give receiving farm permission to publishing farm

Page 19: Connecting SharePoint 2010 Service Applications with other Farms

Farm Permission – Get FarmID

1. (Get-SPFarm).Id

Page 20: Connecting SharePoint 2010 Service Applications with other Farms

Farm Permission – Get FarmID $security = Get-SPTopologyServiceApplication | Get-

SPServiceApplicationSecurity $claimProvider = (Get-SPClaimProvider

System).ClaimProvider $principal = New-SPClaimsPrincipal -ClaimType

http://schemas.microsoft.com/sharepoint/2009/08/claims/farmid -ClaimProvider $claimProvider -ClaimValue <farmid>

Grant-SPObjectSecurity -Identity $security -Principal $principal -Rights "Full Control"

Get-SPTopologyServiceApplication

Page 21: Connecting SharePoint 2010 Service Applications with other Farms

Demo

CREATING A TRUST BETWEEN FARMS

How to create a trust between 2 SharePoint 2010 farms

Page 22: Connecting SharePoint 2010 Service Applications with other Farms

Publishing Farm: Green

Page 23: Connecting SharePoint 2010 Service Applications with other Farms

Receiving Farm: Blue

Page 24: Connecting SharePoint 2010 Service Applications with other Farms

Demo

CREATING A TRUST BETWEEN FARMS

How to create a trust between 2 SharePoint 2010 farms

Page 25: Connecting SharePoint 2010 Service Applications with other Farms

Metadata Publishing

Page 26: Connecting SharePoint 2010 Service Applications with other Farms

What are we publishing?

Metadata Term Store Content Type Hub

Page 27: Connecting SharePoint 2010 Service Applications with other Farms

Metadata Service Application

Publish the Service Application Copy URL Connect Service Application Give permission Set properties Test metadata in Receiving farm Content Type publishing

Page 28: Connecting SharePoint 2010 Service Applications with other Farms

Demo

CONNECTING THE METADATA SERVICE APPLICATION

Publishing the metadata service application to a receiving farm

Page 29: Connecting SharePoint 2010 Service Applications with other Farms

Demo

Publishing: Green Receiving: Blue

Page 30: Connecting SharePoint 2010 Service Applications with other Farms

User Profile

Publishing

Page 31: Connecting SharePoint 2010 Service Applications with other Farms

What are we publishing?

‘I Like It’ link to My Site Link to My Site

Page 32: Connecting SharePoint 2010 Service Applications with other Farms

User Profile Service Application

Publish the Service Application Copy URL Connect Service Application Give permission

Page 33: Connecting SharePoint 2010 Service Applications with other Farms

Demo

CONNECTING THE USER PROFILE SERVICE APPLICATION

Publishing the user profile service application to a receiving farm

Page 34: Connecting SharePoint 2010 Service Applications with other Farms

Demo

Publishing: Green Receiving: Blue

Page 35: Connecting SharePoint 2010 Service Applications with other Farms

PublishingSearch

Page 36: Connecting SharePoint 2010 Service Applications with other Farms

What are we publishing?

The ability to search Not the Search Centre

Page 37: Connecting SharePoint 2010 Service Applications with other Farms

Search Service Application

Publish the Service Application Copy URL Connect Service Application Give permission Configure Search to Crawl

Page 38: Connecting SharePoint 2010 Service Applications with other Farms

Demo

CONNECTING THE SEARCH SERVICE APPLICATION

Publishing the search service application to a receiving farm

Page 39: Connecting SharePoint 2010 Service Applications with other Farms

Demo

Publishing: Green Receiving: Blue

Page 40: Connecting SharePoint 2010 Service Applications with other Farms

Web Applications

User

Web Analytics

SearchMetadata

Service Applications

Publishing Farm Receiving Farm

Web Applications

Service Applications

Conclusion

Page 41: Connecting SharePoint 2010 Service Applications with other Farms

Thank you for attending!

Email: [email protected]

Blog: www.bfcnetworks.com

Twitter: @alex_pearce