Beruflich Dokumente
Kultur Dokumente
5
5
10
22
25
27
34
41
49
52
55
56
58
59
62
68
70
74
83
83
85
89
90
5.1 Task 1:
5.2 Task 2:
5.3 Task 3:
5.4 Task 4:
90
98
101
103
111
112
114
122
132
134
139
142
146
148
150
151
154
159
160
161
163
165
168
8.1 Task 1:
8.2 Task 2:
8.3 Task 3:
8.3 Task 3:
8.4 Task 4:
8.5 Task 5:
8.6 Task 6:
8.7 Task 7:
168
170
172
173
175
177
180
181
183
9.1 Task 1 - Install prerequisite software for Office Web Apps Server
9.2 Task 2 Install Office Web Apps Server
9.3 Task 3 Creating the Office Web Apps Server Farm
9.4 Task 4 Configure Office Web Apps for SharePoint 2013
184
185
186
188
190
190
202
205
11.1 Task 1: Install Reporting Services Add-in *Discussion Only as it is already setup on our server
11.2 Task 2: Register and Start the Reporting Services SharePoint Service
11.3 Task 3: Create a Reporting Services Service Application
11.4 Task 4: Creating Reports
206
207
208
211
219
220
223
224
225
SharePoint Governance
14.1 Project and Operational Management
14.2 Development and Configuration
14.3 Infrastructure
14.4 Operational Concerns
14.5 Education and Training
14.6 Navigation, Taxonomy, and Search
225
226
229
231
232
233
234
236
236
238
239
241
241
242
243
252
Note: When executing any of the installation applications for SharePoint 2013, be sure to
run as an elevated privilege administrator if you have Windows User Account Control
enabled. See the following link on Windows UAC:
http://windows.microsoft.com/en-US/windows-vista/What-is-User-Account-Control
Log into your server with the credentials provided by the instructor.
1. Open Remote Desktop.
2. Enter the IP address provided.
3. Enter the user name: Administrator and Password: trainingdan49$.
The prerequisites installer is available on the desktop in the SharePoint Setup
folder and is named PrerequisiteInstaller.exe. Executing this application with no
command-line argument parameters will present you with the dialog shown
below:
1. Click Next.
The prerequisites installer does not require all the packages to be available on the
server before installing them and will attempt to download any package before
installing. Of course, in certain scenarios, automatic download of software may
violate company policy in a secure environment, so the prerequisites installer
allows the administrator to choose which packages to install using the command
line, by providing the path to previously downloaded packages.
For the purposes of this class, the Prerequisites have already been installed to
save time and bandwidth.
During this course we will use the following service accounts to install and
configure our SharePoint 2013 platform.
Service Account Name
Purpose
The domain user account for running SQL Server and SQL
Server Agent.
Example: TPILEARN\sp_sql
In the class to save time, we will be using
TPILEARN\Administrator
IIS_IUSRS
WSS_ADMIN_WPG
WSS_WPG
WSS_RESTRICTED_WPG
Logon as a service
Example: TPILEARN\spfarmadmin
Application Pool
Account
User Profile
Synchronization
Account
Business Intelligence
Account
You can find these service accounts in your Active Directory as shown below:
10
11
12
13
5. Leave the Run the SharePoint Products Configuration Wizard box check
box checked.
6. Click Close to configure your new SharePoint farm or join this server to an
existing farm.
If you uncheck the option to run the Configuration Wizard now (if you are
installing binaries on multiple WFE servers first), you can execute the
Configuration Wizard from the SharePoint Products group in Windows Start
menu.
14
8. Click Yes.
15
10. Type tpserver for Database server and type TPILEARN\Administrator as the
setup farm account Username. This account will have the most access to the
SQL server.
16
The dialog box that follows asks for the passphrase for the installation.
SharePoint requires the passphrase later when adding additional servers to
the farm or removing existing servers from the farm, so be sure to keep the
passphrase safe. You may change the passphrase later with PowerShell, but
retrieving the passphrase is impossibleyou may only reset it.
11. Enter the passphrase: trainingdan49$
17
You will now be asked for the port number and authentication type for the
Central Administration Web Application. It will create the Central
Administration on its own. Like any other website running on SharePoint,
Central Administration is a special website running its own web application
within IIS (Internet Information Server). The Configuration Wizard will
suggest a port for the Central Administration web site, based on a random
available port on the server.
Its recommended to override the chosen port with 11111 as an easy to
remember port number. The Configuration Wizard creates a new IIS Web
Application on the server at the following location:
C:\InetPub\wwwroot\wss\VirtualDirectories\{PortNumber}.
12. Enter 11111 under Specify port number:
18
Options for security include NTLM or Kerberos. NTLM (Windows ChallengeResponse Authentication) is the typical choice in most installations as this is
the default Windows authentication type for most applications. However, if you
are familiar with Kerberos and have this authentication mechanism configured
in your infrastructure, then feel free to use it here.
Before proceeding with the configuration, the Configuration Wizard provides
a summary of the configuration you entered; changing them later potentially
involves removing the server from the farm and going through the
Configuration Wizard steps again
13. Double-check these values and click Next.
19
Once the Configuration Wizard starts the provisioning process, you should
not interrupt it, unless you need to cancel the operation and start again. A
failed provision process leaves stale databases and configurations in SQL
Server, which you should remove before attempting another run at
configuration. The Configuration Wizard completes several steps
(approximately ten) in the process, which include creating databases, creating
new IIS web applications, etc.
The provisioning process in operation.
20
Once complete, the Configuration Wizard should show a dialog box like that
below. If, on the other hand, the wizard encounters a problem, it will show an
error message and a link to the log file, so you may troubleshoot what caused
the error.
21
22
23
4. Make sure all you only select the services checked in the images.
App Management
Secure Store Service
State Service
Usage and Health data collection
5. Once you have them all checked, click OK.
SharePoint 2013 will then configure these web applications automatically and
associate the services to it.
24
25
Once the site collection is created, you should see this screen. This indicates
that the configuration process is complete.
26
27
SharePoint will show a dialog with a form for you to enter details about the new
web application.
1. Enter a name under Create New Web Application: Mysites-80.
2. Enter the Port number for the new mysites web app: 80
3. Enter the Host Header as mysites. The Host Header is the URL or address
28
You can either create a new web application pool for this web app or you can use
an existing one. We will use an existing one.
4. Select SharePoint 80 from the existing application pool.
5. Under Database Server, enter the name of the SharePoint database server:
tpserver
6. Under Database Name, remove the long GUID and replace it with mysites at
29
The web application list page should now show your new mysite web
application we just created called Mysites-80.
30
We are now ready to create the mysite site collection, which is needed to create
the User Profile Synchronization service.
10. In Central Administration, click on Application Management on the left.
11. In Application Management click on Create site collections.
31
14. IMPORTANT- Under Template Selection please make sure you select My
32
You have now created the Mysite web application and site collection. The next
section will go into more detail on how to create a web application. Click OK.
33
The next page shows a list of already configured web applications, which
includes Central Administration and possibly the My Sites host application.
2. Click the New icon in the Ribbon to create a new web application.
34
3. Complete the details for IIS, the Name of the web application Port number,
and Host Header as shown below.
35
4. If you have preconfigured a SSL certificate for your web application and
domain name, you may select to use SSL, otherwise leave this option set to
No.
5. If you plan to allow public access to your site, or parts of your site, click Yes to
Allow Anonymous Access (you will need to allow this in the site collection
also).
6. SharePoint 2013 now insists on Claims-Based-Authentication for web
applications, and no longer supports Classic Mode. Enable Windows
Authentication and configure any ASP.NET membership providers and/or
third-party trusted claims providers.
36
It is recommended to use the default sign-in page and change this to a custom
page later, once the application is up and running.
7. Leave the Public URL and Zone as default.
8. Select an existing Application Pool. Use SharePoint
80(TPILEARN\SP_Services)
9. Provide the name of a new Content Database (INTRANET) and database
authentication as Windows.
37
10. Leave Failover database empty (unless you have a failover in place).
11. Choose your service application group (or default if you have none defined).
12. Choose whether to enroll in the Customer Experience Improvement
Program.
13. Click OK and wait a few seconds while SharePoint creates your new web
application.
38
14. Under Template Selection select Team Site which is located under the
Collaboration tab.
39
You have now created the intranet.contoso.com web application and site
collection. Click OK.
18. Go to C:\Windows\System32\Drivers\ETC\ and edit the host file using
Notepad.
19. Add the local address 127.0.0.1 intranet.contoso.com of the new web
application you just created.
40
2. In the Ribbon click New and select User Profile Service Application.
41
3. Select Use existing application pool. Make sure the Database Server
name is correct and scroll down.
42
4. Type in your Profile Database Server name tpserver, Type the Database
Name UserProfile_DB and scroll down.
5. Verify your Synchronization Database Server name tpserver, Type the
Database Name UserProfileSync_DB and scroll down.
6. Verify your Social Tagging Database Server name tpserver, Type the
Database Name UserProfileSocial_DB and scroll down.
7. Select the server you wish to run the Synchronization Service on, which is
tpserver, and enter your My Site Host address, which is http://mysites/
43
8. Enter the Managed Path and site naming format. It is recommended to leave
all of these in default.
44
11. In order to start the services, go back to the Central Administration Home
Page and select Manage services on server under System Settings.
12. Start the User Profile Service by clicking on the Start link on the right as
shown in the screenshot below.
Here is the awesome part! You dont have to worry about the User Profile
Synchronization Service. You just need to reset IIS, go back to the Service
Application screen and click on the Service Application. You dont have to
worry about it, and that is mostly true as long as you are using Active
Directory
13. In order to configure the User Profile Synchronization, go to Manage
Service Applications and click on User Profile Synchronization, and then
click on Configure Synchronization Settings.
45
14. Select Use SharePoint Active Directory Import and click OK.
15. Click Configure Synchronizations Settings.
17. Click Create New Connection. Fill in the Connection Name TPILEARN.
18. Enter the Fully Qualified Domain Name for your domain: tpilearn.com.
19. Select your Authentication Provider Type, enter your Account Name and
Password.
20. Click Populate Containers.
46
21. In the pop-up box, select the Users, and click OK.
47
22. Click the Start User Profile Synchronization link on the User Profile
Service page.
23. Select Start Full Synchronization.
24. Click OK.
48
49
3. In the Ribbon, click the pull-down arrow under New and choose Search
Service Application.
4. Under Search Service Account, click Register new managed account then
type: TPILEARN\sp_searchadmin and Password trainingdan49$, then click
OK
5. Enter Service Application Name of Search Service Application
50
6. In the Application Pool for Search Admin Web Service, Select Use
existing application pool and choose SharePoint Web Services Default.
7. In the Application Pool for Search Query Web Service, Select Use existing
application pool and choose SharePoint Web Services Default.
8. Click OK to proceed.
Now you should see Search Service Application 1.
9. Click on the row for Search Service Application 1.
10. In the Ribbon, click Manage.
Note the items on the Quick Launch are now search related.
51
3. Here we need to tell SharePoint what to crawl. Type in the following URL to
allow search to crawl the mysites web app: sps3://mysites/. * sps3 is a protocol
52
handler for searching user profiles. If the site used a SSL you should use
sps3s.
My Sites
4. Click Create Schedule and set how often you would like the sites to be
crawled. The settings should be set based on company needs or
requirements. The question that you should be asking is. How soon after a
document is uploaded to SharePoint will you need to search for that document?
5. Click OK at the bottom of the window.
6. On the Quick Launch, click Crawl Rules.
7. Click the link New Crawl Rule.
53
54
55
8. In the Permissions list, select the Retrieve People Data for Search
Crawlers check box.
9. Click OK.
After you give the user account access to crawl the profile store, you must
create a crawl rule to specify that you want to use that account when you crawl
the profile store.
56
7. Click Use regular expression syntax for matching this rule if you want to use
regular expression syntax in the path.
8. In the Crawl Configuration section, select Include all items in this path.
9. In the Specify Authentication section, select Specify a different content
access account. It should be TPILEARN\sp_searchadmin.
57
2.12 Task 12: Remove the Profile Store URL from the Default Content Source.
SharePoint by default adds MySite URL to its crawl rules along with the front-end
websites. We are removing it and adding it as a separate crawl to separate
content sources for crawl scheduling and result source definitions.
1. Verify that the user account that is performing this procedure is an
administrator for the Search Service application.
2. In Central Administration, in the Application Management section,
click Manage service applications.
3. On the Manage Service Applications page, click Search Service
Application.
4. On the Search Administration page, in the Quick Launch, in
the Crawling section, click Content Sources.
5. On the Manage Content Sources page, click the link to the default content
source (Local SharePoint sites).
6. In the Start Addresses section, remove the URL for the profile store
(http://mysites).
7. Click OK.
8. Click Content Source and create a new content source.
58
59
5. On the Add Content Source page, in the Name section, type a name for this
content source.
60
61
62
The installation process will install Workflow Manager 1.0 and configure all the
necessary dependencies:
Execute ASP.NET IIS Registration Tool.
IIS Management Service.
Service Bus 1.0.
Microsoft Windows Fabric.
63
6. Once the installation process ends, you can start with the configuration as its
described in the Configure step tab of the wizard. Click the Continue button
so the wizard shows a summary window with all the components installed and
configured.
64
7. Once you have installed Workflow Manager 1.0, a configuration window wizard
is started. As you can see, there are three possibilities for configuring the
Workflow Manager. Just click the first one, the Default Settings configuration.
65
11. Click Allow Workflow management over http. SSL is available but the user
of SSL certificates adds a layer of complexity here.
12. The certificate generation password we are going to use is: trainingdan49$
66
67
Once Workflow Manager has been installed, we have to then register the
SharePoint 2013 farm to the new workflow manager process.
Note: When you install Workflow Manager on a WFE it automatically installs the Workflow
Manager Client on that WFE. You will still need to install the Workflow Manager Client on any
additional WFE servers. For example, if you have a farm that contains 5 WFE servers and
you install Workflow Manager on one of those WFE servers you will still need to install the
Workflow Manager Client on the 4 additional servers.
68
6. Once the service has registered you can check to see if it worked by opening
SharePoint Designer 2013:
If registering the spworkflow service fails, one thing to try is to delete the
following folders:
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SharePoint.Workfl
owServices.Activities
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SharePoint.Workfl
owServices.Activities.Design
Re-run the register-spworkflow command again and it should work.
If you uninstalled and reinstalled SharePoint on the same server, those GAC
entries will never get removed by the installer process. You must manually
remove them to allow the service to register.
69
2.16 Task 16: App Domain Setup and App Catalog Configuration
In this subchapter, we will setup and configure an app domain and app catalog.
App domain is setup first, then app catalog.
The apps for SharePoint provides a new method to deliver specific information or
functionality to a SharePoint site. An app for SharePoint is a small, easy-to-use,
stand-alone productivity app that solves a specific end-user need.
Before you allow site owners to install apps in a SharePoint environment, you
must plan how you want to support them.
You have to determine your organization's policy around apps for SharePoint,
plan your configuration settings, and determine how to manage and monitor the
apps.
Create an isolated app domain using PowerShell
Ensure that the spadmin and sptimer services are running by opening a
command prompt, type in PowerShell to open PowerShell and typing the
following commands in PowerShell.
net start spadminv4
net start sptimerv4
Create your isolated app domain by running the SharePoint Management Shell as
an administrator and typing the following command.
PowerShell
Set-SPAppDomain "tpiapps.com"
Ensure that the SPSubscriptionSettingsService and
AppManagementServiceInstance services are running by typing the following
command in the SharePoint Management.
70
71
72
hosted app. You can skip this procedure if your environment does not use a
proxy server.
1. Add your isolated app domain to your bypass list in Internet Explorer
2. In Internet Explorer, go to Tools.
3. Choose Internet options.
4. On the Connections tab, choose the LAN Settings button.
5. Clear the Automatically detect settings check box.
6. Select the Use a proxy server for your LAN check box.
7. Choose the Advanced button, and then add *.YourAppDomain.com to
the Exceptions list.
8. Choose the OK button.
9. Choose the OK button to close the Local Area Network (LAN)
Settings dialog box.
10. Choose the OK button to close the Internet Options dialog box.
73
2.17 Task 17: Create an Isolated App Domain Using the GUI
Now we will create a Forward Lookup zone for your App domain.
1. Go to Start.
2. Click on Programs then Administrative Tools.
3. Select DNS.
74
5. Click Next.
75
7. In most cases, especially if your development server is in its own domain you
can use the default on the next tab again and can just click Next.
76
8. You now have to specify a zone name. Its up to you what you choose here.
My domain name is tpilearn.com and for my app domain I will use
tpiapps.com.
9. Click Next.
77
12. Right click on your new zone and select New Alias (CNAME)
13. Fill in a * for Alias name (uses parent domain if left blank)
14. Click Browse.
15. Double click on your server name.
16. Double click Forward Lookup Zones.
17. Double click the domain of your SharePoint environment. In my case this is
tpilearn.com.
18. Select (Same as parent folder) and click OK.
19. Click OK.
Note: Selecting the FQDN of the domain in here will only work in single server scenarios. If
you are using more than one server you should be pointing to the DNS record of the web
server in here. This is either the DNS record for the web server, or the DNS record of the
primary cluster address for NLB environments.
78
You are now done setting up your DNS and it should look like this:
79
4. On the Create App Catalog page, in the Title box, type a title for the App
Catalog site.
80
Note: You are now ready to deploy your apps. Because of all this extra domain stuff though
there are a few things you should know about your web applications and site collections.
If you are using a host header for your web application apps wont just work for that web
application. Because of how the redirect for the app domain works IIS will try to resolve the
app URL by using the default IIS web site, which of course doesnt work. If you want to use
host headers for your web applications you have to create an extra web application that is
listening on port 80 (or 443 if you are using https) and that doesnt have a host header.
This means that you have to create a web application like you normally would. You have to
make sure that you select port 80 (or 443 if you are using https) and you should not fill in a
host header. Note that you have to stop the Default Web Site in IIS in order to be able to do
this. The web application will use the server name as its URL. The web application can be
empty except for a root site collection.
Another option is to use web applications without host headers and to create Host Header
Site Collections. Be aware that Host Header Site Collections cannot be created via the user
interface, they can only be created by using PowerShell.
Additional Considerations:
There are of course a number of key additional considerations that you should be aware of
when it comes to SharePoint Apps:
Note: A few of these additional considerations are extrapolated from Steve Peschkas post
here: Planning the Infrastructure Required for the new App Model in SharePoint2013 and
simplified for the sake of this post, go take a look if you need more context and detail.
Copyright SharePoint Innovations | sales@sharepointinnovations.com | 1-800-935-4245
81
Apps do not support Kerberos since each App runs in its own isolated domain, for
Kerberos to work we would need to configure SPNs for every App which is not
feasible! Therefore even with Kerberos enabled for your Web Applications, SharePoint Apps
rely on being able to fall back to NTLM.
SharePoint-hosted Apps do not support SAML auth currently SharePoint-hosted Apps will
not be redirected to correctly when using SAML auth. This is because most identity
providers (ADFS 2.0 included), do not support wildcards for return URLs which would be
needed due to the isolated domain model implemented for SharePoint-hosted Apps. In
addition, SharePoint does not currently support wildcards in the realm registration
process. However, Azure hosted, or provider-hosted Apps will work when SharePoint is
configured to use SAML auth but there is some configuration required, which Steve
Peschka covers off in quite some detail here: Using SharePoint Apps with SAML and FBA
Sites in SharePoint2013.
Apps do not support multiple zones all requests will only ever be served out of the default
zone. If you need multiple URLs for SharePoint, you should consider using host header site
collections with multiples URLs a new feature in SharePoint2013 rather than multiple
zones and Alternate Access Mappings (AAMs). Check out the Set-SPSiteUrl cmdlet for
more detail.
82
6. Click OK.
83
You can also configure outgoing email for a specific web application
1. Click Application Management, then click Manage web applications.
The name of the Outbound SMTP server, from address, Reply-to address and Character set
should be set to the previously entered settings.
4. In the From address box, change it to intranet@contoso.com.
5. In the Reply-to address box, change it to intranet@contoso.com.
6. Click OK.
84
85
3. Click Next.
86
7. Click Next.
8. After installation is complete, click Close.
Configure Incoming E-mail Settings
1. Click System Settings.
2. Click the Configure incoming e-mail settings link.
87
6. Use the default settings for all other sections, and then click OK.
88
89
90
3. Scroll down and click on the Search Service Application to get to the Search
Administration Page.
4. Clicking on the Result Sources link in the left navigation shows a page like
the one below. SharePoint provides a number of result sources, based on
what users typically search. To call out a few, looking down the list we see
Pages, Documents, Pictures, Local People Results, etc.
91
To understand how a Result Source works, we shall now explore one of them
by clicking the name and selecting the view option in the popup menu.
5. Click on the Local People Results entry.
92
93
9. Click the Launch Query Builder button to configure the Query Transform.
The Query Builder understands both Keyword Query Language (KQL) and
FAST Query Language (FQL), which we use to define our Result Source
criteria. KQL and FQL provide superior query syntax to that of CAML
94
95
The Property filter allows you to apply additional filter properties to the search
query, such as the Content Type, Author, or one or many managed properties.
12. Add a Property filter called FileType and set Manual value to our content
source: pdf.
96
At this stage, you might be wondering how to use the Result Source in your search
results. Similar to how SharePoint 2010 allowed you to use scopes in Search Result
web parts, SharePoint also allows you to apply Result Sources to search result web
parts.
The ResultScriptWebPart now replaces the CoreResultsWebPart and provides
greater functionality. One of the more obvious improvements is previous
display, which SharePoint 2010 only provided with FAST. The
ResultScriptWebPart understands Result Sources like the
Copyright SharePoint Innovations | sales@sharepointinnovations.com | 1-800-935-4245
97
98
99
100
9. Make sure that Search is visible in the navigation bar by selecting Yes to the
question Use the top link bar from the parent site?
101
You should see a Query Builder dialog appear (similar to that when creating a
Result Source).
Since you have a query builder in front of you, you can create some on the fly
query filtering.
3. Select the pdf results Result Source from the dropdown menu.
4. Click OK.
5. Click OK on the web part properties box and then Save the page.
6. Execute a search via the Search Center and the results returned are those
filtered by our Result Source.
102
The results shown on the left are Refiners. Basically, refiners are metadata
keywords by which you can filter your results.
When a catalog is crawled, SharePoint Server 2013 automatically creates
managed properties for all site columns that contain values. These automatically
created managed properties use the Text data type.
The Refinement Panel is a web part and it was available in SharePoint 2010.
However, creating and modifying search refiners was tedious. SharePoint 2013
improved the process by adding a graphical menu to add these refiners via
display templates.
Display templates control which managed properties are shown in the search
results, and how they appear in the Web Part. Each display template is made of
two files: an HTML version of the display template that you can edit in your HTML
editor, and a .js file that SharePoint uses.
103
In this exercise, we are going to create a new custom refiner that shows the item
count for all search results.
1. Navigate to http://intranet.contoso.com/search
2. Type * (asterix) in the search box to find all results.
This will take you to the result page show up below.
3. Edit this page by going to the Gear icon and putting the page in Edit mode.
104
The refinement panel is a webpart. To get to its settings we will have to edit
that webpart.
4. Click the small black arrow and select Edit Web Part.
105
On the left side there's the list of available refiners (managed properties), on
the right side you can see your current selections. Of course, you can add and
remove as well as re-order the refiners here.
When you select a refiner in the list above, you'll see its configuration in the
bottom half of the screen. Things you can configure here:
Display name
Display template (see below)
Sort by
Sort direction (ASC / DESC)
Max number of refiner values
In order to create a refiner we will have to copy and create a new display
template based on the Filter_Default built in template. All display templates
are located in the Master Page Gallery section of your SharePoint site.
Copyright SharePoint Innovations | sales@sharepointinnovations.com | 1-800-935-4245
106
107
11. Open the file with Visual Studio 2012 or SharePoint Designer 2013.
12. Click on CTRL F and search for ShowCounts. The default is false.
14. Look for <title> and change the text to Refiner with Counts and save the file to
your desktop.
108
15. From Display Templates Filter page, click on the Ribbon and click Upload
Document from your desktop.
109
17. Run a search for * and see the results with item counts below.
110
111
112
7. For the Application Pool, select Use existing and choose SharePoint Web
Services Default.
8. Click OK.
Now we need to start the Managed Metadata Web Service
113
114
You will find yourself in the Global and Current Navigation Settings menu.
The Global Navigation is the menu at the top and the Current Navigation is
the one on the left.
For each of these you can choose to use Managed Navigation or Structural
Navigation.
115
What we need to do next is create our Navigation items in the Term Store.
Lower in the page you will find an option to open the Term Store
Management Tool.
Note: If you get the error Failed to create term set: A default managed metadata service connection
hasn't been specified you may need to go to Central Admin, and the properties of the Managed
Metadata Service Connection and check This service application is the default storage location for
column specific term sets.
116
4. Click on Create Term Set and SharePoint will automatically create a Portal
Navigation Term Set.
5. Click on Open Term Store to edit the new Portal Navigation Term Set.
117
118
10. The Term-Driven Page with Friendly URL is a little more powerful as it
allows for friendly URLs. We will set the Friendly URL by moving to the next
tab for the term, Term-Driven Pages. There you will find options to change
119
the friendly URL as well as setting the target page for the hyperlink. (Can even
set SEO properties)
11. When the customize button is selected you can change the name of the URL
to whatever you want.
You can also change the target page of the term itself. This is useful for
creating custom navigation menus across your site collection without having to
create all the site first.
12. Click on Save when you are done.
13. Time to see the results, notice the new SEO friendly URL. Dont forget that we
are using the Managed Metadata Service (Term Store) which means you can
have more than one level in the navigation.
120
121
3. From the Gear icon, select Edit page to put the search result page in edit
mode.
122
Once the page is in edit mode, we want to select the refinement web part at
the far left.
4. Click the dropdown icon and select Edit Web Part.
The Refinement panel menu opens at the right hand side of the screen.
123
124
125
6. Scroll down the Available refiners and look for owsmetadatafacetinfo and
Add it to the Selected refiners.
NOTE - If you want the managed metadata field to show up first, you can select it and click on Move
UP to the top of the list.
126
127
128
Once the web part menu closes you must save the changes to your page.
10. Click on Save in the ribbon.
129
12. You can add version comments if you like, then click Continue.
13. Once it is checked in you can click on Publish this draft link to publish it to
the site and make it viewable to all readers without the yellow bar.
130
14. You can now do a search and the Managed Metadata refiner will show up on
the left above result type.
131
6.3 Task 3: Content Search Web Part and Cross Site Collection Publishing
Lets begin by creating an authoring site collection using the Product Catalog site
collection template.
1. Go to Central Administration.
2. Click on Create site collections.
132
5. Make the Primary Site Collection Admin Administrator and the Secondary
Site Collection spfarmadmin and click OK.
By choosing Product Catalog template, SharePoint will create the following
artifacts for the site collection automatically:
Cross Site Publishing feature
Product List associated with content type Product with Image
Two content types, Product and Product with Image
Site Columns
o Group Number
o Item Category [Managed Meta data column linked to Product
Hierarchy term set
o Item Number
o Language Tag
Site Collection Term Set Product Hierarchy
133
134
135
5. Select Create Term from the dropdown menu to create the Parent Term:
6. Under the Products Term Set create the following Sub Terms by clicking
Create Term:
Computers
Laptops
Cameras
Phones
136
7. Once you have created the terms, click on the first term Computers and
create the following child terms by clicking Create Term:
Sony
HP
Toshiba
Apple
Acer
8. Click on Laptops and create the following Child terms by clicking Create Term.
Sony
HP
Toshiba
Dell
9. Click on Cameras and create the following Child terms by clicking Create
Term.
Cannon
Nikon
Sony
Samsung
10. Last, click on Phones and create the following Child Terms by clicking Create
Term.
Microsoft
Apple
Samsung
Sony
137
138
139
5. Upload all the images that are in your course materials files to this document
library by clicking on Upload Document in the Ribbon and then Upload Files
using Windows Explorer instead.
140
141
142
8. Fill out another item based on the screenshot below and follow the same steps
as for the first item.
143
9. Finally, repeat one more time using the screen shot below as reference:
Optional: you can create more items with the rest of the images. Make sure
you distinguish your label each item category with the correct Group Number.
144
After you have imported your items into the list, you must also approve them.
10. To approve the items, select the item by clicking on the check box and in the
office ribbon under Items tab, click Approve/Reject.
145
146
147
148
3. Select Local SharePoint Sites and in the dropdown select Start Full Crawl.
Once Full Crawl is completed successfully, our catalog is ready to share with
publishing site collections.
149
150
151
5. Click OK.
Note: A few points to note here, the Catalog Item URL Format, is using the Primary key
columns in URL Format and the interface is also creating a Category Page and Item Page.
152
At this point we are almost done with the setup of Managed Navigation.
6. Click on any category on the navigation link and it will show all products that
belong to the selected category.
153
154
display templates which are easier to customize than the XSLT format that
content query uses.
1. Browse to the page where you want to add the Content Search Web Part.
This can be Intranet.contoso.com.
2. Click the Settings menu, then click Edit Page.
3. Put your cursor in the area you want to add the Web Part.
4. From the Ribbon, select Insert.
155
7. In the Web Part, click the Web Part Menu, and then click Edit Web Part.
8. In the Web Part tool pane, click Change query. This will open a dialog box.
156
9. From the Select a query list, select your catalog result source. In our
scenario, it is Items Matching a Tag.
10. From the Restrict by app section, select Specify URL.
11. Add the URL: http://intranet.contoso.com/sites/prod
157
12. In the Restrict by tag section, select Restrict by current and child
navigation terms.
158
159
need them or get help on the cmdlets that you know. You will in turn start to
memorize more and more cmdlets as you work with PowerShell.
160
At this point we have just displayed objects but have not done anything with
them. We will now us a method to start and stop one of the displayed
services.
Copyright SharePoint Innovations | sales@sharepointinnovations.com | 1-800-935-4245
161
3. In the SharePoint Management Shell, Type Get-Service SPTimerV4 | StopService and hit Enter. That will stop the Timer Service.
PS C:\Users\Administrator> Get-Service SPTimerV4 | Stop-Service
4. Type Get-Service Name Sp* and hit Enter to show that the service has been
stopped.
PS C:\Users\Administrator> get-service -name sp*
6. Type Get-Service Name Sp* and hit Enter to show that the service has been
started again.
PS C:\Users\Administrator> get-service -name sp*
162
Get-SPFarm
Web Application
Get-SPWebApplication
Site Collection
Get-SPSite
Site or Subsite
Get-SPWeb
163
Let look at how we can control how the list of site are displayed with selecting
the data that we want to display along with sorting and filtering the data.
3. Hit the Up arrow key on the key board, this will display the last command.
4. Next enter | Select-Object URL,WebTemplate and hit Enter. This will display
the same list but create two columns one for the URL and one for the Web
Template.
PS C:\Users\Administrator>
Get-SPWebApplication | Get-SPSite
limit All | Get-spweb limit All | Select-Object URL,WebTemplate
5. Hit the Up arrow key on the keyboard, this will display the last command.
6. Next enter | Sort Webtemplate and hit Enter. This will display the same list but
sort the Web Template.
PS C:\Users\Administrator>
Get-SPWebApplication | Get-SPSite
limit All | Get-spweb limit All | Select-Object URL,WebTemplate |
Sort Webtemplate
7. Hit the Up arrow key on the keyboard, this will display the last command.
8. Next enter | Where-Object WebTemplate eq sts and hit Enter. This will
display just the STS (Team Site) WebTemplates.
PS C:\Users\Administrator>
Get-SPWebApplication | Get-SPSite
limit All | Get-spweb limit All | Select-Object URL,WebTemplate |
Sort Webtemplate | Where-Object Webtemplate eq sts
You can also change the format and/or output of the data.
164
Operators
Less Than
-lt
-le
Greater than
-gt
-eq
Not equal
-ne
Like
-like
And
-and
Or
-or
9. Hit the Up arrow key on the keyboard, this will display the last command.
10. Next enter | Format-List at the end of the command and hit Enter. This will
display the data in a list format rather than the default Table format.
PS C:\Users\Administrator>
Get-SPWebApplication | Get-SPSite
limit All | Get-spweb limit All | Select-Object URL,WebTemplate |
Sort Webtemplate | Where-Object Webtemplate eq sts | Format-List
11. Hit the Up arrow key on the keyboard, this will display the last command.
12. Delete | Format-List and type | Out-GridView and hit Enter. This will display
the data in an external dialog box for easy viewing and filtering.
PS C:\Users\Administrator>
Get-SPWebApplication | Get-SPSite
limit All | Get-spweb limit All | Select-Object URL,WebTemplate |
Sort Webtemplate | Where-Object Webtemplate eq sts | Out-GridView
165
2. Type $ap=NewSPAuthenticationProvider
UseWindowsIntegratedAuthentication -DisableKerberos. This will define the
variable $ap as the new Authentication provided that we will reference in the
next command.
PS C:\Users\Administrator>
$ap=New-SPAuthenticationProvider UseWindowsIntegratedAuthentication -DisableKerberos
New Lets create a Site Collection for the Web Application that we just created
and then create multiple subsites.
1. In the SharePoint Management Shell, type New-SPSite
http://extranet.contoso.com Name Home Template STS#0 OwnerAlias
TPILEARN\Administrator and hit Enter on the keyboard.
PS C:\Users\Administrator> New-SPSite http://extranet.contoso.com
Name Home Template STS#0 OwnerAlias TPILEARN\Administrator
Next we can check to see if we can access the Site Collection. To do that we
must first add the site to the Host file since we do not have DNS setup for the
site at this time.
2. Navigate to C:\Windows\System32\drivers\etc and open the hosts file in
notepad and add 127.0.0.1
extranet.contoso.com
3. Open Internet Explorer and type http://extranet.contoso.com in the address
bar and enter the Administrator credentials.
166
Now that the site is up we will look at creating a loop so we can create multiple
sites at once.
4. Type, $departments = (HR, Marketing, Sales, Finance), hit Enter.
PS C:\Users\Administrator> $departments = (HR, Marketing,
Sales, Finance)
167
1. Go to Site Settings and select Site permissions, then select the Permission
Check icon and enter your login name to view your Permission Levels.
168
4. On the Site Settings page, under Users and Permissions, click Site
permissions.
169
8. Click Submit.
170
1. Click the link for the permission level you want to copyin this case, the
Contribute permission level. SharePoint will show you a page of the
permissions contained in the selected permission level.
2. Scroll to the bottom of the page and click the Copy Permission Level button.
171
3. In this case, find the Delete Items permission and clear the check box.
172
3. Under the Users and Permissions heading, click the People and Groups
link.
By default, SharePoint will open a page of the Portal Members group.
From the Quick Launch left navigation, you can click on any Groups heading
you want to add or remove users to.
173
174
175
5. From the sub-menu (New, Actions, and Settings), click Actions, and then
click Remove Users from Group.
176
177
178
7. Configure the group settings and assign the Portal Contrib- custom
permissions we created earlier.
NOTE: You do not have to assign default permission levels at this stage; you
can do so later when applying permissions to a secured object for users
contained in this group.
8. Click Create to create the group.
The new group should be visible on the left nav.
179
180
181
SharePoint now copies all the permissions of the parents and assigns them as
copies to the current library.
182
183
9.1 Task 1 - Install prerequisite software for Office Web Apps Server
Access your Web Apps Server. The Web Apps Server must be a standalone
server separate from SharePoint server.
1. Click Start.
2. Type PowerShell in the search box, and Right Click on PowerShell.exe and
click Run as Administrator
184
185
186
- <app name="Excel"
favIconUrl="http://servername/x/_layouts/images/FavIcon_Excel.ico"
checkLicense="true">
<action name="view" ext="ods" default="true"
urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&
>" />
<action name="view" ext="xls" default="true"
urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&
>" />
<action name="view" ext="xlsb" default="true"
urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&
>" />
<action name="view" ext="xlsm" default="true"
urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&
>" />
187
188
Office Web Apps Server uses zones to determine while URL and protocol to
use when it communicates with SharePoint 2013. By default SharePoint uses
internal-https zone.
6. In the SharePoint Management Shell window, Type Get-SPWOPIZone to
see what one is being used.
7. To change the zone. In the SharePoint Management Shell window, Type
Set-SPWOPIZone zone External-https
8. Now open a document from SharePoint and it should open in the Browser
using Office Web Apps
189
190
191
192
193
194
195
20. Choose SQL Server in the External Data Source Type Selection drop down
list, click OK.
196
197
Now in the Operations Properties window we can see that our users can
perform such operations as Create, Read, etc.
198
199
33. Click External Content Types. Notice our new content type AWSemployee.
200
You have now successfully created an External List with data from a different
database.
201
202
203
204
205
11.1 Task 1: Install Reporting Services Add-in *Discussion Only as it is already setup on our server
1. Run the SQL Server Installation Wizard. Navigate to C:\installs and Right
Click on
en_sql_server_2013_enterprise_edition_with_sp1_x64_dvd_1227976.iso
and click Mount.
2. Double click on setup.exe.
3. Click Installation in the left side of the wizard and then click New SQL Server
stand-alone installation or add features to an existing installation.
4. Click OK on the Setup Support Rules page, assuming all rules passed.
5. Click Install on the Setup Support Files page. Depending on what is already
installed on your computer you might see the following message: One or more
affected files have operations pending. You must restart your computer after
the setup process is completed.
6. Click Ok.
7. Click Next after the support files have completed installing and the Support
Rules pages show a status of Passed. Review any warnings or blocking
issues.
8. On the Installation Type page, click Add features to an existing instance of
SQL Server 2012. Select MSSQLSERVER in the drop-down list and click
Next.
9. Check both Reporting Services SharePoint and Reporting Services addin for SharePoint Products.
10. Click Next on the Installation Rules page.
11. Review the Disk Space Requirements page and click Next.
12. If you see the Server Configuration page type appropriate credentials. If you
want to use the Reporting Services data alerting or subscription features, you
need to change the Startup Type for SQL Server Agent to Automatic. You may
not see the Server Configuration page, depending on what is already installed
on the computer.
13. Click Next.
14. If you selected the Database Engine services, you will see the Database
Engine Configuration page, add appropriate accounts to the list of SQL
Administrators and click Next.
15. Review any warnings and then click Next on the Installation Configuration
Rules page.
Copyright SharePoint Innovations | sales@sharepointinnovations.com | 1-800-935-4245
206
11.2 Task 2: Register and Start the Reporting Services SharePoint Service
1. Click the Start button, and then click Programs to Microsoft SharePoint 2013
Products.
2. Then right click on SharePoint 2013 Management Shell and click on Run as
administrator.
3. Run the following PowerShell command to install the SharePoint service.
PS c:\Users\Administrator> Install-SPRSService
4. Now run the following PowerShell command to install the service proxy
PS c:\Users\Administrator>
Install-SPRSServiceProxy
5. Next run the following PowerShell command to start the service or you can
start it from Central Administration
PS c:\Users\Administrator>
get-spserviceinstance -all |where
{$_.TypeName -like "SQL Server Reporting*"} | StartSPServiceInstance
207
208
209
The process could take a bit to complete but when finished you see a
confirmation message.
210
4. Type, Reports.
5. Click Create.
6. Click on the Reports document library to open it.
211
7. We are going to add report specific content types to the library so click the
Library tab on the Ribbon.
8. Click Library Settings.
12. From the Select Content Types dropdown, Choose SQL Server Reporting
Services Content Types.
13. Select Report Builder Model and Click Add. Repeat the steps for Report
Builder Report and Report Data Source.
Copyright SharePoint Innovations | sales@sharepointinnovations.com | 1-800-935-4245
212
15. Click Reports in the breadcrumb navigation to go to the document library home
page.
18. In the Data Source Type dropdown click Microsoft SQL Server.
Copyright SharePoint Innovations | sales@sharepointinnovations.com | 1-800-935-4245
213
214
215
216
37. Click and Drag the specific fields to match the image below.
38. Click Next.
217
39. Uncheck Show subtotals and grand totals and click Next.
40. Leave the style and click Finish.
41. In the Ribbon for the Report Builder, click Run
42. Expand the Product Line groups
43. Click Design on the Ribbon and investigate the changes that you can make to
the form. Page width and column width are a couple of the things that you
may want to change on this report.
44. Click Save and save the report in the Reports library with the name of
Products.
45. Click Save.
46. Open up the http://intranet.contoso.com site and navigate to the Reports
library.
47. Click on the Products report for it to open in the browser.
218
219
220
The architecture supports both full and differential backups. Full backups create
a new backup of the complete system. Differential backups create a backup of all
changes that are stored in databases since the last full backup.
The farm backup system is organized hierarchically. The components in a farm
that you can select for backup include the following Web, Web Applications,
Service Applications, Service application proxies and Shared Services.
Some settings in the SharePoint 2013 environment are not included in a farm
backup. They include the following settings that are stored on web servers:
Application pool account passwords
HTTP compression settings
Time-out settings
Custom Internet Server Application Programming Interface (ISAPI) filters
Computer domain membership
Internet Protocol security (IPsec) settings
Network Load Balancing settings
Secure Sockets Layer (SSL) certificates
Dedicated IP address settings
221
222
223
224
225
governance and have broad adoption without manageability nor can we exercise
heavy governance which eliminates adoption.
Now that we understand the purpose of governance it's time to review categories
that may be important in your SharePoint governance. They are:
226
What To Do
Why To Do It
Communication
Establish a communications
plan that includes: 1. Who will
do the communications 2.
When the communications will
occur 3. What each
communication will contain 4.
How each communication will
come (i.e. email, hard copy
document, newsletter, etc.)
Establishing an expectation as
to what communications will
happen will help users
understand how to contact the
project team and what they can
expect the communications
pattern to be. This improves the
perceived openness of the
process and facilitates adoption
Change
Management
Process
227
Cost Allocation
Sponsorship
Establish a SharePoint
Governance board to review
adoption and controls.
Solicit executive champions
to create the right management
attention to the value of the
initiative.
Encourage business
evangelists to share the power
of SharePoint with other
business leaders.
SharePoint governance in
general, and SharePoint
technology platforms in
particular cost money.
Governance in most cases
implies a centralized platform.
Finding the funding to pay for
the centralized platform is an
essential and sometimes difficult
task.
228
Create a classification by
number of users and longevity:
enterprise, departmental, team,
project, and personal.
Create a classification by
type of use: portal for
communications, application for
tactical results, and
collaboration to facilitate team
operations.
Service Level
Agreements
Create a common
understanding for the types of
SharePoint solutions the
organization knows how to do
well and a vocabulary for
speaking with parts of the
business about what is needed.
What To Do
Establish templates for what
the SharePoint sites will look
like
Determine which types of
sites may be modified and
which may not
Define which parts of the
Why To Do It
Establishing a core brand will
not only make the site seem to
belong to the organization but
will promote better navigation
and organization. Defining which
areas can and cannot be
changed creates the flexibility
229
Customization
Tools
Site Definitions
and Templates
On-going Source
Code Support
Development
Standards
230
14.3 Infrastructure
While most infrastructure items can honestly be considered implementation
details there are a few which will have a significant impact on how you implement
SharePoint and what the features will be available. The infrastructure items
outlined here are important for inclusion in your governance plan because their
impact on the way the solution will be used.
Infrastructure
Item
Firewalls
What To Do
Establish and communicate
rules for outbound connections
from the web servers for use by
the Content editor web part and
RSS Viewer web part
Load Balancing
Environments
Why To Do It
Best practice is to not allow
servers to access the web
directly. Further including
content from a third party site
through a content editor web
part or through the RSS reader
web part creates exposure for
cross site scripting attacks.
Controlling what sites can be
linked to from these tools is a
security and operational
concern.
Developers must know if they
are expected to handle
situations where a single
session is transferred between
servers.
Defining the environments helps
business users and developers
know what resources they have
available to test changes without
impacting production.
231
Operational Concerns
Item
Monitoring
What To Do
Establish monitoring at the
server, site, and SharePoint
level
Define responses to each
type of failure that may occur
Uptime and
Downtime
Quotas
Why To Do It
Systems which are not available
cannot be used by users. Taking
a layered approach to
monitoring the system
encourages better awareness of
issues with the platform.
Establishing the periods of time
which the system will not be
available is critical to allow for
patches to be applied.
Communicating the process for
unscheduled downtime will calm
users when unscheduled
downtime does occur.
Disasters will happen. It's not a
question of if but of when and
how. Planning for them further
reinforces the commitment to
the platform and the instance
that it will remain available.
232
Reporting
establishment of technology
supported guidelines can help to
provide reasonable control
around disk space consumption.
Reporting upon what has been
done is essential for various
compliance needs. Developing
user reporting to report on
activity and storage create a
necessary feedback loop for the
organization to understand the
value that is being derived from
the SharePoint technologies
platform.
Community
Development
What To Do
Acquire end user training
and resources
Acquire help desk training
and resources
Acquire administrator
training and resources
Develop administrator policy
guides which describe
organization specific policies
Acquire developer training
and resources
Develop developer policy
guides which describe
organization specific
development policies
Create online forums where
users can support each other
and ask questions.
Create opportunities for faceto-face learning in unstructured
or semi structured
environments such as lunch
Why To Do It
Training both in the facilities and
capabilities of SharePoint as
well as the policies that have
been defined by the
organization is the most
important proactive step to
ensuring the consistency and
manageability of the SharePoint
technologies platform.
233
Content Types
Search Locations
What To Do
Define the structure of the
site directories including the
major groupings and
associations.
Develop a linking strategy
between different types of sites
such as enterprise, divisional,
departmental, team, etc.
Define core content types in
the organization
Define key fields to link
documents and operational
systems
Establish content sources to
the file based repositories in
the organization.
Use the Business Data
Catalog to allow searching of
business data
Why To Do It
Defining a structure for how
sites will be organized is an
essential part of helping users
find the information they need.
Developing a linking strategy is
necessary when a single
directory becomes too unwieldy
to manage as a one entity.
Consistency, which leads to a
greater ability to locate
information, can be encouraged
through the use of standardized
fields through standard content
types.
Search is an immensely
powerful tool which can be
essential in being able to find
information throughout the
enterprise. The more content
SharePoint search can index,
the easier it will be for users to
find the information they're
234
Search Relevancy
looking for.
Although search relevancy has
dramatically improved in the
SharePoint platform, additional
efficiencies can be gained by
fine tuning search for the
organization.
Defining Success
SharePoint technologies governance is a broad need with guidance needed in
many different areas. By developing a minimally sufficient governance plan that
emphasizes expectation setting and communication, you can have a successful
adoption of SharePoint technologies while maintaining an appropriate amount of
control.
235
236
Server 2008 R2, SQL Server 2008 with Service Pack 1 and Cumulative Update 2, or
SQL Server 2005 with SP3 and Cumulative Update 3.
What is being upgraded
With the in-place upgrade everything is upgraded and that includes the content
database, services, configuration and customizations. The customizations may not
function as desired after the upgrade.
Down Time
With the in-place upgrade, the farm will not be available during the migration. The
upgrade process is continuous so plan your upgrade accordingly.
Rollback
An in-place upgrade does not allow you to rollback easily. If you run into issues in
the upgrade process, you will have to uninstall SharePoint 2010 and reinstall
SharePoint 2007
Testing
Because the rollback process is tedious for the in-place upgrade, testing is very
important. Unfortunately, testing is most difficult with an in-place upgrade. The best
237
System Requirements
SharePoint 2010 has different requirements than SharePoint 2007, so you need to
make sure that your servers will meet the requirements of SharePoint 2010.
SharePoint 2010 needs to have Windows Server 2008 SP2 or Windows Server
2008 R2 with 64-bit. SQL also has minimum requirements for the SharePoint 2010
upgrade. SQL needs to have one of the following versions of SQL: Microsoft SQL
Server 2008 R2, SQL Server 2008 with Service Pack 1 and Cumulative Update 2, or
SQL Server 2005 with SP3 and Cumulative Update 3.
What is Being Upgraded
With the database attach method you are only upgrading the content database. This
means that you are going to need to configure the central administration. This is a
Copyright SharePoint Innovations | sales@sharepointinnovations.com | 1-800-935-4245
238
good way to reconfigure your farm with new accounts or settings. This also means
that you are potentially going to have to upgrade other service databases.
Down Time
You mitigate down time with this method because both your old farm and the new
farm can co-exist. When you are going through the database attach process, set
your old farm to read only. When you are ready, change DNS to start sending users
to your new farm.
Rollback
Rollback is easy for the database attach method because we do not change any
settings on the old SharePoint farm. You may just need to change DNS to point
back to the old server, or potentially just set the database back to read/write.
Flexibility
The database attach method will allow you to upgrade the databases in any order
and it will also let you combine data from multiple farms into one.
Database Access
With the database attach method you will need to have direct access to the
database server and have the appropriate permissions to perform certain tasks on
the databases.
Testing
With the database attach method it will be easy to test your farm as it is on separate
servers than your exiting SharePoint. With the ability to run two SharePoint
environments at the same time, you can be testing your new environment at the
while your old environment is still running. Even if it takes you weeks or months to
test, you would just need to bring the content databases over to the new
environment when you are ready to go live.
Services
With the database attach method, you have to remember that all services will need
to be configured.
239
range in price and functionality but for the most part will allow you to move, restructure and
rearrange without removing permissions, metadata or versions of a document.
Here are some things to think about for the database upgrade.
Cost
Databases
Document Information
Rollback
Flexibility
Cost
Cost could be one of biggest things to think about when considering the migration method.
Cost is only an issue if youre using a third party program to help with migrating your data.
There are other ways to migrate without a third party program, but it would take you
considerably longer to move the data. Also, you can capture information about documents
with the tools provided by the third party program, which you would otherwise not have
access to.
Document Information
Again, I am going to talk about using a third party program to help with migration. If you
move a document from one farm to another, it is similar to a copy and paste action, the
document would move, but not the associated permissions, metadata or other versions of
the document. With a third party, you would be able to capture all of that information with
the move.
Rollback
No need for a rollback, as with a migration, we are just coping the data from one
environment to the other. Because of this, you will have access to both servers and can
decide when you want to start sending users to the new environment.
Flexibility
If you use the migration method for setting up your new farm, you would be able to
restructure your documents, sites and permissions, just to name a few.
240
Migration Steps
The first step before any migration is to run the STSADM pre-upgrade to check on
your existing farm. This is available on SharePoint 2007, SP2 and the October
2009 or later cumulative update. The command is as follows:
%CommonProgramFiles\Microsoft Shared\web server extensions\12\bin\STSADM.exe
-o preupgradecheck
This pre-upgrade check will give you information about your existing farm giving you more
information about how your existing farm is setup, and potentially what upgrade methods
are available and what ones are not. The check will tell you the following:
The current alternate access maps
Site definitions
Site templates
Features
Customizations
Orphaned databases
Server stats and if they meet the new requirements
If you can perform an in-place upgrade or if it must be a database attach
241
version of SharePoint installed and know that you are doing an in-place
upgrade.
3. If you have other SharePoint servers in your farm, run the setup on these
servers as well.
4. Run the configuration wizard on the Central Administration server and at that
time, all databases and services will be upgraded.
5. If you have other SharePoint servers, run the configuration wizard on those
also.
6. The upgrade should be complete at that time.
242
243
244
245
246
the new farm. The following service applications have databases that you can
upgrade during this process:
SharePoint Server 2010 and SharePoint Foundation 2010
Business Data Connectivity service application
SharePoint Server 2010 only
Managed Metadata service application
PerformancePoint Services service application
Search service application
Secure Store Service application
User Profile service application
A server farm administrator creates a web application on the SharePoint 2013
farm for each web application on the SharePoint 2010 Products farm.
247
A server farm administrator then attaches the content databases to the new farm
and upgrades the content databases for those web applications.
248
249
Windows PowerShell. The following illustration shows four stages for the My Site
host and My Sites during the upgrade process.
250
following illustration shows four stages for a site collection during the upgrade
process.
The site owner runs the site collection health checks to determine readiness for
upgrade. The site owner addresses issues before they continue with the next
step.
Optionally, the site owner requests an upgrade evaluation site collection. A timer
job runs to create the site collection and the site owner receives an email
message when the evaluation site collection is ready. The site owner previews
the new user interface. After several days or weeks, the evaluation site collection
251
expires and is deleted by a timer job. A server farm administrator can determine
the length of time before expiration.
When the site owner is ready, the site owner starts the upgrade process. The site
collection health checks are run again automatically. The site owner must address
issues before upgrading. If health checks return no issues, the upgrade starts.
When upgrade is complete, the site owner sees the Upgrade Status page that
contains the status and a link to the upgrade logs. The site owner reviews the site
to make sure that everything works correctly.
252
3. Select Device: in the menu and click on the ellipses () at the far right.
253
254
255
7. Navigate back to Databases and expand the tree. You should see your newly
restored database there.
256
257
258
5. Notice that the site collection administrators from the old farm are present.
Make sure you change them to administrator and spfarmadmin respectively.
6. Click OK.
259
260
261
262