This article will be applicable in the following situations:
If you are using zArchitecture Bridge then this KB is not applicable.
WatchTower 1.3 and above
It is recommended to stop the data feed and ensure that all existing data on the Kafka bus has been fully consumed before upgrading. This prevents metric data loss during the upgrade duration.
Instructions on how to drain Kafka topics in WatchTower (WT) in preparation for upgrade or reinstallation of Kafka
Note: These instructions are restricted to the Mainframe data feed via the Message Service Server. This process is not applicable for a data feed via zArchitecture Bridge.
Scale the datastream-hub-deployment down to 0 replicas. This action stops WatchTower from receiving new metric data from the Mainframe, allowing the existing Kafka bus to be processed.
kubectl scale -n <namespace> deploy datastream-hub-deployment --replicas 0 |
sh diagnostics.sh summary -n <namespace> |
Diagnostics Summary ------------------------------------------------------------------------- PROBLEMS ------------------------------------------------------------------------- PROBLEM: There is no data flow to WatchTower. ROOT CAUSE: There is no data flow to WatchTower as no active subscriptions are found. RECOMMENDATION: Follow the CCS Message Server technical documentation to configure or troubleshoot the subscriptions. |
sh diagnostics.sh summary -n <namespace> |
------------------------------------------------------------------------- Pod: ml-insights-profiler-ade-0 Average Moving Rate of 0 for the last x minutes. ------------------------------------------------------------------------- ------------------------------------------------------------------------- Pod: ml-insights-profiler-alarm-manager-77dbb5c766-lq4tw Average Moving Rate of 0 for the last y minutes. |