Last Updated March 28, 2014
Description
This post describes how to configure the SharePoint Server 2013 Subscription Settings Service Application using PowerShell.
Solution
1) Document the Naming Convention
Document a naming convention for each of the Subscription Settings Service Application components.
Example:
Application Pool Service Account: Domain\SvcAccount (this should already be created)
Application Pool: SvcApp_SPServiceApplicationPool_03 (this should already be created)
Service Application: SvcApp_SPSubscriptionSettingsServiceApplication_01
Service Application Database: SvcApp_SPSubscriptionSettingsServiceApplication_01_DB_01
Service Application Proxy: The Proxy is named automatically by SharePoint
2) Open the SharePoint 2013 Management Shell as Administrator.
3) Verify the Name of the Application Pool.
PS C:\ Get-SPServiceApplicationPool | Select Name
4) Set the Service Application Pool in a variable.
$SvcAppPool03 = Get-SPServiceApplicationPool "SvcApp_SPServiceApplicationPool_03"
5) Create the Service Application and assign it to the Application Pool.
$SvcApp = New-SPSubscriptionSettingsServiceApplication -ApplicationPool $SvcAppPool03 -Name "SvcApp_SPSubscriptionSettingsServiceApplication_01" -DatabaseName "SvcApp_SPSubscriptionSettingsServiceApplication_01_DB_01" -DatabaseServer "MSSQL Client Alias"
6) Verify the Service Application.
PS C:\ Get-SPServiceApplication | Select Name
5) Create the Service Application Proxy and assign it to the Service Application.
$SvcAppProxy = New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $SvcApp
It does not appear that the name of the Proxy can be set using the cmdlet. SharePoint will name the Proxy automatically.
7) Verify Service Application Proxy.
PS C:\ Get-SPServiceApplicationProxy | Select Name
8) Start the Service Instance.
Get-SPServiceInstance | where{$_.TypeName -eq "Microsoft SharePoint Foundation Subscription Settings Service"} | Start-SPServiceInstance
References
Microsoft TechNet (2012). New-SPSubscriptionSettingsServiceApplication. Retrieved November 27, 2012 from http://technet.microsoft.com/en-us/library/ff607823.aspx.
Microsoft TechNet (2012). Service application cmdlets in SharePoint 2013. Retrieved November 27, 2012 from http://technet.microsoft.com/en-us/library/ee906561.aspx.
Microsoft TechNet (2012). SharePoint 2013 - Service Applications. Retrieved November 27, 2012 from http://social.technet.microsoft.com/wiki/contents/articles/12512.sharepoint-2013-service-applications.aspx.
Subscribe to:
Post Comments (Atom)
Events / Conferences / User Groups
- AIIM Conference
- Boston Area SharePoint User Group
- Boston Azure User Group
- Collaborate
- DevConnections
- DevIntersection
- Enterprise Search Summit
- Microsoft Build
- Microsoft SharePoint Conference
- Microsoft TechEd
- New England ASP.NET Professionals User Group
- New England Oracle Applications User Group
- Oracle Applications User Group (OAUG)
- Oracle OpenWorld
- PeopleSoft Government Contractor Special Interest Group
- PeopleSoft Southern New England Users Group
- Quest International Users Group
- SharePoint Saturday
- SPTechCon
- SQL PASS
- SQL Saturday
- Startup Weekend
No comments:
Post a Comment