Installing RMF for z/OS Grafana plugin v2.0.0 or earlier
If you are installing a version of the RMF for z/OS Grafana plugin earlier than 2.0.1, you must configure Grafana to allow loading unsigned plugins.
Before you begin
Before installing the RMF for z/OS Grafana plugin, ensure that all required software is available. See Prerequisites.
About this task
The RMF for z/OS Grafana plugin versions earlier than 2.0.1 are not signed and require additional Grafana configuration to load. Starting from version 2.0.1, the plugin is signed by Grafana Labs and can be installed directly from the Grafana plugin catalog. See Installing the RMF for z/OS Grafana plugin v2.0.1 or later for the installation procedure.
Procedure
-
Set the value of allow_loading_unsigned_plugins in the
[plugins] section of your custom configuration
file.
- For versions 1.1.0 and 1.1.1, set the value to ibm-rmf-app,ibm-rmf-datasource,ibm-rmf-panel.
- For version 2.0.0, set the value to ibm-rmf-app,ibm-rmf-datasource.
The default configurations for a Grafana installation are in the defaults.ini file.The default location of the configuration file is as follows:
For more information on the configuration file location, see Grafana documentation.Operating systems Default path to the configuration file Windows® WORKING_DIR/conf/defaults.ini Linux® /etc/grafana/grafana.ini macOS® /usr/local/etc/grafana/grafana.ini Note: You can use the GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS environment variable to override allow_loading_unsigned_plugins. - Choose any one of the methods described in the following table to install the RMF for z/OS plugin based on your requirements:
-
Run the following command to install the plugin by using Grafana CLI:
grafana cli --pluginUrl https://github.com/IBM/RMF/releases/download/ibm-rmf-grafana/v<version>/ibm-rmf-grafana-<version>.zip plugins install ibm-rmfRemember: You must replace the value of <version> for the pluginURL option to the version number of the plugin to be installed. - Restart the Grafana server, and then go to step 7.
-
Run the following command to create a volume for storing the Grafana
state:
docker volume create rmf-grafana-data -
Run the following command to create and run a container:
docker run --name rmf-grafana --hostname rmf-grafana --detach --restart unless-stopped --volume rmf-grafana-data:/var/lib/grafana --publish 3000:3000 --env "GF_INSTALL_PLUGINS=https://github.com/IBM/RMF/releases/download/ibm-rmf-grafana/v<version>/ibm-rmf-grafana-<version>.zip;ibm-rmf" --env "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=ibm-rmf-app,ibm-rmf-datasource,ibm-rmf-panel" <image>Remember: You must replace the values of the following options in the command:- <version> for the env option to the version number of the plugin to be installed.
- <image> to the version of the Grafana image to be used.
Important: For version 2.0.0, change the value of GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS to ibm-rmf-app,ibm-rmf-datasource.Note: zCX/zLinux images are available at Container Images for IBM Z and LinuxONE. Similarly, images of other required platforms are available at Docker Hub. -
To enable the RMF for z/OS plugin on the Grafana
UI, you must perform the following sub-steps:
- Verify that the IBM RMF option is listed under the Apps section.
Results
You have installed the RMF for z/OS Grafana plugin.
What to do next
-
You can add an RMF data source to fetch data from Distributed Data Servers (DDS). See Creating RMF data sources.
-
To install sample dashboards, see Installing sample dashboards.