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
This is a defect in dxi-component-scale.sh, it is not enabling the respective product in apmservices-manager config map.
Valid for Openshift or Kubernetes environments
Products:
DX Operational Intelligence 20.x
DX Application Performance Management 20.x
DX AXA 20.x
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