Presentation is loading. Please wait.

Presentation is loading. Please wait.

Automating SharePoint 2013

Similar presentations


Presentation on theme: "Automating SharePoint 2013"— Presentation transcript:

1 Automating SharePoint 2013
Paul Beck Agile, devops and IaC

2 About Me Background Recent Roles: Scrum master, Agile advocate, Developer, Architect, IT Pro, Power User CoE for Pharma business (12-17 development teams) Level session Presented 9 November 2013 Accountant Programming C# 1st project - SharePoint 2003 in 2006

3 Agenda The “Last Mile Problem” CD, IaC & devops
IaC for SharePoint 2013 PowerShell, PowerCli, PowerGui, PowerXml SQL 2012 (AOAG) AutoSPInstaller SSRS Office Web Apps CI (Code Deployment) Blobs, Claims, Kemp, AvePoint & K2

4 The “Last Mile Problem”
Source: Eric Minick & Glen O'Donnell The “Last Mile Problem” Developers throw code over the fence. Ops throw it back! Agile and Scrum teams should include SharePoint Admins in the team with multiple releases (we get to Prod or UAT and guess what a developer has done something stupid)

5 CD, IaC & devops Continuous Delivery (CD) – deliver solutions faster, cheaper with less bugs using incremental changes to users. devops = Dev + operations working together to cross the boundaries and deliver! Infrastructure as Code (IaC) – Infrastructure described as code.

6 CD, IaC & devops

7 IaC for SharePoint 2013 PowerShell with xml provides the ability to describe your full SharePoint 2013 farm. VM’s (VMware, HyperV, cloud) Networking, load balancers, AD, Golden Image Tooling: Chef/Puppet TeamCity (here we go) TFS Tip: PS + xml over visual tooling Ruby

8 PowerShell, PowerCli, PowerGui & Xml
Treat Infrastructure like developers treat code – Check-in to source control (TFS) DTAP and 1-click deployment (that will cost you a few dollars) PowerCli, PowerGUI & XML to create VM’s. PowerShell Tools for Visual Studio

9 SQL 2012 HA – forget clustering and mirroring use AOAG
SSRS – SharePoint Mode IaC on codeplex: SQL FineBuild Why I wrote my own SQL IaC modules? SQL 2012 checklist Logging to TeamCity & locally (provide code for reading xml & logging) Tip: SQL Aliases Add up to 4 mirrors Synchronous mode (1GB connections and less than 10 ms latency) – asyncronis ode only supports some of the db’s 2ndaries can be used as read-only SP farms HA & DR - alternative to database mirroring and log shipping solutions.

10 SQL 2012 SQL Aliase & use dedicate SQL Server MAXDOP = 1
AOAG new HA & DR solutions, requires Full recovery model. Model DB: Increase initial size and autogrowth settings - fix growth sizes.  Model DB Full recovery model -  Content goes into .ldf file temporarily, checkpoint occurs every minute and moves from .ldf to mdf. Temp DB: Increase it's initial size  & autogrowth to MB as opposed to percent & Simple recovery model . Create multiple mdf files for temp db ½ no of cores CA or PS when creating a new content db won't take all the model settings, it does take initial sizes but not the autogrowth settings. Workaround- create the db outside of PS, get the SP collation right "Latin1_General_CI_AS_KS_WS" collation. If your SQL db uses spinning disk split the mdf and ldf files onto separate disks. tempdb must be on the fastest disk, content db log files next and content db's next. Avoid huge transaction logs.  Don’t use simple recovery model. Ldf content is not removed every 60 seconds when it is written to the mdf files. Backup – get last full backup and last differential to get you to the lasted backup version.  Or get the current ldf, restore the last full backup and play the current ldf through the db.  To slim the ldf down, after a successful full backup, can backup the transaction or or delete it to get it back to a reasonable size.

11 AutoSPInstaller Customisable repeatable documented install
Great example of IaC Other options? Version 3.87 customisations: SSRS, WCA, Claims, Search, clean-up Brian Lalancette

12 Reporting Services (SSRS)
So easy to setup and automate New Service Model Licencing? Post series and PS examples

13 Office Web Apps/WCA Separate farm Easy setup (manual or IaC)
No database Provides (Online Office document access & Search previews) Licencing SharePoint, Lync & Exchange Takeaway (IaC automation install code) Tip: Clean VM’s & SSL is encouraged

14 Code Deployment CodePlex: SharePoint PowerShell Automated Deployment
Why I wrote my own WSP, packaging SharePoint Content Deployment - Build IA tool & Odata Transformations, web.configs Code Review -eq Skill sharing -ne 1 developer show case devops

15 Blobs, Claims, Kemp, Vendors
Blob storage Tiered storage Load balancing Stretched farm SSL Acceleration/Termination Claims - ACS, Custom claims Selecting Vendors

16 Blobs, Claims, Kemp, Vendors
Blob storage Tiered storage Load balancing Stretched farm SSL Acceleration Claims - ACS, Custom claims Selecting Vendors

17 Useable Material PS to setup AOAG in SQL AutoSPInstaller SSRS for SP2013 blog series WCA scripts - Automation of Office Web App farm SQL Checklist PowerCli Reading xml & Logging locally * PowerShell Tools for Visual Studio

18 References & Contact Details
Michael Noel – AOAG for SharePoint 2013 farms Brian Lalancette Dustin Whittle Blog:

19 Thanks to our Sponsors


Download ppt "Automating SharePoint 2013"

Similar presentations


Ads by Google