Quantcast
Channel: A Portal to a Portal
Viewing all articles
Browse latest Browse all 1850

IBM Business Monitor 8.0.1 - DB2 or not DB2

$
0
0
This post is most definitely a Work-in-Progress, as I get to grips with IBM Business Monitor ( aka Business Activity Monitoring or BAM ).

BAM includes, and makes use, of Cognos Business Intelligence 10.1 ( aka Cognos BI ), which is installed with the product.

Cognos BI runs, in this particular instance, on one of the WebSphere Application Server (WAS) instances that forms the BAM infrastructure.

In my case, I'm following good practice for scalability and resilience by deploying BAM in the so-called "Gold Standard' deployment pattern, similar to IBM Business Process Manager.

This involves BAM ( or BPM ) being clustered across four discrete WAS instances: -

Messaging engine cluster
  • Messaging engine for the IBM Business Monitor bus
  • Messaging engine for the common event infrastructure (CEI) bus
Support cluster
  • CEI event service
  • Event emitter services
  • Action services
  • Monitor scheduled services
  • IBM Cognos Business Intelligence service
Application cluster

  • Monitor model applications Web cluster

Business Space application
  • Business Space widgets
  • Representational State Transfer (REST) services application

The IBM documentation: -


explains this, and other topologies, further.

So, as is evident from above, Cognos is deployed onto the Support cluster.

I had assumed that Cognos would be a well-behaved client of WAS, and make use of JNDI and JDBC to connect, via WAS, to it's underlying database - COGNOSCS.

However, now I'm not quite so sure.

I have already blogged about the need to configure WAS to make use of the 32-bit native DB2 drivers: -


and thought that was all I had to do.

However, I spent the best part of a day struggling to work out why Cognos wouldn't fully start.

In terms of logging, apart from the WAS SystemOut.log file: -

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/PCSR011.Support/SystemOut.log 

Cognos also has its own set of logs: -

$ ls -al /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/cognos/PCSR011.Support/logs

total 44
drwxr-xr-x  3 wasadmin mqbrkrs   4096 Mar  2 17:08 .
drwxr-xr-x 30 wasadmin mqbrkrs   4096 Feb  8 14:04 ..
-rw-r--r--  1 wasadmin wasadmins 1401 Mar  3 09:40 cmMetrics_2013-03-02.log
-rw-r--r--  1 wasadmin wasadmins    0 Mar  2 17:06 cogconfigipf.log
-rw-r--r--  1 wasadmin wasadmins 1729 Mar  2 17:06 cogconfig_response.csv
-rw-r--r--  1 wasadmin wasadmins  311 Mar  2 17:07 cogserver_default_55087.log
-rw-r--r--  1 wasadmin wasadmins  155 Mar  2 17:08 cogserver_default_55441.log
-rw-r--r--  1 wasadmin wasadmins 6504 Mar  2 17:09 cogserver.log
-rw-r--r--  1 wasadmin wasadmins    0 Mar  2 17:06 ipfInternal_cpp.log
-rw-r--r--  1 wasadmin wasadmins    0 Mar  2 17:06 ipfInternal_java.log
-rw-r--r--  1 wasadmin wasadmins 7870 Mar  3 07:48 pogo_2013-03-02.log
-rw-r--r--  1 wasadmin wasadmins    0 Mar  2 17:07 pogoMetrics_2013-03-02.log
-rw-r--r--  1 wasadmin wasadmins    0 Mar  2 17:08 qs_cmMetrics_2013-03-02.log
-rw-r--r--  1 wasadmin wasadmins    0 Mar  2 17:08 qs_pogo_2013-03-02.log
-rw-r--r--  1 wasadmin wasadmins    0 Mar  2 17:08 qs_pogoMetrics_2013-03-02.log
drwxr-xr-x  4 wasadmin wasadmins 4096 Mar  2 17:08 XQE


More specifically: -

$ cat cogconfig_response.csv 

INFO, "[main]", "Silent Execution Mode (start)"
EXEC, "[main]", "Loading configuration file"
SUCCESS, "[main]", "Completed successfully."
EXEC, "[Validation]", "Checking for errors and configuration integrity"
SUCCESS, "[Validation]", "Completed successfully."
EXEC, "[Cryptography]", "Generating cryptographic information"
SUCCESS, "[Cryptography]", "Completed successfully."
EXEC, "[Data Encryption]", "Checking integrity of encrypted data"
SUCCESS, "[Data Encryption]", "Completed successfully."
EXEC, "[Backup]", "Backing up configuration files"
SUCCESS, "[Backup]", "Completed successfully."
EXEC, "[Save Configuration]", "Saving configuration parameters"
SUCCESS, "[Save Configuration]", "Completed successfully."
EXEC, "[Checking upgrade status]", "Checking upgrade status"
SUCCESS, "[Checking upgrade status]", "Completed successfully."
EXEC, "[Cryptography]", "Generating cryptographic information"
SUCCESS, "[Cryptography]", "Completed successfully."
EXEC, "[''VMMAuth'']", "Testing ''WBM_Provider'' namespace."
SUCCESS, "[''VMMAuth'']", "Completed successfully."
EXEC, "[Trust Root Test]", "Checking for same Trust Root."
SUCCESS, "[Trust Root Test]", "Completed successfully."
EXEC, "[CSK Request Test]", "Checking CSK availability."
SUCCESS, "[CSK Request Test]", "Completed successfully."
EXEC, "[Content Manager database connection]", "Testing Content Manager database connection."
ERROR, "[Content Manager database connection]", "The database connection failed."
ERROR, "[Content Manager database connection]", "Content Manager failed to start because it could not load driver "com.ibm.db2.jcc.DB2Driver"."
FAILURE, "[Content Manager database connection]", "Failed."

INFO, "[main]", "Silent Execution Mode (end)"


and: -

$ cat cogserver.log 

127.0.0.1:9081639022013-02-08 16:29:02.408+0server.startup : 1LOGSV62351server.Audit.IPFStartServiceLogServiceSuccess<parameters><item name="Port"><![CDATA[9381]]></item><item name="Mode"><![CDATA[UDP]]></item><item name="Secure"><![CDATA[FALSE]]></item></parameters>
127.0.0.1:9081639022013-02-08 16:29:22.361+0Initialization_SESSInitialization_REQThread-54CM62351Audit.cms.CMStartServiceContentManagerServiceInfoCM-SYS-2057 Creating content store tables (schema version 6.0022).
127.0.0.1:9081639022013-02-08 16:31:56.905+0Initialization_SESSInitialization_REQThread-54CM62351Audit.cms.CMStartServiceContentManagerServiceInfoCM-SYS-2215 A Content Manager internal PRECACHEINITACTIONS task started.
127.0.0.1:9081639022013-02-08 16:31:56.967+0Initialization_SESSInitialization_REQThread-54CM62351Audit.cms.CMStartServiceContentManagerServiceInfoCM-SYS-2216 A Content Manager internal PRECACHEINITACTIONS task is complete.
127.0.0.1:9081639022013-02-08 16:31:57.103+0Initialization_SESSInitialization_REQThread-54CM62351Audit.cms.CMStartServiceContentManagerServiceInfoCM-SYS-2215 A Content Manager internal POSTINITACTIONS task started.
127.0.0.1:9081639022013-02-08 16:31:57.389+0Initialization_SESSInitialization_REQThread-54CM62351Audit.cms.CMStartServiceContentManagerServiceInfoCM-SYS-2216 A Content Manager internal POSTINITACTIONS task is complete.
127.0.0.1:9081639022013-02-08 16:32:16.391+0Initialization_SESSInitialization_REQThread-54CM62351Audit.RTUsage.cms.CMStartServiceContentManagerServiceInfoCM-SYS-2215 A Content Manager internal CMUPGRADESCRIPT task started.
127.0.0.1:9081639022013-02-08 16:32:17.257+0 Thread-54CM62351Audit.RTUsage.cms.CMStartServiceContentManagerServiceSuccessCM-SYS-5090 Content Manager build 10.1.6235.601 started (None;20110713180135, schema version 6.0022, implementation: CMDbStore - Java CMCache).
127.0.0.1:9081639022013-02-08 16:32:17.257+0 Thread-54CM62351Audit.RTUsage.cms.CMStartServiceContentManagerServiceInfCM-SYS-5159 Content Manager is running in active mode.
127.0.0.1:9081639022013-02-08 16:32:19.456+0pogoStartupnana0Thread-54DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServicerelationalMetadataServiceSuccess
127.0.0.1:9081639022013-02-08 16:32:19.588+0pogoStartupnana0Thread-54DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.contentmanager.coordinator.CMBootstrapgetActiveContentManagerContentManagerFailure<messages><message><messageString>DPR-CMI-4006 Unable to determine the active Content Manager. Will retry periodically.</messageString></message></messages>
127.0.0.1:9081639022013-02-08 16:32:19.605+0pogoStartupnana0Thread-54DISP62351Audit.Other.dispatcher.DISP.pogopogocom.cognos.pogo.contentmanager.coordinator.ActiveCMControlFailure<messages><message><messageString>DPR-DPR-1035 Dispatcher detected an error.</messageString></message><message><messageString>DPR-DPR-1004 Expecting a BI Bus XML response but got:   </messageString></message></messages>DPR-CMI-4007 Unable to perform an active Content Manager election on the local IP node. For more information, see the dispatcher and Content Manager detailed logs. Ensure that the local Content Manager service is started.DPR-DPR-1004 Expecting a BI Bus XML response but got: com.cognos.pogo.bibus.CommandExecutionException: DPR-DPR-1004 Expecting a BI Bus XML response but got: at com.cognos.pogo.bibus.BIBusCommand.handleDefaultException(BIBusCommand.java:294)at com.cognos.pogo.bibus.BIBusCommand.execute(BIBusCommand.java:194at com.cognos.pogo.contentmanager.StandbyContentManagerElectionCommand.executeIfLocal(StandbyContentManagerElectionCommand.java:53)at com.cognos.pogo.contentmanager.coordinator.ActiveCMControl.sendElectCommand(ActiveCMControl.java:230)at com.cognos.pogo.contentmanager.coordinator.ActiveCMControl.startTimer(ActiveCMControl.java:175)at com.cognos.pogo.contentmanager.coordinator.ActiveCMControl.startupFindCM(ActiveCMControl.java:142)at com.cognos.pogo.contentmanager.coordinator.RuntimeInfoPublishHandler.start(RuntimeInfoPublishHandler.java:113)at com.cognos.pogo.services.DefaultHandlerService.start(DefaultHandlerService.java:94)at com.cognos.pogo.services.DispatcherServices.startInititalServices(DispatcherServices.java:388)at com.cognos.pogo.transport.PogoServlet$PogoStartup.run(PogoServlet.java:690)at com.cognos.pogo.util.threads.SafeThread.safeRun(SafeThread.java:70)at com.cognos.pogo.util.threads.SafeThread.run(SafeThread.java:61)Caused by: com.cognos.pogo.bibus.CommandExecutionException: DPR-DPR-1004 Expecting a BI Bus XML response but got: at com.cognos.pogo.bibus.BIBusCommand.checkResponseContentType(BIBusCommand.java:326)at com.cognos.pogo.bibus.BIBusCommand.getSinglePartInputStream(BIBusCommand.java:273)at com.cognos.pogo.bibus.BIBusCommand.getInputStream(BIBusCommand.java:259)at com.cognos.pogo.bibus.BIBusCommand.parseResponse(BIBusCommand.java:248)at com.cognos.pogo.bibus.BIBusCommand.processResponse(BIBusCommand.java:242)at com.cognos.pogo.bibus.BIBusCommand.executeCommand(BIBusCommand.java:204)at com.cognos.pogo.bibus.BIBusCommand.execute(BIBusCommand.java:190)... 10 more
127.0.0.1:9081639022013-02-08 16:49:51.894+0nanastopper-runTimeInfoPublisherDISP62351Audit.Other.dispatcher.DISP.pogopogocom.cognos.pogo.services.DefaultHandlerServiceFailure<messages><message><messageString>DPR-DPR-1035 Dispatcher detected an error.</messageString></message><message><messageString>null</messageString></message></messages>problem stopping handler runTimeInfoPublishernulljava.lang.NullPointerExceptionat com.cognos.pogo.contentmanager.coordinator.RuntimeInfoPublishHandler.stopAciveCMChecking(RuntimeInfoPublishHandler.java:273)at com.cognos.pogo.contentmanager.coordinator.RuntimeInfoPublishHandler.stop(RuntimeInfoPublishHandler.java:124)at com.cognos.pogo.services.DefaultHandlerService.stop(DefaultHandlerService.java:168)at com.cognos.pogo.services.DispatcherServices$ServiceStopper.safeRun(DispatcherServices.java:335)at com.cognos.pogo.util.threads.SafeThread.run(SafeThread.java:61)
127.0.0.1:9081639022013-02-08 16:49:51.894+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServiceCPS Producer Registration ServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.101+0stopper-eventManagementServiceEMS62351Audit.ems.EMSStopServiceEventServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.103+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServiceMetadataServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.111+0stopper-jobServiceJOBS62351Audit..JOBSStopServiceJobServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.115+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServiceDimensionManagementServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.165+0stopper-monitorServiceMS62351Audit.ms.MSStopServiceMonitorServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.169+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServiceReportServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.173+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServiceContentManagerCacheServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.177+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServiceCacheServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.177+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServicecamAsyncAASuccess
127.0.0.1:9081639022013-02-08 16:49:52.178+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServiceIBM Cognos Enhanced Search ServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.179+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServiceReportDataServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.187+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServiceGraphicsServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.193+0nanastopper-graphicsServiceDISP62351Audit.Other.dispatcher.DISP.pogopogocom.cognos.pogo.services.DefaultHandlerServiceFailure<messages><message><messageString>DPR-DPR-1035 Dispatcher detected an error.</messageString></message><message><messageString>null</messageString></message></messages>problem stopping handler graphicsServiceHandlernulljava.lang.NullPointerExceptionat com.ibm.cgsBus.service.GraphicsServiceHandler.stop(Unknown Source)at com.cognos.pogo.services.DefaultHandlerService.stop(DefaultHandlerService.java:168)at com.cognos.pogo.services.DispatcherServices$ServiceStopper.safeRun(DispatcherServices.java:335)at com.cognos.pogo.util.threads.SafeThread.run(SafeThread.java:61)
127.0.0.1:9081639022013-02-08 16:49:52.196+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServiceSystemServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.197+0shutdownnana0Non-deferrable Alarm : 2DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStopServicebuxServiceSuccess
127.0.0.1:9081639022013-02-08 16:49:52.223+0stopper-logServiceLOGSV62351server.Audit.IPFStopServiceLogServiceSuccess<parameters><item name="Port"><![CDATA[9381]]></item><item name="Mode"><![CDATA[UDP]]></item><item name="Secure"><![CDATA[FALSE]]></item></parameters>


So, thus far, I've not managed to get to the bottom of why Cognos appears to have an issue with DB2, given that WAS is connecting quite happily using JNDI/JDBC.

As per the aforementioned blog post: -


I thought I'd fixed the core issue of allowing Cognos access to the native 32-bit JDBC driver, by setting LD_LIBRARY_PATH to: -

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/cognos/PCSR011.Support/bin64:/opt/ibm/db2/V9.7/lib32/

but it's still not happy, as can be seen above.

In addition, I was seeing the following exception: -

DPR-ERR-2109 The dispatcher cannot service the request at this time. The dispatcher is still initializing. Contact administrator if this problem persists.

when attempting to access the Cognos Dispatcher URL: -


Despite reading scores of IBM documentation: -



In the end, I looked back through a design document that I'd recently written for an IBM Business Monitor client, who's actually using Oracle rather than DB2, where I'd recommended that they use Dynamic Query Mode, which makes full use of WAS' own JDBC driver, rather than needing a native, client-side driver.

This Technote describes this more fully: -


but, in essence, it's a matter of setting a generic JVM argument ( for the Support cluster member ): -

-Dinit.dqm.enabled=true

and restarting the cluster member.

Having done this, I still see: -

<snip>
EXEC, "[Content Manager database connection]", "Testing Content Manager database connection."
ERROR, "[Content Manager database connection]", "The database connection failed."
ERROR, "[Content Manager database connection]", "Content Manager failed to start because it could not load driver "com.ibm.db2.jcc.DB2Driver"."
FAILURE, "[Content Manager database connection]", "Failed."

</snip>

in cogconfig_response.csv, but Cognos now behaves itself perfectly, as per conserver.log: -

$ cat cogserver.log 

127.0.0.1:9081550872013-03-02 17:07:19.386+0server.startup : 0LOGSV62351server.Audit.IPFStartServiceLogServiceSuccess<parameters><item name="Port"><![CDATA[9381]]></item><item name="Mode"><![CDATA[UDP]]></item><item name="Secure"><![CDATA[FALSE]]></item></parameters>
127.0.0.1:9081550872013-03-02 17:07:27.722+0Initialization_SESSInitialization_REQThread-54CM62351Audit.cms.CMStartServiceContentManagerServiceInfoCM-SYS-2215 A Content Manager internal PRECACHEINITACTIONS task started.
127.0.0.1:9081550872013-03-02 17:07:27.976+0Initialization_SESSInitialization_REQThread-54CM62351Audit.cms.CMStartServiceContentManagerServiceInfoCM-SYS-2215 A Content Manager internal POSTINITACTIONS task started.
127.0.0.1:9081550872013-03-02 17:07:27.725+0Initialization_SESSInitialization_REQThread-54CM62351Audit.cms.CMStartServiceContentManagerServiceInfoCM-SYS-2216 A Content Manager internal PRECACHEINITACTIONS task is complete.
127.0.0.1:9081550872013-03-02 17:07:28.072+0Initialization_SESSInitialization_REQThread-54CM62351Audit.cms.CMStartServiceContentManagerServiceInfoCM-SYS-2216 A Content Manager internal POSTINITACTIONS task is complete.
127.0.0.1:9081550872013-03-02 17:07:28.238+0Initialization_SESSInitialization_REQThread-54CM62351Audit.cms.CMStartServiceContentManagerServiceInfoCM-SYS-2215 A Content Manager internal CMUPGRADESCRIPT task started.
127.0.0.1:9081550872013-03-02 17:07:28.911+0 Thread-54CM62351Audit.RTUsage.cms.CMStartServiceContentManagerServiceSuccessCM-SYS-5090 Content Manager build 10.1.6235.601 started (None;20110713180135, schema version 6.0022, implementation: CMDbStore - Java CMCache).
127.0.0.1:9081550872013-03-02 17:07:28.913+0 Thread-54CM62351Audit.RTUsage.cms.CMStartServiceContentManagerServiceInfCM-SYS-5159 Content Manager is running in active mode.
127.0.0.1:9081550872013-03-02 17:07:29.357+0pogoStartupnana0Thread-54DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServicerelationalMetadataServiceSuccess
127.0.0.1:9081550872013-03-02 17:07:29.587+0BootstrapConfigurePublishna0Thread-54DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.contentmanager.coordinator.CMBootstrapStartServicedispatcherBootstrapInfoDPR-DPR-1002 Successfully registered the dispatcher http://rhel6.uk.ibm.com:9081/p2pd in Content Manager.
127.0.0.1:9081550872013-03-02 17:08:03.321+0Thread-76AAA62351Audit.cms.CAM.AAAStartServicecamAsyncServiceSuccess
127.0.0.1:9081550872013-03-02 17:08:14.125+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceFragment Server ServiceSuccess
127.0.0.1:9081550872013-03-02 17:08:14.129+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceBatchReportServiceSuccess
127.0.0.1:9081550872013-03-02 17:08:14.131+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.async.service.connection.bibustkserver.BIBusTKServerManagerStartcom.cognos.pogo.reportserviceInfoStart a External Process because the start count 1 is larger than 0.
127.0.0.1:9081550872013-03-02 17:08:39.399+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceQueryServiceSuccess
127.0.0.1:9081550872013-03-02 17:08:39.903+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceSystemServiceSuccess
127.0.0.1:9081550872013-03-02 17:08:39.902+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServicebuxServiceSuccess
127.0.0.1:9081550872013-03-02 17:08:46.171+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceGraphicsServiceSuccess
127.0.0.1:9081550872013-03-02 17:08:46.281+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceReportDataServiceSuccess
127.0.0.1:9081550872013-03-02 17:08:51.733+0Thread-76xts62351Audit.ps.xtsUpgradePresentationServiceSuccessPRS-ACF-0413 Successfully wrote the upgraded cogadmin/system.xml file.
127.0.0.1:9081550872013-03-02 17:09:00.803+0Thread-76xts62351Audit.ps.xtsStartServicePresentationServiceSuccess
127.0.0.1:9081550872013-03-02 17:09:00.804+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceIBM Cognos Enhanced Search ServiceSuccess
127.0.0.1:9081550872013-03-02 17:09:00.804+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServicecamAsyncAASuccess
127.0.0.1:9081550872013-03-02 17:09:00.808+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceCacheServiceSuccess
127.0.0.1:9081550872013-03-02 17:09:00.808+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceContentManagerCacheServiceSuccess
127.0.0.1:9081550872013-03-02 17:09:00.985+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceReportServiceSuccess
127.0.0.1:9081550872013-03-02 17:09:01.008+0Thread-76MS62351Audit.ms.MSStartServiceMonitorServiceSuccess
127.0.0.1:9081550872013-03-02 17:09:01.008+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceDimensionManagementServiceSuccess
127.0.0.1:9081550872013-03-02 17:09:01.009+0Thread-76JOBS62351Audit..JOBSStartServiceJobServiceSuccess
127.0.0.1:9081550872013-03-02 17:09:01.289+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceMetadataServiceSuccess
127.0.0.1:9081550872013-03-02 17:09:01.434+0Thread-76EMS62351Audit.ems.EMSStartServiceEventServiceSuccess
127.0.0.1:9081550872013-03-02 17:09:13.223+0nanaThread-76DISP62351Audit.Other.dispatcher.DISP.com.cognos.pogo.services.DispatcherServicesStartServiceCPS Producer Registration ServiceSuccess

and I can access the Cognos URLs: -


and also add/remove/edit Cognos iWidgets within Business Space: -


One final point - it's sometimes necessary to modify the Cognos configuration outside of the WAS/BAM environment.

This can be achieved in one of two ways: -

(1) Use the cogconfig.sh GUI -

$ /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/cognos/PCSR011.Support/bin64/cogconfig.sh

This requires a GUI environment ( X11 or VNC on Linux ), which may be a problem for some Unix boxes.

For me, I accessed my RHEL VM as follows: -

$ ssh -X wasadmin@rhel6

and then started the tool: -

source /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/setupCmdLine.sh 
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/cognos/PCSR011.Support/bin64/cogconfig.sh

which loads the GUI up via my Mac's X11 client Xquartz.

(2) Use the wsadmin scripts that come with BAM: -

wbmDeployCEIEventService to create and configure the CEI event service and its required resources for receiving and sending events
wbmConfigureEventEmitterFactory to configure the outbound event emitter factory for sending events
wbmDeployMessagingEngine to install and configure the messaging engine and service integration bus
wbmDeployActionServices to install and configure the action services for invoking actions
wbmDeployScheduledServices to install and configure the Monitor scheduled services for scheduling recurring services
wbmDeployEventEmitterServices to install and configure the JMS and REST event emitter services
wbmDeployBPMEmitterServices to install and configure the BPM emitter service for use by IBM BPM
wbmDeployCognosService to install the IBM Cognos® Business Intelligence service for multidimensional analysis, or wbmSetCognosDispatcher to point to an IBM Cognos BI service that is already installed
wbmSetCognosDatabaseUser to set the IBM Cognos BI content store database password, and wbmSetCognosAdminUser to set the IBM Cognos BI administrator password.

as per the following link: -


Of course, there is a third option - one that I would not recommend - to hand-edit the Cognos configuration file: -

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/cognos/PCSR011.Support/configuration/cogstartup.xml

This is, I believe, modified ( and, more importantly, validated ) by options (1) and (2) above.

As I say, this is a W-I-P. Next on my list is to find out whether I can configure the Cognos dispatcher to work with SSL.

I did try changing the dispatcher endpoints to HTTPS URLs, but then got exceptions such as: -

    CM-SYS-5157 Content Manager failed to notify the dispatcher "https://rhel6.uk.ibm.com:8443/p2pd/servlet/dispatch" of a running status change. CM-REQ-4128 An input/output error occurred executing an external request to the connector "CM". java.security.cert.CertificateException: CAM-CRP-1072 The certificate with the DN 'CN=rhel6.uk.ibm.com, O=ibm' issued by the Certificate Authority with the DN 'CN=rhel6.uk.ibm.com, O=ibm' is not trusted. Cause: java.security.cert.CertificateException: CAM-CRP-1072 The certificate with the DN 'CN=rhel6.uk.ibm.com, O=ibm' issued by the Certificate Authority with the DN 'CN=rhel6.uk.ibm.com, O=ibm' is not trusted.  Runtime Exception stack trace: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: CAM-CRP-1072 The certificate with the DN 'CN=rhel6.uk.ibm.com, O=ibm' issued by the Certificate Authority with the DN 'CN=rhel6.uk.ibm.com, O=ibm' is not trusted.   

but that's a problem for another day.


Viewing all articles
Browse latest Browse all 1850

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>