The MON-ExplorerHDB is an optionaldatabase tier that can be added to collect storage management events for analysis. The database tier is required only when frequent real time access to complex queries is needed. For example, if a large corporation needs to find the 100 largest datasets that reside across 5000 volumes, a database can provide a nearly instant answer. With a two-tiered solution, Monitor would otherwise have to analyze all 5000 volumes to find the largest datasets.
The database can also be used for historical analysis of the storage subsystem. For example, you can generate a list of datasets that occupied a specific volume at 3 am on the previous night.
The Explorer History Database (MON-ExplorerHDB) service collects and analyzes dataset and volume event records produced by the MON-RTM host component. This feature can be used to research past events or for trending and capacity planning via the Explorer GUI PC application.
The Explorer History Database runs on a Linux server. ExplorerHDB is written in Java and stores records produced by MON-RTM in a MySQL database server. The Explorer GUI contains predefined scripts used to query the Explorer history database and produce reports for analysis.
Running MON-ExplorerHDB
Once installed and configured, MON-ExplorerHDB runs continuously in the background as a Unix daemon.
When MON-ExplorerHDB is running you can view the
expdb.log file for status information and you may
stop and restart MON-ExplorerHDB when required for
configuration or database changes. Everything else happens
automatically.
Querying the MON-ExplorerHDB
The Explorer GUI PC interface is the vehicle for obtaining information from the Explorer history database. Once the connection to the database has been established (refer to Connect the Explorer GUI and to the Default History Database), the Database tab on the Explorer GUI navigation panel can be used to run existing queries or create new ones.
The Event Log folder contains scripts to view the dataset event records generated by the MON-RTM host component. The scripts may contain prompts that allow filtering so a subset of records can be viewed.
Once the grid is displayed, further filtering and sorting can be performed as well as charting, reporting and exporting. The Event Log folder also contains a sub-folder called Analysis that contains additional scripts for further analyzing the event records.
For example:
-
The Dataset Growth script is a complex SQL query that determines how much datasets have grown in size for a specified date range. The output is sorted by datasets that have experienced the largest growth. When datasets grow steadily over time and span multiple volumes, it can be difficult to track which datasets are causing space problems. The Dataset Growth script can quickly and easily track this usage.
-
The GDG Datasets script tallies all generations of a GDG base. It identifies how many current generations exist and the total space usage for all current generations. Once the output is displayed in the grid, right-clicking the GDG base name produces a sub-menu in which the
listcatcommand can be invoked to list all current generations. -
The Multi-volume Dataset script tallies and totals multi-volume datasets so true dataset space usage across volumes can be identified.
For detailed information on how to modify or add scripts and how to manipulate data returned from script execution, refer to Using the Explorer GUI.
The History folder contains scripts for obtaining volume snapshot records for space utilization, used for trending and growth analysis.
Database maintenance
Trim database
Modify the file /usr/local/expdb/expdb_trim.sh as
required. This file defines the interval periods used to remove old
event and volume records. Currently the defaults are:
- event records: 2 months
- volume records: 2 years
Move database location on native Linux system
After installation the Exp MySQL database files are located in
/var/lib/mysql/exp. The following steps move the
MySQL data files to another filesystem.
/xxxx/data with the target location
that will contain the moved MySQL data files.