everybody lies: troubleshooting sharepoint with house m.d. - spstc fall 2012

33
SharePoint Saturday Twin Cities Fall November 3, 2012 Everybody Lies Troubleshooting SharePoint with House M.D. John L. Ferringer

Upload: john-ferringer

Post on 13-Dec-2014

206 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

SharePoint Saturday Twin Cities Fall

November 3, 2012

Everybody Lies Troubleshooting SharePoint

with House M.D.

John L. Ferringer

Page 2: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

About me

• Senior Manager, Sogeti

• My blog: http://www.MyCentralAdmin.com

• Twitter: @ferringer

Page 3: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012
Page 4: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Who is Dr. Gregory House?

• A diagnostician

• An arrogant jerk

• A cynic

• An observer

Page 5: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

What’s House got to do with SharePoint?

• We often have to diagnose (troubleshoot)

• Dealing with SharePoint can make you a

jerk

• Dealing with SharePoint will definitely

make you a cynic

• The more you observe, the better you

diagnose

(just kidding)

Page 6: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Does SharePoint make you feel like House?

Page 7: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

SharePoint is….

• Complex

• Vast in depth and breadth

• Made up of many subsystems

• Influenced by many outside factors

• Every farm and use case is unique

• …

• Just like the human body

Page 8: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

How does House cure his patients?

• Understand the Issue

• Determine the Root Cause

• Finding a Cure

• Move Forward

Why not do the same with SharePoint?

Page 9: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Before we start, let’s keep this in mind…

Page 10: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

UNDERSTAND THE ISSUE

Page 11: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Identify the Problem

• You can’t cure anything if you don’t know

what’s wrong

• Interview the patient

• You also have to ask the right questions

– What is the error?

– How is it happening?

– Who is seeing the error?

– When does it occur?

– What else do we know about the error?

Page 12: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

SharePoint 2010’s Correlation ID

• Your users may see it

• You may see it

• It’s a GUID

• It is actually helpful

Page 13: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Let’s get REAL for a minute

• SharePoint 2010 farm

• 1 Web Server, 1 App Server, 1 SQL Server

• Visual Studio on the Web Server

Page 14: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Review the Patient History

• What has the patient done to get here?

• What is their environment?

• What happened before the error?

• What was happening during the error?

• How was SharePoint performing?

• Do you have Change Management?

Page 15: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Know Your Logs!

• They record what’s going on

• Which logs?

– Windows Event, ULS, IIS

– Keep in mind other sources: SQL, DCs, etc

• Know your tools!

– ULS Viewer

– Log Parser

– PAL

– Just to name a few

Page 16: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Why do we care about Change?

• You have to know

what you have!

• How has it changed?

• When were they made?

Page 17: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Back to Reality

Page 18: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

DETERMINE THE ROOT CAUSE

Page 19: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Rule Out the Obvious

• Understand what you know

• Every problem is unique

• But, someone’s probably seen it before…

• So check your sources:

– Internal

– External: Google it!

• But be careful…

(with Bing!)

Page 20: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Remember…

• Know your sources

– Who wrote it?

– Are they credible?

• Read the entire post!

– Everything!

– All the comments too

• Was there a follow up post?

• Validate the information

Page 21: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Meanwhile, back at the Hall of Justice…

Page 22: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Talk to the team

Page 23: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

What Doesn’t Fit?

Page 24: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

It’s all about me, right?

• Remember the database errors?

• Here, have some SA rights…

• No thank you.

Page 25: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Get a Different Perspective

Page 26: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

In the Real World, who do I turn to?

Page 27: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

FINDING A CURE

Page 28: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Review Possible Treatments

• Reproduce the issue

• Test it!

• Understand

the treatment

• Always read the label

Page 29: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Back to John’s problem…

Treatments:

• Sysadmin rights in the database

–Oh heck no!

• Local development environment

– Not possible

• Proper rights in the database

– Now we’re talking…

Page 30: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Fully Understand the Cause

Page 31: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Fully Understand the Remedy

Page 32: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

MOVING FORWARD HTTP://TINYURL.COM/SPTROUBLE

Page 33: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012

Questions…