48
World ® ’1 6 Become a Power User of CA Release Automation to Get the Most out of Your Implementation David Fisher - Principal Consultant - CA Technologies @DaveAtCA @CAWorld #CAWorld DO5X18E DEVOPS

Pre-Con Ed: Become a Power User of CA Release Automation to Get the Most out of Your Implementation

Embed Size (px)

Citation preview

World®’16

BecomeaPowerUserofCAReleaseAutomationtoGettheMostoutofYourImplementationDavidFisher- PrincipalConsultant- CATechnologies@DaveAtCA@CAWorld#CAWorld

DO5X18E

DEVOPS

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

BecomeaPowerUserofCAReleaseAutomationtoGettheMostoutofYourImplementation.

ThissessionprovidesanoverviewanddemonstrationoffourkeyfeaturesinReleaseAutomation:Artifact-drivenDeployments,SharedComponents,Environments,andEnvironmentTokens.

ThesefeaturesenableyoutomatureandoptimizeyourContinuousDeliverypractices.

Foreachfeatureweprovideadefinition,thebenefits,howitisusedandbestpractices.

DavidFisher

CATechnologiesPrincipalConsultant

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

AgendaINTRODUCTION

CA’SCONTINUOUSDELIVERYPORTFOLIO

EMPLOYINGENVIRONMENTTOKENS

ENABLINGARTIFACT-DRIVENDEPLOYMENTS

LEVERAGINGSHAREDCOMPONENTS

DEFININGANDUTILIZINGENVIRONMENTS

1

2

3

4

5

6

WRAP-UP&QUESTIONS6

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TotalVisibilityAcrossEntireAppLifecycle

FullyIntegratedToolChain

ExceptionalCustomerExperience

AutomatedTesting&100%TestCoverage

FullAccesstoSimulated

EnvironmentsAcceleratedDevelopment

SyntheticDataCreation&DataonDemand

Leverageyourcurrentinvestmentsandtoolsofchoice,whilemovingforwardinyourContinuousDeliveryjourney

Open&FullyIntegratedCDSolutionStack

Requirements&Defects

ConcurrentTesting

Dev&Build

Pre-production

Production&Monitoring

CAReleaseAutomation+ContinuousDeliveryEdition

CAAgileRequirementsDesigner

CABlazeMeter

CAApplicationTest

CATestDataManagement

CAServiceVirtualization

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

releasealert&details

SCALEACCELERATE

QA/TestDEV PRODUCTIONPRE-PROD

CustomerExperience

PROVISIONREPMGR SCM CI TESTCONTAINER CONFIG CLOUD

Documentrequirements

PlanRelease

DesignSpec

Codecommit SCM CI/Build Functional

testing UATIntegrationtesting

Performancetesting

Deploytopre-prod

Deploytoproduction

CONTROLEnd-to-endAutomation

APM

performancesnapshots

STREAMLINEANDACCELERATETHEENTIRERELEASEPROCESS,REDUCEMANUALEFFORTANDERRORS

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

High-levelValue/BenefitsofCAReleaseAutomation

Providesasinglecontrolpointandsinglepaneofglassacrossallenvironments

Linksallofthecriticalelementsneededtobuildacontinuousdeliverypipeline

Consistentlyandpredictablyorchestratesthereleaseend-to-endinamatterofhoursorminutes,notweeksormonths

Withsharedvisibilityandrolebasedaccesscontrol,getsharedresponsibility,collaborationandalignmentbetweentheDevandOpsteams

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

BottomLineValueofCAReleaseAutomation

§ Increasesqualityandvisibility

§ Lowersdeliverycostsandrisk

§ Acceleratesagilityandtimetoproduction

§ Allowsyoutogetinnovativeapplicationsintothehandsofend-usersquicklyandwithhighquality

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAReleaseAutomationKeyCapabilities

Modelyourapplicationswhileofferingalayerofabstractionfromtheunderlying

environmentandartifacts

Nocodingorscriptingisinvolvedanywhere,evenfor

complexdeploymentsand

integrations

Containsover1800Out-of-the-Boxvendor-and-

technology-neutralactions

Providesfullvisibilityfordeployments,

includingnumerouscharts,graphs,

reportsandmetrics

OffersaRapidDevelopmentKitwhichenablesyoutocreatenew,reusableactions

Ifanerroroccurs,thedeploymentpausesandallows

forreal-timeremediation

Systemisimplementedusingahighly-scalable

three-tierarchitecture

Definecrossapplication

releases,viewacalendar,andtrackfeaturesandfixesacrossthepipeline

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAReleaseAutomationAdvancedTopics

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EnablingArtifact-driven(Dynamic)Deployments

§ RAprovidesyouwiththeabilitytodynamicallypopulatethelistofdeploymentprocessesbasedonthetypesofartifactstobedeployed

§ Afterexaminingtheincomingpackage,theproperprocessesareaddedtothelist,alongwithanyrequireddependencies

WhatareDynamicDeployments?

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EnablingArtifact-driven(Dynamic)Deployments

§ Provideshighdegreeofadaptabilitywhendeployingyourcode

§ SimilartoaCItoolinflexibility;noneedtodeployeverything– justtheartifactsthatchanged

§ Noneedtowriteandmaintainscriptstohandlethedifferentcombinations/permutationsofincomingartifacts

BenefitsofDynamicDeployments

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EnablingArtifact-driven(Dynamic)Deployments

§ Usetheexampleworkflow(willbemadeavailable)

§ WhencreatingyourDeploymentTemplate,donotaddanyprocessestothemainphase(DeploymentSteps)tab

§ Confirmthatprocessesareauto-addedduringinitializationoftheDeploymentPlan

HowtoEnableDynamicDeployments

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EnablingArtifact-driven(Dynamic)Deployments

§ Associatingservertypeswithartifactdefinitions

DynamicDeploymentBestPractices

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DemonstrationofArtifact-driven(Dynamic)Deployments

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LeveragingSharedComponents

§ RAoffersSharedComponents,applicationcomponentsthatcanbeusedacrossapplications

§ Thecomponentsareversionedandcanonlybechangedbyanauthorizeduser

§ DifferentapplicationscanbeusingdifferentversionsofaSharedComponent

WhatareSharedComponents?

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LeveragingSharedComponents

§ Provideshighdegreeofreusabilitywhendesigningyourflowsandprocesses

§ Enablesyoutodefineandenforcestandardsandbestpracticesacrosstheorganization

§ Versioncontrolforgreatertrackingandcontroloverchangesthecomponents

§ EnablesgreaterflexibilitysincedifferentapplicationscanbeassigneddifferentversionsofaSharedComponent

BenefitsofSharedComponents

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LeveragingSharedComponents

§ DefineaSharedComponent

§ Addnecessaryactionsandcreateworkflows

§ Checkinchanges

§ AssignSharedComponenttoanapplication

HowtoLeverageSharedComponents

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LeveragingSharedComponents

§ Branchingandcommitting

§ Sharingofparameters– Application– Component

SharedComponentBestPractices

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DemonstrationofSharedComponents

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DefiningandUtilizingEnvironments

§ InRAanenvironmentisalogicalentitythatmapstoareal-worldenvironment

§ Anarchitecturewithcertainservertypesisassignedtoit

§ Actualagentsareassignedtotheservertypes

WhatAreEnvironments?

27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DefiningandUtilizingEnvironments

§ Providehighdegreeofadaptabilityandflexibilitywhendeployingyourcodesincethey'redecoupledfromthelogicandartifacts

§ Allenvironment-relatedparametersandtokensareappliedatruntime

§ Agentscanbedynamicallyassociatedwithaparticularenvironmentandservertype

BenefitsofEnvironments

28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DefiningandUtilizingEnvironments

§ Addanenvironment

§ Assignprocesses

§ Createandassignanyenvironment-specificparametersandtokens

§ Mapagentstotheagenttypesviadrag-n-drop

HowtoDefineandUseEnvironments

29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DefiningandUtilizingEnvironments

§ Canarydeployments

§ Useofdifferentarchitectures

§ Assigningparametersfromexternalsources(e.g.passwordvault)

§ Dynamicassignmentofagents

EnvironmentBestPractices

34 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DemonstrationofEnvironments

35 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EmployingEnvironmentTokens

§ Specialtypesofparametersthatreplaceenvironment-specificvaluesinconfigurationfiles

§ Theproperenvironment-specificvaluesarepopulatedatruntime

§ Tokenscanbedifferentdatatypes,andyoucanapplyaRegExmaskthatenforcesvalidationoftokenvalues

§ TheycanbedefinedviatheWebGUIoranmanifestXMLfile

WhatAreEnvironmentTokens?

36 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EmployingEnvironmentTokens

§ Savestime,asitpreventstheneedtocreateflowstoupdatetheconfigurationfileswithenvironment-specificchanges

§ Providesasingle,easy-to-useinterfacetomanagetokens

BenefitsofEnvironmentTokens

37 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EmployingEnvironmentTokens

§ Createtokensandassignthemtoenvironments– Manually– Viamanifest

§ Providetokenvalues– Manually– Viamanifest– ViaRESTAPI

§ Associatetokenwithartifactdefinition

HowtoUseEnvironmentTokens

38 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

39 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

40 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

41 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EmployingEnvironmentTokens

§ NumberofTokenstoUse

§ TokenManifestFiles

§ ArtifactsAffectedbyTokens

§ Namingconvention

§ Tokenmasktips

EnvironmentTokenBestPractices

42 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DemonstrationofEnvironmentTokens

43 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ExperiencesLoremipsumdolorsitamet,consecteturadipisicingelit,seddoeiusmodtemporincididuntutlaboreetdoloremagna.

KeyTopicsLoremipsumdolorsitamet,consecteturadipisicingelit,seddoeiusmodtemporincididuntutlaboreetdoloremagna.

FindingsLoremipsumdolorsitamet,consecteturadipisicingelit,seddoeiusmodtemporincididuntutlaboreetdoloremagna.

SummaryAFewWordstoReview

44 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

DO5X04LPre-ConLab:DesignCustomActionPacksandPlug-instoSupportCAReleaseAutomationDeploymentOperations

11/14/2016at4:00pm

DO5X20EPre-ConEd:MakeZero-touchApplicationReleasesaRealitywiththeIntegrated,OpenCAContinuousDeliveryFramework

11/15/2016at9:00am

DO5X25LPre-ConLab:GettingStarted(andHandson)withCAReleaseAutomationContinuousDeliveryEdition

11/15/2016at11:00am

DO5X03LPre-ConLab:BuildPlug-insforCAReleaseAutomationContinuousDeliveryEdition—Easyas1,2,3

11/15/20161:00pm

45 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MustSeeDemos

ModernizeAppDeliveryIntegratedCDTheater5- DOV501P

DeliverTestDataFasterTestDataManagerTheater5- DOV511P

DeliverBetterAppsServiceVirtualizationTheater5- DOV507P

OrchestrateYourReleaseReleaseAutomationTheater5- DOV513P

46 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

47 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.48 @CAWORLD#CAWORLD

DevOps– ContinuousDelivery

FormoreinformationonDevOps– ContinuousDelivery,pleasevisit:http://cainc.to/PiTFpu