1. Put the environment in global maintenance mode:
# hosted-engine --set-maintenance --mode=global
2. Log in to the machine where you want to install Grafana.
3. Run the engine-setup command as follows:
# engine-setup --reconfigure-optional-components
4. Answer Yes to install Grafana on this machine:
Configure Grafana on this host (Yes, No) [Yes]:
5. Disable global maintenance mode:
# hosted-engine --set-maintenance --mode=none
6. To access the Grafana dashboards:
Go to https://<engine FQDN or IP address>/ovirt-engine-grafana, or Click Monitoring Portal in the web administration welcome page for the Administration Portal.
For additional information, see Configuring Grafana on the Red Hat Customer Portal. From version 4.4.8, only if upgrading from 4.3 to 4.4.8 and above Grafana will not be configured by default if the data warehouse is on a remote machine or if you are restoring from backup.
The Red Hat Virtualization monitoring portal includes a number of built-in Grafana dashboards for visualizing the datacenter, cluster, host, and virtual machine data:
-
Executive dashboards: display the user console connection activity, operating system count for hosts, and active virtual machines.
-
Trend dashboards: display trends in virtual machines, CPU, memory, network, interface, transmit and receive, disks, read and write activity.
-
Service Level dashboards: display uptime, downtime, quality of service, and intervals for important thresholds (CPU, memory).
-
Inventory dashboards: displays an inventory list of hosts in a cluster, disk usage in a storage domain, virtual machines in a cluster, and resources overcommit rates per data center.
Let's look at a few examples!
The “Inventory Dashboard” shows for each data center the usage and overcommit rates for CPU, memory and disk size.
In addition, the user can press on the data center name and it will lead to the “Data Center Dashboard”, which shows detailed information about the data center.
With this information it will be easier to identify and balance the resources between data centers.
The “Virtual Machines Uptime Dashboard” shows for each virtual machine the planned and unplanned downtime over the selected period.
In addition, the user can click on the virtual machine name and it will lead to the “Virtual Machine Dashboard,” which shows detailed information about the virtual machine.
With this information it will be easier to identify unused virtual machines, the size of their resources, their users and more.