Monitoring a Cisco UCS B-Series Blade Chassis

How to monitor a Cisco UCS B-Series Blade Chassis with Hardware Sentry KM.

Related Topics

Principle

The Cisco UCS B-Series infrastructure consists of:

  • A main chassis (UCS 5100) with the blade servers (B-Series)
  • A couple of Fabric Interconnect Switches.

The switches are responsible for linking the blade servers to the LAN and to a SAN (optional). The switch is capable of handling all traffic on the same backplane (everything is 10 Gb/s Ethernet, and SAN traffic is encapsulated into Ethernet frames).

The switch is also responsible for the management of the entire platform. UCS Manager, the Cisco built-in administration tool, is actually a Web application running on the switch itself. It gives visibility on the health of the main chassis (temperature, cooling, powering), the health of the interconnect switches (temperature, cooling, powering, connectivity) and an overall status of each blade server.

In order to cover the entire UCS B-Series platform, Hardware Sentry KM connects to the switch to gather all metrics related to the main chassis and the switch.

Prerequisites

A user account with operator privileges is required to connect to the UCS Manager.

To validate your credentials:

  1. Connect to the Cisco UCS Manager from the server on which the PATROL Agent is running.

  2. Enter the credentials that you will also use to configure the monitoring of your Cisco UCS.

Connectors

Hardware Sentry KM uses Connector files to communicate with monitored systems. There are three different connectors for Cisco UCS Blade systems, all of which use different protocols.

  1. REST API
  2. SNMP
  3. Cisco UCS XML API

All three rely on UCS Manager. There are some small differences in the monitors between connectors.

  • The REST API based connector will provide monitoring of the switch, but only provides an overall status of the blades.

  • The SNMP connector cannot provide switch monitoring, but it can provide more detailed blade monitoring, including Disk Controllers, memory and processors.

The REST API connector is recommended, so these instructions will use it. If you choose to use one of the others, simply select that protocol instead, and specify the appropriate connector.

Monitoring from TrueSight or Helix console

  1. In the console, Add or edit a Monitoring Policy.

  2. In the Add Monitoring Configuration section, choose the Hardware Sentry solution, and click Add in the list of devices. Specify the monitoring policy properties:

    1. Enter the Internal ID of the Cisco UCS you wish to monitor (ucs-manager in our example). This ID will be used as a label to identify the device in the TrueSight console.
    2. Enter the actual hostname or IP address of the Cisco UCS (ucs-manager in our example).
    3. From the Device Type list, select “Management Card/Chip, Blade Chassis, ESXi”.
    4. (Optional) Enter the FQDN to associate the system to another device in TrueSight. The FQDN uniquely distinguishes a device from any other system and ensures that a device monitored via their management cards or through controllers, for example, is properly identified.
  3. Scroll down to the Protocol/Connection Information section.

  4. Expand the HTTP section, And check the box to enable HTTP.

  5. Enter the same credentials as used above to establish the connection to the UCS Manager’s URL.

  6. Scroll down to the Device Advanced Settings section and expand the Connectors panel.

  7. From the Connector Selection list, select “Use Specified Connectors”.

  8. In the Connector File Names, enter the name of the connector you wish to use, that is MS_HW_CiscoUCSRest.hdf for Cisco UCS.

  9. Click OK twice to save your settings.

  10. After a few minutes, the newly discovered devices is displayed in the Devices view:

Monitoring from the Monitoring Studio X console

  1. Open the Monitoring Studio X console on your PATROL agent host at https://<patrol-agent>:<patrol-agent-port+262>/

  2. Navigate to KMs > Hardware Sentry.

  3. Under Monitored Systems, click New System.

    1. Enter the hostname or IP address of the Cisco UCS.
    2. From the Device Type list, select “Management Card/Chip, Blade Chassis, ESXi”.

  4. In the Protocols section, click the slider to enable HTTP.

  5. Enter valid credentials for the UCS Manager.

  6. In the Connector Selection section, select “Use the Connectors Specified Below”.

  7. Under Available Connectors, search for Cisco UCS Manager (REST), and click the slider to enable it.

  8. Click Create to save your settings.

  9. After a few minutes, the newly discovered device is displayed in the Console tab:

Monitoring Individual Blades

After monitoring of the blade enclosure has been configured, if more detailed monitoring information for the individual blades is required, they can be monitored individually as if they were standalone systems.

  • For blades running ESXi, use the ESXi connectors
  • For others, use generic connectors such as IPMI