Mastering Metrics and Coping with Cognos
And you are?
Sharon Bellamy Greg Kutinov
Likes: Disney, Marmite & World of WarcraftDislikes: Melting Ice Cream
Socialshazza
Socialshazza.com
11 years WebSphereConnections since V2Integrating ICS products
10 years WebSphereConnections since V3.0Integrating ICS productsDomino developmentDB2 Admin
Likes: Sports – VolleyballDislikes: Very slow internet connection – bores me !!
Agenda
• Installation
• Configuring and federating
• Patching
• Configuring LDAP
• Metric and Connections
• I H S configuration
• Configuring cubes
• Metrics mastered
PART I. INSTALLATION
PreRequisites
• Databases – create the Cognos & Metrics DBs
• WAS (7.0.0.21) – installed, patched
• DB2 client installed on Cognos machine and configured to connect to the DBs above
• Cognos software
WAS nodes
• Wiki: manageprofiles.bat -create -templatepathWAS_install_root\profileTemplates\default -adminUserName was_admin_name -adminPassword was_admin_password• Recommendation:manageprofiles.bat -create -templatepathWAS_install_root\profileTemplates\default –profileName Cognos• SSO Win:ktab –m source.keytab destination.keytabktab –list –k destination.keytab
Product versions
The whole Cognos bundle - IBM Cognos Business Intelligence for Connections Activities V4.0 Multilingual Multiplatform eAssembly (CRJU4ML):
1. IBM Cognos Business Intelligence Server 10.1.1 : 64-bit Windows (CI5VMML), 32-bit Windows (CI5VLML), 32-bit AIX (CI5VSML), 64-bit AIX (CI5VTML), 32-bit Linux x86 (CI5W6ML), 64-bit Linux x86 (CI5W7ML), 32-bit Linux on System z (CI5W4ML), 64-bit Linux on System z (CI5W5ML)
2. IBM Cognos Business Intelligence Transformer 10.1.1 : Windows (CI2Q1ML), AIX (CI2Q4ML), Linux x86 CI2Q6ML, Linux on System z (CI2QHML)
OS patching & preparing• Patch the OS: TL0 SP3 Recommended Base Patch
Level (AIX); compat-libstdc++-33compat-glibc-2.3.2, openmotif-2.2.3 (Linux RH)… -http://www-01.ibm.com/support/docview.wss?uid=swg27022463#linux
• DB2client – catalog a node with the Metrics db for Transformer (db2 catalog tcpip…/ db )
• PowerCubes folder – local for Windows only
• CognosConfig.zip or CognosConfig.tar
• Provide 4 JDBC drivers - /CognosSetup/BI-Customization/JDBC
Planning the properties filewas.install.path=C:\IBM\WebSphere\AppServerwas.profile.name=iCognos
was.local.admin.username=wstestwas.local.admin.password=*** PASSWORD REMOVED ***was.fqdn.hostname=ferdinand.mont.ru
cognos.was.node.name=FERDINANDNode02cognos.was.server.name=cognos_server
cognos.biserver.issetup=C:\Distr\biserver_10.1.1\winx64h\issetup.execognos.transformer.issetup=C:\Distr\transformer_10.1.1\win32\issetup.exe
cognos.biserver.install.path=C:\IBM\CognosBI
cognos.transformer.install.path=C:\Program Files (x86)\IBM\CognosTransformer
cognos.locale=ENcognos.contextroot=cognos
cognos.admin.username=wsadmin
cognos.admin.password=*** PASSWORD REMOVED ***
cognos.namespace=IBMConnections
cognos.cube.path=C:\IBM\CognosBI\PowerCubes
cognos.db.type=db2
cognos.db.host=neptune.mont.ru:50000
cognos.db.name=COGNOS
cognos.db.user=LCUSER
cognos.db.password=*** PASSWORD REMOVED
metrics.db.type=db2
metrics.db.host=neptune.mont.ru:50000
metrics.db.name=METRICS
metrics.db.local.name=METRICS
metrics.db.user=LCUSER
metrics.db.password=*** PASSWORD REMOVED ***
Installing
• cognos-setup.log:All properties provided for Cognos database All properties provided for Metrics database JDBC Connection Success Success to verify the JDBC connection to Cognos Content Store database. JDBC Connection Success Success to verify the JDBC connection to Metrics database. ... performing validation check completed Installing Cognos ... BUILD SUCCESSFUL…
Configuring & federating• cognos-configure.log…Finished Import Metrics Report Package into Cognos Setup Cube path variable into Cognos Finished Setup Cube path variable into Cognos……All forward references were resolved Finished Setup Cube Models…
-> the folder metricsmodel appears within the Transformer installation directory
• Federating the Cognos node: addNode deployment.server.com –profileName iCognos –includeapps• Verifying the cognos node get started & synchronized,
then starting the cognos server
Verifying the installation
PART II. POST-INSTALLATION
Applying fix packs
• cognos.biserver.install.path to be specified during installation of the fix pack
• Generating a new cognos.ear file with cognos-setup-update
• Replacing the “entire application” with a new cognos.ear on the Deployment Manager (run the cognos node and resynchronize)
• Updating the Cognos server configuration with cognos-configure-update
LDAP Authenticating
Accessing global and community metrics
IBMConnectionsMetricsAdmin
IHS applying
• LotusConnections-config.xml:<sloc:serviceReference bootstrapHost="" bootstrapPort="" clusterName="admin_replace" enabled="true" serviceName="cognos" ssl_enabled="true">
<sloc:href><sloc:hrefPathPrefix>/cognos</sloc:hrefPathPrefix><sloc:static href="http://uran.mont.ru" ssl_href="https://uran.mont.ru"/><sloc:interService href="https://uran.mont.ru"/>
</sloc:href></sloc:serviceReference>
Cognos cubes errors
Rebuilding Cognos cubes
• Transformer logs - trxschelog.log09.10.2012 0:08:27,88 : daily refresh fail 09.10.2012 9:59:52,02 : build all data fail19.10.2012 17:56:18,65 : rebuild 201210 success 19.10.2012 17:57:31,35 : build all data success • Rebuild-all.bat…"C:\Program Files (x86)\IBM\CognosTransformer\bin\cogtr" -n2 -i -c -s -g -f"C:\Program Files (x86)\IBM\CognosTransformer\metricsmodel\promptStartBuild.xml" -m"C:\Program Files (x86)\IBM\CognosTransformer\metricsmodel\MetricsAuditCube.mdl""C:\Program Files (x86)\IBM\CognosTransformer\bin\cogtr" -n2 -i -c -s -g -f"C:\Program Files (x86)\IBM\CognosTransformer\metricsmodel\promptBuildAllData.xml" -m"C:\Program Files (x86)\IBM\CognosTransformer\metricsmodel\MetricsTrxCube.mdl“…
Global Metrics output sample
Communities metrics sample
Regular maintenance• A sample of the trxschelog file:
28.10.2012 0:05:02,41 : Delete the existing cube file C:\IBM\CognosBI\PowerCubes\MetricsTrxCube\20121001-20121031.mdc. 28.10.2012 0:07:34,95 : rebuild 201210 fail 29.10.2012 0:07:24,23 : daily refresh fail 29.10.2012 15:31:55,65 : build all data success 30.10.2012 0:07:57,62 : daily refresh fail 30.10.2012 10:02:30,65 : daily refresh fail 30.10.2012 10:03:52,85 : build all data success 30.10.2012 10:08:54,25 : daily refresh success 30.10.2012 17:18:42,84 : Delete the existing cube file C:\IBM\CognosBI\PowerCubes\MetricsTrxCube\20121001-20121031.mdc. 30.10.2012 17:20:19,26 : rebuild 201210 success 31.10.2012 0:07:25,50 : daily refresh success 31.10.2012 9:34:50,17 : Delete the existing cube file C:\IBM\CognosBI\PowerCubes\MetricsTrxCube\20121001-20121031.mdc. 31.10.2012 9:36:58,74 : daily refresh success 01.11.2012 0:08:40,82 : daily refresh success 01.11.2012 11:28:03,78 : build all data success 02.11.2012 0:07:54,96 : daily refresh success 03.11.2012 0:08:47,66 : daily refresh success
Useful Documentation
• Installing WebSphere Application Server for Cognos Business Intelligence
• Installing DB client for Cognos Transformer
• Installing required patches on the Cognos BI Server system
• Installing Cognos Business Intelligence components
• Configuring Cognos Business Intelligence after installation
• Federating the Cognos server to the Deployment Manager
• Validating the Cognos BI server installation
• Configuring Cognos Business Intelligence
Top Related