Top Banner
Jason Warren Dynamic Owl Consulting @jaspnwarren
23

SPS Toronto - Troubleshooting On-Premises SharePoint

Jan 22, 2018

Download

Technology

Jason Warren
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SPS Toronto - Troubleshooting On-Premises SharePoint

Jason Warren

Dynamic Owl Consulting

@jaspnwarren

Page 2: SPS Toronto - Troubleshooting On-Premises SharePoint

Jason Warren

SharePoint Server MVP

Infrastructure Architect @ Dynamic Owl Consulting

[email protected]

Twitter: @jaspnwarren

Reddit: /u/JasonWarren in /r/SharePoint and others

Blog: jasonwarren.ca

2

Page 3: SPS Toronto - Troubleshooting On-Premises SharePoint

Audience and scope

What’s in SharePoint

Permissions for troubleshooting

Windows tools

IIS

SharePoint diagnostics

Other tools

3

Page 4: SPS Toronto - Troubleshooting On-Premises SharePoint

SharePoint Developers

“SharePoint Administrators”

Actual job title

Other IT people/groups who are responsible for SharePoint

Helpdesk

4

Page 5: SPS Toronto - Troubleshooting On-Premises SharePoint

Real-world troubleshooting on-premises SharePoint

Server, Foundation, 2016, 2013, 2010, 2007

“What can I do to figure out why SharePoint isn’t working?”

5

Page 6: SPS Toronto - Troubleshooting On-Premises SharePoint

SharePoint Online

Exam prep

Troubleshooting SQL Server (beyond connectivity)

Troubleshooting customizations/third party tools

SharePoint development

Personal troubleshooting session

6

Page 7: SPS Toronto - Troubleshooting On-Premises SharePoint

SharePoint is built on common Microsoft technologies

Windows Server

Internet Information Services (IIS)

.NET

SQL Server

7

Page 8: SPS Toronto - Troubleshooting On-Premises SharePoint

8

Page 9: SPS Toronto - Troubleshooting On-Premises SharePoint

Member of the Administrators local machine group on all servers running SharePoint

9

Page 10: SPS Toronto - Troubleshooting On-Premises SharePoint

10

Member of the SharePoint Farm Administrators Group

Page 11: SPS Toronto - Troubleshooting On-Premises SharePoint

SharePoint Shell Admin for running PowerShell

11

Page 12: SPS Toronto - Troubleshooting On-Premises SharePoint

PowerShell to grant a user Shell Admin on all content databases in the farm:

$ContentDatabases = Get-SPContentDatabase

foreach ($db in $ContentDatabases) {

Add-SPShellAdmin -Username EXAMPLE\You -Database $db

}

Note: can only be run against users. Cannot run for AD security groups

12

Page 13: SPS Toronto - Troubleshooting On-Premises SharePoint

Member of the Administrators local machine group on all servers running SharePoint

Member of the SharePoint Farm Administrators Group

SharePoint Shell Admin for running PowerShell

13

Page 14: SPS Toronto - Troubleshooting On-Premises SharePoint

14

Page 15: SPS Toronto - Troubleshooting On-Premises SharePoint

Reboot!

Task Manager, Process Explorer, Resource Monitor: quick insight

Performance Monitor: monitoring long-term

Baseline makes trending easier – every quarter or so

PAL: performance reports

Event Logs: Errors!

15

Page 16: SPS Toronto - Troubleshooting On-Premises SharePoint

SharePoint runs on IIS

Web application

Servers communicate using web services

16

Page 17: SPS Toronto - Troubleshooting On-Premises SharePoint

3xx Redirection

301 Moved Permanently302 Found304 Not Modified

2xx Success

200 OK

17

4xx User Error

400 Bad Request401 Unauthorized403 Forbidden404 Not Found

5xx Server Error

500 Internal Server Error503 Service Unavailable

Page 18: SPS Toronto - Troubleshooting On-Premises SharePoint

18

Page 19: SPS Toronto - Troubleshooting On-Premises SharePoint

Text files with:

events (something happened!)

traces (narrating what happens)

Increase verbosity to aid troubleshooting

Central Admin and PowerShell controls

Get the CORRELATION ID for best results!

19

Page 20: SPS Toronto - Troubleshooting On-Premises SharePoint

New-SPLogFile – stops logging to the current file and creates a new logfile on all servers in the farm

Set-SPLogLevel – changes the verbosity of logging

Set-SPLogLevel -EventSeverity Verbose –TraceSeverity VerboseEx

Clear-SPLogLevel – resets verbosity to default

Merge-SPLogFile – consolidates logs from all servers in the farm into a single file

Merge-SPLogFile -Path .\Example.log -Correlation <correlation>

MOST POWERFUL SHAREPOINT TROUBLESHOOTING TOOL

20

Page 21: SPS Toronto - Troubleshooting On-Premises SharePoint

PAL http://pal.codeplex.com

ULS Viewer https://www.microsoft.com/en-ca/download/details.aspx?id=44020

Fiddler http://www.telerik.com/fiddler

Sysinternals (Process Explorer, TCP View) https://technet.microsoft.com/en-us/sysinternals

PortQry http://www.microsoft.com/en-ca/download/details.aspx?id=17148

SharePoint Search Query Tool https://sp2013searchtool.codeplex.com

SharePoint Manager https://spm.codeplex.com

21

Page 22: SPS Toronto - Troubleshooting On-Premises SharePoint

GO

LD

RA

FF

LE

SIL

VE

R

PLATINUM

Page 23: SPS Toronto - Troubleshooting On-Premises SharePoint

Thank you!Toronto Enterprise Collaboration User GroupChange Management, Governance, SharePoint, Office 365, Yammer, PowerBI, etc

http://www.meetup.com/TSPBUG/Toronto SharePoint Business Users Grouphttp://www.meetup.com/TorontoSPUG/

Saturday July 9, 2016

See you next year!