Introduction
The following article will instruct you how to install the HostBridge Transaction Analytics Convert (HTAC) for use with the Splunk server and collector.
This product will be made available during the month of October 2017. Contact HostBridge Support for further information.
Load the HTAC software to your machine
To download the installation files and transfer them to the host:
- Download the HTAC installation package by saving the following attachment to your PC: HTAC_Install.zip
- Unzip the installation package to a directory on your desktop.
- Transfer the unzipped files to the host using FTP as follows:
File Name On Desktop | File Name on Host (or create your own names) | Transfer Type | Record Format (RECFM) | Record Length (LRECL) | Block Size (BLKSIZE) | Space Needed (in tracks) |
---|---|---|---|---|---|---|
HTAC_V100_JCL.xmt | HTAC.XMITJCL | binary | FB | 80 | 0 | 5 |
HTAC_V100_LOAD.xmt | HTAC.XMITLOAD | binary | FB | 80 | 0 | 50 |
HTAC_V100_SAMP.xmt | HTAC.XMITSAMP | binary | FB | 80 | 0 | 5 |
Unpack the installation files
To unpack the installation files,
- From the TSO option 6 panel, issue the following command: TSO RECEIVE INDSNAME('HTAC.XMITJCL') and press the Enter key.
- When prompted for restore options, enter DSNAME('HTAC.V100.JCL') and press the Enter key - the PDS will be created.
- From the TSO option 6 panel, issue the following command: TSO RECEIVE INDSNAME('HTAC.XMITLOAD') and press the Enter key.
- When prompted for restore options, enter DSNAME('HTAC.V100.LIBRARY') and press the Enter key - the library will be created.
- From the TSO option 6 panel, issue the following command: TSO RECEIVE INDSNAME('HTAC.XMITSAMP') and press the Enter key.
- When prompted for restore options, enter DSNAME('HTAC.V100.SAMPLIB') and press the Enter key - the PDS will be created.
Perform RDO Updates For Your Target CICS
- Edit the job HTAC.V100.JCL(RDO53TAC), changing the JOB card and RDO definitions to conform to your installation standards (see the comments in the DFHCSDUP control cards).
- Submit the job; a return code of zero indicates a successful execution. If you receive a return code of other than zero, contact HostBridge Support.
Install Your HTAC License Key
- Obtain a license key from HostBridge; it will be supplied to you via email.
- Create a member in HTAC.V100.PARMLIB named HBR@LICN and insert the license key into it (there should be only one line in the member which contains the license key, starting in column 1).
- Save the member.
Update Your Target CICS Startup JCL and System Initialization Table (SIT) and Recycle CICS
- In your CICS startup deck, include the library HTAC.V100.LIBRARY in your DFHRPL concatenation.
- In your CICS startup deck, include a DD statement as follows: //HBPARMS DD DSN=HTAC.V100.PARMLIB,DISP=SHR; this PARMLIB will provide HTAC with access to your license key.
- In your CICS startup deck, include a DD statement as follows: //HBSTART DD SYSOUT=*; this will allow for the display of HTAC trace entries if required.
- In your SIT, ensure that you are running CICS monitoring. Sample entries are:
- MCT=xx (where xx is the suffix for the assembled monitoring control table)
- MN=ON
- MNCONV=YES
- MNEXC=ON
- MNPER=ON
- MNRES=ON.
- Recycle your target CICS.
Run the Installation Verification Procedure
From a cleared CICS screen, type in the transaction HTAC and press the Enter key. You should see:
This will give you a list of all valid HTAC commands.
When you press the Enter key, the following will be displayed:
Now, type in the following HTAC command:
Press the Enter key, and you should see:
When you type in HTAC HELP, followed by a command name, you will display a description of how the command works.
Pressing the Enter key again will take you back to the prior screen:
Now we need to enable HTAC to be able to emit JSON documents for use by Splunk, and to start up 2 emitters that will hold the created JSON documents. To do this, enter the following command:
Press the Enter key. The following will be displayed:
When you press the Enter key again, the prior screen will be displayed:
Now we will start two emitters using TCP as a communication protocol (other choices are UDP and HTTP) by issuing the following command:
Press the Enter key. The following will be displayed:
At this point two emitters will be running, and will contain information obtained from the CICS Monitor, organized in JSON format. This information can then be interrogated by the Splunk client. A sample of what the JSON document will look like can be found here: HTAC_Sample_Output.JSON
Press the Enter key again to see the prior screen:
Finally, enter the following command to shut down HTAC:
HTAC DISABLE
and press the enter key. You will see the following:
Pressing Enter again will provide more information:
Pressing Enter again will redisplay the HTAC DISABLE command.
If at any time you receive a response other than the one indicated in the example output above, check the syntax of the commands that you entered and try again. If the problem persists, you should contact HostBridge Support.
Conclusion
You have now successfully completed the installation of HTAC.