Introduction
This document describes how to verify the health of a Tetration Analytics cluster.
Prerequisites
Requirements
Cisco recommends that you have knowledge of these topics:
- Logging into a cluster
- Basic User Interface (UI) experience
Components Used
The information in this document is based on these software and hardware versions:
- Version 2.2.1.x
- 39RU Tetration Analytics Cluster
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Background Information
A Tetration cluster consists of hundreds of processes (programs) running across multiple VMs [Vitual Machines] on multiple UCS C220-M4 servers. Several services and features are in place to help monitor the operations of the cluster and alert the administrator when the cluster may not be fully functional.
This document provides a view of what to check when verifying the health of the cluster. While the scope of this document includes verifying the health, if action is required to help address what appears to be something not functioning properly, collect a snapshot and open up a case with the Cisco Tetration Solution Support TAC team.
Two common tools used to verify the health of the cluster are the Cluster Status and Service Status pages which are covered in this document along with a couple of other system tools. Though Bosun critical email alerts are often one of the first indications to an administrator that something may be occurring in the cluster, verifying the health of the cluster is typically best done through the Cluster Status and Service Status pages.
While Boson alerts provide syslog like capabilities, in some Tetration releases, some critical Bosun alerts have been triggered in a normally functioning cluster. A search through cisco.com bug search tool for Tetration product with the metric keyword will help to identify possible issues for a specific metric.
When to Check the Health of the Cluster:
Normally, the administrator of the cluster will not have to check the functionality of the cluster. There are however certain times when it may be needed. A few examples are listed here:
- When the user sees unexpected behavior in the user interface (UI). This in part is based upon the user's knowledge and experience of how the cluster should be functioning but some examples are shown in this section Operational Display Parameters.
- When some data is expected to be seen but it not displayed in the UI. For example, flow data from a software or hardware agent (sensor) when viewing the proper scope and time range where data is expected to be displayed.
- Before and after any scheduled service, upgrade, or major action of the cluster. It is best practice to collect a snapshot before and another snapshot after any maintenance and have this available in case a TAC case is opened. This helps TAC isolate the issue by looking for changes made during the maintenance.
Note: Some service disruptions are normal for a period of time immediately following system maintenance on the cluster. The period of time may be up to 24 hours in the example of a server replacement where a datanode VM runs on that server. Normal system redundancy in the cluster typically mitigates negative effects of a single server replacement.
Different Ways to Verify the Operational State of a Tetration Cluster
Operational Display Parameters
An administrator that has knowledge and experience of the operation of the cluster is able to recognize what the normal operation of the cluster looks like in their environment. These are a few examples of what to look for when verify whether the cluster is operating normally.
Example 1: The latest flow time available is within 10 minutes of the current time
![](/c/dam/en/us/support/docs/data-center-analytics/tetration-analytics/213262-verify-the-health-of-a-tetration-analyti-00.png)
Example 2: The latest Application Workspace time available is within 10 hours of the current time:
![](/c/dam/en/us/support/docs/data-center-analytics/tetration-analytics/213262-verify-the-health-of-a-tetration-analyti-01.png)
Example 3: Dashboard content is populated.
![](/c/dam/en/us/support/docs/data-center-analytics/tetration-analytics/213262-verify-the-health-of-a-tetration-analyti-02.png)
Cluster Status
A Tetration Analytics cluster consists of either 6 (8RU) or 36 (39RU) servers depending on the cluster type. The Cluster Status page provides the state of the servers as well as other bare metal server information.
The Cluster Status page is located in the Maintenance menu available from the settings drop-down (Settings > Maintenace; Cluster Status in left column.)
Note: Only the icon is visible until you click on left hand column.
![](/c/dam/en/us/support/docs/data-center-analytics/tetration-analytics/213262-verify-the-health-of-a-tetration-analyti-03.png)
The Cluster Status page on a cluster displays a list of all servers in the cluster. A functioning server should display a State of Commissioned and a Status of Active as shown here.
Note: Image is truncated to the first 6 of 36 servers (39RU cluster).
If the Status shows Inactive, this typically points to a server which is not powered on or potentially has cable or connectivity issues.
As you click on a server in the list, additonal information about that specific server is displayed, which includes:
- Instances (virtual machines) running on the bare metal server.
- Private IP Address within the cluster.
- CIMC IP Address within the cluster.
- Firmware Versions (BIOS, CIMC, RAID Controller) running on the server.
Service Status
The ServiceStatus page displays all services that are used in Cisco Tetration Analytics cluster with their dependencies and health status.
The Service Status page is located in the Maintenance menu available from the settings drop-down. (Settings > Maintenace; Service Status in left column.)
Note: Only the icon is visible until you click on left hand column.
![](/c/dam/en/us/support/docs/data-center-analytics/tetration-analytics/213262-verify-the-health-of-a-tetration-analyti-06.png)
By default the Service Status page shows the cluster functions and dependencies in a graphical view. If the icons are all green, no error is detected.
![](/c/dam/en/us/support/docs/data-center-analytics/tetration-analytics/213262-verify-the-health-of-a-tetration-analyti-07.png)
If there is a service that displays in red or orange, the tree view will show the list of services and allow you to drill-down on the dependencies of the service as well as on other details the Service Status function has detected. This dependency error information is particularly important to note and capture when opening a case with the TAC.
For example, here is what the list display looks like when one of the HDFS DataNode virtual machines in the cluster is down
Note: There may not be a noticeable impact to the cluster due to redundancy designed into the Tetration cluster.
![](/c/dam/en/us/support/docs/data-center-analytics/tetration-analytics/213262-verify-the-health-of-a-tetration-analyti-08.png)
Note: There may be some delay in certain services returning to a functioning state after maintenance has been performed. For example, a server that has a DataNode virtual machine instance running on it that is decommissioned and recommissioned for RMA maintenance may take up to 24 hours before the detected issue clears.
Though details in Service Status indicate what may be happening in the event of some detected issue, the recommendation is to open a TAC case if there are any questions about the meaning and/or potential actions to take to remediate them.
Bosun Alerts
Bosun is an open source monitoring and alerting system which is used in the Tetration Analytics cluster to monitor various metrics of the services (a program that starts at boot) running in the cluster. When a service is running normally, it will populate its metrics in openTSDB. The Bosun program looks at the metrics of a service in openTSDB and apply the bosun rules to determine whether or not to alert on the current metrics. Bosun alerts may be seen locally on the cluster UI under Monitoring > Sentinel [Alerts].
Bosun uses email (sent to the cluster site configuration site_bosun_email) to alert the cluster administrator of a potential critical condition when a threshold for that metric is crossed. Bosun generates 3 types of emails:
Crtiical: when a metric for a Bosun alert rule exceeds the configured threshold
Normal: Follows a "critical" email once the metric falls under the threshold
Summary: Typically sent every 6 hours and shows a summary of the alerts during the 6-hour window
Examples of email alerts:
Critical (for intentservice.checkMissingIntentService metric):
Normal:
Summary:
The critical alerts contain information about which metrics, when, the threshold, measured data point and a Description of the issue. For example, the alert might be generated when the service is malfunctioning and no longer supplying its metrics to openTSDB. The meaning and potential impact of the Bosun critical alert may require a TAC case be opened to better understand the context and explain the meaning of the alert.
Collect Snapshot and Open TAC Case
The Cisco Tetration Solution Team specializes and supports Tetration Analytics customers. One of the common items that help TAC engineer the most with their troubleshooting process is a snapshot collection of logs from the cluster. Sometimes only the information contained in the snapshot log files is enough to understand the issue. If not, a snapshot provides the starting point in the troubleshooting process in many cases.
A snapshot in a Tetration cluster is similar to techsupport in other Cisco products. It is a compressed tarball file or log files from all servers and virtual machines and includes:
- Logs
- State of Hadoop/YARN application and logs
- Alert history
- Numerous TSDB statistics
The snapshot page is located in the Maintence menu available from the settings pulldown. (Settings > Maintenace; Snapshots in left column.)
Note: Only the icon is visible until you click on left hand column.
![](/c/dam/en/us/support/docs/data-center-analytics/tetration-analytics/213262-verify-the-health-of-a-tetration-analyti-12.png)
The snapshot page offers various options to select but unless instructed by a TAC engineer, the default values can be used to collect the snapshot.
One important area to modify is Comments. Comments should provide information to indicate why the snapshot was collected when there are multiple snapshots collected from the cluster and the comment added are also available inside the snapshot during analysis by Cisco TAC.
![](/c/dam/en/us/support/docs/data-center-analytics/tetration-analytics/213262-verify-the-health-of-a-tetration-analyti-13.png)
When the Create button is clicked, the snapshot process begins. Only one snapshot can be created at a time and it takes several minutes for the process to complete. A progress bar for the snapshot collection is seen at the top of the snapshot page.
The snapshot can then be downloaded to the user's local system as you clicked the appropriate Download link on the snapshot page, as shown in the image:
![](/c/dam/en/us/support/docs/data-center-analytics/tetration-analytics/213262-verify-the-health-of-a-tetration-analyti-14.png)
Note: The snapshot file may be as large as several hundred megabytes in size. This file can then be uploaded into the open TAC case.
Related Information