Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Bi DevOps

512 views

Published on

My slides for the BI DevOps session at SqlNexus 2017

  • Be the first to comment

  • Be the first to like this

Bi DevOps

  1. 1. BI DEVOPS Jens Vestergaard, CatMan®Solution Fair Warning: Slight overlap w/: Agile BI from the cloud with Team Foundation Services by Sander Hoeff from yesterday More detail on SSAS Tab: Analysis Services in times of Continuous Integration – How to keep up with modern standards by Gabi Münster later today
  2. 2. THANKS TO ALL SPONSORS! EXPO SPONSORS EXPO LIGHT SPONSORS EVENT SPONSORS
  3. 3. MEET ME AT THE COMMUNITY ZONE • After this session, you can speak with me in the Community Zone • WE MIGHT • Discuss additional questions • Review parts of my session in more detail • Network • Take selfies… 
  4. 4. AGENDA Process •Five steps to Nirvana MS Tools – GOTCHA’s •Integration Services •Analysis Services •Reporting Services •SQL Relational Engine •MSTest Brief Tour MS Tools Tools in General •Git •Octopus •Pester •Team City •… Wrap-up – 5 mins.Questions
  5. 5. ABOUT.ME/JENSVESTERGAARD Jens Vestergaard CatMan®Solution @vestergaardj t-sql.dk jv@t-sql.dk powerbi.dk
  6. 6. TEMPERATURE OF AUDIENCE • How many are using some kind of code repository? • How many are building (any solution) on check-in? • How many are testing automatically? • How many are deploying automatically into production?
  7. 7. PROCESS
  8. 8. TO DEVOPS AND BEYOND Manual Deployment Continuous Integration Continuous Delivery DevOps Operability?
  9. 9. MANUAL DEPLOYMENT Leads to Fear Anger Hate Suffering
  10. 10. TO DEVOPS AND BEYOND Manual Deployment Continuous Integration Continuous Delivery DevOps Operability?
  11. 11. CONTINUOUS INTEGRATION Single Code Repository Automate Builds Every Commit to baseline is built Keep Build fast Automate Deployment Test in a clone environment
  12. 12. TO DEVOPS AND BEYOND Manual Deployment Continuous Integration Continuous Delivery DevOps Operability?
  13. 13. CONTINUOUS DELIVERY As Continuous Integration + Automatic Deploy to Production • Delivery Team • Version Control • Build & Unit Test • Automated Acceptance Tests • User Acceptance Tests • Release
  14. 14. TO DEVOPS AND BEYOND Manual Deployment Continuous Integration Continuous Delivery DevOps Operability?
  15. 15. DEVOPSContinuos Business Planning Collaborative Development Continuos Testing Continuos Release & Deployment Continuos Monitoring Feedback & Optimization
  16. 16. TO DEVOPS AND BEYOND Manual Deployment Continuous Integration Continuous Delivery DevOps Operability?
  17. 17. OPERABILITY Pace of Features Reliability & Uptime
  18. 18. DEVOPS AS A CULT Development Operations Development OperationsDevOps
  19. 19. DEVOPS AS PHILOSOPHY DevOps
  20. 20. STATE OF MIND Prioritisation of operational requirements Automated infrastructure Deployment health checks Pervasive telemetry Failure injection Incident swarming Blameless post-mortems Shared on-call responsibilities
  21. 21. STATE OF MIND By removing Blame, you remove Fear; By removing Fear, you enable Honesty; and Honesty enables Prevention. Bethany Macri, Etsy; Creator of Morgue tool https://github.com/etsy/morgue
  22. 22. MS TOOLS
  23. 23. VISUAL STUDIO ONLINE (VSO)
  24. 24. PROCESS FEATURES IN VSO Assign Approvers Deployment Conditions Clone Environments Define Triggers Retention Policies Keep Track of History …
  25. 25. THREE STEPS TO SUCCESS Install and Configure a Hosted Build Agent Create a Build Definition Locally Setup a Visual Studio Online Release Prerequisites: • TFS License (hosted build agents are ~ $15 – source) • Visual Studio Online Subscription (free) • Visual Studio Data Tools (free)
  26. 26. $$$ Users Build
  27. 27. POWER BI • https://powerbi.microsoft.com/en- us/documentation/powerbi-content- pack-visual-studio/
  28. 28. INTEGRATION SERVICES • EncryptSensitiveWithPassword or EncryptAllWithPassword • SSISDB • Environments • BIML • DTEXEC/ISDeploymentWizard.exe vs MSBuild • http://sqlsrvintegrationsrv.codeplex.com/
  29. 29. ANALYSIS SERVICES • Gabi Münster – Particularly on Tabular - 02:45pm - 03:45pm • Analysis Services in times of Continuous Integration • SSAS (both MD & Tab) • Create Artifact via Codeplex (.asdatabase) • Deploy to Processing/Staging Server • Synchronize to UAT/Test/Production • Five (5) ways of deploying SSAS • XMLA*, Synchronize, Backup/Restore, AMO* & Wizard*
  30. 30. DEPLOYMENT WIZARD Microsoft.AnalysisServices.Deployment.exe • Answer File Mode • Generates • .deploymentoptions • .deploymenttarget • assecurityinformation • .configsettings • Silent Mode • Runs the deployment silently • Output Mode • Generate xmla
  31. 31. REPOTING SERVICES • Report Manager • Stand Alone • PowerShell / C# • Deploy / Upload Reports • Sharepoint Integrated Mode • PowerShell • Deploy / Upload Reports • PowerShell • Registering Data Sources • PowerShell • Re-link to Shared Datasets
  32. 32. DATA WAREHOUSE • SQL Server Data Tools Project • DAC publish & SQL Package.exe • Natively Supported in VSO
  33. 33. MSTEST pushd "$env:VS140COMNTOOLS" cmd /c "vsvars32.bat&set" | foreach { if ($_ -match "=") { $v = $_.split("="); set-item -force -path "ENV:$($v[0])" -value "$($v[1])" } } popd write-host "`nVisual Studio 2015 Command Prompt variables set." -ForegroundColor Yellow $TestResultStamp = Get-Date -Format yyyyMMdd-HHmmss mstest /TestContainer:C:SSASScriptsCMS_UnitTests.dll /ResultsFile:C:SSASScriptsOutputCMS_UnitTests_$TestResultStamp.trx
  34. 34. DEMO – VSO & TEST
  35. 35. OTHER TOOLS
  36. 36. OTHER TOOLS •Code Repository •http://github.com/ GITHUB •Parallel Application Distribution, Env. Specific Conf. •https://octopus.com/ OCTOPUS DEPLOY •BDD - Behaviour Drive Testing •https://github.com/pester/Pester PESTER (PS) •Build Automation (now with less XML) •https://github.com/psake/psake PSAKE •Continuous Integration Out-of-the-Box •https://www.jetbrains.com/teamcity/ TEAM CITY •Test Framework •http://www.nbi.io/ NBi (NUnit) •Data Warehouse Deployment •http://www.dimodelo.com DIMODELO •Infrastructure •https://www.chef.io/chef/ Chef •Build, Test & Deploy •https://jenkins.io Jenkins
  37. 37. PLEASE EVALUATE ALL SESSIONS! http://speakerscore.com/NEX17

×