SharePoint 2010 adds some new features to support hosting environments, which we generally refer to as multi tenant support. In the beta release, the core multitenant infrastructure is not turned on by default. It requires a custom service application to be provisioned, and once that's done you can begin configuring the different pieces of multi tenancy. Here's just a brief rundown on what those features are:
That's the really brief overview of what it does - I'm sure the SharePoint user assistance folks (the people that write all that content for TechNet) will have a lot more detail on this in the months ahead. In the meantime, if you want to get the basic infrastructure in place you can get started by running this PowerShell script:
Once you have that in place, you can create new subscriptions, add existing site collections to subscriptions, create tenant admin sites, create feature packs, associate feature packs with subscribers, etc. I actually have a simple winforms app that does all of this now; I will try and write a future post that describes how to do some of these things in PowerShell, and post my admin app as well to help get you started. One quick note I will make here, if you are exploring on your own and want to create a tenant admin site, you need to make sure you include the "-AdministrationType TenantAdministration" flag when using the new-spsite cmdlet.
To take advantage of these features in a service application, you need to use the -PartitionMode flag when creating the service application. Here's an example of a PowerShell script to create a new instance of the managed metadata service in multi tenant mode:
$pool = Get-SPIisWebServiceApplicationPool -Identity 'SharePoint Web Services Default'$meta = New-SPMetadataServiceApplication -HubUri http://hosting -ApplicationPool $pool -Name 'Tenant Managed Metadata' -DatabaseName O14_TenantMetadataDB -DatabaseServer SP14B -PartitionMode -SyndicationErrorReportEnabled$proxy = New-SPMetadataServiceApplicationProxy -PartitionMode -ContentTypePushdownEnabled -DefaultKeywordTaxonomy -DefaultSiteCollectionTaxonomy -Name 'Tenant Managed Metadata Proxy' -DefaultProxyGroup -ServiceApplication $meta
Hopefully that's enough to get you curious and started for now. I'll follow up with additional scripts and the tenant admin app later.
Hi speschka, thank you for your post and information... do you have any information if this multi-tenant support will be something that is going to be by default on both standard and enterprise editions? thank you!
Hi Sieena, I actually have no idea...I'm about the worst person to ask SKU-related questions. :-) Sorry about that.
I'm trying to run the PowerShell scripts provided in this article and for some reason the SPIisWebServiceApplicationPool object is not identifyed by my SharePoint 2010 Management Shell. Do you happen to know if this object is specific to SP 2010 beta version?
I'm using the RC version of SP 2010.
Thanks a lot
Yeah I figured out - actually is part of Microsoft.SharePoint.Administration namespace.
With SP2010 RTM , you must replace New-SPIisWebServiceApplicationPool with Set-SPServiceApplicationPool
With SP2010 RTM , you must replace New-SPIisWebServiceApplicationPool with New-SPServiceApplicationPool
(ignore last post)
Great post on multi-tenancy. One of the benefits SharePoint 2010 offers in comparison to previous editions is improved host-named site collections which means that site collections are a real (scalable) alternative to having a Web app per tenant. I have posted a step-by-step for creating a couple of host-named site collections over at mossblogger.blogspot.com/.../multi-tenancy-in-sharepoint-2010-using.html
How the alternative URL works for 2010. For example I create a site called mysharepoint.onmyCloud.com . My customer will buy a domain called www.mysharepoint.com which has to map to mysharepoint.onmycloud.com. How do we do that?
Referring to Chelsea is referred to the pain in my heart those who love the team M88 port city of Liverpool is the most special and captain Gerrard. Last season, Liverpool are holding a big advantage in the race to the championship NHA but things soon
put an end to the army's Chelsea Rodgers suddenly lost with the score 0-2 on field Anfield home. :http://www.m88no.com/Main/Home.aspx?affiliateId=99156
M88 match against Chelsea in the second leg last season with sad memories Gerrard
Worth mentioning is not Chelsea play too or M88 (the London team that is focused 100% effort for the semi-finals of the Champions League with Atletico Madrid) but the Liverpool has shot himself in his leg after a trip of captain Gerrard lead to goals at the
end of the first half. After the goals, Liverpool gong to rise to search leveling goal but what they get is another last-minute goals. Chelsea lost with the score 0-2, the Kop rising trophy in the hands of competitors and Man City to finish the season in second
place full of fresh news.