Upgrade service applications to SharePoint 2013
**Применимо к:**SharePoint 2013, SharePoint Foundation 2013, SharePoint Server 2013
**Последнее изменение раздела:**2017-09-26
Summary: Upgrade service applications (Business Connectivity Services, Managed Metadata, Secure Store, User Profiles, Search) to SharePoint 2013.
When you upgrade from Продукты SharePoint 2010 to SharePoint 2013, you must use a database attach upgrade, which means that you upgrade only the content for your environment and not the configuration settings. After you have configured the SharePoint 2013 environment, and copied the content and service application databases, you can upgrade the service applications to SharePoint 2013. This article contains the steps that you take to upgrade the service applications.
Phase 3 of the upgrade process: Upgrade service applications
This is the third phase in the process to upgrade Продукты SharePoint 2010 data and sites to SharePoint 2013. The process includes the following phases that must be completed in order:
For an overview of the whole process, see Overview of the upgrade process from SharePoint 2010 to SharePoint 2013 and the Upgrade Process model Download the upgrade process model. |
Важно!
Although this article applies to both SharePoint Foundation 2013 and SharePoint 2013, the sections about how to upgrade service applications apply only to SharePoint 2013. (The exception is the section about how to upgrade the Служба подключения к бизнес-данным application which applies to SharePoint Foundation 2013 and SharePoint 2013).
Watch the SharePoint 2013 Upgrade: Phase 3 video
Before you begin
Before you create the SharePoint 2013 farm, review the following information and take any recommended actions.
Make sure that you have configured a SharePoint 2013 farm, recorded the Служба Secure Store passphrase, and backed up the User Profile Synchronization encryption key. For more information, see Create the SharePoint 2013 farm for a database attach upgrade.
Make sure that the account that you use to perform the steps in this article is a member of the Farm administrators group in Центр администрирования.
Decide which service application pool to use for the upgraded service applications. The procedures below use the default application pool for service applications which is "SharePoint Web Services Default". You can view a list of available service application pools by using the Get-SPServiceApplicationPool cmdlet in PowerShell. Or you can create a service application pool by using the New-SPServiceApplicationPool cmdlet. For more information, see Get-SPServiceApplicationPool and New-SPServiceApplicationPool.
Совет
Throughout this article, variables (such as $applicationPool, $sss, $upa, and so on) are used in the PowerShell cmdlets to save time and effort. You do not have to use these variables if you would prefer not to. However, if you do not use these variables, you must use IDs for the service applications and service application proxies when you specify the identity parameters. Each procedure has information about the variables used, or the alternate cmdlets to use to look up any IDs that are required.
Also, many procedures in this article include a step to set the $applicationPool variable. If you are performing all of these procedures in the same session of PowerShell, and you want to use the same application pool for all service applications, you do not have to repeat this step in each procedure. Instead, you can set this variable once at the beginning and use it throughout the procedures in this article.
About upgrading the service application databases
To upgrade a service application database, you create a new service application and provide the name of the existing database to use for the new service application. As the service application is created, the database is upgraded. This process has several steps.
Start the service instances
The first step is to start service instances for the five service applications that you can upgrade: the Служба подключения к бизнес-данным, Managed Metadata Web Service, PerformancePoint Services service, Служба Secure Store service, User Profile service, and Search service. Most of these service instances can be started from Центр администрирования. However the SharePoint Server Search service instance must be started by using PowerShell.
Create the service applications and upgrade the databases
After you have started the service instances, the next step is to create the service applications and upgrade the databases. You must use PowerShell to restore the service application databases.
Create proxies for the service applications
After you have upgraded the service application databases, you create the proxies for the service applications and add them to the default proxy group. You must create proxies for the following service applications:
Managed Metadata service application
Search service application
Служба Secure Store service application
PerformancePoint Services service application
User Profile service application
The Служба подключения к бизнес-данным application automatically creates a proxy and assigns it to the default proxy group when you create the service application.
Verify that the proxies are in the default group
The following sections provide procedures to complete these steps.
Примечание
The Служба подключения к бизнес-данным application is available for upgrade both from SharePoint Foundation 2010 to SharePoint Foundation 2013 and SharePoint Server 2010 to SharePoint 2013. The other service applications are available for upgrade only from SharePoint Server 2010 to SharePoint 2013. Although SharePoint Foundation 2013 includes search functionality, it is not the same Search service application that is in SharePoint 2013 and it cannot be upgraded.
Start the service instances
The following procedures start the service instances.
To start service application instances from Центр администрирования
Start Веб-сайт центра администрирования SharePoint.
In Центр администрирования, on the Application Management page, in the Service Applications section, click Manage Services on Server.
Next to the Служба подключения к бизнес-данным, click Start.
Next to the Managed Metadata Web Service, click Start.
Next to the PerformancePoint Services service, click Start.
Next to the Служба Secure Store Service, click Start.
Next to the User Profile Service, click Start.
The Search service instance must be started by using PowerShell because you cannot start it from Центр администрирования unless a Search Service application already exists.
To start the Search service instance by using PowerShell
Verify that you have the following memberships:
securityadmin fixed server role on the SQL Server instance.
db_owner fixed database role on all databases that are to be updated.
Administrators group on the server on which you are running the PowerShell cmdlets.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets.
Примечание
If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.
Start the SharePoint Management Shell. .
To start the Search service instance, at the Microsoft PowerShell command prompt, type the following commands and press ENTER after each one:
$SearchInst = Get-SPEnterpriseSearchServiceInstance # Stores the identity for the Search service instance on this server as a variable Start-SPServiceInstance $SearchInst # Starts the service instance
For more information, see Get-SPEnterpriseSearchServiceInstance and Start-SPServiceInstance.
Upgrade the Служба Secure Store service application
To upgrade the Служба Secure Store service application, you create the new service application and upgrade the database, create a proxy and add it to the default proxy group, and then restore the passphrase from the previous environment.
To upgrade the Служба Secure Store service application by using PowerShell
Verify that you have the following memberships:
securityadmin fixed server role on the SQL Server instance.
db_owner fixed database role on all databases that are to be updated.
Administrators group on the server on which you are running the PowerShell cmdlets.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets.
Примечание
If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.
Start the SharePoint Management Shell.
To store the application pool that you want to use as a variable for this service application, at the Microsoft PowerShell command prompt, type the following command:
$applicationPool = Get-SPServiceApplicationPool -Identity 'SharePoint Web Services default'
Where:
- SharePoint Web Services default is the name of the service application pool that will contain the new service applications. This is the default service application pool. You can specify a different service application pool.
This cmdlet sets the service application pool as a variable that you can use again in the cmdlets that follow. If you have multiple application pools and have to use a different application pool for a particular service application, repeat this step in the procedure to create each service application to use the appropriate application pool.
To upgrade the Служба Secure Store service application, at the Microsoft PowerShell command prompt, type the following command:
$sss = New-SPSecureStoreServiceApplication -Name 'Secure Store' -ApplicationPool $applicationPool -DatabaseName 'SecureStore_Upgrade_DB' -AuditingEnabled
Where:
SecureStore is the name that you want to give the new Служба Secure Store service application.
$applicationpool is the variable that you set earlier to identify the service application pool to use.
Совет
If you do not use the variable $applicationPool, then you must specify the name of an existing service application pool in the format 'Application Pool Name'. To view a list of service application pools, you can run the Get-SPServiceApplicationPool cmdlet.
SecureStore_Upgrade_DB is the name of the service application database that you want to upgrade.
This command sets a variable, $sss, that you use when you create the proxy later.
For more information, see New-SPSecureStoreApplication.
Type the following command to create a proxy for the Служба Secure Store service application:
$sssp = New-SPSecureStoreServiceApplicationProxy -Name ProxyName -ServiceApplication $sss -DefaultProxyGroup
Where:
ProxyName is the proxy name that you want to use.
$sss is the variable that you set earlier to identify the new Служба Secure Store service application.
Совет
If you do not use the variable $sss, then you must use an ID to identify the Служба Secure Store service application instead of a name. To find the ID, you can run the Get-SPServiceApplication cmdlet to return a list of all service application IDs.
DefaultProxyGroup adds the Служба Secure Store service application proxy to the default proxy group for the local farm.
This command sets a variable, $sssp, for the service application proxy that you use when you restore the passphrase.
For more information, see New-SPSecureStoreServiceApplicationProxy.
After you create the Служба Secure Store service application and the proxy, you have to refresh the encryption key. For information about how to refresh the encryption key, see Refresh the Secure Store encryption key.
Type the following command to restore the passphrase for the Служба Secure Store service application:
Update-SPSecureStoreApplicationServerKey -Passphrase <Passphrase> -ServiceApplicationProxy $sssp
Where:
<Passphrase> is the Passphrase for the Служба Secure Store service application from your previous environment.
$sssp is a variable that you set earlier to identify the new Служба Secure Store service application proxy.
Совет
If you do not use the variable $sssp, then you must use an ID to identify the Служба Secure Store service application proxy instead of a name. To find the ID, you can run the Get-SPServiceApplicationProxy cmdlet to return a list of all service application proxy IDs.
For more information, see Update-SPSecureStoreApplicationServerKey.
Upgrade the Служба подключения к бизнес-данным application
To upgrade the Служба подключения к бизнес-данным application, you create the new service application and upgrade the database. You do not have to create a proxy for the Служба подключения к бизнес-данным application. The Служба подключения к бизнес-данным application automatically creates a proxy and assigns it to the default proxy group when you create the service application.
Примечание
The Служба подключения к бизнес-данным application is available in both SharePoint Foundation 2013 and SharePoint 2013.
To upgrade the Служба подключения к бизнес-данным application by using PowerShell
Verify that you have the following memberships:
securityadmin fixed server role on the SQL Server instance.
db_owner fixed database role on all databases that are to be updated.
Administrators group on the server on which you are running the PowerShell cmdlets.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets.
Примечание
If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.
Start the SharePoint Management Shell.
To store the application pool that you want to use as a variable for this service application, at the Microsoft PowerShell command prompt, type the following command:
$applicationPool = Get-SPServiceApplicationPool -Identity 'SharePoint Web Services default'
Where:
- SharePoint Web Services default is the name of the service application pool that will contain the new service applications.
This cmdlet sets the service application pool as a variable that you can use again in the cmdlets that follow. If you have multiple application pools and have to use a different application pool for a particular service application, repeat this step in the procedure to create each service application to use the appropriate application pool.
To upgrade the Служба подключения к бизнес-данным application, at the Microsoft PowerShell command prompt, type the following command:
New-SPBusinessDataCatalogServiceApplication -Name 'BDC Service' -ApplicationPool $applicationPool -DatabaseName 'BDC_Service_DB'
Where:
BDC Service is the name that you want to give the new Служба подключения к бизнес-данным application.
$applicationpool is the variable that you set earlier to identify the service application pool to use.
Совет
If you do not use the variable $applicationPool, then you must specify the name of an existing service application pool in the format 'Application Pool Name'. To view a list of service application pools, you can run the Get-SPServiceApplicationPool cmdlet.
BDC_Service_DB is name of the service application database that you want to upgrade.
For more information, see New-SPBusinessDataCatalogServiceApplication.
Upgrade the Managed Metadata service application
To upgrade the Managed Metadata service application, you create the new service application and upgrade the database, and then create a proxy and add it to the default proxy group. You must upgrade the Managed Metadata service application before you can upgrade the User Profile service application.
To upgrade the Managed Metadata service application by using PowerShell
Verify that you have the following memberships:
securityadmin fixed server role on the SQL Server instance.
db_owner fixed database role on all databases that are to be updated.
Administrators group on the server on which you are running the PowerShell cmdlets.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets.
Примечание
If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.
Start the SharePoint Management Shell.
To store the application pool that you want to use as a variable for this service application, at the Microsoft PowerShell command prompt, type the following command:
$applicationPool = Get-SPServiceApplicationPool -Identity 'SharePoint Web Services default'
Where:
- SharePoint Web Services default is the name of the service application pool that will contain the new service applications.
This cmdlet sets the service application pool as a variable that you can use again in the cmdlets that follow. If you have multiple application pools and have to use a different application pool for a particular service application, repeat this step in the procedure to create each service application to use the appropriate application pool.
To upgrade the Managed Metadata service application, at the Microsoft PowerShell command prompt, type the following command:
$mms = New-SPMetadataServiceApplication -Name 'Managed Metadata Service Application' -ApplicationPool $applicationPool -DatabaseName 'Managed Metadata Service_DB'
Where:
Managed Metadata Service Application is the name that you want to give the new Managed Metadata service application.
$applicationpool is the variable that you set earlier to identify the service application pool to use.
Совет
If you do not use the variable $applicationPool, then you must specify the name of an existing service application pool in the format 'Application Pool Name'. To view a list of service application pools, you can run the Get-SPServiceApplicationPool cmdlet.
Managed Metadata Service_DB is name of the service application database that you want to upgrade.
This command sets a variable, $mms, that you use when you create the proxy later.
For more information, see New-SPMetadataServiceApplication.
At the Microsoft PowerShell command prompt, type the following command to create a proxy for the Managed Metadata service application:
New-SPMetadataServiceApplicationProxy -Name ProxyName -ServiceApplication $mms -DefaultProxyGroup
Where:
ProxyName is the proxy name that you want to use.
$mms is the variable that you set earlier to identify the new Managed Metadata service application.
Совет
If you do not use the variable $mms, then you must use an ID to identify the Managed Metadata service application proxy instead of a name. To find the ID, you can run the Get-SPServiceApplication cmdlet to return a list of all service application IDs.
DefaultProxyGroup adds the Managed Metadata service application proxy to the default proxy group for the local farm.
For more information, see New-SPMetadataServiceApplicationProxy.
Upgrade the User Profile service application
To upgrade the User Profile service application, you create the new service application and upgrade the database, and then create a proxy and add it to the default proxy group and then start the User Profile Synchronization service. After you have created the User Profile Service service application, you must import the Microsoft Identity Integration Server Key (MIIS) encryption key.
Примечание
You must upgrade the Managed Metadata service application before you can upgrade the User Profile service application.
To upgrade the User Profile service application by using PowerShell
Verify that you have the following memberships:
securityadmin fixed server role on the SQL Server instance.
db_owner fixed database role on all databases that are to be updated.
Administrators group on the server on which you are running the PowerShell cmdlets.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets.
Примечание
If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.
Start the SharePoint Management Shell.
To store the application pool that you want to use as a variable for this service application, at the Microsoft PowerShell command prompt, type the following command:
$applicationPool = Get-SPServiceApplicationPool -Identity 'SharePoint Web Services default'
Where:
- SharePoint Web Services default is the name of the service application pool that will contain the new service applications.
This cmdlet sets the service application pool as a variable that you can use again in the cmdlets that follow. If you have multiple application pools and have to use a different application pool for a particular service application, repeat this step in the procedure to create each service application to use the appropriate application pool.
To upgrade the User Profile service application, at the Microsoft PowerShell command prompt, type the following command:
$upa = New-SPProfileServiceApplication -Name 'User Profile Service Application' -ApplicationPool $applicationPool -ProfileDBName 'User Profile Service Application_ProfileDB' -SocialDBName 'User Profile Service Application_SocialDB' -ProfileSyncDBName 'User Profile Service Application_SyncDB'
Where:
User Profile Service Application is the name that you want to give the new User Profile service application.
$applicationpool is the variable that you set earlier to identify the service application pool to use.
Совет
If you do not use the variable $applicationPool, then you must specify the name of an existing service application pool in the format 'Application Pool Name'. To view a list of service application pools, you can run the Get-SPServiceApplicationPool cmdlet.
User Profile Service Application_ProfileDB is name of the User Profile service application Profile database that you want to upgrade.
User Profile Service Application_SocialDB is name of the User Profile service application Social database that you want to upgrade.
User Profile Service Application_SyncDB is name of the User Profile service application Sync database that you want to upgrade.
Примечание
The SocialDBName and ProfileSyncDBName parameters are optional. Use these parameters if you have Social and Sync databases that you want to upgrade. If you do not specify these parameters, new Social and Sync databases are created for you.
This command sets a variable, $upa, that you use when you create the proxy later.
For more information, see New-SPProfileServiceApplication.
Type the following command to create a proxy for the User Profile service application:
New-SPProfileServiceApplicationProxy -Name ProxyName -ServiceApplication $upa -DefaultProxyGroup
Where:
ProxyName is the proxy name that you want to use.
$upa is the variable that you set earlier to identify the new User Profile service application.
Совет
If you do not use the variable $upa, then you must use an ID to identify the User Profile service application instead of a name. To find the ID, you can run the Get-SPServiceApplication cmdlet to return a list of all service application IDs.
DefaultProxyGroup adds the User Profile service application proxy to the default proxy group for the local farm.
For more information, see New-SPProfileServiceApplicationProxy.
After you have created the User Profile Service service application, you can start the User Profile Synchronization service.
Start the User Profile Synchronization service
Start Веб-сайт центра администрирования SharePoint.
In Центр администрирования, on the System Settings page, under Servers click Manage services on Server.
Next to the User Profile Synchronization Service, click Start.
In the Select the User Profile Application section, select the User Profile service application that you upgraded.
In the Service Account Name and Passwordsection, type the account name and password to use for the User Profile Synchronization service.
After you have started the User Profile Synchronization service, you must import the Microsoft Identity Integration Server Key (MIIS) encryption key. Import this key to the following directory: <root directory drive>\Program Files\Microsoft Office Servers\15.0\Synchronization Service\Bin.
To import the encryption key for User Profile service application
Verify that you have the following memberships:
- Administrators group on the server on which you are running the command.
Open the Command Prompt window, and then change to the following folder:
%Program Files%\Microsoft Office Servers\15.0\Synchronization Service\Bin\
To import the key, type the following at the command prompt, and then press ENTER:
miiskmu.exe /i Path {0E19E162-827E-4077-82D4-E6ABD531636E}
Where:
Path is the path and file name for the key that you want to import.
You might also have to enter a user name and password. These are the credentials for the farm administrator.
Важно!
Use the GUID as specified. This GUID is fixed.
For more information, see Install a software update (SharePoint Server 2010).
Upgrade the PerformancePoint Services service application
To upgrade the PerformancePoint Services service application, you create the new service application and upgrade the database, and then create a proxy and add it to the default proxy group.
To upgrade the PerformancePoint Services service application by using PowerShell
Verify that you have the following memberships:
securityadmin fixed server role on the SQL Server instance.
db_owner fixed database role on all databases that are to be updated.
Administrators group on the server on which you are running the PowerShell cmdlets.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets.
Примечание
If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.
Start the SharePoint Management Shell.
To store the application pool that you want to use as a variable for this service application, at the Microsoft PowerShell command prompt, type the following command:
$applicationPool = Get-SPServiceApplicationPool -Identity 'SharePoint Web Services default'
Where:
- SharePoint Web Services default is the name of the service application pool that will contain the new service applications.
This cmdlet sets the service application pool as a variable that you can use again in the cmdlets that follow. If you have multiple application pools and have to use a different application pool for a particular service application, repeat this step in the procedure to create each service application to use the appropriate application pool.
To upgrade the PerformancePoint Services service application, at the Microsoft PowerShell command prompt, type the following command:
$pps = New-SPPerformancePointServiceApplication -Name 'PerformancePoint Service' -ApplicationPool $applicationPool -DatabaseName 'PerformancePoint Service Application_DB'
Where:
PerformancePoint Service is the name that you want to give the new PerformancePoint Services service application.
$applicationpool is the variable that you set earlier to identify the service application pool to use.
Совет
If you do not use the variable $applicationPool, then you must specify the name of an existing service application pool in the format 'Application Pool Name'. To view a list of service application pools, you can run the Get-SPServiceApplicationPool cmdlet.
PerformancePoint Service Application_DB is name of the PerformancePoint Services service application database that you want to upgrade.
This command sets a variable, $pps, that you use when you create the proxy later.
For more information, see New-SPProfileServiceApplication.
Type the following command to create a proxy for the PerformancePoint Services service application:
New-SPPerformancePointServiceApplicationProxy -Name ProxyName -ServiceApplication $pps -Default
Where:
ProxyName is the proxy name that you want to use.
$pps is the variable that you set earlier to identify the new PerformancePoint Services service application.
Совет
If you do not use the variable $pps, then you must use an ID to identify the PerformancePoint Services service application instead of a name. To find the ID, you can run the Get-SPServiceApplication cmdlet to return a list of all service application IDs.
Default adds the PerformancePoint Services service application proxy to the default proxy group for the local farm.
For more information, see New-SPPerformancePointServiceApplicationProxy.
Upgrade the Search service application
To upgrade the Search service application, you create the new service application and upgrade the database, and then create a proxy and add it to the default proxy group.
Примечание
This section applies to only SharePoint 2013. Although SharePoint Foundation 2013 includes search functionality, it is not the same Search service application that is in SharePoint 2013 and it cannot be upgraded.
To upgrade the Search service application by using PowerShell
Verify that you have the following memberships:
securityadmin fixed server role on the SQL Server instance.
db_owner fixed database role on all databases that are to be updated.
Administrators group on the server on which you are running the PowerShell cmdlets.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets.
Примечание
If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.
Start the SharePoint Management Shell.
To store the application pool that you want to use as a variable for this service application, at the Microsoft PowerShell command prompt, type the following command:
$applicationPool = Get-SPServiceApplicationPool -Identity 'SharePoint Web Services default'
Where:
- SharePoint Web Services default is the name of the service application pool that will contain the new service applications.
This cmdlet sets the service application pool as a variable that you can use again in the cmdlets that follow. If you have multiple application pools and have to use a different application pool for a particular service application, repeat this step in the procedure to create each service application to use the appropriate application pool.
To upgrade the Search service application, at the Microsoft PowerShell command prompt, type the following command:
$searchInst = Get-SPEnterpriseSearchServiceInstance -local # Gets the Search service instance and sets a variable to use in the next command Restore-SPEnterpriseSearchServiceApplication -Name '<SearchServiceApplicationName>' -applicationpool $applicationPool -databasename '<SearchServiceApplicationDBName>' -databaseserver <ServerName> -AdminSearchServiceInstance $searchInst
Where:
SearchServiceApplicationName is the name of the Search service application.
$applicationpool is the variable that you set earlier to identify the service application pool to use.
Совет
If you do not use the variable $applicationPool, then you must specify the name of an existing service application pool in the format 'Application Pool Name'. To view a list of service application pools, you can run the Get-SPServiceApplicationPool cmdlet.
SearchServiceApplicationDBName is the name of the Search service application Administration database that you want to upgrade.
$searchInst is the variable that you set to identify the new Search Service application instance.
Примечание
A Search service application upgrade might fail because of an issue that occurs during upgrade, such as network or SQL Server latency. If an error message appears during the Search service application upgrade, do the following:
-
Delete the Search Administration database that you were trying to upgrade.
-
Using the backup copy that you made of the Search Administration database, repeat the following procedures in this article for the Search service application only:
-
Upgrade the Search service application by typing the command again at the Microsoft PowerShell command prompt.
For more information, see Restore-SPEnterpriseSearchServiceApplication.
You must follow several steps to create the Search service application proxy and add it to the default proxy group. You must complete separate actions to find the ID for the Search service application, create the new proxy, get the proxy ID, and then add the proxy to the default proxy group.
Type the following command to get the ID for the Search service application and store it as a variable:
$ssa = Get-SPEnterpriseSearchServiceApplication
For more information, see Get-SPEnterpriseSearchServiceApplication.
Type the following command to create a proxy for the Search service application:
New-SPEnterpriseSearchServiceApplicationProxy -Name ProxyName -SearchApplication $ssa
Where:
ProxyName is the proxy name that you want to use.
$ssa is the variable that you set earlier to identify the new Search service application.
Совет
If you do not use the variable $ssa, then you must use an ID to identify the Search service application instead of a name. To find the ID, you can run the Get-SPServiceApplication cmdlet to return a list of all service application IDs.
For more information, see New-SPEnterpriseSearchServiceApplicationProxy.
Type the following command to get the Search service application proxy ID for the proxy you just created and set it as the variable $ssap:
$ssap = Get-SPEnterpriseSearchServiceApplicationProxy
For more information, see Get-SPEnterpriseSearchServiceApplicationProxy.
Type the following command to add the Search service application proxy to the default proxy group:
Add-SPServiceApplicationProxyGroupMember -member $ssap -identity " "
Where:
$ssap is the variable that you set earlier to identify the ID for the proxy you just created for the Search service application.
Совет
If you do not use the variable $ssap, then you must use an ID to identify the Search service application proxy instead of a name. To find the ID, you can run the Get-SPServiceApplicationProxy cmdlet to return a list of all service application proxy IDs.
You use an empty identity parameter (" ") to add it to the default group.
For more information, see Add-SPServiceApplicationProxyGroupMember.
Verify that all of the new proxies are in the default proxy group
Use the following procedure to verify that the steps to create the proxies and add them to the default proxy group worked.
To verify that all of the new proxies are in the default proxy group by using PowerShell
Verify that you have the following memberships:
securityadmin fixed server role on the SQL Server instance.
db_owner fixed database role on all databases that are to be updated.
Administrators group on the server on which you are running the PowerShell cmdlets.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets.
Примечание
If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.
Start the SharePoint Management Shell.
At the PowerShell command prompt, type the following commands:
$pg = Get-SPServiceApplicationProxyGroup -Identity " " $pg.Proxies
Where:
$pg is a variable you set to represent the default proxy group.
You use an empty identity parameter (" ") to specify the default proxy group.
This returns a list of all proxies in the default proxy group, their display names, type names, and IDs.
For more information, see Get-SPServiceApplicationProxyGroup.
Now that the service applications are upgraded, you can start the process to upgrade the content databases. The first step in that process is to create the web applications that are needed for each content database.
This is the third phase in the process to upgrade Продукты SharePoint 2010 data and sites to SharePoint 2013. For an overview of the whole process, see Overview of the upgrade process from SharePoint 2010 to SharePoint 2013. |
See also
Контрольный список для обновления с переподключением баз данных (SharePoint 2013)
Обзор обновления служб SharePoint 2010 до SharePoint Server 2013
Обновление ферм с общими службами (родительской и дочерней ферм) до SharePoint 2013
Тестирование и устранение неполадок обновления до SharePoint 2013