Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012
-
Upload
john-ferringer -
Category
Technology
-
view
205 -
download
2
description
Transcript of Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012
![Page 1: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/1.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/2.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/3.jpg)
![Page 4: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/4.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/5.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/6.jpg)
Does SharePoint make you feel like House?
![Page 7: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/7.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/8.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/9.jpg)
Before we start, let’s keep this in mind…
![Page 10: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/10.jpg)
UNDERSTAND THE ISSUE
![Page 11: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/11.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/12.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/13.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/14.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/15.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/16.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/17.jpg)
Back to Reality
![Page 18: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/18.jpg)
DETERMINE THE ROOT CAUSE
![Page 19: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/19.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/20.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/21.jpg)
Meanwhile, back at the Hall of Justice…
![Page 22: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/22.jpg)
Talk to the team
![Page 23: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/23.jpg)
What Doesn’t Fit?
![Page 24: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/24.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/25.jpg)
Get a Different Perspective
![Page 26: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/26.jpg)
In the Real World, who do I turn to?
![Page 27: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/27.jpg)
FINDING A CURE
![Page 28: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/28.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/29.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/30.jpg)
Fully Understand the Cause
![Page 31: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/31.jpg)
Fully Understand the Remedy
![Page 32: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/32.jpg)
MOVING FORWARD HTTP://TINYURL.COM/SPTROUBLE
![Page 33: Everybody lies: Troubleshooting SharePoint with House M.D. - SPSTC fall 2012](https://reader030.fdocuments.in/reader030/viewer/2022020217/54918584b4795927058b5586/html5/thumbnails/33.jpg)
Questions…