case study: ebsco executes data-driven deployments in ca release automation for diverse software...
TRANSCRIPT
World®’16
CaseStudy:EBSCOExecutesData-DrivenDeploymentsinCAReleaseAutomationforDiverseSoftwareInstallationTechnologiesMarkLynch- Developer,PlatformEngineering- EBSCOInformationServices@makwise |#CAWorld |[email protected]
DO5X23S
DEVOPS
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.
Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.
ForInformationalPurposesOnlyTermsofthisPresentation
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
EBSCOInformationServicesisadivisionofEBSCOIndustriesInc.,themarketleaderprovidinglibraryresourcesinacademic,medical,library,law,corporateandgovernmentmarkets.Theyhadhundredsofdiverseapplicationdeploymentprocessesthattheywantedtofitintostandardizeddeploymentpipelinesandprovidemanagementinsightintopipelinestatus,success/failureratesandvelocity.Inaddition,theywantedtobeabletodothiswithouteveryonehavingdeepexpertiseintothereleaseautomationtool.ThissessionwillcoverhowCAReleaseAutomationprovidedtheframeworkforEBSCOtodevelopadata-drivendeploymentapproachthatmadeiteasytoleveragetheexistingskillsoftheiroperationsengineersandtobringmanyoftheirexistingdeploymentprocessesonboard.EBSCOwilloutlinetheessenceoftheircomponentialapproachfordeploymentsandthestep-by-stepprocessesthattranspireduringdeployments.Ultimately,EBSCOhasbeenabletocapturebetterdataondeployments,targetautomationeffortsmoreeffectivelyandmoreeasilyintegratenewautomationwithsimpleupdatestothedeploymentprocess.
MarkLynchEBSCOInformationServicesDeveloper,PlatformEngineering
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
INTRODUCTION
DEPLOYMENTDIVERSITY
Q&A
DATA-DRIVENAPPROACH
WHAT’STHEDATADRIVING?
WHAT’SNEXT
1
2
3
4
5
6
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
IntroductionEBSCOInformationServices
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
OrganizationalTrajectory
SilosandWaterfall
Silos.SomeWaterfall.SomeAgile.
LeanandScaledAgileFramework(SAFe) WATERFALLTOSAFe
7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ContinuousDeliveryasPartofSAFe 4.0
IT’SHARDTOBELEANANDSAFe WITHOUTCD
StandardizationofdeploymentsacrosstheSDLC
Enterpriselevelviewsintostatusofdeployments
No-touchautomateddeployments
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ENTERCAReleaseAutomation§ Standarddeploymentworkflows§ End-to-endpipelineviewofdeployments§ Governanceandcontrols§ Full,zero-touchautomation
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
TheChallengeFromManagement
§ BringexistingapplicationdeploymentsintoCAReleaseAutomationwithminimalre-engineering
§ Acceptthatexistingdeploymentsarelargelymanual
§ Generatedatatoidentifyhighvalueautomationtargets
§ EmpowerDevelopersandDevOpsEngineerstoautomateiteratively
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
OurTask
APLATFORMFORTRANSITIONINGTOCONTINUOUSDELIVERY
Beginstandardizationbygettingalldeployments“into”CAReleaseAutomation
Gatherdeploymentdatainamoresystematicmannerthanpreviously
Identifyhighvaluetargetsfordeploymentautomationusinggathereddata
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DiversityofDeployments
§ Proliferationofinstallationtechnologiesandprocesses
§ Evolutionoftechnologies
CHALLENGESOFLONGTERMGROWTH
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhyaData-DrivenApproach?
EMPOWERMENT
MinimalsetofCAReleaseAutomationtemplatestosupportandmaintainformanydifferentapplication
deployments
ShallowCAReleaseAutomationlearningcurveforDevelopersandDevOpsEngineers
DevelopersandDevOpsEngineersempoweredtoautomateusing
existingskills
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
HowDidWeAccomplishOurData-DrivenApproach
§ Firstdeploymentarchitecture:SingleServer
§ 2CAReleaseAutomationtemplates– 1fordeploymenttoLinuxservers– 1fordeploymenttoWindowsservers
§ 1DeploymentZipfileperapplication
XMLANDWRAPPERSCRIPTS
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
What’saDeploymentZipFile?
ASINGLEINPUTTODEPLOYMENTPLANCREATION
Installersdirectory
Wrappersdirectory
Deployment.xmlfile
16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Deployment.xmlFile
17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DeploymentPlanCreation
Choosetemplate(1of2options)tocreatedeploymentplanfrom
WhenpromptedbyCARAenterURLtopublisheddeployment.zip file
Rundeploymentto“first”targetenvironment
NEWDEPLOYMENTPLANFOREACHAPPLICATION
VERSIONDEPLOYEDWITHCARELEASEAUTOMATION
1
2
3
20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DeploymentPlanCreation
CHOOSETHEAPPROPRIATETEMPLATE
21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DeploymentPlanCreation
ENTERURLTOPUBLISHEDDEPLOYMENTZIPFILE
22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DeploymentCreation
CREATEDEPLOYMENTFORFIRSTTARGETENVIRONMENT
23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RunDeployment
ENTERURLTOPUBLISHED
DEPLOYMENTZIPFILE
24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
IterativeAutomation
§ helloworld_2.0.6.xml
§ Installers– installer.ps1
§ Wrappers– Hello.ps1– Goodbye.ps1– OneTimePreTasks.ps1– OneTimePostTasks.ps1
TargetAutomationEffortsandIterate
25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SoWhat’stheDataDriving?
CARELEASEAUTOMATIONDISTRIBUTES.WEUNPACK.
26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SoWhat’stheDataDriving?
THENWEREADANDACT
27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SoWhat’stheDataDriving?
THAT’SABOUTITFOR“ONCEPERENVIRONMENT”
STEPS
28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SoWhat’stheDataDriving?
ALITTLEMORETOTHE“PERDEPLOYMENTMACHINE”STEP
29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ContinuousSearchforthe‘Next’Automation
AutomatecreationofCAReleaseAutomationenvironments1
2
3
4
HookintoCItoautomaticallycreatedeploymentplansanddeployto“first”environment
CreateCAReleaseAutomationapplicationandtemplatesformulti-tieredapplicationdeployments
CreateCAReleaseAutomationapplicationandtemplatesforblue/greendeployments
30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Experiencesü Itwasnecessarytobuild
errorhandlingintoCARAflows.
ü ItwasnecessarytobuildinretrylogicaroundRESTcallactions.
ü Somehandholdingearlyonhelpsalotwithadoption.
KeyTopicsü Deployment
StandardizationGoal.ü CurrentDeployment
Diversity.ü EmpoweringUsers.
Findingsü DefiningData-Driven
Contractwaseasy.ü “Programming”CARA
interactionswith3rd partysystemswashard.
ü UsersgraspedrelationshipbetweenconceptsofData-DrivenapproachandDeploymentZipfileeasily.
SummaryAFewWordstoReview
31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Questions?
32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RecommendedSessions
SESSION# TITLE DATE/TIME
DO5T14SAnalystKeynote:ContinuousDelivery:MakingDevOpsAwesome
11/17/2016at10:30am
DO5T20TFromAgiletoAutomation—MakingtheMostofFeedbackLoopsfromDevelopmenttoProduction
11/17/2016at11:30am
DO5T19SGMFinancialBuildsaSustainable,Holistic,ContinuousDeliveryPractice
11/17/2016at04:30pm
33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MustSeeDemos
ModernizeAppDeliveryIntegratedCDTheater5- DOV501P
DeliverTestDataFasterTestDataManagerTheater5- DOV511P
DeliverBetterAppsServiceVirtualizationTheater5- DOV507P
OrchestrateYourReleaseReleaseAutomationTheater5- DOV513P
34 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ThankYou!
Stayconnectedatcommunities.ca.com
35 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DevOps– ContinuousDelivery
FormoreinformationonDevOps– ContinuousDelivery,pleasevisit:http://cainc.to/PiTFpu