+ All Categories
Home > Technology > Pre-Con Ed: Upgrading CA Workload Automation DE to R12

Pre-Con Ed: Upgrading CA Workload Automation DE to R12

Date post: 10-Jan-2017
Category:
Upload: ca-technologies
View: 33 times
Download: 0 times
Share this document with a friend
34
World ® ’1 6 Upgrading CA Workload Automation DE to R12 Lee Roberson, Senior Principal Consultant, CA Technologies MFX28E MAINFRAME
Transcript
Page 1: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

World®’16

UpgradingCAWorkloadAutomationDEtoR12LeeRoberson,SeniorPrincipalConsultant,CATechnologies

MFX28E

MAINFRAME

Page 2: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

Page 3: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

Abstract

Learnhowtoperformanupgradefrom11.3toCAWorkloadAutomation(CAWA)DER12usingthenewIn-placeUpgradeMethod.Thein-placeupgrademethodupgradestheservertothesamedirectoryonyourcomputerwheretheserverwasoriginallyinstalled.

Thismethoddoesnotrequireyoutoinstallanewinstanceoftheserverordatabaseandmigrateartifacts,globalvariables,andhistorydata.

Thesessionwillalsodiscussthetraditionalmigrationmethodaswell.

LeeRobersonSeniorPrincipalConsultant,CATechnologies

Page 4: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

Agenda

INTRODUCTIONTOUPGRADEOPTIONS(IN-PLACEORMIGRATION)

IN-PLACEUPGRADEBENEFITS

Q&A

IN-PLACEUPGRADEPROCESS

MIGRATIONUPGRADEOVERVIEW

ADDITIONALCONSIDERATIONS(NEWWEBUI,DESKTOPCLIENT,WEBSERVICES)

1

2

3

4

5

6

Page 5: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

In-placeUpgrade

§ In-place§ Minimaldown-

time§ Efficiency

TraditionalMigration

§ Newinstall§ Migrateartifacts§ EasyFail-back

CAWorkloadAutomationDEUpgradeMethods

Twooptionsprovideupgradeflexibilitytosupportclient

requirements

EachupgrademethodhasAdvantages

Page 6: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

CAWADEUpgradeOptions

§ In-placeUpgradeMethod

– NewsimplifiedupgradeprocessintroducedinR12.0

– UpgradesCAWADEServerinthesamedirectoryonyourcomputerwheretheserverwasoriginallyinstalled

– Usethein-placeupgrademethodtoupgradetheserverfromr11.3SP3build1406orhigher

– Time takenforthe upgradefrom11.3.03or12.0to12.0.01isnowreduceddramatically(oftenlessthananhour)

§ MigrationMethod

– Installnewinstanceoftheserveranddatabase

– Migrateartifacts,globalvariables,andhistorydatafromtheexistingservertothenewserver

– Usethemigrationmethodtoupgradetheserverfromr11.1orhigher

©2016CA.AllRIGHTSRESERVED.5

Page 7: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

In-placeUpgrade:SimplifiedUpgradeProcess

ReduceTimetoperformupgradefromCAWADE11.3.03tor12.0.xSPEED

Advantages§ UpgradeCAWADEin-place§ Minimaldown-time§ RollBacktopriorversionsupport§ Activeworkloadandhistorypreserved§ Nonewhardwarerequired

Page 8: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

§ In-placeupgradecanbeusedtoupgradethecurrentCAWADEserverwithminimaldowntime

§ NonewhardwareneededtoinstallthenewCAWADEserverandmigratethedataaswithmigrationmethod

§ Activeworkloadwillnotbelostduringin-placeupgrades

§ Activeworkloadisresumedafterin-placeupgradeisperformed

In-placeUpgradeBenefits

Page 9: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

In-PlaceUpgradeHighLevelOverview

§ Upgradeinstallationupgrades:– Configuration– JRErelease(exceptonz/Linux)– Binaryandlibraryfilesontheserver– Updatesthedatabaseschema,convertsartifactsversions(12.0SP1)

§ ItdoesNOT:– Updatethedefaultagentthatwasinstalledwiththeserver

©2016CA.AllRIGHTSRESERVED.8

Page 10: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

In-placeUpgradeProcedure

1. SuspendEventstostopanyworkloadtobetriggered

2. StoptheCAWADEserver

3. Takedatabasebackup

4. PerformIn-placeupgrade

5. Validation- checktheartifactspriortoresumingworkload

©2016CA.AllRIGHTSRESERVED.9

Page 11: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

In-placeUpgrade– R12.0.0Specificconsiderations

§ SpecifictoR12.0- Doesnotautomaticallyconvertartifactversionsinthedatabasefrom11.3toR12.0

§ ConverttheApplicationversiondefinitionsinthedatabasefromr11.3tor12(R12.0only;notrequiredforR12.0SP1upgrade)

§ RunartifactVersionConverterutility

©2016CA.AllRIGHTSRESERVED.10

Page 12: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

ConverttheApplicationversiondefinitions(R12.0.0only)

§ ConverttheApplicationversiondefinitionsinthedatabasefromr11.3tor12.0.0(not12.0SP1– Download/extractthe artifactVersionsConverter.zip filetoatemporarydirectory

§ Note:YoucanalsodownloadtheartifactVersionsConverter.zip filefromthepatchRO86729

– Copytheartifactversionsconverter.jarfileto:§ server_install_dir\libdirectory(Windows)orthe server_install_dir/libdirectory(UNIX)

– CopytheartifactVersionsConverter scriptto:§ artifactVersionsConverter.bat- server_install_dir\bindirectory(Windows)

§ artifactVersionsConverter.shtothe - server_install_dir\bindirectory(UNIX)

– (Optional)EditartifactVersionsConverter filetosetMAX_HEAP_SIZE=4096§ defaultis1GBmayneedtoincreaseifyouhavealargenumberofapplicationversions

– runtheartifactVersionsConverter.batfileonWindowsortheartifactVersionsConverter.shfileonUNIX

– VerifythatalltheApplicationversionsareconverted§ seethecawa_home/logs/artifactversions.log

©2016CA.AllRIGHTSRESERVED.11

Page 13: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

In-placeUpgrade- Prerequisites§ (CAWAHighAvailabilityconfigurationonly)removetheunusedserverconfigurationsfromthedatabaseifmoreserversinadditiontothe

preferredandStand-byserversarepointingtothedatabase,.– Important! Ensurethatserversnomorethantwoarepointingtothedatabase.Otherwise,thein-placeupgrademightfail.

§ Stoptheworkloadontheserver– SuspendallEvents orHoldallEvents

– ExecutethefollowingqueryinthedatabaseconsoletoretrievethestatusofalltheactiveApplicationsandjobsfromthespoolfile:

§ Selectname,type,thestate,status,starttime,endtime fromESP_RTWOB

– Storethequeryresultinafile.Youmighthavetorefertoitwhenyoustarttheworkloadprocessingafterthein-placeupgrade

– ForcecompleteonlytheapplicationsthathaveFTP,SFTP,andPeopleSoftjobs,whenyouupgradefromReleases11.3,11.3SP1, and11.3SP2

§ IfyouareupgradingfromRelease11.3SP3afterinstallingthepatchRO84946,youcancontinuewiththeupgradewithoutanyforcecompletionofapplications.

§ StopthePrimaryserver

§ StoptheStandbyserver(ifCAWAHighAvailabilityisconfigured)

§ BackuptheCAWADEserverdatabase

©2016CA.AllRIGHTSRESERVED.12

Page 14: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

SupportforIn-PlaceUpgrades

§ Upgrade11.3.xserverinstancesusingin-placeupgradebymodifyingtheexistingserverinstallfoldertor12installfolder.

§ Stoptheworkloadandserverbeforerunningin-placeupgrade

§ In-placeupgradewillaskforthefolderlocationwhichhastobeupdatedtor12level.

§ Beforerunningin-placeupgrade,takethebackupofdatabaseusedbythe11.3.xversion.Thisisaprerequisitestepbeforeproceedingwithupgrade.

§ In-placeupgrademodifiesallthefilesthatarerequiredforr12.0versionandalsomakesmodificationstothedatabasetobringittor12level

Page 15: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

In-placeUpgradeInstallOption

©2016CA.AllRIGHTSRESERVED.14

Page 16: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

In-placeUpgradeInstallOption§ Inplaceupgradewillaskforthefolderlocationwhichhastobeupdatedtor12level

©2016CA.AllRIGHTSRESERVED.15

Page 17: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

SupportforIn-placeUpgrades

§ Installerwillcreateabackupfolderwithatimestampintheinstalledfolder.Thebackupfolderhasalltheartifactsbeforein-placeupgradeisrun.

§ Restorescriptcanberuntorestorethecontentsbacktotheoriginalstate

§ Databasecanberestoredfromdatabasebackuptakenbeforerunningin-placeupgrade

§ In-placeupgradedoesnotupdatetheagents

§ Anyerrorsthatoccurduringin-placeupgradewillbeloggedintotheinstallationlogfiles.

Page 18: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

In-placeUpgrade– ImportantCaveats

§ In-placeupgradeneedstobeperformedtobringtheexistingCAWADEinstallationstoCAWADEr12SP1level

§ UpgradestoCAWADEserverr12SP1canbedonefromCAWADE11.3SP3build1414orhigher,CAWADEr12

§ Thedatabaseuserusedduringin-placeupgradesshouldbethesameuserusedduringCAWADEinstallation– Ifthesamedatabaseuserisnotused,upgradeswillfail.EspeciallyiftheCAWADE

serverdatabaseisusing“MSSQLWindowsauthentication”

§ Incaseofanyfailuresduringupgrades,installerwillreportanerrorandlogtheerrorsat$CAWA_HOME/upgrades/logs/inplaceupgrade.log

©2016CA.AllRIGHTSRESERVED.17

Page 19: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

AdditionalConsiderations

§ Ensurethedatabaseuserindb.properties andthedatabaseuserusedwhilecreatingthedatabaseandusedforinstallationarethesame.EspeciallyforWindowsauthenticationMSSQLdatabase

§ EnsureweusethesameWindowsusertoruntheupgradewiththeuserthatwasusedtoruntheinstallation

§ InstalllatestversionofCAWADesktopClient– BoththeCAWADEserverandCAWADesktopClientmustbeatthesameversionlevel

§ InstalllatestversionoftheCAWADEWebServices(optional)

§ InstalllatestreleaseofCAWADEStand-AloneCLI

§ InstallandleveragethenewCAWADEWebUI(netnewfunctionalityin12.0SP1)

§ Note:UsingtheCAWADEserverAPIinJavaScriptscriptsisnotsupported.Thejavascripts willfailafterin-placeupgradeormigration

©2016CA.AllRIGHTSRESERVED.18

Page 20: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

RollBackServerUpgradetoPreviousVersion§ Canrollbackserveraftersuccessfulin-placeupgradeandrestoretotheprevious

versionifnecessary

§ Thebinary,configuration,JRE,andlibraryfilesontheserverthataremodifiedbythein-placeupgradearerestored

§ StoptheServerandStandbyServer(HA)

§ Runrestore.bat/.shtorestorefilesanddirectories

§ Restoretheserverdatabasethatyoubackedup

§ DowngradeanyupgradedCAWADEDesktopClients,StandAloneCLIs,WebServices

§ UninstallnewCAWADEWebUI,ifdeployed,ItisNOTbackwardcompatible

©2016CA.AllRIGHTSRESERVED.19

Page 21: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

MigrationUpgrade:TraditionalApproachMigrateartifacts,globalvariables,historydatatonewserverFLEXIBILITY

Advantages§ Preservespreviousversionforfailback

§ Changedatabasetype§ Supportshardware/OSrefreshrequirements

§ Selectivemigrationofartifacts

Page 22: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

TraditionalMigrationMethod

§ RequiresinstallofnewCAWADEServerinstanceanddatabase

§ Migrationprocessthatmigratesartifacts,globalvariables,andhistorydatafromtheexistingservertothenewserver

§ Usethemigrationmethodtoupgradetheserverfromr11.1orhigher(11.1,r11.3,r12.0.x)

§ Migrationcanberunfromanydatabasetoanyotherdatabaseoftargetversion

©2016CA.AllRIGHTSRESERVED.21

Page 23: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

MigrationMethodBenefits

§ Migrationpreservesthepreviousserverwhilelettingyouusethenewservertorunyourpreviouslydefinedworkload

§ Migrationcanberunfromanydatabasetoanyotherdatabaseoftargetversion

§ Easilyfailbacktothepriorrelease

§ Goodforhardwarerefreshcycles,re-platformingprojects

§ Canbeusedtomigrateasubsetofworkloadartifacts

©2016CA.AllRIGHTSRESERVED.22

Page 24: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

MigrationMethodProcess(7steps)

©2016CA.AllRIGHTSRESERVED.23

Page 25: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

HowMigrationMethodWorks§ Migrationutilityreadsartifacts

fromthesourceserver

§ Convertsthemtothenewformat,andstorestheminfilesonthenewserver

§ Whenyoustartthenewserveraftermigration,thestoredartifactsareimportedintothenewserverdatabase

§ Globalvariablesandhistorydataaremigrateddirectlyintothenewserverdatabase

©2016CA.AllRIGHTSRESERVED.24

Page 26: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

MigratedArtifacts

§ Themigrationutilitymigratesthefollowingartifacts:– Agents

– Alerts

– ApplicationsandApplicationVersions

– Calendars

– Events

– Forecasts

– Users(security)

– Groups(security)

– JavaScripts (JavaScriptrepository)

– Resources

– ConnectionProfiles(Hadoop)

– SecurityProfiles(Hadoop)

©2016CA.AllRIGHTSRESERVED.25

Page 27: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

AssessingArtifactsforMigration

§ Assessartifactsinboththesourceandtarget(new)serverbeforeyoumigrate

§ Considerthefollowingimpacts:– Ifdefinitionsshare the samename,themigrationutilityoverwritesthenewartifactswithdefinitions

fromthesourceserver.

– Aftermigration,themigratedApplicationsandexistingApplicationscompeteforresources,usethesamesystemvariables,andsharecommondependenciesthatcanleadtounexpectedbehavior

– Toavoidtheseimpacts,werecommendthatyoudonotcreateartifactsorrunworkloadonthenewserverbeforemigration

– Alternatively,toavoidoverwritingartifacts,youcanselectivelydeletetheartifactsfromthetemporarydirectorythemigrationutilityusesbeforestartingthenewserver

– Whenyoustartthenewserver,itispopulatedwiththeartifactsstoredinthisdirectory

©2016CA.AllRIGHTSRESERVED.26

Page 28: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

UnsupportedCharactersinArtifactNames

§ Somecharactersthatwereallowedinartifactnamesinpreviousreleasesarenolongerallowed

§ Ifnameofanartifactcontainsunsupportedcharacters,themigrationutilitydisplaysanerrorandtheartifactisnotmigrated.Tomigrateartifactswithunsupportednames,reviewthemigrationerrors,changethenamesoftheartifacts,andrerunthemigrationutility.

§ Startinginr11.1,thefollowingspecialcharactersarenolongersupportedinjobnames:

©2016CA.AllRIGHTSRESERVED.27

§ forwardslash(/)

§ back slash(\)

§ colon(:)

§ semi-colon(;)

§ asterisk(*)

§ ampersand(&)

§ doublequote(")

§ less(<)

§ greater(>)

§ bar(|)

§ parentheses(())

§ backquote(`)

§ singlequote(')

§ equal(=)

§ period(.)

§ comma(,)

§ caret(^)

§ tilde(~)

§ questionmark(?)

Page 29: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

MigrateArtifacts,GlobalVariables,andHistoryData

§ Runmigrationutilityonnewservertomigrateartifacts,globalvariables,andhistorydata– migrate.bat[config_file](Windows)

– migrate.sh[config_file](UNIX/Linux)

§ Themigrationprogramconnectstothesourceserverandreads,converts,andstorestheartifactsonthenewserverfilesystem– migrationutilityusesthedefaultmigrationconfigurationfile

– Cancreateacustomizedconfigurationfiletoautomatesomeofthestepsinthefollowingprocedureortochangedefaultvalues

– Themigrationutilityusesdefaultloggingsettingsinthemigrationloggingconfigurationfileandlogsmigration-relatedinformationinthemigration.logfile

– Tochangethelogfilelocationorconfiguredefaultsettings,youcanmodifythemigrationloggingconfigurationfile

– Ifthemigrationprogramcannotread,convert,orstoreanartifact,itpromptsyoutostopthemigration,continuethemigrationuntilthenexterroroccurs,orcontinuethemigrationandignoresimilarerrors.

– YoucanskipthemigrationofApplicationversionsduringartifactsmigrationbyconfiguringthemigration.default.conffile

©2016CA.AllRIGHTSRESERVED.28

Page 30: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

MigrationCaveats- Artifacts

§ Migrationdoesnotperformanykindofmergingbetweenexistingandmigrateddata

§ Whenartifactsaremigrated,themigrationutilityreadsthemfromthesourceserver,

convertsthemtothenewformat,andstorestheminfilesonthenewserver.Whenyou

startthenewserveraftermigration,thestoredartifactsareimportedintothenewserver

database– Note: YoucandisablethisbehaviorbysettingtheRESET_POPULATED_FLAGpropertytofalseinthe

configurationfilethemigrationutilityuses

§ Becauseartifactsarestoredinfiles,youcanpreventindividualartifactsfrombeing

migratedbydeletingtheirfilesbeforestartingthenewserver.

©2016CA.AllRIGHTSRESERVED.29

Page 31: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

MigrationCaveats– GlobalVariablesandHistoryData

§ MigrationutilityreadsGlobalVariablesandhistorydatafromthesourceserverdatabase,

convertsthemtothenewformat,andimportsthemintothenewserverdatabase

§ Globalvariablesandhistorydataaremigrateddirectlyintothedatabase

§ Cannotpreventindividualglobalvariablesandhistorydatafrombeingmigrated.

§ Note: Ifworkloadwasexecutedonthenewserverbeforemigration,historydata

migrationcanfailifexistingdatabaserowsconflictwiththemigratedrows.Themigration

utilitydoesnotmergeexistingandmigrateddata.

§ Canbetimeconsumingdependingonartifactvolumes©2016CA.AllRIGHTSRESERVED.30

Page 32: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

MFX23EBestPractices:EnablingCAWorkloadAutomationDEArtifactstoMoveApplicationsThroughtheDevelopmentLifecycle

11/14/2016at4:00pm

JasmineB

MFX141ELHandsonLab:IncreasedAgilityandFlexibilitywithWebServicesforCAWADEandCAWAESP

11/15/20116at9:30am

SouthSeasD

MFX30SCustomerUseCase:Real-WorldAutomationinRetailwithCAWorkloadAutomationDE

11/16/2016@3:34pm

BanyanA/B

MFX128SVisionandRoadmap:CAWorkloadAutomationDE(dSeries)

11/17/2016@1:45pm

BanyanA/B

Page 33: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

MustSeeDemos

ModernWorkloadAutomation

CAWLADEMFandWorkloadAutomation

SeamlessApplicationAutomationAgents&AdvancedIntegrationsMFandWorkloadAutomation

CAConversionService

CAWorkloadAutomationMFandWorkloadAutomation

Innovations:CrossEnterpriseWorkloadAutomationCAWLAAE&DEMFandWorkloadAutomation

Page 34: Pre-Con Ed: Upgrading CA Workload Automation DE to R12

@CAWORLD#CAWORLD

Questions?Informatica


Recommended