feburary 2015 mnspug - administering your sharepoint environment

66
Meeting #122 http://sharepointmn.com Welcome to the Minnesota SharePoint User Group February 11 th , 2015 Administering Your SharePoint Environment Brian Caauwe Donald Donais

Upload: minnesota-sharepoint-users-group

Post on 15-Jul-2015

69 views

Category:

Technology


0 download

TRANSCRIPT

Meeting #122http://sharepointmn.com

Welcome to the

Minnesota SharePoint

User Group

February 11th, 2015

Administering Your SharePoint Environment

Brian Caauwe

Donald Donais

Meeting #122http://sharepointmn.com

Agenda

• MNSPUG Information

• What is a SharePoint Administrator?

• Core Checklist

• Application Checklist

• BREAK

• Integrations

• Patching

• Troubleshooting

Meeting #122http://sharepointmn.com

User Group Goal / Objectives

Develop and support a local community focused on

Microsoft SharePoint Technologies

• Educate user group members about SharePoint Technologies

• Transfer knowledge within the community

• Communicate best practices

• Introduce new products / solutions

Meeting #122http://sharepointmn.com

MNSPUG Sponsors

Wrox Press (www.wrox.com)

O’Reilly (www.oreilly.com)

Dedicated Sponsors

Avtex (www.avtex.com)

Microsoft (www.microsoft.com)

Annual Sponsor

Currently Looking for Sponsorships!

SharePoint User Group Support

Meeting #122http://sharepointmn.com

MN SharePoint Users Group Website

• SharePoint Resource Documents

• SharePoint Resource links

• RSS Feeds

• Meeting Schedule

• Past User Group Presentations

• Past User Group Recordings

• Sponsorship Information

• http://sharepointmn.com

• Email: [email protected]

Meeting #122http://sharepointmn.com

Social Networking

• Linked In group – The most interactive… includes job postings…

Post Job Posting on the Jobs Discussion page

http://www.linkedin.com/groups?gid=1878792

• Twitter tags - @MNSPUG and #MNSPUG

• Yammer – Minnesota SharePoint Users Group

https://www.yammer.com/mnspug/

Meeting #122http://sharepointmn.com

Upcoming Schedule

• Next Meeting

March 11th, 2015 – SharePoint Workflow and Forms

Microsoft Technology Center, Edina, MN

Check www.SharePointMN.com for updates!

• Ongoing Schedule

2nd Wednesday of every month

9:00 to 11:30 am

Microsoft Technical Center – Edina

Calling All Members!User Case Studies for April 2015

Criteria:• Solution using SharePoint

• Does Not Have to Be Large Project• Solved a Given Business Issue

Email: [email protected]

Meeting #122http://sharepointmn.com

Local and Online EventsSPChat through SharePoint Community – Online http://sharepoint-community.net/

Feb 18th – SharePoint 2013 Business Intelligence (Edwin Sarmiento)

March 4th – SharePoint On-Premises Upgrades & Migration to O365 (Knut Relbe-Moe)

Twin Cities PowerShell User Group – March 10th, 4:30 – 7:00 pm

http://www.tcposhug.com/

SharePint – February 21st, 2015 930 p.m.

http://www.meetup.com/Minnesota-SharePoint-SharePint/events/219997196/

TechFuse Conference – April 21st, 2015 in Minneapolis

http://www.techfusemn.com/Event/TechFuse/Default.aspx

Microsoft Ignite Conference – May 4th – 8th 2015 in Chicago, Illinois

http://ignite.microsoft.com/

Meeting #122http://sharepointmn.com

Evaluations & Giveaways!

Meeting #122http://sharepointmn.com

Presenter

Meeting #122http://sharepointmn.com

Brian Caauwe• SharePoint Consultant & Speaker

Email: [email protected]

Twitter: @bcaauwe

Blog: http://blog.avtex.com/author/bcaauwe

• Technical Editor

Professional SharePoint 2013 Administration

• Certifications

MCM: SharePoint Server 2010

Meeting #122http://sharepointmn.com

Poll

• SharePoint Version

2007 – WSS, MOSS

2010 – SPF, Server, FAST

2013 – SPF, Server

• Work Roles

SharePoint Administrator

SharePoint Developer

Business User

Other

Meeting #122http://sharepointmn.com

What is a SharePoint Administrator?

Meeting #122http://sharepointmn.com

What is a SharePoint Administrator?

• Governs Infrastructure

• Administers Patching

• Oversees Security

• Requires SQL

• Understands Licensing

• Maintains Backups

• SharePoint Product Expert

• Helpdesk Analyst

Meeting #122http://sharepointmn.com

What skills does a SharePoint Administrator need?

Historical

Infrastructure

SharePoint

Scripting

Security

Identity Management

Information Management

SQL

Storage

Meeting #122http://sharepointmn.com

What skills does a SharePoint Administrator need?

Future

Infrastructure

SharePoint

Scripting

Security

Identity Management

Information Management

Meeting #122http://sharepointmn.com

What does that mean for me?

Less of this

Meeting #122http://sharepointmn.com

Focus on Product Knowledge

Understand Features

• Content Management

• Search

• Managed Metadata

• User Profile

• etc.

High-level Object Model

• SPWebApplication

• SPServiceApplication

• SPServiceInstance

• SPContentDatabase

• SPSite

• SPWeb

• SPList

• SPListItem

• SPFile

Meeting #122http://sharepointmn.com

What does that mean for me?

More of this

Meeting #122http://sharepointmn.com

Reconnect with YOUR customers

Ask the tough questions

• Does the Information Architecture still make sense?

• What business solutions does your deployment solve?

• What customizations could now be done out of the box?

• Do my users “REALLY” need to use that feature / widget?

Plan for the future, not just today

Just because your CAN doesn’t mean you SHOULD

Meeting #122http://sharepointmn.com

Core Checklist

Meeting #122http://sharepointmn.com

Core Checklist - Daily

Analyze

• Memory Utilization

Available MBs

Pages / Sec

• CPU Utilization

% Processor Time

• Event Viewer

Critical

Error

Warnings

Tools

• Task Manager

• Performance Monitor

Meeting #122http://sharepointmn.com

Core Checklist - Daily

Validation

• Backups

Native Windows

SQL (Server AND Databases)

3rd Party

Meeting #122http://sharepointmn.com

Core Checklist - Weekly

Analyze

• Application Pools

Memory Usage

Recycling

• Services

Log in user

Status

• Disk Space

SharePoint

SQL

Validation

• Physical Hardware

Network(s)

Admin Access

Virtual Host Allocation

Meeting #122http://sharepointmn.com

Core Checklist - Monthly

Analyze

• Traffic

• Windows Updates

Maintain

• IIS Logs

• Event Logs

Reports

• Compile Monthly Capacity trends

• Compile Monthly Availability trends

Meeting #122http://sharepointmn.com

Core Checklist - Quarterly

Analyze

• Disk Performance

SharePoint

SQL

• Group Policy

• Security Audit

• Disaster Recovery

Maintain

• Refresh Environments

Meeting #122http://sharepointmn.com

Core Checklist - Annually

Maintain

• SSL Certificates

IIS / MMC Snap-in

Certificate Chain

Expiration Dates

• Licensing

Reports

• Provide Annual Server Availability Report

• Provide Annual Disk Capacity Report

Validation

• Disaster Recovery

Meeting #122http://sharepointmn.com

Application Checklist

Meeting #122http://sharepointmn.com

Application Checklist - Daily

Analyze

• ULS Logs

Filter High / Critical / Unexpected

Growth Patterns

Meeting #122http://sharepointmn.com

Application Checklist - Daily

Analyze

• Health Analyzer

Meeting #122http://sharepointmn.com

Application Checklist – Health Analyzer

Yammer Suggestion

• Databases require upgrade or not supported

• Databases running in compatibility range, upgrade recommended

• Databases used by SharePoint have outdated index statistics

• Distributed cache service is not enabled in this deployment

• Drives used for SQL databases are running out of free space

• Expired sessions are not being deleted from ASP.NET Session State database

• Firewall client settings on the cache host are incorrect

• One of the cache hosts in the cluster is down

• One or more servers is not responding

Health Analyzer Rule Reference

• https://technet.microsoft.com/en-us/library/ff686816.aspx

Meeting #122http://sharepointmn.com

Application Checklist - Daily

Maintain

• SharePoint Incident Management

Validation

• SharePoint Backup Process

• System Status

Sites access (multiple account roles)

Search

User Profile

Meeting #122http://sharepointmn.com

Application Checklist - Weekly

Analyze

• Search Crawl History

• User Profile Sync History

• Timer Job History

Maintain

• Frequently Asked Questions

• Governance Enforcement

• Change Management Review

• Database Maintenance

Meeting #122http://sharepointmn.com

Application Checklist - Monthly

Analyze

• Customization Deployment

• Discover Dormant Sites

• Site Collection Sizing

• SharePoint Database Growth Patterns

Validation

• SharePoint Backup Process

Reports

• SharePoint Incident Report

Meeting #122http://sharepointmn.com

Application Checklist - Quarterly

Analyze

• Capacity Planning

• Disaster Recovery

• User Maintenance

Maintain

• SharePoint Patching

Meeting #122http://sharepointmn.com

Application Checklist - Annually

Analyze

• Information Architecture Review

Maintain

• Disaster Recovery

Reports

• Provide Annual SharePoint Capacity Report

• Provide Annual Usage Report

Meeting #122http://sharepointmn.com

Break Time

Meeting #122http://sharepointmn.com

Integrations

Meeting #122http://sharepointmn.com

Integrations

Suggestion from Yammer

Office Web Apps

Workflow Manager

Meeting #122http://sharepointmn.com

Office Web Apps

SharePoint 2010

• Installed ON SharePoint Server

• Dedicated resource for SharePoint

• Services / Service Applications

Excel Service

PowerPoint Service

Word Viewing Service

• Caches information in a special site collection

/sites/Office_Viewing_Service_Cache

Meeting #122http://sharepointmn.com

Office Web Apps

SharePoint 2013

• Cannot be installed on SharePoint Server

• Shared resource for SharePoint, Exchange, Lync

• Can only be downloaded through MS Volume Licensing

• Connect through WOPI Bindings

Web Application Open Platform Interface Protocol

Use SSL Communication

Meeting #122http://sharepointmn.com

Office Web Apps

Validate Office Web Apps Farm

• Get-OfficeWebAppsFarm

Meeting #122http://sharepointmn.com

Office Web Apps

Validating SharePoint Integration

• Get-SPWOPIZone

Check what zone the FARM will connect to

• Get-SPWOPISuppressionSetting

Use to force Excel Services

• Get-SPWOPIBinding

Validate all bindings setup for SharePoint

Meeting #122http://sharepointmn.com

Office Web Apps

Ensure SharePoint can talk to Office Web Apps

• https://wopi.company.com/hosting/discovery

Meeting #122http://sharepointmn.com

Office Web Apps

Office Web Apps Communication

• End user needs to be able to communicate DIRECTLY with WOPI URL

• Office Web Apps servers need to communicate with SharePoint (Default Zone)

• Do NOT test with System Account

Cannot resolve UPN for SHAREPOINT\system

Meeting #122http://sharepointmn.com

Workflow Manager

New for SharePoint 2013

• Allows non sequential workflows in SharePoint Designer (Stages)

• New actions

Call HTTP Web Service

Looping

Start 2010 workflow

NOT Required for SharePoint 2013

• Can continue to use SharePoint 2010 workflows

MIGHT still want 2010 workflwos for SharePoint activities

Meeting #122http://sharepointmn.com

Workflow Manager

Installation

• Dedicated (installed ON SharePoint Servers)

• Shared (installed OFF SharePoint Servers)

Architecture

• 1 server vs. 3 servers

• No other REAL options

SharePoint

• Needs Workflow Client for communication

• Create Service Application Proxy

• Validate SharePoint Connection URI

• Use SSL Communication

Meeting #122http://sharepointmn.com

Patching

Meeting #122http://sharepointmn.com

Patching

Three types of “SharePoint” patches

• Quick Fix Engineering (QFE)

• Cumulative Updates (CU)

• Service Packs (SP)

Check Office Updates

• https://technet.microsoft.com/library/dn789213(v=office.14)

Don’t Forget to Patch other systems

• Office Web Apps

• Workflow Management

• SQL

Meeting #122http://sharepointmn.com

SharePoint Patching

• Everyone has their own “method”

• ALWAYS read the release notes

• Security QFE’s

Throw down ONLY if fixes a current issue

• Cumulative Updates (CU)

Uber vs. Non-Uber updates

N-1 UBER updates

• Service Packs

2 months after general availability

Meeting #122http://sharepointmn.com

SharePoint Patching Continued

2 Step Process

Install Bits

• Take server out of load balancer

• Install Patch

• Put server back into load balancer

• Rinse and Repeat for ALL SharePoint Servers

Schema Changes

• Upgrade-SPContentDatabase

Snapshot eligible (With SQL Enterprise)

• Upgrade-SPEnterpriseSearchServiceApplication

• PSConfig / PSConfigUI (SharePoint Product and Configuration Wizard)

Meeting #122http://sharepointmn.com

Office Web Apps Patching

MUCH Different Method

• 1st Server

Remove Server from Load Balancer

Remove Server from WOPI Farm

Install Bits

Create NEW WOPI Farm

Add to Load Balancer

• Remaining Servers

Remove from Load Balancer

Remove Server from OLD WOPI Farm

Install Bits

Attach to NEW WOPI Farm

Add to Load Balancer

Meeting #122http://sharepointmn.com

Workflow Manager Patching

Coordinate with SharePoint Updates

Multiple Components

• Workflow Manager

• Workflow Client

Update Workflow Activities (PowerShell)$credential = [System.Net.CredentialCache]::DefaultNetworkCredentials

$site = Get-SPSite("https://portal.company.com")

$proxy = Get-SPWorkflowServiceApplicationProxy

$svcAddress = $proxy.GetWorkflowServiceAddress($site)

Copy-SPActivitiesToWorkflowService -WorkflowServiceAddress $svcAddress -Credential $credential -Force $true

Meeting #122http://sharepointmn.com

Troubleshooting

Meeting #122http://sharepointmn.com

Troubleshooting

Feel this way often?

Meeting #122http://sharepointmn.com

Troubleshooting

Accurate Time + Correlation ID

Meeting #122http://sharepointmn.com

Correlation ID

Unique to EACH request

• Surfaced in Developer Dashboard

• Response Header SPRequestGuid

Use Fiddler

DON’T Search the internet for it

Meeting #122http://sharepointmn.com

Correlation ID Tips

Let tools help you out

• PowerShell

New-SPLogFile

• Starts a brand new log file on the single server

Merge-SPLogFile

• Compiles logs from all servers to a single file

Meeting #122http://sharepointmn.com

Correlation ID Tips

• ULS Viewer

http://www.microsoft.com/en-us/download/details.aspx?id=44020

Meeting #122http://sharepointmn.com

Troubleshooting

Suggestions from Yammer

User Information

Forms Based Authentication

Meeting #122http://sharepointmn.com

User Information

User data lives in multiple places

• Site Collection User Info List

/_layouts/15/people.aspx?MembershipGroupId=0

Object Model / PowerShell

• SPWeb.AllUsers

• User Profile Service

Daily scheduled import

Timer jobs sync to site collections

• Search Index

sps3 or sps3s protocol

Meeting #122http://sharepointmn.com

Forms Based Authentication

Configuration

• Central Administration

Authentication Provider

• Role Manager

• Membership Provider

web.config

• Locations

Central Administration

Security Token Service

Web Application

• Entries must ALL match

connectionString

applicationName

roleManager

membershipProvider

Meeting #122http://sharepointmn.com

Forms Based Authentication

Tools

• IIS

Can manage users

Configure providers and connection strings

Set providers as DEFAULT

• SharePoint 2013 FBA Pack

https://sharepoint2013fba.codeplex.com/

Meeting #122http://sharepointmn.com

Resources

• MSDN Microsoft.SharePoint Namespace

https://msdn.microsoft.com/en-

us/library/office/microsoft.sharepoint(v=office.15).aspx

• SharePoint for IT Pros

https://technet.microsoft.com/en-us/office/dn788776.aspx

• Troubleshooting SharePoint 2013

https://technet.microsoft.com/en-us/library/gg609831(v=office.15).aspx

• ULS Viewer

http://www.microsoft.com/en-us/download/details.aspx?id=44020

• SharePoint Health Analyzer rules reference (SharePoint 2013)

https://technet.microsoft.com/en-us/library/ff686816.aspx

Meeting #122http://sharepointmn.com

Resources

• Office Updates

https://technet.microsoft.com/library/dn789213(v=office.14)

• SharePoint 2013 Build Numbers

http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=346

• Apply Software Updates for Office Web Apps Server

https://technet.microsoft.com/en-us/library/jj966220.aspx

• Update Workflow in SharePoint 2013

https://technet.microsoft.com/en-us/library/dn133867(v=office.15).aspx

Meeting #122http://sharepointmn.com

Last But Not Least

• Please Fill Out Evaluations

• Drawings for Giveaways

• Online Participants Eval http://1drv.ms/1v2Ou8k

• Today’s Presenters:

• Brian Caauwe