- Preface
- New and Changed Information for this Release
- Overview
- Licenses for Cisco UCS Director Express for Big Data
- Configuring Cisco UCS Manager Accounts
- Adding Big Data Accounts
- Configuring Big Data IP Pools
- Configuring Cisco UCS Service Profile Templates for Big Data
- Configuring Hadoop Cluster Profile Templates
- Configuring Cisco UCS Server Pool Policies
- Configuring and Deploying Hadoop Cluster Deployment Templates
- Managing a Hadoop Cluster
- Hadoop Cluster Configuration Settings
- Cisco UCS CPA Workflows
- Monitoring and Reporting
- Proactive Status Monitoring and Diagnostics
- Aggregate CPU, Disk, and Network Bandwidth Utilization
- Monitoring Aggregate CPU, Disk, and Network Bandwidth Utilization
- Monitoring Top Jobs Based on CPU Utilization and Time
- Performance Metrics for CPU, Disk, and Network
- Viewing CPU, Disk, and Network Statistics for a Hadoop Cluster
- Analyzing Performance Bottlenecks through Historical Metrics
- Setting Alerts for Hadoop Cluster Service Failures
- Types of Disk and Network Failure Alerts
- Setting Alerts for Disk and Network Failures
- Setting Disk Utilization Threshold Alerts
Proactive Status Monitoring and Diagnostics
This chapter contains the following topics:
- Aggregate CPU, Disk, and Network Bandwidth Utilization
- Monitoring Aggregate CPU, Disk, and Network Bandwidth Utilization
- Monitoring Top Jobs Based on CPU Utilization and Time
- Performance Metrics for CPU, Disk, and Network
- Viewing CPU, Disk, and Network Statistics for a Hadoop Cluster
- Analyzing Performance Bottlenecks through Historical Metrics
- Setting Alerts for Hadoop Cluster Service Failures
- Types of Disk and Network Failure Alerts
- Setting Alerts for Disk and Network Failures
- Setting Disk Utilization Threshold Alerts
Aggregate CPU, Disk, and Network Bandwidth Utilization
You can monitor the aggregate CPU, disk, and network bandwidth utilization across all the hosts in a cluster. The metrics are collected in the following way:
-
Aggregate CPU and Disk metrics: For every host that is running the job, the PID collects the percentage of CPU and memory used by the job. The sum of all these percentages gives the aggregate CPU and disk metrics.
-
Aggregate network bandwidth metrics: The network bandwidth on each network interface in a host is obtained, which is then added up to obtain aggregate for one node. Similarly network bandwidths are measured for all the nodes in the cluster. The sum of all these bandwidths provides the aggregate network bandwidth metrics for the cluster.
-
Duration of long-running jobs: A Rest API collects the start time, lapsed time, and end time for each job identified on the cluster. The difference between start time and end time provides the duration of completed jobs. The lapsed time provides the duration of the jobs running currently.
Monitoring Aggregate CPU, Disk, and Network Bandwidth Utilization
Monitoring Top Jobs Based on CPU Utilization and Time
To monitor top jobs based on CPU utilization or time (both active and completed long-running jobs), do the following:
Performance Metrics for CPU, Disk, and Network
You can collect CPU, disk, and network metrics and analyze these metrics to find and fix performance bottlenecks that occur in the compute, network, or Hadoop setup across the cluster.
The metrics reports are of the following types:
-
Pre-Cluster: This metrics report is generated automatically for a server that has just been installed with Red Hat Linux. This report is created before the server becomes part of a cluster.
-
Post-Cluster: This metrics report is generated on demand when you run the performance test for a Hadoop cluster.
When you run the performance test for a Hadoop cluster, the following metrics are shown in detail:
- Memory metrics: Memory metrics measure the memory utilization of each host on the Hadoop cluster. The report includes the triad rate, which is the average rate at which read, write, and copy operations take place. The triad rate is a standard measure of memory bandwidth.
-
Network metrics: Network metrics measure the network bandwidth of the Hadoop cluster. The report displays the rates at which network packets are transferred between the client and the server in the Hadoop cluster.
-
Disk metrics: Disk metrics identify how fast a disk can perform. The report lists the time taken to read and write a file, to rewrite to an existing a file, and to randomly (non-sequentially) read and write files. The disk metrics are included only in the pre-cluster report.
-
DFSIO metrics: The DFSIO test is a Hadoop benchmark that stress-tests the storage I/O (read and write) capabilities of the cluster. The report measures the bytes processed, execution time, the average I/O rate and throughput to read and write multiple files. The DFSIO metrics are included only in the post-cluster report.
-
TeraSort metrics: The TeraSort test is a Hadoop benchmark that tests the memory of the cluster. The report lists the counters for generating input, sorting the generated input, and validating the sorted output. The TeraSort Metrics is included only in the post-cluster report.
Viewing CPU, Disk, and Network Statistics for a Hadoop Cluster
You can collect and compare CPU, disk, and network metrics with the pre-cluster creation and post-cluster creation reports for a Hadoop cluster.
Analyzing Performance Bottlenecks through Historical Metrics
Comparing a historical metrics report (especially a metrics report that was collected when the cluster was performing well at peak load) with a metrics report captured during a poor performance helps identify metrics that could be the cause of the performance bottleneck in the Hadoop cluster.
To compare and analyze two metrics reports, do the following:
| Step 1 | On the menu bar, choose . |
| Step 2 | Click the Big Data Accounts tab. |
| Step 3 | Choose the Big Data Account and click View Details. |
| Step 4 | Click the Hadoop Clusters tab. |
| Step 5 | Choose the Hadoop cluster and click View Reports. |
| Step 6 | Click the Performance tab. |
| Step 7 | Click
Run Test.
The Performance tab displays a default Big Data Metrics Report that shows the statistics collected for each host before the Hadoop cluster creation and the reports post Hadoop cluster creation. |
| Step 8 | Choose two reports that you want to compare (for example, a report generated while the cluster was performing well and a report generated during poor performance) and click Compare. |
| Step 9 | Click Submit. |
Setting Alerts for Hadoop Cluster Service Failures
You can create an alert to monitor the health of the Hadoop cluster whenever Hadoop services go down. Based on the trigger conditions, you can also activate customized workflows that automatically take corrective action.
| Step 1 | On the menu bar, choose . | ||||||||||||
| Step 2 | Click the Triggers tab. | ||||||||||||
| Step 3 | Click
Add.
In the Trigger Information page of the Add Trigger wizard, complete the following fields:
| ||||||||||||
| Step 4 | Click Next. | ||||||||||||
| Step 5 | In the
Specify Conditions page of the
Add
Trigger wizard, click
Add a
new entry to the table below (+), and complete the following fields
in the
Add
Entry to Conditions dialog box:
| ||||||||||||
| Step 6 | Click Next. | ||||||||||||
| Step 7 | In the
Specify Workflow page of the
Add
Trigger wizard, do the following when the Hadoop cluster service is
down and when the trigger is reset:
| ||||||||||||
| Step 8 | Click Next. | ||||||||||||
| Step 9 | In the Specify Workflow Inputs page of the Add Trigger wizard, enter the inputs for the selected workflows, and then click Submit. |
Types of Disk and Network Failure Alerts
You can create alerts to detect faults related to disks and networks in a cluster.
The alerts that you can create for memory faults are as follows:
-
fltMemoryUnitInoperable: This alert is triggered when the number of correctable or uncorrectable errors that have occurred on a DIMM have reached a threshold. The DIMM might be inoperable.
-
fltMemoryUnitThermalThresholdNonRecoverable: This alert is triggered when the temperature of a memory unit on a server has been out of the operating range, and the issue is not recoverable.
-
fltMemoryArrayVoltageThresholdCritical: This alert is triggered when the memory array voltage exceeds the specified hardware voltage rating.
-
fltMemoryArrayVoltageThresholdNonRecoverable: This alert is triggered when the memory array voltage exceeds the specified hardware voltage rating, with potential memory hardware damage.
-
fltMemoryBufferUnitThermalThresholdCritical: This alert is triggered when the temperature of a memory buffer unit on a blade or rack server exceeds a critical threshold value.
-
fltMemoryBufferUnitThermalThresholdNonRecoverable: This alert is triggered when the temperature of a memory buffer unit on a blade or rack server has been out of the operating range, and the issue is not recoverable.
-
fltMemoryUnitDisabled:This alert is triggered when the server BIOS disables a DIMM. The BIOS could disable a DIMM for several reasons, including incorrect location of the DIMM or incompatible speed.
The alerts that you can create for disk faults are as follows:
-
fltStorageItemCapacityExceeded: This alert is triggered when the partition disk usage exceeds 70% but is less than 90%.
-
fltStorageItemCapacityWarning: This alert is triggered when the partition disk usage exceeds 90%.
-
fltStorageLocalDiskInoperable: This alert is triggered when the local disk has become inoperable.
-
fltStorageLocalDiskSlotEpUnusable: This alert is triggered when the server disk drive is in a slot that is not supported by the storage controller.
-
fltStorageLocalDiskMissing: This alert is triggered when a disk is missing.
-
fltStorageLocalDiskDegraded: This alert is triggered when the local disk has degraded. The fault description contains the physical drive state, which indicates the reason for the degradation.
The alerts that you can create for network faults are as follows:
-
fltAdaptorUnitMissing: This alert is triggered when the network adapter is missing or when the server cannot detect or communicate with the adapter.
-
fltAdaptorHostIfLink-down: This alert is triggered when the fabric interconnect is in End-Host mode and all uplink ports had failed, when the server port to which the adapter is pinned had failed, or when a transient error caused the link to fail.
-
fltAdaptorExtIfLink-down: This alert is triggered when the adapter's connectivity to any of the fabric interconnects cannot be validated, or when a node reports a vNIC down or link down event on the adapter link.
Setting Alerts for Disk and Network Failures
You can create alerts for disk or network failures in the Hadoop cluster. Alerts help you in pro-active cluster maintenance. Based on the trigger conditions, you can activate customized workflows that automatically take corrective action.
| Step 1 | On the menu bar, choose . | ||||||||||||
| Step 2 | Click the Triggers tab. | ||||||||||||
| Step 3 | Click
Add.
In the Trigger Information page of the Add Trigger wizard, complete the following fields:
| ||||||||||||
| Step 4 | Click Next. | ||||||||||||
| Step 5 | In the
Specify Conditions page of the
Add
Trigger wizard, click
Add a
new entry to the table below (+), and complete the following fields
in the
Add
Entry to Conditions dialog box:
| ||||||||||||
| Step 6 | Click Next. | ||||||||||||
| Step 7 | in the
Specify Workflowpage of the
Add
Trigger wizard, do the following when there is a network or disk
failure and when the trigger is reset:
| ||||||||||||
| Step 8 | Click Next. | ||||||||||||
| Step 9 | In the Specify Workflow Inputs page of the Add Trigger wizard, enter the inputs for the selected workflows, and then click Submit. |
Setting Disk Utilization Threshold Alerts
You can set an alert when the disk capacity reaches a threshold. This helps you to pro-actively plan for capacity expansions.
| Step 1 | On the menu bar, choose . | ||||||||||||
| Step 2 | Click the Triggers tab. | ||||||||||||
| Step 3 | Click
Add.
In the Trigger Information page of the Add Trigger wizard, complete the following fields:
| ||||||||||||
| Step 4 | Click Next. | ||||||||||||
| Step 5 | In the
Specify Conditions page of the
Add
Trigger wizard, click
Add a
new entry to the table below (+), and complete the following fields
in the
Add
Entry to Conditions dialog box:
| ||||||||||||
| Step 6 | Click Next. | ||||||||||||
| Step 7 | in the
Specify Workflowpage of the
Add
Trigger wizard, do the following when the disk utilization reaches
the threshold value and when the trigger is reset:
| ||||||||||||
| Step 8 | Click Next. | ||||||||||||
| Step 9 | In the Specify Workflow Inputs page of the Add Trigger wizard, enter the inputs for the selected workflows, and then click Submit. |
Feedback