This section provides setup and installation instructions for the optionalExplorer local database (MON-ExplorerLDB) tier.
The MON-ExplorerLDB feature provides the capability to retrieve storage information (for example, data set records, volume records) from the host and store these records in a relational database on the local client computer (for example, a PC workstation or server).
This retrieval of storage information can be scheduled to automatically occur on a regular basis. Once stored in the relational database (using MySQL Database Server), this information can be easily and quickly manipulated by command scripts in the MON-Explorer application.
The MON-ExplorerLDB feature consists of two
components: ExpLocalDBMgr.exe and
explocaldb.exe. The
ExpLocalDBMgr.exe application allows the user to
manage MON-ExplorerLDB configurations. This includes
the ability to create, edit, delete, schedule, and run configurations.
The application performs the actions defined in the configuration by
retrieving records from the host and inserting them into the relational
local database.
MON-ExplorerLDB setup and configuration
The following steps can be used to complete the MON-ExplorerLDB installation and setup:
- Step 1 - Install the MySQL Database Server
- Step 2 - Install the MON-ExplorerLDB
- Step 3 - Connect the Explorer GUI to the Default Local Database
- Step 4 - Configure the MON-ExplorerLDB scripts
Step 1 - Install the MySQL database server
This section provides setup and installation instructions for the MySQL Database Server (required only for the Explorer Local Database).
Install this component only if you intend to use the Local database facility included with the Explorer GUI.
The Local database (MON-ExplorerLDB) can be used by the base Explorer GUI component to improve performance for scripts that produce very large result sets. For example, if a list is produced of all data sets in all pools on a system, the result could be several hundred thousand records. There may not be enough memory on the workstation to process the entire list in the display window, and the viewing process would be extremely slow. In this scenario, a local database alleviates these issues and allows displaying the entire result set in a timely manner (usually a matter of seconds).
If a local database component is not needed, you can skip this section and the following sections on installing and configuring the local database. If you later decide you need the local database component, install these components when required. The MySQL Database Server installation will be required for the local database application.
Step 3a - Open the connection manager in the Explorer GUI
Open the Explorer GUI application. From the the Connection Manager screen will be displayed.
Use the Connection Type drop-down to list the configured Database connections available to the Explorer database interface. Database connections can be added, modified, or deleted using the buttons at the bottom of the dialog.
The Database Connection Manager dialog lists the defined database connections and the current default connection. To manage the database connections, either right-click a connection item to display a popup menu or click one of the buttons at the bottom of the window.
|
|
- Add — Add a new database connection.
- Modify — Edit the selected database connection.
- Delete — Delete the selected database connection.
- Default Local — Make the selected database the default local DB connection.
Step 3b - Add or modify a database connection
When the Add or Edit options are selected, the Database Connection dialog is displayed. The MySQL-Local database configuration typically does not need modification — use the default criteria.
|
|
Name: The name used to identify the local database connection.
Host: The format is: <hostname or IP>.
Note: an IP address of 127.0.0.1 or
localhost can be used if the MySQL database resides
on the same computer as the Explorer GUI.
Username: The username used to connect to the MON-ExplorerLDB.
Password: The password for the specified username.
Database: File name of the MON-ExplorerLDB.
Test Connection: Click this button to test the database connection as currently configured.
You must successfully test the connection before executing database queries.
Step 3c - Test the connection
When the appropriate values have been entered, click the Test Connection button. For a successful connection, the MySQL service must be installed, configured, and running on the target computer.
If the connection test is successful, the following window will be displayed:
|
|
Step 3d - Select a default local database connection
Use the Connection Manager to select the MySQL local database connection, then click the Default Local button.
Step 4 - Configure the MON-ExplorerLDB scripts
Refer to the Using a Local Database (MON-ExplorerLDB) section for instructions on how to set up scripts to create tables within the MySQL database server for MON-ExplorerLDB.