Usage Tracking for IBM InfoSphere Information Governance Catalog

Similar documents
Configuring SSL (Port 443) for SSB (HTTP & WebCache) and INB (HTTP Only)

Hybris Marketing Web Tracking

Using Hive for Data Warehousing

K-RATE INSTALLATION MANUAL

ganetimgr Documentation

V7.0. cover. Front cover. IBM Connections 4.5 Deployment Scenarios. Deployment Scenarios ERC 1.0

IBM Maximo Anywhere Version 7 Release 6. Planning, installation, and deployment IBM

IBM Maximo Anywhere Version 7 Release 6. Planning, installation, and deployment IBM

Hands-on Lab Session 9909 Introduction to Application Performance Management: Monitoring. Timothy Burris, Cloud Adoption & Technical Enablement

RSA Identity Governance and Lifecycle Collector Data Sheet for Zendesk

SOA Suite Setup for BPEL Process Flow Oracle FLEXCUBE Universal Banking Release [October] [2015]

IBM Software. IBM Forms V8.0. Forms Experience Builder - Portal Integration. Lab Exercise

TM1 9.5 Quick Installation and Upgrade Guide. Nature of Document: Tip or Technique Product(s): TM1 9.5 Area of Interest: Upgrade/Migration

Version 1.2 Tivoli Integrated Portal 2.2. Tivoli Integrated Portal Customization guide

INSTALLING GUIDE FOR A WEB SERVER

Cisco CVP VoiceXML 3.1. Installation Guide

Kollaborate Server. Installation Guide

Upgrading to Watson Explorer Version 8.2-5, , or IBM

Jamf Pro Installation and Configuration Guide for Mac. Version

Enterprise Vault.cloud CloudLink Google Account Synchronization Guide. CloudLink to 4.0.3

What is WAMP5? Top Next

Version 2 Release 1. IBM i2 Enterprise Insight Analysis Maintaining a deployment IBM

Release Notes: J-Web Application Package Release 15.1A4 for Juniper Networks EX Series Ethernet Switches

Impromptu User Installation Guide. IBM Cognos Business Intelligence Series 7 IBM Cognos Impromptu User. Version 7.4

Jamf Pro Installation and Configuration Guide for Windows. Version

Migrating vrealize Automation 6.2 to 7.1

Upgrading to Watson Explorer Version or IBM

IBM Cognos Dynamic Query Analyzer Version Installation and Configuration Guide IBM

VMWARE VREALIZE END POINT OPERATIONS FOR. Apache HTTP Server. User Guide

Central Administration Console Installation and User's Guide

COGNOS (R) ENTERPRISE BI SERIES COGNOS IMPROMPTU (R) ADMINISTRATOR FOR WINDOWS

Using Symantec NetBackup 6.5 with Symantec Security Information Manager 4.7

DxR clinician INSTRUCTOR MANUAL STUDENT USER MANUAL TECHNICAL APPENDIX

Installing the SAP Solution Manager integration package with IBM Business Process Manager V8.0

Automation Services ReadMe

Note: Before using this information and the product it supports, read the information in Notices.

Configure the Rational ClearQuest Web and Rational DOORS Web Access integration with SSL

APAR PO06620 Installation Instructions

Early Data Analyzer Web User Guide

Release Notes: J-Web Application Package Release 15.1A1 for Juniper Networks EX Series Ethernet Switches

24x7 Scheduler Web-based Management Console User's Guide Version 5.3

This guide consists of the following two chapters and an appendix. Chapter 1 Installing ETERNUSmgr This chapter describes how to install ETERNUSmgr.

IBM Watson Explorer Content Analytics Version Upgrading to Version IBM

Crystal Enterprise. Overview. Contents. Web Server Overview - Internet Information System (IIS)

ENTRUST CONNECTOR Installation and Configuration Guide Version April 21, 2017

Deltek Maconomy. Installation Guide For Standard and PSO Installations

DB2 S-TAP, IMS S-TAP, VSAM S-TAP

Automation Services 9.5 ReadMe

Note: Oracle Consulting can provide technology assessments and architectural planning workshops to guide you through these processes.

This guide consists of the following two chapters and an appendix. Chapter 1 Installing ETERNUSmgr This chapter describes how to install ETERNUSmgr.

IBM HTTP Server V7 and the RACF Auto- Registration Application

LabTech Ignite Installation

Version 2 Release 2. IBM i2 Enterprise Insight Analysis Upgrade Guide IBM SC

Using the vrealize Orchestrator Operations Client. vrealize Orchestrator 7.5

SETTING UP AND RUNNING A WEB SITE ON YOUR LENOVO STORAGE DEVICE WORKING WITH WEB SERVER TOOLS

Acronis Backup Cloud APS 2.0 Deployment Guide

IBM WebSphere Portal Reference Guide Release 9.2.x

Jamf Pro Installation and Configuration Guide for Mac. Version

Deltek Maconomy. Installation Guide For Standard and PSO Installations

Version 11 Release 0 May 31, IBM Contact Optimization Installation Guide IBM

EnterpriseTrack Reporting Data Model Configuration Guide Version 17

Click "Continue", then select "Browse for fixes" and click "Continue" again.

IBM Content Analytics with Enterprise Search Version 3.0. Expanding queries and influencing how documents are ranked in the results

IBM Cognos Dynamic Query Analyzer Version Installation and Configuration Guide IBM

Twiki Installation Notes. Ned Brush 4/13/06. Everything is left as is (default settings) unless specified below. Distribution: RHEL 4

Using the VMware vrealize Orchestrator Client

IBM Software Information Management. IBM DB2 GSI Start-up Guide. IBM DB GoGrid Server Image (GSI) Get Started Guide

LING 408/508: Computational Techniques for Linguists. Lecture 20

SOA Software API Gateway Appliance 6.3 Administration Guide

Clearspan Hosted Thin Call Center R Release Notes JANUARY 2019 RELEASE NOTES

Using vrealize Operations Tenant App as a Service Provider

3. Optionally, if you want to use the new Web SSO feature, complete the steps in Adding Web Single Sign-On Functionality.

Install WordPress 3.X In Multi Blog / Multi user mode On localhost

JAMF Software Server Installation and Configuration Guide for Linux. Version 9.31

TIBCO Spotfire Automation Services Installation and Configuration

ARIS Installation and Administration Guide

Setting Up the Server

IBM. IBM i2 Analyze Windows Upgrade Guide. Version 4 Release 1 SC

Copyright Maxprograms

Jamf Software Server Installation and Configuration Guide for Mac. Version

Dell OpenManage Mobile Version 1.0 User s Guide

Version 9 Release 0. IBM i2 Analyst's Notebook Premium Configuration IBM

Administering Cloud Pod Architecture in Horizon 7. Modified on 26 JUL 2017 VMware Horizon 7 7.2

Administering Cloud Pod Architecture in Horizon 7. VMware Horizon 7 7.1

SCCM Plug-in User Guide. Version 3.0

VIRTUAL GPU LICENSE SERVER VERSION AND 5.1.0

IBM i2 Analyze ibase Connector Deployment Guide. Version 4 Release 1 IBM

Jamf Pro Installation and Configuration Guide for Linux. Version

Version 9 Release 0. IBM i2 Analyst's Notebook Configuration IBM

ULTEO OPEN VIRTUAL DESKTOP OPENSUSE 11.3 SUPPORT

IBM Security SiteProtector System Configuring Firewalls for SiteProtector Traffic

SC-T35/SC-T45/SC-T46/SC-T47 ViewSonic Device Manager User Guide

SAS Model Manager 2.3

CA Agile Central Installation Guide On-Premises release

Performing an ObserveIT Upgrade Using the Interactive Installer

Mastering phpmyadmiri 3.4 for

Hands-on Lab Session 9011 Working with Node.js Apps in IBM Bluemix. Pam Geiger, Bluemix Enablement

Running SAS Deployment Wizard on UNIX with a Nonroot User Account and IBM WebSphere Application Server

IBM Tivoli Federated Identity Manager Version Installation Guide GC

Web Hosting. User Guide 03/16/2009. Document Revision 2.0. Web Hosting User Guide 1

Transcription:

Usage Tracking for IBM InfoSphere Information Governance Catalog

Contents Overview... 3 1. Installing Piwik and its prerequisites... 3 Installing prerequisites... 3 Installing Piwik... 4 2. Creating the tracking file... 5 3. Configuring WebSphere Application Server... 7 WebSphere Application Server Liberty Core... 7 WebSphere Application Server... 7 Results... 8 Troubleshooting common problems... 9 Make sure that the.html file is injected properly... 9 Make sure that the HTTPS protocol is used... 10 Notices... 11 2

Overview InfoSphere Information Governance Catalog 1 includes a feature that allows you to track usage of InfoSphere Information Governance Catalog through web analytics tools such as IBM NetInsight, Google Analytics or Piwik, in a way that does not interfere with InfoSphere Information Governance Catalog code and that can be maintained from release to release. The feature tracks web browser page hits on each InfoSphere Information Governance Catalog page. The tracking process detects page hits for both IBM Glossary Anywhere (and its precursor, InfoSphere Business Glossary Anywhere) and InfoSphere Information Governance Catalog when accessed from a web browser. 2 To implement this feature, you create a simple file based on a template that is provided in this article, and add code to it that is specific to the tracking tool that you are using. Then, in WebSphere Administration Server, you configure a system property to point to the file. This document explains how to configure the tracking feature, using as its example the open source tool Piwik. Piwik is available at http://www.piwik.org. This step-by-step example shows you how to modify the provided file, configure WebSphere Application Server, and then provide a sample of the results. 1. Installing Piwik and its prerequisites Installing prerequisites To run Piwik, which is used as an example, you must also have the following prerequisites: Web server PHP MySQL Refer to the Piwik web site at www.piwik.org for the specific versions of these prerequisites that are required and other recommendations. For this example, the open source package WampServer is used to provide these prerequisites. To install the WampServer package: 1. From the computer that you want to host your web server on, navigate to www.wampserver.com. 1 Also available in InfoSphere Business Glossary Version 8.7 and 9.1. 2 In InfoSphere Business Glossary Version 8.7, hits on InfoSphere Business Glossary Anywhere are not included. 3

2. Download and install a version of WampServer that corresponds to your computer (32-bit or 64-bit). During installation, click Next at every prompt to use the defaults. Note: You might want to change the email address. The directory in which you install should look like this: 3. For 11.3 and later, configure WampServer to work with HTTPS as described this forum thread http://forum.wampserver.com/read.php?2,32986. 4. Make sure that WampServer is running and online before you move to the next step (Installing Piwik). The WampServer icon ( ) is displayed in your Windows system tray. If WampServer is running, the icon is green. To further verify that WampServer is running or to access the stop and start menu, click the WampServer icon. Installing Piwik Note: The instructions in this section describe one method of installing Piwik. Refer to the information at the Piwik web site for alternative methods, including the use of web servers other than WampServer. 1. In your web browser, open www.piwik.org. 2. Download the piwik.zip file. Extract the content into a new directory. 3. Copy the extracted Piwik directory to the www directory of the Apache server that was installed with WampServer. For example, if you extracted Piwik to the directory C:/piwik, and WampServer to C:/wamp, then copy the contents of the C:/piwik directory to the C:/wamp/www directory. 4. Add the following line to the piwik configuration file config/config.ini.php, under the [General] section 3 : force_ssl=1 3 http://piwik.org/faq/how-to/faq_91/ - How do I force Piwik to use SSL (https) for improved security? 4

5. Enter the address of the new web site in your web browser. For example, if you installed the WampServer on a machine with host 9.147.56.248, enter 9.147.56.248/piwik. 6. Follow the prompts for the Piwik installation. Use the following values for the fields listed below: login: root password: none leave this field empty database name: piwik super user login: This creates a super-user account for Piwik. This user should have administrative privileges on the system that hosts Piwik. website name: Configure the web site in the format host_name:port/ibm/iis/igc. For example: 9.147.56.248:9443/ibm/iis/igc 7. At the end of the Piwik installation process, a window opens that contains the code that you must add to the tracking file. Retain a copy of this code. You will place it in the required location in a later step. The code is similar to the following example. However, use the code as displayed by the Piwik version that you installed because it might change. <!-- Piwik --> <script type="text/javascript"> var _paq = _paq []; _paq.push(['trackpageview']); _paq.push(['enablelinktracking']); (function() { var u="//9.147.56.248/piwik/"; _paq.push(['settrackerurl', u+'piwik.php']); _paq.push(['setsiteid', 1]); var d=document, g=d.createelement('script'), s=d.getelementsbytagname('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentnode.insertbefore(g,s); })(); </script> <noscript><p><img src="//localhost/piwik/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript> <!-- End Piwik Code --> 2. Creating the tracking file 1. With a text editor, create a file that contains the text shown in bold in the template below. The file name must end with the extension html. You will add content to this file in later steps. <!-- Place optional JavaScript usage tracking code here or in file defined by system property 'bg.tracking.include' All code must be placed within <script> tags --> 5

<script> function bgtrackpageevent(url, pagetitle, fulltitle) { // place custom tracking code here } 2. In the file that you just created, add the usage tracking code. For example, for Piwik, add the code that you copied from the Piwik web site between the lines: <!-- Piwik --> and <!-- End Piwik Code -->. 3. In the same file, add the callbacks to the tracking tool after the bgtrackpageevent function. For Piwik, for example, add: function bgtrackpageevent(url, pagetitle, fulltitle) { _paq.push(['setdocumenttitle', pagetitle]); _paq.push(['trackpageview']); } 4. Optional: To track search keywords, implement the function bgtracksearchevent(url, search, result). For Piwik, for example, add: function bgtracksearchevent(url, search, result) { // place custom search tracking code here, e.g. // console.log(search); // console.log(result); _paq.push(['tracksitesearch', search.searchtext, false, result.numresults]); } The following example shows a sample file with the Piwik tracking code and callbacks: <!-- Piwik --> <script type="text/javascript"> var _paq = _paq []; _paq.push(['trackpageview']); _paq.push(['enablelinktracking']); (function() { var u="//9.147.56.248/piwik/"; _paq.push(['settrackerurl', u+'piwik.php']); _paq.push(['setsiteid', 1]); var d=document, g=d.createelement('script'), s=d.getelementsbytagname('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentnode.insertbefore(g,s); })(); </script> <noscript><p><img src="//localhost/piwik/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript> <!-- End Piwik Code --> <script> function bgtrackpageevent(url, pagetitle, fulltitle) { // place custom tracking code here _paq.push(['setdocumenttitle', pagetitle]); _paq.push(['trackpageview']); } function bgtracksearchevent(url, search, result) { // place custom search tracking code here, e.g. // console.log(search); 6

// console.log(result); _paq.push(['tracksitesearch', search.searchtext, false, result.numresults]); } </script> 3. Configuring WebSphere Application Server You must configure WebSphere Application Server Liberty Core or WebSphere Application Server with the tracking system property. WebSphere Application Server Liberty Core 1. Log in to the system that hosts InfoSphere Information Server. 2. Change directories to (Windows): C:\IBM\InformationServer\wlp\usr\servers\mis (Linux or other UNIX-based systems): opt/ibm/informationserver/wlp/usr/servers/mis 3. Open the file jvm.options with a text editor. Add the following line to the jvm.options file: -Dbg.tracking.include=full_path/tracking_file.html where tracking_file.html is the name of the file that you created in step 2. full_path is the directory path to tracking_file.html. For example: -Dbg.tracking.include=C:\ibm\iis\igc\igc_tracking.html WebSphere Application Server 1. Log in to the WebSphere Application Server Integrated Solutions Console. 2. Select Servers > Server types > WebSphere application servers > server1. 3. Under Server Infrastructure, select Java and Process Management > Process definition. 4. Under Additional Properties, select Java Virtual Machine. 5. Under Additional Properties, select Custom properties. 6. Click New. 7. Enter the Name, Value, and optional Description of the tracking system property where Name is bg.tracking.include Value is the full path to the HTML file that you created. 7

For example: 8. Click Apply. 9. Click Save at the top of the window to save the changes to the WebSphere Application Server master configuration. 10. Stop and restart WebSphere Application Server. Results Here is an example of the results returned by Piwik 2.9.1. You can customize the dashboard of results. 8

Troubleshooting common problems If you followed the instructions and no results are registered on the Piwik website, try the following solutions. Make sure that the html file is injected properly To check whether the html file that you created, for example igc_tracking.html, is injected properly, complete the following steps: 1. Open the main page of Information Governance Catalog in the web browser. For example, https://9.147.56.248:9443/ibm/iis/igc/. 2. View page source. 2.1. If the igc_tracking.html file is injected, you can see the following script: 2.2. If the igc_tracking.html file is not injected, you can see the following script: If the igc_tracking.html file is not injected, you must manually configure WebSphere files. Complete the following steps: 1. Go to C:\IBM\WebSphere\AppServer\profiles\<profile_name>\installedApps\ <app_name>\igc-web.ear\igc-web.war. 2. Create a backup copy of the igc_tracking.html file. This file by default has the same content as provided in step 2.2 earlier. 9

3. Replace the content of the igc_tracking.html file with the Piwik script. The example of such script is provided in section 2. Creating the tracking file. 4. Open the main page of Information Governance Catalog in the web browser, and view page source to verify that the script is injected. Make sure that the HTTPS protocol is used To check whether the HTTPS protocol is used, complete the following steps: 1. In your web browser, open network developer tools. 2. Open the main page of Information Governance Catalog in the web browser. For example, https://9.147.56.248:9443/ibm/iis/igc/. 3. In network developer tools pane, look for the piwik.js entry. If the SSL configuration is correct, Piwik entry has the following status: If no status is provided, or the lock icon is not green, the SSL configuration is incorrect. Complete the following steps: 1. Make sure that keys and certificates are generated, and that WampServer configuration files are modified as mentioned in the instruction http://forum.wampserver.com/read.php?2,32986. 2. In the httpd.conf file, uncomment the following line: LoadModule socache_shmcb_module modules/mod_socache_shmcb.so 3. Restart the WampServer. If the status code is 403, there is an access issue. Complete the following steps: 1. In the httpd-ssl.conf file, in the <VirtualHost _default_:443> tag, add the following script: <FilesMatch "\.(cgi shtml phtml php)$"> SSLOptions +StdEnvVars Options Indexes FollowSymLinks MultiViews ExecCGI Order allow,deny Require all granted AllowOverride All Allow from all </FilesMatch> 2. Restart the WampServer. 10

Notices The instructions in this document apply to Piwik 2.15.0 and WampServer 2.5. Installation instructions for other versions of these tools might differ from what is described in this document. Refer to the web sites www.piwik.org and www.wampserver.com for current installation instructions and support for Piwik and WampServer, respectively. IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at Copyright and trademark information at www.ibm.com/legal/copytrade.shtml. 11