Health Monitoring Dashboards

New PowerHA Modern Web Interface
We recently announced a modern web interface for PowerHA on IBM i 7.4 and 7.5. This new modern web interface will provide at-a-glance health information from a web browser. Additional information on this new interface will be available in December. We recommend utilizing the new web interface built into PowerHA instead of Fortra’s Insite and Insite Analytics. The instructions below will remain for existing installations and those looking for examples of utilizing PowerHA SQL services in other monitoring products.
Planned availability: December 16th, 2022

PowerHA by design requires minimal ongoing monitoring, management, and maintenance. With PowerHA dashboards, ongoing monitoring is simplified even more. Dashboards enable administrators to see any errors or warnings that may affect their business continuity. These dashboards can be configured to show PowerHA information alongside information from other products and can be configured to show multiple PowerHA environments on one screen.

Before You Begin

The dashboards are delivered as part of Fortra’s Insite and Insite Analytics - a free offering from Fortra. Insite and Insite Analytics must be installed prior to following the steps below. For more information on Insite see the following information:

These dashboards require the following PowerHA versions: 7.4 HA 4.3.1 7.2 HA 3.5

Procedure

Open Insite Analytics

  1. Log in to the Insite Server

  2. Open the Insite Analytics Product

Note: For general usage of Insite Analytics, see the Insite Analytics Users Guide.

  1. After logging in to the Insite server, the homepage is displayed.

  2. Click the Select Product button and select Insite Analytics.

  3. The Insite Analytics menu will appear.

 

Creating Data Connections

Data connections define the link between the SQL queries, the different systems and databases across the network where the data is stored. Follow the steps in this section to create data connections between Insite Analytics and the PowerHA cluster nodes.

Tip: You must add a Data Connection for at least one node in each PowerHA cluster. Data connections are not necessary for every node in a PowerHA cluster. Insite Analytics displays data as it is transmitted by the nodes with a data connection.

  1. Add a data connection for at least one node in each cluster that will be on a dashboard

  1. In the Insite Analytics Menu select Data Connections

  2. Click +Add from the Data Connections panel.

  3. Fill in the following options:

    1. Name: Enter a name for the data connection. The IBM i Host Name is a good choice for the name of the connection.

    2. Driver: From the dropdown list, select Db2/400

    3. URL: Define the connection string that will be used to connect to the server. The connection string template is:

      jdbc:as400://[serverName];prompt=false;extendedmetadata=true;translatebinary=true;libraries=*LIBL;naming=system


      Where: [serverName] = the network resolvable name or address of the IBM i server.
      For example, if the server had IP address 203.0.113.2, the connection URL would be: jdbc:as400://203.0.113.2;prompt=false;extendedmetadata=true;translatebinary=true;libraries=*LIBL;naming=system

    4. Timezone: If the IBM i Server is in a different time zone to the Insite Server, set its UTC offset accordingly.

    5. Permissions: By default, permission to edit or use a data connection is limited to the Admin user and the creator of the data connection. These options enable other users to be given permission to either edit or use the data connection. Possible values are:

      1. Users: Choose any of the listed users to provide rights to the data connection.

      2. Groups: Choose any of the listed groups to provide rights to the data connection.

      3. Permit All: Select whether to allow all users access to the data connection or to limit permissions to the Admin, creator, or any specified user or group.

    6. Credentials: For the node defined in the URL above, enter a valid IBM i Username and Password of the user profile that will be used to process requests for this data connection.

  4. Click the blue Test button to verify the connection

  5. Click the green Save button at the top right to save the connection details.

  6. If you have more than one cluster, additional Data Connections can be set up repeating the above instructions.

Queries

The Query Builder enables the creation of SQL queries, which are used to select the information to be displayed in Insite Dashboards. Follow the procedure in this section to create SQL queries with Query Builder:

  1. In the Insite Analytics menu select Queries

Add the basic PowerHA Queries

  1. Add the Cluster Nodes Query with the following information:

Query Name

PowerHA Cluster Nodes

Description

A list of all cluster nodes along with their status information

SQL

SELECT NODE,NODE_STATUS FROM QHASM.CLUSTER_NODES

For instructions to add queries to Insite Analytics, expand this section.

  1. Click the green +Add button at the top right of the Queries panel. The New Query panel opens on the right.

  2. Complete the options as described below using copy/paste where applicable. For example:

    1. Name: Cluster Nodes

    2. Description: A list of all cluster nodes along with their status information

    3. Select Data Connection: Select the data connection(s) that you previously created

  3. Click the green Edit Query button to continue.

  4. Click the gray Advanced Mode button to allow direct entry of the SQL statement.

  5. Enter the SQL statement. For example:

    SELECT NODE,NODE_STATUS FROM QHASM.CLUSTER_NODES
  6. Click the Preview button. The panel should look similar to the following, returning information from your environment:

  7. Click the green Save button in the upper right.

2. Add the Administrative Domains Query with the following information:

Query Name

PowerHA Administrative Domains

Description

A list of administrative domains with their status information

SQL

3. Add the Monitored Resources Query with the following information:

Query Name

PowerHA Monitored Resources Requiring Attention

Description

A list of monitored resources that are either failed or inconsistent along with additional node level information

SQL

4. Add the Unmonitored Resources Query with the following information:

Query Name

PowerHA Unmonitored Resources

Description

A list of resources not currently monitored by the administrative domain that could be monitored by the administrative domain

SQL

5. Add the Cluster Resource Groups Query with the following information:

Query Name

PowerHA Cluster Resource Groups

Description

A list of cluster resource groups along with their status

SQL

6. Add the Recovery Domain Nodes Requiring Attention Query with the following information:

Query Name

PowerHA Recovery Domain Nodes Requiring Attention

Description

A list of nodes in CRG recovery domains that are inactive or ineligible

SQL

7. Add the Session Info Query with the following information:

Query Name

PowerHA Session Information

Description

A list of sessions along with current replication status

SQL

Add the PowerHA Queries with Drilldown Query

1. Add the Count Cluster Nodes Requiring Attention Query:

Query Name

PowerHA Count Cluster Nodes Requiring Attention

Description

A count of cluster nodes that are not active

SQL

Drilldown Query

PowerHA Cluster Nodes

For instructions to add drilldown queries to Insite Analytics, expand this section.

Specific drill down queries are used to create color-coded indicator widgets showing a count of errors. Users can click on the widget to drill down into details of the errors.

  1. Click Advanced Drilldown

  2. Under choose query, select the drilldown query. For example: PowerHA Cluster Nodes

  3. Select to Inherit Data connection from the main query.

  4. Click the green OK button in the upper-right corner.

  5. On the main Query Edit panel, click the green Save button in the upper-right corner.

2. Add the Count of Admin Domains Requiring Attention Query:

Query Name

PowerHA Count of Admin Domains Requiring Attention

Description

A count of administrative domains that are not active

SQL

Drilldown Query

PowerHA Administrative Domains

3. Add the Count of Monitored Resources Requiring Attention Query:

Query Name

PowerHA Count of Monitored Resources Requiring Attention

Description

A count of monitored resources requiring attention

SQL

Drilldown Query

PowerHA Monitored Resources Requiring Attention

4. Add the Count of Unmonitored Resources Query:

Query Name

PowerHA Count of Unmonitored Resources

Description

A count of resources not currently monitored by the administrative domain that could be monitored by the administrative domain

SQL

Drilldown Query

PowerHA Unmonitored Resources

5. Add the Count of Cluster Resource Groups Requiring Attention Query:

Query Name

PowerHA Count of Cluster Resource Groups Requiring Attention

Description

A count of cluster resource groups that are not active

SQL

Drilldown Query

PowerHA Cluster Resource Groups

6. Add the Count of Recovery Domain Nodes Requiring Attention Query:

Query Name

PowerHA Count of Recovery Domain Nodes Requiring Attention

Description

A count of cluster resource groups that are not active

SQL

Drilldown Query

PowerHA Recovery Domain Nodes Requiring Attention

7. Add the Count of Sessions Requiring Attention Query:

Query Name

PowerHA Count of Sessions Requiring Attention

Description

A count of sessions where the copy status is not active

SQL

Drilldown Query

PowerHA Session Information

PowerHA Status Dashboard

This section describes how to create a Insite Dashboard and add various widgets to show the status of PowerHA, highlighting issues that require attention. The example dashboard defined here includes all the queries you have defined. You can choose which of these to include and adjust the layout to suit your preferences.

  1. Create an Insite Dashboard

  1. In the Navigation Pane, click Dashboards. If the menu is hidden, hover over the Navigation Pane to expand it.

  2. Click the green +Add Dashboard button at the upper-right of the screen

  3. Enter a unique name for the dashboard. For example: PowerHA Status Dashboard

  4. Enter a Description. For example: Status for PowerHA Environments

  5. Select a Color Theme. This theme applies to all widgets on this dashboard. In this example, we used the default Light Theme.

  6. Set the Edit Rights and Share With sections as required or leave them as the default. Refer to the Insite User Guide for options.

  7. Click Save.

  8. From the dashboard in Edit mode, click Select Quick Layout.

  9. From the layouts panel, select the 2 widgets tile.

2. Add PowerHA Dashboard Widgets

For instructions to add PowerHA widgets to Insite Analytics, expand this section.

Other Suggestions

The dashboard described in this document is just one example of a PowerHA dashboard. Some suggestions for use include:

  1. If you have multiple clusters to monitor, a single dashboard can be created with a group for each cluster or a separate dashboard can be created for each cluster.

  2. If you have PowerHA and Robot HA, a single dashboard can be created that shows both the status of PowerHA and the status of Robot HA.

  3. You can create queries to other data sources and combine PowerHA data with data from other applications.

 

Privacy Policy | Cookie Policy | Impressum
From time to time, this website may contain technical inaccuracies and we do not warrant the accuracy of any posted information.
Copyright © Fortra, LLC and its group of companies. All trademarks and registered trademarks are the property of their respective owners.