Hello
@STEFAN VERMEULEN,
@Dax LawlessCognosConfig:
* disabled not needed features (like mobileService) --> saves RAM and startup time
* removed not needed languages --> saves RAM and startup time
... see github for our script cleaning up Cognos instanances (
cleanUpCognosInstallation)
Do you use a standby CM or do you start the new DC2 when DC1 fails?
--> With an already running standby CM, we are able to switch on failing primary CM within seconds. See
StandBy Cm in documentation Our setup is just like yours - we also run servers in DC1 + DC2 in different locations.
-->
Cognos services are started automatically after the server(s) is rebooted. The primary Content Manager sometimes starts as standby. One of the secondary Content Managers starts as active. (see Details)
One of our Cognos DEV servers runs 12 installations. So, we are running out of RAM and DISK-SPACE on the host.
We found an article about shared classes on disk and in memory ... for Websphere Liberty (WLP).
See details on sharedClasses. This could be a good solution for us. Has anyone used sharedClasses among different installations of Cognos? It might also help you to speed up the startup process.
Do you have any clue what WLP is doing "all those 45 minutes"? ntrace/strace java process? Enable trace logs in WLP? Debug the JAVA process to understand what is happenig? Here is a
link on how to detect hungs or loops in Oracle java hth
------------------------------
Ralf Roeber
------------------------------
Original Message:
Sent: Tue September 22, 2020 09:24 AM
From: STEFAN VERMEULEN
Subject: JVM Startup Tips/Tricks (10.1.1)
I don't think the java engine is your issue, but the connection between standby CM in DC2, where as the CM database still resides in DC1.
Trying to find network bandwidth and latency architecture statements for CA came up short, for for the old BI I found this:
https://www.ibm.com/support/knowledgecenter/SSEP7J_10.2.2/com.ibm.swg.ba.cognos.crn_arch.10.2.2.doc/c_adgplnnfrastrct.html
"IBM Cognos BI server components should be connected by a network with 100 Mb of available capacity"
If replicating the CM database to your DC2 is not in scope, i would suggest to create a support call with IBM and label it "information request" and ask them if the statement for BI still stands for CA.
------------------------------
STEFAN VERMEULEN
Original Message:
Sent: Fri September 18, 2020 08:40 AM
From: Dax Lawless
Subject: JVM Startup Tips/Tricks (10.1.1)
All,
We just recently added two new distributed nodes to our Cognos 10.1.1 (yes, I know) infrastructure.
We have a geographically distributed installation (different datacenters for each server) with two hardware based solaris 10 machines (1 processor, 16 cores, 8gb ram, 100mb/s lan, slow disk) and just added two new solaris 11 virtual machines (1 processor, 8 cores), 24gb ram, 1gb/s lan, fast disk).
We have the application tier and content manager tier split, but resident on the same server listening on different ports.
Normally on the older machines, it takes ~15 minutes to startup the JVM (maximum memory in mb 768), and another 10 minutes to start the cognos services after the JVM is completed) for the primary content manager, and a similar timeframe for all the application tier dispatchers (1158mb JVM).
On the new machines, our application tier components start up in about 3 minutes with the same 1158 mb (much much faster).
However, when attempting to fail over the content manager from the older machines to the newer machines, it took much much longer -- we stopped the entire platform when we hit 45 minutes of essentially amounted to inactivity. Based on tuning recommendations, we increased the memory allocation on the backup content manager to 2gb prior to this failover.
The current primary content manager co-exists with the content store in the same DC and thus has very little latency, but the other DCs have < 100 ms database latency as well, despite being geographically distributed.
Can anyone provide any tips/ setttings to get the JVM to be built faster (java startup params) so that the JVM build doesn't take 20 minutes to start? The startup times seem to be excessive, and the downtime associated with a content manager failover is prohibitive.
------------------------------
Dax Lawless
------------------------------
#CognosAnalyticswithWatson