When performing a silent upgrade using following command :
./setup.bin -i silent -DACCEPT_EULA=ACCEPT -DAGENT_UPGRADE_PATH=/opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT -DUSE_BUNDLED_JVM=true -DUPGRADE_BACKUP_LOCATION=/opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT_backup -DAGENT_UPGRADE_FORCE=true -DUPGRADE_ACTIVEJOB_CHECK=false
What does the upgrade script precisely do with the system agent binaries ?
Release : 12.0
Component : Workload Automation System Agent
When executeing the silent upgrade command using following command
./setup.bin -i silent -DACCEPT_EULA=ACCEPT -DAGENT_UPGRADE_PATH=/opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT -DUSE_BUNDLED_JVM=true -DUPGRADE_BACKUP_LOCATION=/opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT_backup -DAGENT_UPGRADE_FORCE=true -DUPGRADE_ACTIVEJOB_CHECK=false
a tar file is created of all binaries & directories that are going to be touched.
In above command, the tar file is created into /opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT_backup directory (see UPGRADE_BACKUP_LOCATION parameter).
The name of the tar file "backup-yyyy-mm-dd-hhmmss.tar".
When running command "tar -tvf backup-2022-01-31-113417.tar" to see what it backed up in the tar file, it has following files
-rwxr-xr-x autosys/autosys 801604 2022-01-31 11:34 cybAgent.bin
-rwxr-xr-x autosys/autosys 583976 2022-01-31 11:34 cybspawn.bin
-rwxr-xr-x autosys/autosys 13810 2022-01-31 11:34 libfilefilter.so
-rwxr-xr-x autosys/autosys 12063 2022-01-31 11:34 libftpsecurity.so
-rwxr-xr-x autosys/autosys 19832 2022-01-31 11:34 libobjmon.so
-rwxr-xr-x autosys/autosys 66737 2022-01-31 11:34 libplugininvoker.so
-rwxr-xr-x autosys/autosys 166399 2022-01-31 11:34 ESPmgr.bin
-rwxr-xr-x autosys/autosys 84983 2022-01-31 11:34 ESPlmi
-rwxr-xr-x autosys/autosys 270895 2022-01-31 11:34 filewatcher
-rwxr-xr-x autosys/autosys 192252 2022-01-31 11:34 as_c_bind
-rwxr-xr-x autosys/autosys 79653 2022-01-31 11:34 chkusr
-rwxr-xr-x autosys/autosys 11644 2022-01-31 11:34 cybermation.mib
-rwxr-xr-x autosys/autosys 84983 2022-01-31 11:34 PluginInstaller
-rwxr-xr-x autosys/autosys 3244 2022-01-31 11:34 PluginInstaller.lax
-rwxr-xr-x autosys/autosys 59904 2022-01-31 11:34 cacerts
-rwxr-xr-x autosys/autosys 3277 2022-01-31 11:34 ESPlmi.lax
-rw-rw-r-- autosys/autosys 55678 2022-01-31 11:34 lax.jar
-rw-rw-r-- autosys/autosys 3974 2022-01-31 11:34 agentparm.txt
-rwxr-xr-x autosys/autosys 205 2022-01-31 11:34 password
-rwxr-xr-x autosys/autosys 200 2022-01-31 11:34 keygen
-rwxr-xr-x autosys/autosys 409 2022-01-31 11:34 ftpusrcfg
-rwxr-xr-x autosys/autosys 766 2022-01-31 11:34 cybAgent
-rwxr-xr-x autosys/autosys 632 2022-01-31 11:34 cybspawn
-rwxr-xr-x autosys/autosys 622 2022-01-31 11:34 ESPmgr
-rw-rw-r-- autosys/autosys 30 2022-01-31 11:34 security.txt
and complete jars and jre directory.