automating sharepoint 2013 agile, devops and iac paul beck

19
AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

Upload: earl-jones

Post on 25-Dec-2015

219 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

AUTOMATING SHAREPOINT 2013

Agile, devops and IaC

Paul Beck

Page 2: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

About Me• Background• Recent Roles: Scrum master, Agile advocate, Developer,

Architect, IT Pro, Power User• CoE for Pharma business (12-17 development teams)• Level 100-200 session

Presented 9 November 2013

Page 3: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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

Page 4: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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

Source: Eric Minick & Glen O'Donnell

Page 5: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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.

Page 6: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

CD, IaC & devops

Page 7: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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:

1. Chef/Puppet

2. TeamCity (here we go)

3. TFS

Tip: PS + xml over visual tooling

Page 8: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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

Page 9: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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

Page 10: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

SQL 2012

Page 11: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

AutoSPInstaller• Customisable repeatable documented install• Great example of IaC• Other options?• Version 3.87 customisations:

SSRS, WCA, Claims, Search, clean-up

Page 12: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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

Page 13: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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

Page 14: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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

Page 15: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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

Page 16: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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

Page 17: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

Useable Material• PS to setup AOAG in SQL 2012 http://

www.radimaging.co.uk/Documents/AGDBs.zip• AutoSPInstaller • SSRS for SP2013 blog series http://blog.sharepointsite.co.uk/search/label/SSRS• WCA scripts - Automation of Office Web App farm

http://blog.sharepointsite.co.uk/2013/10/autowcainstalller-create-office-web-app.html• SQL Checklist

http://blog.sharepointsite.co.uk/2013/10/sql-server-2012-for-sharepoint-2013.html• PowerCli

http://blog.sharepointsite.co.uk/2012/12/setting-up-vms-vmware-esx5.html• Reading xml & Logging locally *• PowerShell Tools for Visual Studio

Page 18: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

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

• Twitter: @paulbeck1• Email: [email protected]• Blog: http://blog.sharepointsite.co.uk

Page 19: AUTOMATING SHAREPOINT 2013 Agile, devops and IaC Paul Beck

Thanks to our

Sponsors