Upgrade to R12.0 from 11.3.6, installer seems to try Fresh install and not detect upgrade
search cancel

Upgrade to R12.0 from 11.3.6, installer seems to try Fresh install and not detect upgrade

book

Article ID: 203715

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) Workload Automation Agent Autosys Workload Automation

Issue/Introduction

Customer is trying to upgrade a working 11.3.6 Autosys Server to 12.0.  But 12.0 installer does not seem to detect the 11.x module for upgrade. It appears as if its trying a fresh install and not an upgrade.  How to upgrade?

Environment

Release : 12.0

Component : CA Workload Automation AE (AutoSys)

Cause

The 12.0 installer detects existing 11.x modules in several ways

a) /etc/profile.CA for AUTOSYS_INSTALL_LOCATION 

b) After checking the file, it looks for /bin/lsm   (/usr/bin/lsm).  This module is used by Autosys to check what RPM/PIFs you have for AE.  As this module is not present, its not able to get what components are installed

 

2020-11-10 08:35:23,700 [main] DEBUG com.ca.wla.ae.installer.DetectAEInstallComponents - OS:nix
2020-11-10 08:35:23,701 [main] DEBUG com.ca.wla.ae.installer.AELSMInstallComponents - Running /bin/sh  -c /usr/bin/lsm -l -O PIF
2020-11-10 08:35:23,701 [main] DEBUG com.ca.wla.ae.installer.AELSMInstallComponents - Running command: [/bin/sh, -c, /usr/bin/lsm -l -O PIF]
2020-11-10 08:35:23,704 [main] INFO  com.ca.wla.ae.installer.util.CommandUtil - Read error stream = /bin/sh: /usr/bin/lsm: No such file or directory
2020-11-10 08:35:23,707 [main] DEBUG com.ca.wla.ae.installer.util.CommandUtil - RetVal =127
2020-11-10 08:35:23,707 [main] DEBUG com.ca.wla.ae.installer.util.CommandUtil - RetVal =127
2020-11-10 08:35:23,708 [main] DEBUG com.ca.wla.ae.installer.AERPMInstallComponents - Running command: [/bin/sh, -c, /usr/bin/lsm -l -O rpm|grep ca-waae]
2020-11-10 08:35:23,725 [main] INFO  com.ca.wla.ae.installer.util.CommandUtil - Read error stream = /bin/sh: /usr/bin/lsm: No such file or directory
2020-11-10 08:35:23,725 [main] DEBUG com.ca.wla.ae.installer.util.CommandUtil - RetVal =1
2020-11-10 08:35:23,725 [main] DEBUG com.ca.wla.ae.installer.util.CommandUtil - RetVal =1

 

Resolution

1) Copy the /bin/lsm  module from a working server.

2) /opt/CA/SharedComponents/Installer  (if needed, copy this folder over from a working server too)