40
SharePoint 2010 – Installation and maintenance – best practices Toni Frankola Acceleratio d.o.o. http://sharepointusecases.com

SharePoint 2010 – Installation and maintenance – best practices

Embed Size (px)

DESCRIPTION

This session

Citation preview

Page 1: SharePoint 2010 – Installation and maintenance – best practices

SharePoint 2010 – Installation and maintenance – best practicesToni FrankolaAcceleratio d.o.o.http://sharepointusecases.com

Page 2: SharePoint 2010 – Installation and maintenance – best practices

Sponzori

Page 3: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

History Lesson

2012

Page 4: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

History Lesson

1912

Page 5: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

14.4.1912 23:39

Page 6: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Ignored warnings

• Sailing too fast

• Construction QA

• Iceberg 1:10

Mistakes

Page 7: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

Installation Patching

Contents

SQL

Capacity

Upgrade

BackupMonitoring

Language Packs

Tools and Scripts

Page 8: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Choose your edition: Foundation / Sta / Ent

• Services I need…

• Hardware I need (read minimal reqs)

• Additional software (SQL, Windows…)

• Check licensing options

• OWA requires a license and key

• Control SharePointa deploys with GP

Before installation

Page 9: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Minimum of 2 SharePoint farms

• Test / Production

• Only 1 farm = no Production farm

• Prepare & Learn it’s not Next > Next

How to setup

Page 10: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• 4 cores

• 8 GB of RAM

• 100 GB C: DriveWindows, Program Files, Updates

• Second Logs and stuff

Hardware

Page 11: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

Page 12: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

Page 13: SharePoint 2010 – Installation and maintenance – best practices
Page 14: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

Repeat this procedure for

• Office Web Apps

• Other products (Project Server)

• …

Page 15: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

Per UserFormulas and columns

Language packs

Turn ON

Regional settings

Translate content

Error messages

Automatic switch

Page 16: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

PowerShell Install

• http://tinyurl/SPFarmConfig ili http://autospinstaller.codeplex.com/

Page 17: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

RTM

• Jul

10 C

U• A

ug10

CU

• Oct

10

CU

• Dec

10

CU

• Feb

11

CU

• Apr

11

CU SP

1• J

un11

CU

• Aug

11

CU

• Dec

11

CU

• Feb

12

CU

Patching

• RTM = Release to Manufacturing• CU = Cumulative update• SP = Service Pack

Page 18: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Install SP1

• Install CU if affected with error

• Check community blogs http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=224

• Currently „stable” : SharePoint 2010 SP1 + December 2011 CU

When should I install a patch?

Page 19: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Backup

• Unpack files

• Run configurtation wizard

• Repeat on each server

Patching procedure

Page 20: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Various flavors

• Foundation / Server

• Language Packs

Patches

Page 21: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Try to use SQL 2012

• Windows Server 2008 R2 + all patches

• SharePoint 2010 + SP1 + Dec11 CU

Installing today?

Page 23: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

Account name Role

sp_install Used to install SharePoint binaries.

sp_farm Farm account. Used for Windows Timer Service, Central Admin and User Profile service

sp_webapp App pool id for content web apps

sp_serviceapps Service app pool id

sp_search Search process id

sp_content Account used to crawl content

sp_userprofile Account used by the User Profile services to access Active Directory

sp_superuser Cache account

sp_superreader Cache account

Service Accountshttp://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=237

Page 24: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Use a dedicated server for SQL Server 2008 (Configure specific SQL Server 2008 settings)

• Pre-grow all databases and logs if you can. Be sure to monitor the sizes so that you do not run out of disk space.

• Limit content databases to 200 GB.

• Defragment and rebuild indices daily, if you can absorb the downtime required to rebuild.

• Be sure that you back up and truncate the log files

• Test Restore

• Continuously monitor SQL Server storage and performance

SQL Best Practices for SharePointhttp://technet.microsoft.com/en-us/library/hh292622.aspx

Page 25: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• User Profile Servicehttp://technet.microsoft.com/en-us/library/ee721049.aspx

• Configuring Search-aSecuritySchedule

Challenges

Page 26: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• SLA?

• Must have: Content databases

• Other databases?

• PowerShell backup, CA backup, SQL backup, 3rd party

• Test it!!!

Backup

Page 27: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Event Log

• ULS Log (ULS Log Viewer)

• Usage, Health logs

• Performance Counters

• Disk (if no other monitoring tools)

• Search

Regular checks

Page 28: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Can be configured as Search job

• Web Site search (npr. http://intranet/default.aspx)

Warmup

2:00 Recycle

6:00 Search

warmup

7:00 Working

day starts

Page 29: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Blobcachinghttp://technet.microsoft.com/en-us/library/cc770229.aspx

• SharePoint caching

Caching

Page 33: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• Laws of physics

• SharePoint Server 2010 capacity management: Software boundaries and limitshttp://technet.microsoft.com/en-us/library/cc262787.aspx

• Quotes

Capacity Limits

Page 34: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

Capacity Limits - example

Limit Maximum value

Limit type Notes

Applicationpools

10 per Web server

Supported The maximum number is determined by hardware capabilities.

This limit is dependent largely upon: The amount of RAM allocated to the Web

servers

The workload that the farm is serving, that is, the user base and the usage characteristics (a single highly active application pools can reach 10 GB or more)

Content database size (general usage scenarios)

200 GB per content database

Supported We strongly recommended limiting the size of content databases to 200 GB, except when the circumstances in the following rows in this table apply.

If you are using Remote BLOB Storage (RBS), the total volume of remote BLOB storage and metadata in the content database must not exceed this limit.

Page 35: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

1. 2007 SP2

2. Install 2010

3. Preupgrade

check

4. Backup/Resto

re 2007DB

5. Test-SPContentDB

6. Back to Step 3.

7. Mount-SPContentDB

8. Test and back to step

3.

9. Install 2010 Prod

10. Repeat steps 4,5,7

2007 upgrade workflow

Page 36: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

• SharePoint has hundreds of settings

• Different admins or partners

• Make documentation

Document your farm

Page 37: SharePoint 2010 – Installation and maintenance – best practices

WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER

Documentation Toolkit for SharePointhttp://spdockit.com

Page 38: SharePoint 2010 – Installation and maintenance – best practices

Questionshttp://sharepointusecases.comhttp://slideshare.net/tonifrankola

Page 39: SharePoint 2010 – Installation and maintenance – best practices
Page 40: SharePoint 2010 – Installation and maintenance – best practices

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.