DX Platform - Unable to activate DX OI, APM or AXA using dxi-component-scale.sh

book

Article ID: 223093

calendar_today

Updated On:

Products

DX Operational Intelligence DX Application Performance Management CA App Experience Analytics

Issue/Introduction

I have installed OI 20.2.x on-premise in OpenShift and now I would like to add APM or AXA

For example, we scaled up APM using : <installer-home>/tools/dxi-component-scale.sh -n <namespace> -p apm UP

but APM option doesn't appear in LaunchPad

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/dx-platform-on-premise/20-2/installing/Enable-the-Capabilities-Post-Installation.html#concept.dita_920b345d-5f88-4168-a171-955a77b99b7e_EnableCapabilities

 

Cause

This is a defect in dxi-component-scale.sh, it is not enabling the respective product in apmservices-manager config map. 

Environment

Valid for Openshift or Kubernetes environments

Products:
DX Operational Intelligence 20.x
DX Application Performance Management 20.x
DX AXA 20.x

Resolution

1. Go to K8s or Openshift master

2. Edit config map of apmservices-manager 
 kubectl edit configmap apmservices-manager

3. Locale below properties and enable the appropriate product (the one you have scaled up using dxi-component-scale.sh

APMMANAGER_AXA_ENABLED: "false"
APMMANAGER_DXCOMPONENTS_APM_ENABLED: "false"
APMMANAGER_DOI_ENABLED: "true"

3. Restart apmservices-manger pod

Scale down
kubectl scale --replicas=0 deployment apmservices-manager-001 -n<namespace>

Check pods is not availabe: 
kubectl get pods -n<namespace> | grep apmservices-manager

Scale Up: 
kubectl scale --replicas=1 deployment apmservices-manager-001 -n<namespace>

4. Logout/Login

Additional Information

DX AIOPs - Troubleshooting, Common Issues and Best Practices