microsoft / SCXcore

System Center Cross Platform Provider for Operations Manager
Microsoft Public License
36 stars 31 forks source link

Fix Omiserver is still running under "/opt/microsoft/scx/bin/" after upgrade OM agent from 2012 to 2016 #74

Closed nirsingh closed 7 years ago

nirsingh commented 7 years ago

Issue : After upgrading the OM agent from 2012 to 2016 on AIX platform, the Omiserver is still running under "/opt/microsoft/scx/bin/" where as it should be running under "/opt/omi/bin/"

Analysis : On the 2012 OM agent we do not have omi.rte and hence when we check if the omi.rte is already installed, the check fails and omi (2016) is installed, but it does not kill the omiserver process running from "/opt/microsoft/scx/bin/"

Fix : We should stop the 2012 agent (scx.rte) before upgrading to 2016.

Note: Tried analyzing to place the fix to other appropriate place, but do not see any other place in the code where this can be handled. eg DataFiles

@ostc-devs