Configuring Tenant Administration on SharePoint Server

Configuring Tenant Administration on SharePoint Server 2010 Configuring Tenant Administration on SharePoint Server 2010 Table of Contents Configuri...
Author: Joleen Gray
2 downloads 2 Views 477KB Size
Configuring Tenant Administration on SharePoint Server 2010

Configuring Tenant Administration on SharePoint Server 2010

Table of Contents Configuring Tenant Administration on SharePoint Server 2010 .............................................. 1 Exercise 1 Enable Self-Service Site Creation ..................................................................................................................2 Exercise 2 Create the Tenant Administration Site Collection ........................................................................................3 Exercise 3 Create A Partitioned Managed Metadata Service ........................................................................................6

Configuring Tenant Administration on SharePoint Server 2010

Configuring Tenant Administration on SharePoint Server 2010 Objectives

After completing this lab, you will be better able to:   

Scenario

Create a new Tenant Administration site collection Manage site collections through Tenant Administration Create a partitioned service application

You are the SharePoint administrator for Contoso Ltd. You have three years’ experience administering a large SharePoint 2007 deployment and supporting a large number of users, some of whom create and manage their own sites and site collections. You must evaluate the options available in SharePoint 2010 for accommodating multiple tenants in a hosted environment. Rather than requiring administrators to configure entirely separate environments or run multiple instances of a service, SharePoint Server 2010 supports the partitioning of data to support multiple tenants. Software and services can be shared across multiple tenants or configured to isolate data for each tenant through partitioning. Services that store tenant data, such as Search or Business Data Connectivity services, must be partitioned to ensure that data is isolated. Services that do not store tenant data, such as Microsoft Office Word Services or the Microsoft Visio® Graphics Service can be shared without being partitioned. Most of the multitenant features in SharePoint 2010 are deployed and managed using Microsoft Windows® PowerShell.

Estimated Time to Complete This Lab Computers used in this Lab

30 Minutes

demo2010a

The password for the Administrator account on all computers in this lab is: pass@word1

Page 1 of 8

Configuring Tenant Administration on SharePoint Server 2010

Exercise 1 Enable Self-Service Site Creation Scenario To ensure that tenants can create their own site collections within the multitenant hosting environment, you must enable self-service site creation for the appropriate Web application. Tasks

Detailed Steps

Complete the following task on:

a. In this task, you will enable self-service site creation on the site collection Central

Administration Web site. b. Ensure that you are logged on to the Demo2010a virtual machine as

demo2010a 1.

Enabling Self-Service Site Creation

CONTOSO\Administrator with a password of pass@word1 c. Launch the Central Administration Web site. To do this, on the Start menu, click

SharePoint 2010 Central Administration. If SharePoint 2010 Central Administration does not appear on the Start Menu, point to All Programs, click Microsoft SharePoint 2010 Products, and then click SharePoint 2010 Central Administration. d. On the Central Administration Web site, click Application Management. e. On the Application Management page, under Site Collections, click Configure

self-service site creation. f.

On the Self-Service Site Collection Management page, in the Web Application section, change the Web application to Intranet (http://intranet.contoso.com/).

g. In the Enable Self-Service Site Creation section, ensure that On is selected, and

then click OK. h. Close the Central Administration Web site.

Page 2 of 8

Configuring Tenant Administration on SharePoint Server 2010

Exercise 2 Create the Tenant Administration Site Collection Scenario SharePoint 2010 provides management of mutlitenancy environments through site subscriptions. A site subscription is a logical group of site collections that can share settings, features, and service data. The site collections associated with each tenant are identified by a subscription ID. The subscription ID enables administrators to map features, services and sites to tenants, and is used to partition service data according to each tenant. Tasks

Detailed Steps

Complete the following tasks on:

a. In this task, you will use SharePoint 2010 Management Shell to create a new site

subscription. b. You must launch the SharePoint 2010 Management Shell with Administrative

demo2010a 1.

Create a Site Subscription

privileges. Click Start, point to SharePoint 2010 Management Shell, and then click Run as Administrator. c. In the SharePoint 2010 Management Shell, at the PS C:\Users\Administrator>

prompt, type the following command, and then press ENTER. Get-Help New-SPSiteSubscription -detailed d. Take a moment to review the syntax of the New-SPSiteSubscription cmdlet. Note

that you can use this cmdlet to create a new subscription to which SharePoint sites can belong. e. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. $subscription=New-SPSiteSubscription f. This creates a new site subscription, and assigns it to the variable $subscription. g. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. $subscription h. This displays contents of the $subscription variable: the ID of the new site

subscription and the member sites. Note that no sites currently belong to the site subscription. 2.

Create the Tenant Administration Site

a. In this task, you will create a new tenant administration site, and associate the

new site with the site subscription created in the previous task. b. In the SharePoint 2010 Management Shell, at the PS C:\Users\Administrator>

prompt, type the following command, and then press ENTER. Get-Help New-SPSite -detailed c. Take a moment to review the syntax of the New-SPSite cmdlet. Note that you can

use this cmdlet to create a new SharePoint site and assign it to a subscription. d. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. $tasite = New-SPSite -Url http://intranet.contoso.com/sites/ta -Template tenantadmin#0 -OwnerEmail [email protected] -OwnerAlias contoso\administrator -SiteSubscription $subscription e. This command creates a new SharePoint site at

Page 3 of 8

Configuring Tenant Administration on SharePoint Server 2010 Tasks

Detailed Steps http://intranet.contoso.com/sites/ta, based on the Tenant Administration template. It also sets the owner alias and e-mail address for the site, and add the site to the previously created site subscription. f.

At the PS C:\Users\Administrator> prompt, type the following command, and then press ENTER.

$tasite g. This displays contents of the $tasite variable: the new site at

http://intranet.contoso.com/sites/ta. h. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. $subscription i. This displays contents of the $subscription variable: the ID of the new site

subscription and the member sites. Note that there is now a site listed as belonging to the site subscription. This is the site created and associated with site subscription in the earlier step. 3.

Set the New Site Collection as the Tenant Administration Site

a. In this task, you will configure the site created in the previous task as a tenant

administration site. b. In the SharePoint 2010 Management Shell, at the PS C:\Users\Administrator>

prompt, type the following command, and then press ENTER. Get-Help Set-SPSiteAdministration -detailed c. Take a moment to review the syntax of the New-SPSiteSubscription cmdlet. Note

that this command enables a farm administrator to configure certain settings on a site collection. d. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. Set-SPSiteAdministration -Identity http://intranet.contoso.com/sites/ta -AdministrationSiteType TenantAdministration e. This command sets the site collection created in the previous steps as the Tenant

Administration site collection. f.

4.

Create a New Site Collection on the Tenant

Open Microsoft Internet Explorer®, and navigate to http://intranet.contoso.com/sites/ta. You will be presented with a new site collection that has several options available for managing the tenants of this subscription.

a. In this task, you will use the Tenant Administration site to create a new site

collection. b. On the Tenant Administration site, under SharePoint Sites, click Manage Site

Collections. c. On the SharePoint Ribbon, click New. d. In the Create Site Collection dialog box, use the following information to create

the new site collection, and then click OK. Title and Description

Web Site Address

Title

Tenant One

Description

Site collection belonging to first tenant.

URL

http://intranet.contoso.com/sites/t enantone

Page 4 of 8

Configuring Tenant Administration on SharePoint Server 2010 Tasks

Detailed Steps Template Selection

Select a template

Meetings: Basic Meeting Workspace

Primary Site Collection Administrator

User name

Contoso\Administrator

Add yourself as site collection administrator

Selected

e. In the Create Site Collection dialog box, click OK. f.

Close all open windows.

g. Now that a site collection has been provisioned through Tenant Administration,

the site collection can be managed through the options provided under Manage Site Collections on the Tenant Administration Web site. The default options include viewing the site collections properties, owners, and disk quota.

Page 5 of 8

Configuring Tenant Administration on SharePoint Server 2010

Exercise 3 Create A Partitioned Managed Metadata Service Scenario Now that you have created and tested a tenant administration site, you will configure the services required to partition data in a multitenancy environment. The Subscription Settings service keeps track of multitenant services and subscription IDs. Tasks

Detailed Steps

Complete the following tasks on:

a. In this task, you will use SharePoint 2010 Management Shell to create a new

subscription settings services application. b. You must launch the SharePoint 2010 Management Shell with Administrative

privileges. Click Start, point to SharePoint 2010 Management Shell, and then click Run as Administrator.

demo2010a 1.

Create a new Subscription Settings Service Application

c. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. Get-SPServiceInstance d. This command displays all the SharePoint Services and their current status and

GUIDs. e. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. Get-SPServiceInstance | where{$_.GetType().name -like "*Subscription*"} f. This command displays all the SharePoint Services related to Subscription services

and their current status. g. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. Get-SPServiceInstance | where{$_.GetType().name -like "*Subscription*"} | Format-List h. This command displays more information about the Microsoft SharePoint

Foundation Subscription Settings Service. Note that the short name for the service is SPSubscriptionSettingsService and it is currently Disabled. i.

At the PS C:\Users\Administrator> prompt, type the following command, and then press ENTER.

Get-SPServiceInstance | where{$_.GetType().name -like "*Subscription*"} | Start-SPServiceInstance j. This command starts the Microsoft SharePoint Foundation Subscription Settings

Service. k. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. $account = Get-SPManagedAccount "CONTOSO\Administrator" l. This command sets the value of the $account variable to the managed account

Contoso\ Administrator. m. Managed accounts are service accounts that are managed by SharePoint. You can

specify a password for the managed account to use, or you can configure SharePoint to automatically generate new strong passwords on a predefined

Page 6 of 8

Configuring Tenant Administration on SharePoint Server 2010 Tasks

Detailed Steps schedule. Managed accounts are normally specially created accounts that have only the permissions and rights required. n. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. $appPool = New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account $account o. This command creates a new SharePoint application pool named

SettingsServiceAppPool with the managed account Contoso\ Administrator. It also sets the value of the $appPool variable to the new application pool. p. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. $app = New-SPSubscriptionSettingsServiceApplication – ApplicationPool $appPool –Name SettingsServiceApp – DatabaseName SettingsServiceDB q. This command creates a new SharePoint subscription settings application named

SettingsServiceApp in the SettingsServiceAppPool. It also sets the value of the $app variable to the new application. r. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. $proxy = New-SPSubscriptionSettingsServiceApplicationProxy – ServiceApplication $app s. This command creates a new SharePoint subscription settings application proxy

to SettingsServiceApp. It also sets the value of the $proxy variable to the new proxy. t. To confirm that the new application and proxy have been created, launch the

Central Administration Web site. To do this, on the Start menu, click SharePoint 2010 Central Administration. u. On the Central Administration Web site, under Application Management, click

Manage service applications. v. On the Manage Service Applications page, in the Name column, locate

SettingsServiceApp and Microsoft SharePoint Foundation Subscription Settings Services Application Proxy. w. Close Central Administration.

2.

Create the Partitioned Managed Metadata Service

a. Services can be created in partitioned mode by using Windows PowerShell, and

cannot be changed later. To achieve partitioning, both the service and the service connection must be deployed in partitioned mode. In Windows PowerShell, the service connection is called a proxy. In this task, you will create and configure the SharePoint Application pool and proxy. Note that the application and proxy are created in Partitioned Mode. b. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. $pool = Get-SPServiceApplicationPool -Identity 'SharePoint Web Services Default' c. This command sets the value of the $pool variable to the default SharePoint Web

Services application pool. d. At the PS C:\Users\Administrator> prompt, type the following command, and

then press ENTER. $meta = New-SPMetadataServiceApplication -ApplicationPool $pool -Name 'Tenant Managed Metadata' -DatabaseName

Page 7 of 8

Configuring Tenant Administration on SharePoint Server 2010 Tasks

Detailed Steps TenantMetadataDB -DatabaseServer DEMO2010a -PartitionMode – SyndicationErrorReportEnabled e. This command creates a new metadata service application named Tenant

Managed Metadata in the default SharePoint Web Services application pool, along with the required database. It also sets the value of the $meta variable to the new metadata service application. f.

At the PS C:\Users\Administrator> prompt, type the following command, and then press ENTER.

$metaproxy = New-SPMetadataServiceApplicationProxy PartitionMode -ContentTypePushdownEnabled DefaultKeywordTaxonomy -DefaultSiteCollectionTaxonomy -Name 'Tenant Managed Metadata Proxy' -DefaultProxyGroup ServiceApplication $meta g. This command creates a new proxy for the Tenant Managed Metadata service

application. It also sets the value of the $metaproxy variable to the new proxy. h. To confirm that the new application and proxy have been created, launch the

Central Administration Web site. To do this, on the Start menu, click SharePoint 2010 Central Administration. i.

On the Central Administration Web site, under Application Management, click Manage service applications.

j.

On the Manage Service Applications page, in the Name column, locate Tenant Managed Metadata and Tenant Managed Metadata Proxy.

k. Close all open windows.

Page 8 of 8

Suggest Documents