sharepoint 2010 service application architecture_ ayman el-hattab,mvp
DESCRIPTION
TRANSCRIPT
![Page 1: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/1.jpg)
SharePoint 2010 Service Application Architecture
Ayman El-HattabTechnology Solution ProfessionalMEA Center of ExpertiseSharePoint [email protected] www.aymanelhattab.com
![Page 2: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/2.jpg)
Session Objectives
Become familiar with the new Service Application ModelUnderstand how sites use Service App featuresKnow the underlying components in IIS and SQL used to support Service AppsIntroducing Multi-Tenancy in SharePoint 2010View some Example Topologies
![Page 3: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/3.jpg)
Shared Service Provider
SharePoint
Search
Excel Calc Service
Business Data Catalog
User Profile Service
ContentConfig Workflow
SharePoint Server
Search
Excel Calc Service
Business Data Catalog
User Profiles
ContentConfig Workflow
2010 2007
Windows SharePoint Services
![Page 4: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/4.jpg)
SharePoint Service Applications
SharePoint 2010
Search
Excel Calc Service
Business Data Connection
User Profiles
SharePoint Foundation
ContentConfig Workflow
SharePoint ServerShared Service Provider
Windows SharePoint Services
![Page 5: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/5.jpg)
SharePoint Service Applications
SharePoint 2010
Search
Excel Calc Service
Business Data Connectivity
User Profiles
SharePoint Foundation
ContentConfig Workflow
SharePoint Server
Sandboxed Code Service
Usage & Health Logging
Word Conversion
Service
PowerPoint Broadcast
Service
PerformancePoint
Visio Graphics Service
Access Service
Web Analytics Managed Metadata
3rd party services…
![Page 6: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/6.jpg)
Browser
Web Front End Server
Application (Middle-Tier) Server
~~~~~~~~~~~~~
~~~~~~~~~~~~~
Service WorkflowFor a typical service
![Page 7: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/7.jpg)
SharePoint Containment Hierarchy
Farm = Configuration Database
Servers
Services
Service ApplicationsService Applications
DB
Web Applications
Content DB
Site Collections
Sites / Webs
Lists
Items
M:N
![Page 8: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/8.jpg)
What is a Service Application?SharePoint Service: The middle tier .NET
component (Actual binary) that provides Data or Processing resources to SharePoint features.Service Instances: Running physical instance of a service.Service Application: A configured logical instance of a Service.
Provides data or computing resources according to the configuration.Exposes administrative interfaces (Web-based or PowerShell)Uses resources
One or more Service Databases.Application Pool
![Page 9: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/9.jpg)
Service Applications vs SSPNo longer a separate SSP web site
SA’s managed via central admin
Pick and choose your service apps (SA)
If you don’t need a service app, don’t add it
Web apps can consume SAs on an individual basis
Each web app can use any combination of all available SA’s
Deploy multiple instances of the same SA
Just give each one a unique name
Reuse SA instances across multiple web apps in farm
![Page 10: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/10.jpg)
New Service App Model
SSP
MOSS 2007 Model All or Nothing
Proposition
http://hrweb/
SearchUser
Profiles
Excel Calc
Corp Farm
BDC
http://hrweb/
Corp Farm
SP2010 ModelA La Carte!
http://itweb/ http://itweb/
Search
User Profiles
Excel
Calc
Visio
3rd party Servic
e
BCS
WAC
![Page 11: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/11.jpg)
Scaling Service Applications
Service Apps can achieve high scaleSelect which servers in the farm the SA runs on
Controlled in Services on Server page
Search Service Application is unique in how its topology is managedTo achieve more scale:
Add more serversConfigure SA’s to run on them
![Page 12: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/12.jpg)
Cross Farm SAsCross Farm SAs
Any farm can publish SAs.Remote farms don’t need perms to parent farm DBs avoiding potential security issues.One web app can use both local and remote SAsProvides for centralized “enterprise” SAsNot all SAs can be shared between farms
YES: People, Managed Metadata, BCS, Search, Secure Store, Web AnalyticsNO: Usage and Health, State Service, Project, Excel Services, Access, Visio, Word, Word Viewing, PPT, PerformancePoint
![Page 13: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/13.jpg)
Some Service AppsAccess Services
Allows viewing, editing, and interacting with Access databases in a browser.
Business Data Connectivity ServiceEnabling this service provides the SharePoint farm with the ability to upload BDC models that describe the interfaces of your enterprises’ line of business systems and thereby access the data within these systems.
Excel ServicesAllows viewing and interactivity with Excel files in a browser.
Managed Metadata ServiceProvides access to managed taxonomy hierarchies, keywords and social tagging infrastructure as well as Content Type publishing across site collections.
PerformancePoint Service ApplicationSupports the monitoring and analytic capabilities of PerformancePoint Services such as the storage and publication of dashboards and related content.
PowerPoint Service ApplicationEnables the viewing, editing and broadcast of PowerPoint presentations in a web browser.
![Page 14: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/14.jpg)
Some Service Apps (cont.)Search Service Application
Index content and serve search queries. Usage and Health data collection
This service collects farm wide usage and health data and provides the ability to view various usage and health reports.
User Profile Service ApplicationAdds support for My Sites, Profile pages, Social Tagging and other social computing features. Some of the features offered by this service require Search Service Application and Managed Metadata Services to be provisioned.
Visio Graphics ServiceEnables viewing and refreshing of Visio web diagrams.
Web Analytics Service ApplicationEnable rich insights into web usage patterns by processing and analyzing web analytics data .
![Page 15: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/15.jpg)
SA Proxies
A proxy is automatically created for an SA when the SA is created via central admin.It’s a virtual link that lives on WFE and used to connect web apps to Sas.
![Page 16: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/16.jpg)
SA Proxy Groups
A proxy group is a group of SA proxies that are selected for a web appBy default, all SA proxies are included in the default proxy group.
You can remove them.A single proxy can be in multiple Proxy Groups
When you create a web app you can:select the default proxy groupcreate a custom proxy group by selecting which SA proxies should be included
The custom proxy group for one web app cannot be reused with a different web app
![Page 17: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/17.jpg)
Changing the Default Proxy Group
Admin UI:Application Management <click>Configure service application associations <click> “default” (under “Proxy Group”) <click>
PowerShellGet-SPServiceApplicationProxy lists the SA proxy IDsAdd- and Remove-SPServiceApplicationProxyGroupMember takes the ID as a parameter
NOTE: Do NOT enter a name for the “Identity” parameter in these calls; just press Enter and when prompted and it will use the Default proxy group automatically
![Page 18: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/18.jpg)
Associating Web Apps to Proxy Groups
![Page 19: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/19.jpg)
Deploying and Managing SAs
Creating:Select services while running the farm Config Wizard Add services one by one on the Manage Service Applications page in Central AdminUse PowerShell
Managing:Central Admin, Manage Service Applications
Click on any SA and then the Manage button on the ribbonUse PowerShell
Some PowerShell examples:http://sharepoint.microsoft.com/blogs/zach/Lists/Posts/Post.aspx?ID=50
![Page 20: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/20.jpg)
Isolated SAs
![Page 21: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/21.jpg)
Service Databases
Service Applications with their own DB:SearchUser ProfileManaged MetadataSecure StoreState ServiceBusiness Data ConnectivityWeb AnalyticsPerformance PointUsage and Health data collectionWord Automation
![Page 22: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/22.jpg)
Developing Custom SAs
Creating custom SAs is possibleThe object model and interfaces have been defined so they act, look and feel like an out of the box serviceThere is a whitepaper available that outlines the basic concepts and relevant APIs
![Page 23: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/23.jpg)
Service Application Components Browser
ConsumerWeb Part
SP W
FE
ConsumerWeb Part
Service Application Proxy
WCF Contract(*.svc)
* .asmx …
Service Logic (* .dll)
SP A
PP
SER
VER
Config DB Custom DB
Content DB
SQ
LS
ER
VERClient App
Custom Service Applications Components
Custom Database*ServiceService ApplicationService Endpoint (WCF)*Service Application Proxy
Custom Consumers Leverage Services
Web PartsPowerShell CmdletsCustom PagesWCF Services
![Page 24: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/24.jpg)
Multi-Tenancy (Partitioned and Non-partitioned Services)
Services can be configured to “share” data across Tenants or to “partition” data for each tenant (data isolation)
Allows multiple organizations to be ‘hosted’ on the same SharePoint configuration, but keeps their data isolated
Configurable ‘per-service’ to allow for “Mixed-Mode Partitioning”
Service Applications that support Multi-Tenancy can be administrated out of Central Administration (Delegated down to tenant admin site).
Data
Partition B
Partition A
![Page 25: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/25.jpg)
Examples
![Page 26: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/26.jpg)
Simple Service App Association
![Page 27: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/27.jpg)
Multiple Service App Association
![Page 28: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/28.jpg)
Service App Farm
![Page 29: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/29.jpg)
Content-only Farm
![Page 30: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/30.jpg)
Multiple Farms – Mixed Service App Association
![Page 31: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/31.jpg)
Service Applications
Demo
![Page 32: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/32.jpg)
Recap – Logical View
Farm 3Farm 2Farm 1
http://wingtiptoys.com
http://intranet
Search
User Profile
s
Search
Excel
UserProfile
s
ManagedMetadata
![Page 33: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/33.jpg)
Recap – Architectural View
Service: A middle tier component that provides Data or Processing resources to SharePoint features (Actual DLLs)
Service Application
Service Proxy Service Proxy
Web Part, Pages(Service
Consumer)
*.SVC’s, PowerShell Cmdlets(Service Consumer)
Service Machine Instance: Actual instance of the running service binaries on a server
Service Application: A configured logical instance of a Service
Service Application Proxy:Reference to the Service Application
Service Consumer: Components that utilize the service’s logic
![Page 34: SharePoint 2010 Service Application Architecture_ Ayman El-Hattab,MVP](https://reader033.vdocument.in/reader033/viewer/2022061121/546d8dc0af7959e3298b6157/html5/thumbnails/34.jpg)