1) Start the MMS service instance
The following procedures start the service instance of MMS.
To start service application instances from Central Administration
-
Start SharePoint 2013 Central Administration.
-
For Windows Server 2008 R2:
-
Click Start, click Microsoft SharePoint 2013 Products, and then click SharePoint 2013 Central Administration.
-
-
For Windows Server 2012:
-
On the Start screen, click SharePoint 2013 Central Administration.
If SharePoint 2013 Central Administration is not on the Start screen:
-
Right-click Computer, click All apps, and then click SharePoint 2013 Central Administration.
-
For more information about how to interact with Windows Server 2012, see Common Management Tasks and Navigation in Windows Server 2012.
-
-
In SharePoint 2013 Central Administration, on the Application Management page, in the Service Applications section, click Manage Services on Server.
-
Next to the Managed Metadata Web Service, click Start.
2) Upgrade the MMS
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 Windows 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 Windows PowerShell cmdlets.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets.
Note:
If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about Windows PowerShell permissions, see Add-SPShellAdmin.
-
-
Start the SharePoint 2013 Management Shell.
-
For Windows Server 2008 R2:
-
On the Start menu, click All Programs, click Microsoft SharePoint 2013 Products, and then click SharePoint 2013 Management Shell.
-
-
For Windows Server 2012:
-
On the Start screen, click SharePoint 2013 Management Shell.
If SharePoint 2013 Management Shell is not on the Start screen:
-
Right-click Computer, click All apps, and then click SharePoint 2013 Management Shell.
-
For more information about how to interact with Windows Server 2012, see Common Management Tasks and Navigation in Windows Server 2012.
-
-
To store the application pool that you want to use as a variable for this service application, at the Windows 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 Windows 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.
Tip:
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 Windows 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.
Tip:
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.
Reference: http://technet.microsoft.com/en-us/library/jj839719(v=office.15).aspx
No comments:
Post a Comment