sharepoint 2010 service application architecture_ ayman el-hattab,mvp
DESCRIPTION
TRANSCRIPT
SharePoint 2010 Service Application Architecture
Ayman El-HattabTechnology Solution ProfessionalMEA Center of ExpertiseSharePoint [email protected] www.aymanelhattab.com
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
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
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
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…
Browser
Web Front End Server
Application (Middle-Tier) Server
~~~~~~~~~~~~~
~~~~~~~~~~~~~
Service WorkflowFor a typical service
SharePoint Containment Hierarchy
Farm = Configuration Database
Servers
Services
Service ApplicationsService Applications
DB
Web Applications
Content DB
Site Collections
Sites / Webs
Lists
Items
M:N
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
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
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
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
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
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.
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 .
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.
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
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
Associating Web Apps to Proxy Groups
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
Isolated SAs
Service Databases
Service Applications with their own DB:SearchUser ProfileManaged MetadataSecure StoreState ServiceBusiness Data ConnectivityWeb AnalyticsPerformance PointUsage and Health data collectionWord Automation
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
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
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
Examples
Simple Service App Association
Multiple Service App Association
Service App Farm
Content-only Farm
Multiple Farms – Mixed Service App Association
Service Applications
Demo
Recap – Logical View
Farm 3Farm 2Farm 1
http://wingtiptoys.com
http://intranet
Search
User Profile
s
Search
Excel
UserProfile
s
ManagedMetadata
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