Wednesday, 28 November 2012

Configuring Subscription Service Sharepoint 2013

To configure the Subscription Settings service application by using Windows PowerShell

  1. On the Start menu, click All Programs.
  2. Click Microsoft SharePoint 2013 Products.
  3. Click SharePoint 2013 Management Shell.
  4. First you must establish the application pool, run as account, and database settings for the services. Use a farm account for the SPManagedAccount (which will be used for the application pool runas account).
    At the Windows PowerShell command prompt, type the following commands, and press ENTER after each one to create the application pool:
     
  5. $account = Get-SPManagedAccount "<farm account>"
    # Gets the name of the Farm administrators account and sets it to the variable $account for later use.

    Where:
    • <farm account> is the name of the Farm administrators account in the SharePoint farm.

     
  6. $appPoolSubSvc = New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account $account
    # Creates an application pool for the Subscription Settings service application.
    # Uses the Farm administrators account as the security account for the application pool.
    # Stores the application pool as a variable for later use.
  7. At the Windows PowerShell command prompt, type the following commands, and press ENTER after each one to create the new service application and proxy:
     
  8. $appSubSvc = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name SettingsServiceApp –DatabaseName <SettingsServiceDB>
    # Creates the Subscription Settings service application, using the variable to associate it with the application pool that was created earlier.
    # Stores the new service application as a variable for later use.

    Where:
    • <SettingsServiceDB> is the name of the Subscription Settings service database.

     
    $proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc
    # Creates a proxy for the Subscription Settings service application.
    

To configure the App Management service application by using Windows PowerShell

  1. On the Start menu, click All Programs.
  2. Click Microsoft SharePoint 2013 Products.
  3. Click SharePoint 2013 Management Shell.
  4. First you must establish the application pool, run as account, and database settings for the services. Use a farm account for the SPManagedAccount (which will be used for the application pool runas account).
    At the Windows PowerShell command prompt, type the following commands, and press ENTER after each one to create the application pool:
    $account = Get-SPManagedAccount "<farm account>"
    # Gets the name of the Farm administrators account and sets it to the variable $account for later use.

    Where:
    • <farm account> is the name of the Farm administrators account in the SharePoint farm.

     
  5. $appPoolAppSvc = New-SPServiceApplicationPool -Name AppServiceAppPool -Account $account
    # Creates an application pool for the Application Management service application.
    # Uses the Farm administrators account as the security account for the application pool.
    # Stores the application pool as a variable for later use.
  6. At the Windows PowerShell command prompt, type the following commands, and press ENTER after each one to create the new service application and proxy:
     
  7. $appAppSvc = New-SPAppManagementServiceApplication -ApplicationPool $appPoolAppSvc -Name AppServiceApp -DatabaseName <AppServiceDB>
    # Creates the Application Management service application, using the variable to associate it with the application pool that was created earlier.
    # Stores the new service application as a variable for later use.

  8. Where:
    • <AppServiceDB> is the name of the App Management service database.

     
  9. $proxyAppSvc = New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc
    # Creates a proxy for the Application Management service application.

No comments:

Post a Comment