automating sharepoint 2013 agile, devops and iac paul beck

Post on 25-Dec-2015

219 Views

Category:

Documents

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

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

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

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

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.

CD, IaC & devops

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

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

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

SQL 2012

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

SSRS, WCA, Claims, Search, clean-up

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

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

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

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

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

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

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

• Twitter: @paulbeck1• Email: paul.beck@beckhome.co.uk• Blog: http://blog.sharepointsite.co.uk

Thanks to our

Sponsors

top related