Install the Explorer history database (optional) - syncsort_scc_monitor - Latest

Syncsort™ Storage Management Monitor Explorer User Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ software
Product
Syncsort™ Storage Management > Syncsort™ SCC Monitor
Version
Latest
ft:locale
en-US
Product name
Syncsort Storage Management
ft:title
Syncsort™ Storage Management Monitor Explorer User Guide
Copyright
2025
First publish date
1991
ft:lastEdition
2025-12-05
ft:lastPublication
2025-12-05T10:35:42.010000
L1_Product_Gateway
Integrate
L2_Product_Segment
IBM Infrastructure
L3_Product_Brand
Precisely Syncsort
L4_Investment_Segment
Mainframe
L5_Product_Group
Mainframe Storage Optimization
L6_Product_Name
Syncsort Storage Management

This section provides setup and installation instructions for the optionalExplorer History database tier.

The Explorer History Database (MON-ExplorerHDB) service can be used to collect and analyze dataset and volume event records produced by the MON-RTM host component. Use this feature to research past events or for trending and capacity planning via the Explorer GUI application.

The MON-ExplorerHDB service runs on a Linux server. ExplorerHDB is written in Java and stores records produced by MON-RTM in a MySQL database.

System requirements

The Explorer history database tier components are Java applications and therefore can run on any platform that provides a Java Runtime Environment (JRE). Currently the components run on a Linux system. The following prerequisites are required prior to installing and running the Explorer history database.

Prerequisites

Follow the prerequisites list below.

  1. Linux system (intel or zSeries) running, or a virtual Linux system running on Windows using VirtualBox.

    Note: Note: The Red Hat and SUSE zLinux distributions are tested.

    VirtualBox download

  2. MySQL 5.1 database server installed on the Linux system.

  3. Java (minimum version 1.4) installed on the Linux system.

  4. WinSCP application installed on the client PC for connection to the zLinux host.

    Note: Use WinSCP to transfer installation files to the Linux host.

    WinSCP can be downloaded from http://winscp.net.

    Configure a WinSCP session to connect to the Linux IP address where the Explorer history database will reside.

  5. PuTTY application on the client PC for console access to the Linux host (press Ctrl-P inside WinSCP to invoke PuTTY after the session is configured).

    Download PuTTY from PuTTY download.

    Scroll down the page and select the Windows installer, for example putty-0.62-installer.exe.

    Configure a PuTTY session to connect to the Linux IP address where the Explorer history database will reside.

    Note: Note: If installing on a virtual Linux system provided by VirtualBox, MySQL and Java are already installed in the VM image.
  6. MON-ExplorerHDB database service is available in two Linux installation configurations:

    • Native Linux — install on an existing native Linux system (intel or zSeries).
    • Virtual Linux — install on a virtual Linux system running under VirtualBox on a Windows PC, or use a pre-configured exported VM.
  7. Installing from the Precisely Website:

    The MON-ExplorerHDB installer is available on the DTS web server. The installers reside in a restricted area; you must be registered with Precisely Syncsort Software to access them.

    Download URL: http://www.dtssoftware.com/scc/dnlscc61_wrkexps.htm

  8. MON-ExplorerHDB setup and configuration

    Depending on which Linux installation option was selected (Native or Virtual), proceed to either the ExplorerHDB on an existing Linux system topic or the Virtual Machine with a pre-configured ExplorerHDB topic.

    MON-ExplorerHDB on an existing Linux system

    The following steps complete the MON-ExplorerHDB configuration for a native Linux environment.

    1. Step 1 - Ensure MySQL is installed and configured
    2. Step 2 - Ensure Java is installed
    3. Step 3 - ExpDB setup
    4. Step 4 - MySQL setup
    5. Step 5 - Setup and Test ExpDB

    Once configuration is complete, proceed to Connect the Explorer GUI to the Default History Database.

    Step 1 - Ensure MySQL is installed and configured

    Step 1a - MySQL should be started and set to autostart on system start

    From the PuTTY console, run the following commands:

    service mysqld start
    chkconfig --add mysqld

    Step 1b - MySQL root@localhost user should have no password OR root credentials should be stored in file /root/.my.cnf

    From the PuTTY console, test MySQL access:

    mysql
    exit

    If errors occur, create /root/.my.cnf with the proper credentials. Example:

    [mysql]
    user = root
    password = rootpasswd
    
    [client]
    user = root
    password = rootpasswd

    Step 2 - Ensure Java is installed

    Step 2a - Verify whether java is installed

    From the PuTTY console, run:

    java -version

    Sample installed output:

    # [root@centosnc ~]# java -version
    # java version "1.6.0_05"
    # Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    # Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)
    # [root@centosnc ~]#

    Step 2b - Install java (if not already installed)

    Install RPM packages (example):

    rpm -i java-1_6_0-ibm-fonts-1.6.0_sr7.0-1.6.21.s390x.rpm
    rpm -i jpackage-utils-1.7.5-14.6.s390x.rpm
    rpm -i java-1_6_0-ibm-1.6.0_sr7.0-1.6.21.s390x.rpm
    rpm -i unixODBC-2.2.12-198.17.s390x.rpm
    rpm -i java-1_6_0-ibm-jdbc-1.6.0_sr7.0-1.6.21.s390x.rpm

    Step 3 - ExpDB setup

    Step 3a - ExpDB install files

    Using WinSCP, copy the expdb-yymmdd.zip file to the /root folder (not <root>).

    From the PuTTY console, run:

    unzip expdb-yymmdd.zip

    Replace yymmdd with the actual file date (for example, expdb-120305).

    To inspect the expanded files:

    cd /root
    unzip expdb-yymmdd.zip
    cd expdb-yymmdd
    ls

    The following files will be expanded from expdb-yymmdd.zip:

    • readme.txt
    • expdbd - init.d script used to run expdb as a daemon
    • expdb.conf - expdb configuration file
    • expdb_cli - expdb command line script
    • expdb.jar - expdb application
    • expdb_trim.sh - shell script to trim the expdb database
    • expdb - logrotate configuration file
    • expdb.sql - SQL DDL script to setup ExpDB database and users
    • mysql-connector-java-5.1.18-bin.jar - JDBC driver for MySQL

    Step 3b - Copy ExpDB files

    Execute the following commands from the PuTTY console. You may paste the entire sequence to run in a single step:

    mkdir /usr/local/expdb
    mv expdb.jar /usr/local/expdb
    mv expdb.conf /usr/local/expdb
    mv expdb_cli /usr/local/expdb
    chmod 0755 /usr/local/expdb/expdb_cli
    ln -s /usr/local/expdb/expdb_cli /usr/local/bin/expdb
    mv expdb_trim.sh /usr/local/expdb
    chmod 0755 /usr/local/expdb/expdb_trim.sh
    mv mysql-connector-java-5.1.18-bin.jar /usr/local/expdb
    ln -s /usr/local/expdb/expdb_trim.sh /etc/cron.daily/expdb_trim.sh
    mv expdbd /etc/init.d
    chmod 0755 /etc/init.d/expdbd
    mv expdb /etc/logrotate.d
    chmod 0644 /etc/logrotate.d/expdb

    Step 3c - Configure ExpDB

    Modify the following files as required:

    • /usr/local/expdb/expdb_trim.sh — defines retention intervals (default: 2 months for events, 2 years for volumes).
    • /etc/init.d/expdbd — ensure JAVA_HOME (around line 16) points to the correct JRE location. To find the path, run find / -name jre.
    • /root/expdb_yymmdd/expdb.sql — edit lines 2–4 to set passwords for expuser and expadmin if you change defaults.
    • /usr/local/expdb/expdb.conf — update DB user/password and ensure the port matches the DIF TCP port specified in the DIFCONN parmlib member.
    Note: Use WinSCP to open and edit these files if you prefer a GUI editor.

    Step 4 - MySQL setup

    Setup EXP users and database:

    Step 4a - Ensure MySQL is started

    From the PuTTY console, run:

    service mysqld status

    Step 4b - Run expdb.sql script

    Note: NOTE: This will delete any existing exp database.

    From the PuTTY console, run:

    mysql < expdb.sql
    exit

    Step 4c - Test expdb from command line

    From the PuTTY console, run:

    expdb

    Ensure there are no error messages, then press Ctrl-C to shut down the test run.

    Step 5 - Setup and test ExpDB

    Complete any remaining configuration and perform functional tests to ensure ExpDB is operating as expected.

  9. Virtual machine with a pre-configured MON-ExplorerHDB

    DTS provides a pre-configured virtual machine (VM) to quickly create the ExplorerHDB database tier. The VM was created using Oracle VirtualBox and contains a 64-bit CentOS 6.2 guest OS with Java 1.7, MySQL Server 5.1.61, and the current version of ExplorerHDB.

    The VM reduces setup time; for example, a Windows 7 user can typically download and install the VM in about 30 minutes (with appropriate privileges).

    Steps for the VM:

    1. Step 1 - Download and Install Oracle VirtualBox

      VirtualBox download: https://www.virtualbox.org

    2. Step 2 - Download and Install ExplorerHDB Virtual Machine

      Download the exported VM (ExpDBDemo.ova) from the DTS website and import it into VirtualBox.

      Step 2a - Download the pre-configured ExplorerHDB Virtual Machine

      Refer to the DTS download link in the Exp History DB Installation - Linux Platform topic.

      Step 2b - Import the downloaded VM into VirtualBox and activate it

      Drag the ExpDBDemo.ova file into the VirtualBox Manager to install the VM and settings, then start the VM.

      Ports 22 (SSH), 80 (HTTP), 1010 (DIF), and 3306 (MySQL) are forwarded to the VM by default. If the host already uses those ports, remap them in the VM settings; see Step 2c.

      Note: The default root password in the VM is expdbdemo.

      Step 2c - Port routing and firewalls

      By default the VM forwards the following ports through the host machine: DIF (1010), HTTP (80), MySQL (3306), SSH (22). If the host uses any of these ports, change the VirtualBox port forwarding rules.

      To change port forwarding: open the Oracle VM VirtualBox Manager, right-click the ExpDB Demo VM, select Settings, choose Network, expand Advanced, and click Port Forwarding. For example, if MySQL on the host uses port 3306, remap the host port for the VM MySQL to 33306 while keeping the guest port at 3306.

      After remapping, reconfigure the Explorer GUI connection: open Options > Connection Mgr, select the MySQL-History entry, and append the port to the host field (for example, LOCALHOST:33306).

      To allow external MON-Explorer users to access the VM, update Windows Firewall inbound rules on the host: open Control Panel > Windows Firewall > Advanced Settings and add the required port rules.

    3. Connect the Explorer GUI to the Default History Database

Setup/start Expdbd daemon

Step 5a - Start expdbd at system start

From the PuTTY console, run:

chkconfig --add expdbd

Step 5b - Verify daemon autostart

From the PuTTY console, run:

chkconfig --list | grep expdb

Expected sample output (run levels 3, 4, 5 should be set to on):

# [root@centosnc expdb-120305]# chkconfig --list | grep expdb
# expdbd 0:off 1:off 2:off 3:on 4:on 5:on 6:off

Step 5c - Start expdbd daemon

From the PuTTY console, run:

service expdbd start

Step 5d - Verify expdbd daemon status

From the PuTTY console, run:

service expdbd status

Sample expected output:

# [root@centosnc expdb-120305]# service expdbd status
# Checking for ExpDB: running PID=23663
Note: PID values will vary per system.

Step 5e - Check expdbd log

From the PuTTY console, run:

tail /var/log/expdb.log

Step 5f - Final notes

  • Use the expdb command-line tool for testing only.
  • When running expdb from the command line, output goes to the terminal (not to the log file).
  • Do not run expdb and expdbd simultaneously; both cannot bind to the same port.

Example bind error:

Mar 6, 2012 4:30:28 PM - java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at com.dtssoftware.expdb.ExpDB.startTCPServer(ExpDB.java:92)
at com.dtssoftware.expdb.ExpDB.<init>(ExpDB.java:77)
at com.dtssoftware.expdb.ExpDB.main(ExpDB.java:174)

Typical commands for normal operations:

service expdbd status   # determine expdbd daemon status
service expdbd stop     # stop the expdbd daemon
service expdbd start    # start the expdbd daemon
tail /var/log/expdb.log # view the bottom (last few records) of the expdb.log
  • The /var/log/expdb.log file is maintained by logrotate. When the log reaches 1 MB a new log is created and the last 10 versions are saved.

Virtual machine with a pre-configured MON-ExplorerHDB

(See the VM section earlier for details on using the pre-configured virtual machine, port forwarding, and firewall configuration.)

Step 1 - Open the Connection Manager in the Explorer GUI

Open the Explorer GUI application. From the menu, choose the Connection Manager via:

Options > Connection Mgr

The Connection Manager screen displays. Use the Connection Type drop-down to list configured Database connections. Database connections can be added, modified, or deleted using the buttons at the bottom of the dialog.

The Database Connection Manager dialog lists defined database connections and the default database connection. To manage connections, either right-click a connection item to display a popup menu or use 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 History — Make the selected database the default history DB connection.

Step 2 - Add or modify a database connection

When you select Add or Edit, the Database Connection dialog is displayed.

  • Name: The name used to identify the database connection.
  • Host: Format: <hostname or IP>. Use 127.0.0.1 or localhost if MySQL resides on the same computer as the Explorer GUI.
  • Username: The username used to connect to the MON-ExplorerHDB.
  • Password: The password for the specified username.
  • Database: File name of the MON-ExplorerHDB.
  • Test Connection: Click this button to test the database connection as currently configured.

You must successfully test the connection before using the query functions.

Step 3 - 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 active on the target computer.

If the connection test is successful, a confirmation window is displayed:

Step 4 - Select a default history database connection

Use the Connection Manager to select the MySQL History database connection, then click the Default History button.