session title - sharepoint saturday · pdf filesession title presenter - mr. j. rogers. about...
Post on 24-Mar-2018
224 Views
Preview:
TRANSCRIPT
Session TitlePRESENTER - MR. J. ROGERS
About me! - Mr. Rogers Jerry.Rogers@autoliv.com
SHAREPOINT 12 YEARS …
Global SharePoint Admin: Autoliv
Micron
Department of Health
Homeland Security
Consultant: State of Oregon
BYUI
Zappos Inc.
LIFE BEFORE SHAREPOINT
Professional Certifications
A+ - Computer Repair Professional, Comp/TIA (Served on the Comp TIA board to develop this Certification) 1994 with American Institute
Net+ - Network Support Professional Comp/TIA MCSA - Microsoft Certified Network Admin. MCSE - Microsoft Engineer CCNA - Cisco Certified CTT - Certified Technical Trainer MCT - Microsoft Certified Trainer MCST – SharePoint Server
Does Dealing with SharePoint make you feel like Dr. Gregory in House?
SharePoint is…- Complex
- VAST in Depth and Breadth
- Has Significant Dependencies and Support Sub Systems
- Many people can be playing within your Farm …
…but, with What Governance?
- Influenced by divers Factors!
What, and then Who is SharePoint Platform Dependent on?
How to Troubleshoot Depends some on your Support Teams?
“Does it originate from SharePoint” or NOT
Windows Services
Databases - SQLStorage
MessagingMT-Groups
Service Desk
SharePointAgain?
Business Intelligence
“How often does SharePoint Get the Blame?”
Troubleshooting Inside your Team may Include Different Levels!“Working with Levels of Support to Leverage Everyone”
8
Roles
Farm Architects, Developers
Farm Administrator
Site Collection Administrator
Site Administrator
Functional Owner
Tasks
Server – Platform
Application Development
Central Admin
(Multiple Organizations) - Sites
Organization Wide
Department Sites – Page Designer
Web-Part, List or Document Library
It is Necessary to Understand and Document your Systems?“What Type of Ticket Incident and Change Management System do you use?“
9
So How do you Cure the Patient?
SharePoint Farm Troubleshooting Guide
Forth, IDENTIFY THE PROBLEM AREA OR ROOT CAUSE(S)
The challenge is to ensure that you have thorough and accurate information about the problem and the symptoms that it causes. To do this, you can start by answering some basic questions: What area is impacted that is causing the issue(s)?
Performance
Slow Load (Page Refresh)
Intermittent Access (Web Front End failure?)
Code- Server Resources
Disk – Database Queuing
Network Infrastructure
Network Gateways and paths available
Routers routing data
VLANS Configured
Firewalls are configured correctly
Server Hosting (VM) and Storage
Server Firewall - Anti-Virus
VM Session, Resources Allocated,
Host file Pointers
Active Directory – Accounts - Permissions
Right Account, Correct Group, Right Access, Accurate Rights
Database
Access and Connectivity
Permissions
Performance
Locks and Logs
SharePoint Environment
If dependent on a service, is the service running?
If dependent on a site collection, or site feature, is it enabled?
Are all applications pools Active?
Is the Secure Store Service provisioned and running?
Is the Claims to Windows Token Service (C2WTS) running?
Did you set up any required Accounts for Services - SQL Access?
Are any service applications associated with a proxy group?
Have you checked the Windows application event log?
Have you enabled trace logging and checked the ULS?
Have you tried flushing out server-side caches (iisreset /noforce)?
Fifth, FIND THE CURE, TEST - IMPLEMENT THE SOLUTION
The idea behind this SharePoint troubleshooting approach is that somewhere along your path through it you will come across a possible resolution for your issue, or even several if you’re lucky. During the resolution phase, the steps below are taken to enable recovery will vary based on the type of issue. The procedures for each recovery scenario are summarized below. 1. Document/Item deleted or corrupted
a. Check recycle bin or version history b. Backup agent recovery c. Full content database restore / QA
2. Master Page / Page layouts a. Delete not allowed b. Updates only by SharePoint admin c. Backup agent recovery d. Full content database restore / QA
3. List/Library deleted or corrupted a. Check recycle bin b. Backup agent recovery c. Full content database restore / QA
4. Page deleted or corrupted a. Check recycle bin or version history b. Backup agent recovery c. Full content database restore / QA
5. Sub-site deleted or corrupted a. Check recycle bin b. Backup agent recovery c. Full content database restore / QA
6. Site Collection deleted or corrupted a. Backup agent recovery b. Full content database restore / QA
7. Sandbox solution corrupted or deleted a. Retrieve from development
8. Farm solution corrupted or deleted a. Retrieve from development
9. Content database corrupted or deleted a. Database admin must restore b. Log Shipping configured by db admin c. Backup agent recovery d. Full content database restore / QA
10. Web Application corrupted or deleted a. Backup agent recovery b. Delete web app
i. exclude content delete ii. delete IIS web site
c. Rebuild Web App d. Re-Attach Content Databases e. Restore Web.Config f. Possible PowerShell recovery Automated Script Scanning
web apps spit out file 11. Other Service corrupted or down unrecoverable
a. Backup agent recovery b. Recreate service c. Re-apply any changes applied in other farms
12. UPS Service (TBD) a. Sync
i. Backup agent recovery ii. Recreate service
iii. Re-apply any changes applied in other farms b. Profile
c. My Site 13. Meta Data Service
a. Backup agent recovery b. Recreate service c. Connect to MMD database
14. Search Service (TBD) a. TBD b. Indexes corrupt
i. Reset all indexes ii. Re-crawl
15. Web Front End Server Down unrecoverable a. Remove node from F5 b. Re-Build SharePoint same as other servers in farm including
i. Solutions ii. IIS configurations
iii. Windows updates c. Join to farm d. Complete required configurations
i. Search indexes need to be recovered TBD e. Add node back to F5
16. Application Server down unrecoverable a. Remove node from F5 b. Re-Build SharePoint same as other servers in farm including
i. Solutions ii. IIS configurations
iii. Windows updates c. Provision central admin d. Join to farm e. Complete required configurations f. Restore services g. Add node back to F5
17. Critical High Availability Sites a. 6 hour restore from different farm b. Standby copy available in disaster scenario
18. Farm configuration corrupted a. Rebuild if possible b. If more than 72 hours Failover to DR environment
19. Full Farm disaster a. Bring up DR environment within 8 hours b. Provision Backup c. Re-Allocate VM Resources if available d. DNS configuration / propagation e. Failback when available
20. Network Failure a. Contact Network Team
21. Database Server Failure a. Bring down servers b. Contact DB Team
22. VM Host Failure a. Contact Server Team
Sixth, COLLECT FEEDBACK FOR LESSONS LEARNED”
SHARE WITH TEAM
Even once you know your solution, you need to know what caused your issue. Was it normal growth of your farm, or a patch rollout that wasn’t fully tested? What needs to change to make sure it doesn’t happen again? Don’t let yourself make the same mistake twice. Document your findings and update your KB and wiki. Share your knowledge with teammates so others know what happened and how it was resolved. You should also review the issue to determine how you can tackle similar problems effectively in the future if they happen.
What are the Tools we Use to Diagnose and Understand Root Cause?
ULS Viewer Download link: http://archive.msdn.microsoft.com/ULSViewer
ULS viewer allows you to view the SharePoint logs in real time, or from the log files.
ULS Log Merge PowerShell Technique - Pulls errors from all Server(s) Logs
Merge-SPLogFile -Path D:\SharePoint\Logs\ULSError.log -Overwrite -StartTime "01/13/2015 10:00" -EndTime
"01/13/2015 04:00" -Correlation "1a23df9c-5fb8-d082-9c05-7488c2e58466"
Example of ULS Log
•Key Features:View multiple SharePoint log
files at once•Search by any field•Filter the log by any field•File drag & drop support•Live monitoring for entire farm•Export filtered log entries•Bookmark log entries•Get popup notification of
SharePoint log events from
system tray•Receive email notifications on
errors•Redirect log entries to event
log•Supports SharePoint 2007,
2010 and 2013
Ticket - 748546 - Cannot Create New Item
Site: http://lifenet.alv.autoliv.int/compliance/Lists/Conflict%20of%20Interest%20disclosure/AllItems.aspx
Key Messages from ULS Logs
Key Messages from ULS Logs
cannot change formcontext.formmode to [invalid] because it is already set to [new]
Data adapter failed during OnLoad: The remote server returned an error: (401) Unauthorized
The following Query failed: GetUserProfileByName…………..
Cause:
You have a Microsoft InfoPath 2010 form template that has a data connection to a Web
service. When you connect to the Web service, you encounter one of the following issues:
The data that is returned by the Web service is incorrect.
You receive the following error message:
An error occurred accessing a data source.
An entry has been added to the Windows event log of the server.
Log ID:5566
These issues occur when the following conditions are true:
The Web service uses the identity of the user who fills out the form
Other ToolsRemote Desktop Manager http://remotedesktopmanager.com F12 Developer Tools
More ToolsSQL LOGSSQL server logs are mainly used to check for connectivity and permission errors. SQL Server Logs are also good to check and make sure your maintenance plan backups are running properly. The logs are displayed in plain text inside SQL Server Management Studio (SSMS). SQL will store 6 logs by default and this can be configure to store up to 99 depending on your needs.
1.Login to your SQL server2.Open SQL Server Management Studio3.Select Management4.Select SQL Server Logs5.Right Select SQL Server Logs6.Select Configure7.Limit the number of logs as needed
More ToolsFiddler2 fiddler@telerik.com
http://www.httpwatch.com/
Central Admin Health Monitoring
System Center Management (SCOM) Monitoring
Troubleshooting by Editing the URLThe beginning of the URL indicates the Web Application. Such as: http://intranet.contoso.com
Append the URL:
Commonly used settings pages for Admins (Assumes you have SCA or Admin Rights) If there is more than one for an action it will be based on the version of SharePoint (I haven’t fine-tuned it yet!)
General Admin
Site Settings /_layouts/settings.aspx
Site Settings /_layouts/1033/default.aspx
Site Settings /_layouts/1033/settings.aspx
Top-level Site Administration /_layouts/1033/webadmin.aspx
Documents and Lists /_layouts/1033/viewlsts.aspx
Sign in as Different User _layouts/closeConnection.aspx?loginasanotheruser=true_layouts/settings.aspx
Save Site as a Template /_layouts/savetmpl.aspx
Create a new –Sub-site /_layouts/15/newsbweb.aspx
Site Collection Administrators /_layouts/15/mngsiteadmin.aspx
Sites and Workspaces /_layouts/mngsubwebs.aspx
Site Directory _layouts/SiteDirectorySettings.aspx
Site Contents /_layouts/viewlsts.aspx
Site Content Types /_layouts/mngctype.aspx
Recycle Bin /_layouts/AdminRecycleBin.aspx
Navigation /_layouts/AreaNavigationSettings.aspx
For when “Save site as a template” or other menu option disappears
Commands Used
ArpFingerHostnameIpconfigPathpingPingNbtstatNetNetstatNslookupRouteTracert and TracerouteWhoisWinipcfg
http://www.computerhope.com/issues/ch000444.htm https://technet.microsoft.com/en-us/library/ff678226.aspx
Attributes of a Great Troubleshooter
PERSONAL ATTRIBUTES
A Working Methodology
Patience and Persistence
Communications (Email/IM/Verbal)
Assertive Team Collaboration
Documentation
Detail Oriented, Ability to Research
Ability to: Assess, Diagnose, Plan, Implement, Evaluate (AD-PIE)
SKILLS AND COMPENTENCY (EXPERIENCE)
SharePoint (Power User, Site Admin)
Farm – Server Administrator (PowerShell, Central Admin, Remote Desktop, IIS, ULS Logs, SQL Admin, Browsers)
Farm Services: (User Profile (UPS), Search, Excel, InfoPath)
Software Dev. Knowledge and Skill (CSS, HTML)
Load Balancer (LAN/WAN Infrastructure – DNS)
Database (Connectivity, Firewall, Authentication)
Account Management (Permissions) (Active Directory) Sync with UPS
Additional ResourcesPowerShell: for 2013: https://technet.microsoft.com/en-us/library/ee890108.aspx
Claims Based Authenticationhttps://technet.microsoft.com/en-us/library/hh487289(v=office.14).aspx
SharePoint Videos…comhttp://sharepoint-videos.com/
Configure diagnostic logging https://technet.microsoft.com/en-us/library/ee748656.aspx
Monitoring and Troubleshooting (Workflows)https://technet.microsoft.com/en-us/library/gg684261(v=office.14).aspx#personas
Other Troubleshooting Videos https://www.youtube.com/watch?v=HZzC9mAP-mg
https://www.youtube.com/watch?v=lDmJ89ZXRwI
https://www.youtube.com/watch?v=IZqdabJcxm4
USER GROUP CONTACTS:• @SharePointUtah
• www.facebook.com/UtahSharePointUsersGroup
• www.UTSharePoint.com
Questions?
28
Please join us for SharePint!
SharePint will be held at Red Rock Brewing, 254 South 200 West, Salt Lake City, following the prize raffle
top related