search cancel

How to uninstall and then reinstall CABI in UIM 9.x/20.x

book

Article ID: 97227

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

How do I completely uninstall CABI from UIM 20.x? How to remove CABI from UIM? 

This KB provides steps to completely remove/uninstall CABI from UIM.

You may need to uninstall and reinstall CA Business Intelligence (CABI) Bundled for one or more of the following reasons:

  • CABI doesn't start
  • Cannot access the dashboard or the dashboard fails to load
  • Data Access Error, e.g., in OC Reports page 

Environment

  • UIM 8.51, 9.x, 20.x
  • CABI 3.20, 4.x
  • uim_core_dashboards_pack - related versions
  • uim_cabi_health_report_pack - related versions
  • uim_unified_reporter_pack - related versions
  • ump_cabi - related versions

Resolution

- Gather the scripts for MS SQL server (attached to this KB), or MySQL and Oracle from the following location on the cabi server, and save them off:

   ...\Nimsoft\probes\service\cabi\config\scripts\drop_tables\Scripts for Upgraded versions

- remove cabi probe (via IM or AC)
- remove wasp probe (via IM or AC)
- remove ../nimsoft/c (from the cabi robot)
- remove ../nimsoft/probes/service/cabi (from the cabi robot)
- remove ../nimsoft/probes/service/wasp (from the cabi robot)
- run the delete queries against the UIM SQL database 3 times (attached script) (or previous grabbed scripts in the case of MySQL, and Oracle)

Note: This is required due to some overlap in dependencies.

- install wasp to the cabi server
- verify that wasp will run with a port and pid (your certificate.pem file should be in place and referenced in the robot.cfg)
- edit the wasp config with the correct data_engine path (/domain/primaryhub/primaryhubrobot/data_engine)
- allow wasp to restart (verify port and pid, and that there are no errors in the wasp.log)
- deploy the cabi probe to the cabi server
- deploy the following packs to the cabi server

     a. uim_unified_reporter_pack
     b. uim_cabi_health_report_pack
     c. uim_core_dashboards_pack

- push ump_cabi to the OC server
- change the cookies setting on cabi and OC as needed:

On the CABI robot:

Deactivate the cabi probe.

Raw Configure the CABI probe and set the CABI configuration parameter cabi_url to http://<URLwithMatchingSubdomainAndDomain>:<port>/cabijs.

Deactivate the wasp probe.

Modify nimsoft/probes/service/wasp/webapps/cabijs/META-INF/context.xml with

<CookieProcessor class="org.apache.tomcat.util.http.Rfc6265CookieProcessor" sameSiteCookies="Lax" />.

Activate the cabi probe.

Activate the wasp probe

 

On the Operator Console robot:

Deactivate the wasp probe.

Modify nimsoft/probes/service/wasp/webapps/cabi/META-INF/context.xml with

<CookieProcessor class="org.apache.tomcat.util.http.Rfc6265CookieProcessor" sameSiteCookies="Lax" />.

Activate the wasp probe.

Attachments

1612797832172__newcabiscript20.3.txt get_app