Skip navigation
Razeem Mohamed

Monitoring Nutanix

Posted by Razeem Mohamed Moderator Feb 6, 2018
Share This:

Hello All,

 

I have developed a template based on Monitoring Studio KM to monitor the Nutanix Appliance through SNMP.

 

This configuration would cover

  • Cluster IOPS
  • Cluster Capacity
  • State of Data Service, Metadata Service and Nodes
  • Disk capacity, performance and state
  • Storage Pool capacity and performance
  • Storage Container capacity and performance
  • Hypervisor and VM level IOPS and performance metrics

 

If any of you is interested in beta testing this configuration, you can download and import the Nutanix-for-MonitoringStudiov94-beta.cfg on to the PATROL Agent loaded with the Monitoring Studio KM.

 

The instructions to import the configuration can be found at Importing a Configuration .

 

Any feedback will be appreciated.

 

TrueSight Operations Mgmt TrueSight Infrastructure Mgmt Sentry Software

Share This:

This post covers the IBM AIX servers running on the PowerPC processor architecture. This includes:

  • IBM RS/6000
  • IBM pSeries
  • IBM eServer p5
  • IBM eServer p6
  • IBM eServer p7

 

About IBM AIX servers

Since 1990, AIX has served as the primary operating system for the RS/6000 series (later renamed IBM eServer pSeries, then IBM System p, and now IBM Power Systems). Hardware Sentry KM and BPM Express for Hardware support AIX versions from 4.2.x.

Servers built by IBM and running the IBM AIX operating system have been on the market for 20 years. They all rely on the PowerPC architecture, with the latest recent addition of the POWER6 processor.

The internal parts of IBM AIX servers have always been a basic set of:

  • PowerPC processors
  • Memory modules
  • Ethernet cards
  • Fiber cards
  • SCSI disk controllers

  A few of these servers also included a RAID adapter (IBM SSA raid controllers). 

 

Hardware instrumentation

In-band: AIX system utilities (lsdev, dd, entstat, machstat, etc.)

The IBM AIX operating system comes with a bunch of command line utilities that provide some useful information about the underlying hardware. Unfortunately, it is important to note that AIX doesn’t offer any way to retrieve the actual value of environment sensors in the system.

The following utilities are used by Hardware Sentry KM and BPM Express for Hardware to discover, monitor, and process the various hardware components of IBM AIX systems:

  • uname,prtconf, lsdev, lscfg (general device discovery, status of processors and memory modules)
  • entstat (network card discovery and status)
  • fcstat (HBA discovery and status)
  • uesensor (environment on a few IBM pSeries systems)
  • bootinfo, machstat (environment on CHRP systems)
  • dd, errpt, lspv (disk monitoring)
  • awk, tail, head

  Bootinfo, machstat and dd require sudo / root access. 

 

 

Setting up Hardware Sentry on IBM AIX servers

Pre-requisites

  • The server must be running IBM AIX 4.x or above

Installation procedure

  • Install the PATROL Agent on the server (versions 3.5.00 and upward are supported, version 3.9.00 minimum is recommended) if it has not been already done.
  • Install Hardware Sentry KM for PATROL on the server (this can be done at the same time as the PATROL Agent). Please follow the instructions of the Installation Guide of Hardware Sentry.

Configuration

Some system utilities used by Hardware Sentry require root privileges. To ensure that Hardware Sentry can use these utilities to discover and monitor the hardware components of an IBM AIX server, you can either configure Hardware Sentry to execute all of its external commands as root or configure it to use the sudo utility for a specified list of commands.

To configure Hardware Sentry to impersonate as root for all of its external commands, [right-click] on the main “Hardware” icon > [KM Commands] > [This System’s Settings] > [Connection, Credentials and Connectors…] and enter the root login and password in the first step of the wizard.
To configure Hardware Sentry to use sudo, follow the same procedure but click on the “Sudo options” in the first step of the wizard. Then select which commands Hardware Sentry will use sudo for.

The list of commands that will require root privileges is the following:

  • /usr/sbin/bootinfo (on CHRP systems, i.e. most of AIX 5.x and 6.x systems)
  • /usr/sbin/machstat (on CHRP systems)
  • /usr/bin/dd

Please note that the sudo utility must have been installed on the system and configured to allow the PATROL Agent’s default account to execute the selected commands as root. This can be done in the /etc/sudoers file.

 

As LPARs can be dynamically allocated / de-allocated server components / resources, we recommend turning off missing device detection when monitoring LPARs.  (Hardware icon > KM Commands > KM Settings > Missing Device Detection).  Missing device detection can be left on for the VIO Server.

 

Troubleshooting

If Hardware Sentry KM or BPM Express for Hardware does not seem to monitor the power supplies and fans of IBM AIX 5.x or 6.x systems, it probably means that you haven’t configured the product with the root account or sudo as explained above.

It is normal not to have distinctive instances for each sensor, power supplies and fans. IBM AIX systems are not able to report the status of the environment with a per-sensor granularity. You only get a general “cooling” instance, and a general “powering” instance. These objects will trigger a warning or an alarm when a fan or a power supply fails or when the temperature goes to high.

 

If Hardware Sentry reports the status of the disks as “Unknown”, it probably means that the access rights on the /dev/hdiskN device files don’t allow the PATROL Agent’s default account on read access and Hardware Sentry hasn’t been configured to execute external commands as root or use the sudo utility for the dd command.

 

 

Discovered components and monitored parameters

When configured properly, the following connectors should be automatically selected by Hardware Sentry in order to monitor an IBM AIX server:

  • IBM AIX - Common
  • IBM AIX - CHRP Environment
  • IBM AIX - SCSI disks
  • IBM AIX - Environment (uesensor) (only on a few pSeries servers)

  In turn, the following components and parameters are discovered and monitored: 

  • Server model
  • Overall cooling status
  • Overall powering status
  • Memory modules, size, status, error count
  • Processors, type and frequency, status
  • Physical disks, vendor, size, serial number, error count and status
  • Network cards, vendor, model, status, link status, speed and duplex, input and output (bytes, packets and error percentage), bandwidth utilization
  • HBA, model, WWN, serial number, device type, bandwidth, link status, errorcount, total packets.

VIO Servers Specific Case

Principles

On IBM pSeries systems partitioned in several LPARs, the monitoring of the hardware needs to be configured in a specific way. Typically, one of the LPARs is dedicated to the processing of the I/Os and is called the VIO Server.

The monitoring of CPU, Overall Cooling Status, Overall Power Status and Memory is done at the LPAR level.  As each LPAR is only able to see components that have been exclusively dedicated to it or those components that are being shared with another LPAR, you will need to monitor several LPARs to be able to see all components.

The monitoring of Network Cards, Physical disks and HBAs requires access to the VIO.  The LPARs are only able to see the virtual versions of these components.  To get their real status we require access to the VIOS.

 

Installation procedure

  • Install the PATROL Agent on one or more LPAR (versions 3.5.00 and upward are supported, version 3.9.00 minimum is recommended) if it has not been already done.
  • Install Hardware Sentry KM for PATROL on each LPAR (this can be done at the same time as the PATROL Agent). Please follow the instructions of the Installation Guide of Hardware Sentry
  • Setup a remote monitoring of any other LPARs where the Patrol Agent / Hardware KM have not been installed. The following connectors should be used:

  IBM AIX - Common 

IBM AIX - CHRP Environment

  • Setup a remote monitoring of the VIO Server.  The following connectors should be used:

IBM VIO Server

 

Configuration

No additional configuration is required for LPAR monitoring. System utilities used by Hardware Sentry when monitoring the VIO require padmin privileges. To ensure that Hardware Sentry can use these utilities to discover and monitor the hardware components of an IBM AIX server, you can either configure Hardware Sentry to execute all of its external commands as padmin or use an user account with equal permission settings.

To configure Hardware Sentry to impersonate as padmin for all of its external commands, [right-click] on the main “Hardware” icon > [KM Commands] > [This System’s Settings] > [Connection, Credentials and Connectors…] and enter the padmin login and password in the first step of the wizard.

As LPARs can be dynamically allocated / de-allocated server components / resources, we recommend turning off missing device detection when monitoring LPARs.  (Hardware icon > KM Commands > KM Settings > Missing Device Detection).  Missing device detection can be left on for the VIO Server.

Filter Blog

By date:
By tag: