AutoSysR11.0SP4Incremental1productrelease
ThisdocumentisintendedtoassistAutoSysR11.0userswhoareplanning/implementingthe migrationoftheircurrentR11.0instance(s)tothelatestAutoSysR11.0SP4Incremental1 releaseasrecommendedbytheCAWADistSupportteam.Thisdocumentwillprovideastep bystepapproachofalltheportionsofthiseffort.Theyhavebeenverifiedbyawalkthrough withintheAutoSysLevel1supportarea. Pleasemakesureyoureviewandunderstandthesevarioussectionsandtheirassociatedsteps. Ifyouhaveanyquestions,pleasecontacttheAutoSyslevel1teambyopeningaSupportticket byusingtheCASupportSiteWEBpagelinkselectionfromtheleftsidelabeled:
OpenaCase
WithinthispageProductselection: CAAutoSysWorkloadAutomationServer12CPUsMULTIPLATFORM Understandingandthenfollowingthesestepswillhelpensureasmoothandsuccessful upgrade/installofthemostcurrentandhighlytested/verified AutoSysR11.0SP4Incremental1productrelease
LinksforDownloads:
FortherequiredAutoSysSP4baserelease: UsetheCASupportSiteWEBpagelinkselectionfromtheleftsidelabeled:
DownloadCenter
WithinthispageProductselection: CAAutoSysWorkloadAutomationServer12CPUsMULTIPLATFORM WithintheSelectaReleasemenuchoose: R11.0 WithintheSelectaGenLevelmenuchoose: SP4 YouwillnowseealistofISOfilesfortheAutoSysR11.0SP4productreleasethatwillneedtobe downloadedinordertoperformthefirststepofthisprocedure.Thedetailsforthisarelisted belowbasedonPlatformandComponent. FortherequiredAutoSysIncremental1patchtobeappliedtotheAutoSysR11.0baserelease, Gotothefollowinglink,(Note,youmayberequestedtosupplyyourCASupportOnlineusers IDandPasswordtogainaccess.)
https://support.ca.com/irj/portal/anonymous/phpdocs?filePath=0/253/253_11_patchindex.html AswiththebasereleaseISO,youwillneedtoselectthepatchappropriateforyourplatform.
PlanningBasicsafetyconsiderationandHighlevelarchitecturetopics
FirstobtaincurrentSystemanddatabasebackups/snapshots AreyourunningwithDualSchedulers? SeeLastsectionofdocument AreyourunningwithDualDatabases? SeeLastsectionofdocument
Linux/UNIXAutoSysServerSP4INCR1
#Publishedfixnumbers: #RO25620&RO25627=Solaris(sparc) #RO25621=AIX #RO25622=HPUX #RO25623=Linux 1. #Locateappropriatefixandplaceinaworkingdirectory(i.e./tmp/patch) 2. #verifyloginasroot 3. unisrvcntrstop#stopservicesi.e.>uajm_agentuajm_sched.ACEuajm_server.ACE 4. ustat#verifyallservicesarestopped 5. psef|grepauto_rem#norunningauto_remoteprocesseskillifneedbe 6. set|more#makesure$AUTO*variablesaresetsource /opt/CA/UnicenterAutoSysJM/autouser.ACE/autosys.<shell>.<host>ifnecessary 7. $CSAM_SOCKADAPTER/bin/csampmuxstop#stoppmuxresponseshouldbe0 8. $CSAM_SOCKADAPTER/bin/csampmuxstatus#verifynotrunning/responding
9. #uncompressandextracttar.Zfileinworkingdir(/tmp/patch) 10. chmod755./tmp/patch/Install_INCR.sh#substituteyourworkingdirectory 11. ./Install_INCR.shSRO25623ORAsysassysdbaorclmanagernr#nr=norestart #exampleisoracleusageobtainedbyrunningInstall_INCR.sh 12. Verifyversionandfunction autoflagsa#outputi.e.INC1<OS>ANY11.0SP4<unique#><hostname> IfnoHAthenstartup ProceedwithHAStepsifareapplicable
Linux/UNIXAutoSysClient/AgentR11SP4INCR1
#Publishedfixnumbers: #RO25620=Solaris(sparc) #RO25621=AIX #RO25622=HPUX #RO25623=Linux 1. #Locateappropriatefixandplaceinaworkingdirectory(i.e./tmp/patch) 2. #verifyloginasroot 3. set|more#makesure$AUTO*variablesaresetsource /opt/CA/UnicenterAutoSysJM/autouser.ACE/autosys.<shell>.<host>ifnecessary 4. unisrvcntrstopuajm_agent#stopagent 5. psef|grepauto_rem#norunningauto_remoteprocesseskillifneedbe 6. $CSAM_SOCKADAPTER/bin/csampmuxstop#stoppmuxresponseshouldbe0 7. $CSAM_SOCKADAPTER/bin/csampmuxstatus#verifynotrunning/responding 8. #uncompressandextracttar.Zfileinworkingdir(/tmp/patch) 9. chmod755./tmp/patch/Install_INCR.sh#substituteyourworkingdirectory 10. ./Install_INCR.shCRO25623ORAfoofoofoonr#nr=norestart #dbconnectinforequired,butnotused.ForusagerunInstall_INCR.sh 11. Verifyversionandfunction autoflagsa#outputi.e.INC1<OS>ANY11.0SP4<unique#><hostname> Review/tmp/INCR_installlogforerrors Startupifnroptionwasusedunisrvcntrstartuajm_agent
Linux/UNIXUWCCR11.1SP2.041
#MediaDistribution: #Note:AIXandHPUXplatformsarenotavailable #DVD01103731E.iso 1. #Locateandmounttheappropriatemedia 2. #Loginasroot 3. set|more#makesure$CA_WCC_INSTALL_LOCATIONisset.Ifnotsource /etc/profile.CA 4. ./UnixInstaller.sh#executeinstaller 5. #option1InstallCAWorkloadControlCenter"Thisoptionrequiredforupgrade
#option1againtogonext #Entertoread/scrollEULAtext #option1ifyouaccepttheEULA #option2forreinstallmoderequiredforupgrade,willnotloseexistinginstall #option1assumeallthedefaults #nextthroughtherestoftheinstallobservingdefaults(shouldbeyourcurrent config) #provideeempassword #leavedefaultforkeepingcurrentpoliciesakadonotoverwriteexisting" #allowtheinstallertoruntocompletion #0toexitwhentheinstallcompletes
Linux/UNIXUWCCR11.1SP2.041INCR1
#Publishedfixnumbers: #AutoSysApiPatches #RO25620=Solaris(sparc) #RO25621=AIX #RO25622=HPUX #RO25623=Linux #UWCCINCR1 #RO25626&RO25628 1. #PutappropriateAutoSyspatchinaworkingdirectory(i.e./tmp/patch) 2. #uncompressandextractpatch 3. #verifyloginasroot 4. chmod755./tmp/patch/Install_INCR.sh#substituteyourworkingdirectory 5. ./Install_INCR.shWRO25623ORAfoofoofoonr#nr=norestart #dbconnectinforequired,butnotused.Forusagerun Install_INCR.sh 6. #Optionytostopservices(ifrunning) 7. #Defaultinstalllocation,ifcorrect,shouldbeselected 8. #Observestdoutforerrors 9. #PutRO25626&RO25628patchesintheirownworkingdirectories 10. #Uncompressandextractpatches. 11. #cdtolocationofRO25626 12. echo$JAVA_HOME#makesurepointstotheCAJREunderSharedComponents 13. PATH=$JAVA_HOME/bin:$PATH;exportPATH#prependCABundledJava 14. javaversion#notethejavaversion,itwillbeapplicableperRO25626.TXT 15. mvFix_UNIX_jre_1_5.JCLRO25626.JCL#refertoRO25626.TXTforinstructions 16. perl./WCCPatchTool.plINSTALLRO25626#executeupgrade 17. #uponcompletionofRO25626,cdtotheworkingdircontainingRO25628 18. mvFix_UNIX_jre_1_5.JCLRO25628.JCL#again,refertoRO25628.TXT 19. perl./WCCPatchTool.plINSTALLRO25628#executeupgrade 20. $CA_WCC_INSTALL_LOCATION/uejmver.sh#Verifyupgradelookingfor RO25628andRO25626 LoginandverifyfunctioninUWCC
Linux/UNIXEEM8.4.401(akaEEM8.4SP4CR01)#comeswith11.3CCC
#MediaDistribution: #DVD08134328E.iso #IfgoingtoAutoSysR11SP4INCR1inthisupgrade,installEEM8.4.402andskip401 #IfonlygoingtoAutoSysR11SP4(notINCR1): PerformthisinstallCCC11.3willnotberequiredontheeemsystemasthis stepwillupgradeallcomponents 1. #Locateandmountmedia 2. #verifyloginasroot 3. #Becertainthattheenvissetupsource/etc/profile.CAifitisnot 4. #cdtomedialocation 5. ./ccc_setup.sh#executeinstallscript 6. #chooseupdate/reinstall 7. #itwillwanttostopservicesiftheyarerunning,choosenextacceptingthat 8. #choosenext 9. #oncetheinstallcompleteschoosefinish 10. #Checkversion grepVersion$IGW_LOC/iPoz.conf#shouldsay8.4.401 #logintoeemguiandlocateaboutlinktorightshouldsay8.4.401
Linux/UNIXEEM8.4.402(akaEEM8.4SP4CR02)#Downloaded,andpartof AutoSysSP4INCR1
#Publishedfixnumbers: #RO25608=Solaris(sparc) #RO25609=AIX #RO25610=HPUX #RO25611=Linux 1. #loginasroot 2. #extractfixtoitsownworkingdirectory 3. chmod755EEMServer_8.4.402_linux.sh#setspermissionsontheinstallscript 4. #makesuredxserverandigatewayarerunning(psef|grepdxserveretc..) 5. #specifyJAVA_HOMEas/opt/CA/SharedComponents/JRE/1.5.0_11#default 6. #setPATHto$JAVA_HOME/bin:$PATH 7. ./EEMServer_8.4.402_linux.sh 8. #readandagreetoEULA(typeyes)whenprompted 9. #acceptbackupdir 10. #typeyestoproceedwithinstall 11. #Checkversion grepVersion$IGW_LOC/iPoz.conf#shouldsay8.4.402 #logintoeemguiandlocateaboutlinktorightshouldsay8.4.402
Linux/UNIXSecureSocketAdapter(SSA)2.1.43
#Publishedfixnumbers: #RO25613=Solaris(sparc) #RO25614=AIX #RO25615=HPUX #RO25616=Linux 1. #Putappropriatepatchinaworkingdirectory(i.e./tmp/patch) 2. #verifyloginasroot 3. #uncompressandextractpatch 4. unisrvcntrstop<services_to_be_stopped>#stopallservices 5. ustat#verifyservicesarestopped 6. echo$CSAM_SOCKADAPTER#shouldbeset 7. $CSAM_SOCKADAPTER/bin/csampmuxstop#stoppmuxresponseshouldbe0 8. $CSAM_SOCKADAPTER/bin/csampmuxstatus#verifynotrunning/responding 9. javaversion#checkjavaversionshouldbe1.5orgreater 10. #ifjavais1.4thendothefollowing: 11. #locatetheCAJRE: #normallyunder/opt/CA/SharedComponents/JRE/1.5.0_11 #exportJAVA_HOME=/opt/CA/SharedComponents/JRE/1.5.0_11# #exportPATH=$JAVA_HOME/bin:$PATH 12. chmod755./CASockAdapterSetupLinux.bin#setpermissions 13. ./CASockAdapterSetupLinux.binsilent#makesureissetshouldtake<5min 14. cat$CSAM_SOCKADAPTER/version.txt#checkversion,shouldbe2.1.43 #MediaDistribution: #DVD08134328E.iso 1. #Locateandmountmedia 2. #verifyloginasroot 3. #Becertainthattheenvissetupsource/etc/profile.CAifitisnot 4. #cdtomedialocation 5. ./ccc_setup.sh#executeinstallscript 6. #chooseupdate/reinstall 7. #itwillwanttostopservicesiftheyarerunning,choosenextacceptingthat 8. #choosenext 9. #oncetheinstallcompleteschoosefinish
Linux/UnixCACommonComponents(CCC)11.3
WindowsAutoSysServer/Client/AgentSP4
#MediaDistribution: #DVD10124211E.iso 1. #loginasadministratorandmountmedia 2. #Optionalforagentmachine Bringmachineoffline"sendeventEMACH_OFFLINEN <agent_hostname>" 3. #Stopservicesviaautosysadministratororserviceconsole Runtaskmanagerandcheckforauto_remote.exe(waitfororendold processes) 4. #Setup.exe#runtheinstaller 5. #SelectUnicenterAutoSysJobManagement 6. #Click"install"button 7. #Click"repair"radiobutton 8. #Click"next"twice 9. #Optionallychecktheveiewreadmeandfinish,andexitfromtheinstallshield 10. #Verifyviaautosysadminortaskmgrthattheagentisbackup 11. #Optionalforagent Bringmachineonline"sendeventEMACH_ONLINEN<agent_hostname>" #autoflagsa#shouldoutput86<OS>ANY11.00<unique#> <hostname>
WindowsAutoSysServer/Client/AgentSP4INCR1
#Publishedfixnumbers: #RO25619 1. #loginasadministratorandmountmedia 2. #Applicabletoagentmachine sendeventEMACH_OFFLINEN<agent_hostname>#Bringagent offline 3. #Stopservicesviaautosysadministratororserviceconsole #Runtaskmanagerandcheckforauto_remote.exe(waitfororend oldprocesses) 4. #uncompressandextractpatchinaworkingdirectory 5. #BringupAutosysAdmin 6. #Stopservicesviaautosysadministratororserviceconsole #Runtaskmanagerandcheckforauto_remote.exe(waitfororend oldprocesses) 7. #Becertainyouhaveexitedtheautosysadministrator 8. #Runtaskmanagerandverifytherearenoauto_remote.exe'srunning 9. Install_INCR_NT.batCc:\patchORAsysmanagerautodb#NOTE:Example isautosysclient,withORAexecutingInstall_INCR_NT.battogetusage 10. #Applicabletoagentmachine autoflagsa#outputi.e.INC1<OS>ANY11.0SP4<unique#> <hostname>
WindowsUWCCR11.1SP2.041
#MediaDistribution: #DVD01103438E.iso 1. #loginasadministratorandmountmedia 2. #RunthePE_i386.EXEinstaller 3. #Select"InstallCAWorkloadControlCenter" 4. #Click"INSTALL" 5. #Click"NEXT" 6. #AgreetotheEULA 7. #Click"NEXT" 8. #Click"ReinstallMode:..."NOTEThisoptioniswhatisusedtoupgrade 9. #Click"NEXT" 10. #Proceedthroughtheinstallacceptingdefaults,acceptcurrentregistrationwith EEMitshouldpickupthatyourapplicationhasalreadyregistered.Donot reregisterwithEEMunlessyouwishtooverwritepolicies. 11. #checktheversion cd%CA_WCC_INSTALL_LOCATION% .\uejmver.bat#versionshouldbeLevel:11.1SP:2BLD:41
WindowsUWCCR11.1SP2.041
INCR1
#Publishedfixnumbers: #RO25619,RO25626&RO25628 1. #loginasadministratorandcopypatchestosystem 2. #uncompressandextracteachpatchtotheirownworkingdirectory 3. #startcmdprompt 4. #cdtolocationofworkingdirforRO25619 5. Install_INCR_NT.batWC:\patch#runtheAutoSysINCR1update 6. #defaultlocationsshouldbeverifiedtobecorrect,andthenselected 7. #cdtolocationofworkingdirforpatchRO25626 8. javaversion#notetheversion 9. echo%CA_WCC_INSTALL_LOCATION%#makesurethisenvvarisset 10. moveFix_Windows_jre_1_5.JCLRO25626.JCL#moveappropriatefilesee readmeRO25626.TXTfordetails 11. WCCPatchTool.exeinstallRO25626#runinstaller 12. #afterpatchRO25626,dothesameforRO25628 13. #cdtolocationofworkingdirforpatchRO25628
14. moveFix_Windows_jre_1_5.JCLRO25628.JCL#moveappropriatefilesee readmeRO25628.TXTfordetails 15. WCCPatchTool.exeinstallRO25628#runinstaller 16. #checktheversion cd%CA_WCC_INSTALL_LOCATION% .\uejmver.bat#versionshouldbeLevel:11.1SP:2BLD:41 #Currentlyappliedpatchesshouldbereflectedas: RO25626andRO25628NOTE:RO25619willnotbelisted 17. #Verifyfunction
WindowsEEM8.4.401(akaEEM8.4SP4CR01)#comeswith11.3CCC
#MediaDistribution: #IfgoingtoAutoSysR11SP4INCR1inthisupgrade,installEEM8.4.402andskip401 #IfonlygoingtoAutoSysR11SP4(notINCR1)thenperformthisinstall #DVD08134106E.iso 1. #loginasadministratorandmountmedia 2. #selectCACommonComponents 3. #clickinstall 4. #Clickadd/modify,thenclicknext 5. #Read/acceptEULA,thenclicknext 6. #ApplicableComponentsshouldbeselected,clicknext 7. #ProvideEiamAdminEEMpassword,clicknext 8. #Clickinstall 9. #ClickDonewhenitcompletes 10. #Verifyversion #logintoeemguiandlocateaboutlinktorightshouldsay8.4.401
WindowsSecureSocketAdapter(SSA)2.1.43
#Publishedfixnumber #RO25612
#Copy patch into working directory (i.e. c:\patch) #extract patch #stop all autosys services (use autosys administrator or service manager) #open cmd prompt (autosys cmd prompt if applicable) echo %CSAM_SOCKADAPTER% # should be set 6. cd %CSAM_SOCKADAPTER% # change to csam dir 7. CSAMPmux.exe stop # stop CA Connection Broker 8. CSAMPmux.exe status # should be No Listeners 1. 2. 3. 4. 5.
WindowsCACommonComponents(CCC)11.3
#MediaDistribution: #DVD08134106E.iso 1. #loginasadministratorandmountmedia 2. #selectCACommonComponents 3. #clickinstall 4. #Clickadd/modify,thenclicknext 5. #Read/acceptEULA,thenclicknext 6. #ApplicableComponentsshouldbeselected,clicknext 7. #Clickinstall 8. #ClickDonewhenitcompletes
DualDB/AutoSysHASteps
1. #Loginasrootoradministrator 2. #forDualDatabase 1. BothDBsshouldbeinsynch,butifnot,determinethemostcurrentdb. 2. Verifyallschedulersaredown(primary,shadow,tiebreaker) 3. LogintoDBwithprivilegeduserandmanuallyrunthesqlupgradeforSP4, andthenthedbupdateforSP4INCR1dothissteponbothdatabases. i.e.(sqlplussys@<tns_alias>assysdba@<path_to_mdbsql.sql> sqlplus"sys@orcl1assysdba" @/opt/CA/UnicenterAutoSysJM/autosys/dbobj/ORA/autosysmdbpatchSP4.sql NOTE:PatchlocationforSP4INCR1willbethesamelocation,butlabeledasautosys mdbpatchSP4_INC1_ORA.sql 4. Synchronizethedatabases cdtoappropriatedbobjdir(i.e.cd$AUTOSYS/dbobj/ORA) #runtheautobcpperl./autobcpORA.pl 1. #providesource(orcurrentdbtobecopied) 2. #providedestinationdb,usuallysecondarydb 3. #mdbadminuserspassword 4. #dumpname(defaultisusuallyfine) 5. #ORACLE_HOMEifnotdefined 6. #confirmifoktodeletedatainsecondarydb 3. #forDualScheduler Beawareofautostartaftersp4upgrade UsenrwhenapplyingtheINCR1patchtopreventrestart AlwaysstartPrimaryscheduler,thenShadow,andTiebreaker(if applicable),inthatorder,aftertheupgradesarecompleted