Overview
The Microsoft SharePoint
Foundation Subscription Setting service is one element of a concept known as
multi-tenancy in SharePoint 2010. The
service provides a means of creating and managing logical groups of site
collections based on the need to share settings, features and service data.
Service provides a means of creating and managing
logical groups of site collections based on the need to share settings,
features and service data.How to do
2.
Start service “Microsoft SharePoint Foundation Subscriptions Settings
Service” by Open Management Shell input the script below
<# Start Microsoft SharePoint Foundation
Subscriptions Settings Service #>
Get-SPServiceInstance | where{$_.GetType().Name -eq
"SPSubscriptionSettingsServiceInstance"} | Start-SPServiceInstance
$acc = Get-SPManagedAccount "yourdomain\user"
$appPool = New-SPServiceApplicationPool -Name
SettingsServiceApplicationPool –Account $acc
$app = New-SPSubscriptionSettingsServiceApplication
–ApplicationPool $appPool –Name SettingsServiceApplication –DatabaseName
SettingsServiceDatabase
$proxy =
New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $app
<# Creates a new sub #>
$sub = New-SPSiteSubscription
<# Creates Tenant admin site #>
New-SPSite -url http://your web application/sites/tenantadmin
-owneralias dicentral\hungdo -owneremail noone@nowhere.com -template tenantadmin#0
-SiteSubscription $sub -AdministrationSiteType TenantAdministration
<# Creates new member site $sub=
http://your web application/sites/tenantadmin #>
New-SPSite -url http://your web application/sites/tenantmember2
-owneralias yourdomain\user -owneremail noone@nowhere.com -template sts#0
-SiteSubscription $sub
<# Creates new member site $sub= http://your web application/sites/tenantadmin
=> how can you know: echo $sub#>
New-SPSite -url http://your web application/sites/tenantmember1
-owneralias yourdomain\user -owneremail noone@nowhere.com -template sts#0
-SiteSubscription http://your web application/sites/tenantadmin
0 comments:
Post a Comment