Running Analytics on Demand
Before you run Analytics on Demand, do the following:
- To ensure that Analytics is not currently running, run the following command on any worker or master node to confirm:
ANALYTICS_POD=$(kubectl get pods -n $(kubectl get namespaces | awk '/arcsight/ {print $1}') |awk '/interset-analytics/ {print $1}') ; kubectl exec -it -n $(kubectl get namespaces | awk '/arcsight/ {print $1}') ${ANALYTICS_POD} -c interset-analytics -- ls -l /tmp/interset_lock/
-
If Analytics is currently running, the output of this command will be:
=> tenant_0.lock
In this case, wait for Analytics to complete running before proceeding. The command can be run periodically to monitor the status of Analytics.
- If the previous Analytics execution failed, check whether the properties in the Intelligence tab are set correctly. If this does not solve the issue, contact OpenText Customer Support.
To run Analytics on demand:
-
Launch a terminal session and log in to the NFS node.
-
Navigate to the following directory:
cd <NFSVolume>/interset/analytics
-
(Conditional) Delete the
blackhawk_down
file, if present. This is an error file and it is generated if the previous Analytics execution fails.rm blackhawk_down
-
When prompted whether you want to delete the file, enter yes.
-
Execute the following command to delete the latest
AnalyticsStarted.mk
andAnalyticsCompleted
files:rm -rf AnalyticsStarted-0-<Today's_date>.mk AnalyticsCompleted-0-<Today's_date>.mk
-
When prompted whether you want to delete the files, enter yes.
After 30 seconds of deletion of the files, Analytics is triggered automatically.