Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 


#Product
#Analytics
#CognosAnalytics
#Analyticstools
#TechXchange Partner
#TechXchange Session
#TechXchange Presenter
#AI
 View Only
  • 1.  Installing all C11 components on same server possible?

    Posted 08/04/20 09:16 AM
    Hi everyone,

    I've installed Framework Manager and Transformer on the same server as the Application server. I am able to run Cognos Configuration for the Gateway but when I try to open Framework it gives the java.lang error saying that it needs to be configured - I was under the assumption that this configuration should be shared from the Gateway configuration?

    I have tried following this article to no avail: https://www.ibm.com/support/pages/unable-open-cognos-configuration-javalangunsatisfiedlinkerror-cogconfigjni-not-found-javalibrarypath

    Has anyone been able to have FM and Transformer installed on the same server as the Gateway/Application and was able to open Framework and Transformer? If so, how did you get it to work?

    To add some background to this, in my current C10.2 installation;
    1) We have FM, Transformer and the BI Server all installed on the same physical server.
    2) I believe Cognos FM and Transformer was either installed or moved into a sub-directory of the main Gateway install directory.
    3) Opening Cognos Configuration for the BI Server (I believe) is therefore sharing it's configuration with FM & Transformer?
    4) In the C10 environment, I don't see any User or System Environment variables that reference "JAVA HOME".

    Here are the C10 install directories;
    D:\cognos\c10_22\bin\cogconfigw.exe <- Cognos Config
    D:\cognos\c10_22\bin\cogtr.exe <- Transformer
    D:\cognos\c10_22\bin\FM.exe <- Framework Mgr


    In the C11 environment;
    1) After installing the BI Server component, you cannot install FM or TR as a subdirectory from the BI Server component, all have to be installed in separate folders - that is fine.
    2) I checked the User and System Environment variables and noticed there are no specific references to a "JAVA HOME" variable - which is also fine.

    C11 Install paths;
    D:\cognos\analytics\bin64\cogconfigw.exe
    D:\cognos\framework\bin\FM.exe

    C11 PATH Variables;
    E:\cognos\analytics\bin64
    E:\cognos\analytics\bin\
    E:\cognos\framework\bin64

    I installed all C11 components as Run As > Administrator.

    Any other clues how I can get FM working in C11 on the same server? Thanks.


    ------------------------------
    Hello World
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Installing all C11 components on same server possible?

    Posted 08/04/20 01:16 PM

    Hi Mark!

    Yes, we have all of C11 installed on the same Win Srv (ver 2016).  It was a little tricky to get the clients to work and I had to open a ticket.  It was easy as you noticed in C10 but quite different in C11.

    As a first step, as you've done, definitely install everything in its own directory.  We actually use the default directories.

    Of course with each client in its own directory, each has its own Configuration.  Also one tip, the first time I launch the configuration I do so as Administrator (just right-click and "Run as Administrator").  Early versions of 11 seemed to have problems initially writing to the registry if you weren't using Administrator.  Once you do that and save then the next time you need to make a change you can just use your normal login (though the login we use for cognos is a member of the local administrators group).

    Now in the configuration for FM, these are the Environment settings I had to use:

    Gateway URI:    http://hostname.domainsuffix:80/ibmcognos/bi/v1/disp  (which is exactly matches our server's configuration)
    Dispatcher URI:  http://hostname.domainsuffix:9300/bi/v1/disp

    I just tested and this still works fine in this latest 11.1.7 release despite some of the initial issues we had with the server common name, etc.

    If you still have issues don't hesitate to open a support tickets with IBM.

    Hope this helps!

    Wayne



    ------------------------------
    Wayne Westlake
    ------------------------------



  • 3.  RE: Installing all C11 components on same server possible?

    Posted 08/05/20 09:10 AM
    @Wayne Westlake Thank you for the detailed response!

    TLDR; I believe my issue is/was related to a PATH variable pointing to the transformer/bin directory. I can now confirm that the separate installs have worked which is great. 

    I installed FM and Transformer in their separate directories as Administrator and I was able to open their individual configurations and point them to the controller/dispatcher sitting on the same server.  

    I was subsequently able to reproduce the error when trying to open the main IBM server configuration - the dreaded java.lang error but this time I knew what I changed beforehand - it was a path variable. We use Transformer's PCACTIVATE.EXE in a Windows Powershell script to do a seamless cubeswap but the command wasn't working. During troubleshooting I added a PATH variable to the transformer\bin directory and upon reboot, I wasn't able to open the IBM server configuration.

    We use this PATH variable in our C10 environment but because PCACTIVATE sits within the main bin directory, perhaps this is why we don't encounter this error in C10.

    But for now, it seems to be working. Thanks for your help.

     ​

    ------------------------------
    Mark Peterson
    ------------------------------



  • 4.  RE: Installing all C11 components on same server possible?

    Posted 08/05/20 08:42 AM
    Hi Mark,
    To add to what Wayne mentioned. 

    In Cognos 10 you had 32bit versions of the server and clients so they could be installed together if you wanted to do so. Cognos 11 is only 64bit and we do not have a 64bit FM or Transformer. Our focus has been to supply web-based modelling based on many years of feedback from clients.

    Regarding the JAVA_HOME. Unless you require a specific JRE (for a specific reason), that is different than what we provide, this is probably not required. This goes for the C11 path variables as well. I can't recall any reason to have them in C11.
    Cheers,
    Trevor

    ------------------------------
    TREVOR COMEAU
    ------------------------------



  • 5.  RE: Installing all C11 components on same server possible?

    Posted 08/05/20 09:15 AM
    @TREVOR COMEAU Thanks, that's great to know about the 32/64 bit versions, I wasn't aware of that. Following our imminent full migration to C11 I'll be rolling up my sleeves and deep diving into Data Modules - though I am aware it's not 100% there compared to FM but it seems to be catching up with every release which is great.

    Regarding JAVA_HOME - only reason I mentioned this is because the IBM troubleshoot mentions to check this but you are correct; that variable is not set in either our C10 or C11 environments.

    Cheers.

    ------------------------------
    Mark Peterson
    ------------------------------



  • 6.  RE: Installing all C11 components on same server possible?

    Posted 08/05/20 11:27 AM
    Hi Mark,

    It's been a while since I installed 10.2 but it's 100% possible to run everything on a single server.  A few people already brought up key points but here are the high-level rules:

    1. 32 vs 64 bit.  Unless you are running on an old 32bit OS, use the 64bit version of BI Server. 
      1. This will default to c:\program files\ibm\cognos\. 
      2. You can change the directory but keep it separate from the client tools.  d:\ibm\cognos\c1022_64 is a solid naming convention
      3. Install all 3 components when given the option here (gateway, CM, dispatcher) - don't need to separate the gateway
    2. All client tools are 32 bit so FM and Transformer need to be installed to a separate directory. 
      1. This normally defaults to c:\program files (x86)\ibm\cognos\
      2. Keep this separate from the server install in step 1.  d:\ibm\cognos\c1022_32 works well for this
    3. Apply your 64 and 32-bit fix packs to the new install paths in step 1 and 2
    4. Each install path will have it's own Cognos Config program menu and settings.  
    5. Configure the 64bit Server and get it up and running
    6. Copy the gateway URI and Dispatcher URI for external apps  from the server config om the environment tab
    7. Paste the gateway and Dispatcher URI for external apps  into the config for the client tools and save
      1. You should get green checks after generating crypto keys
    8. If you are using SSO, it can have issues running on a server, especially if you log in with a service account.  You can change the Gateway URI to match the Dispatcher URI for external apps 

    Cognos 11 defaults to a unique directory for each tool which helps remove a lot of the confusion.
    path\analytics
    path\model
    path\dqa

    Hope this helps!
    Todd

    ------------------------------
    Todd Schuman
    ------------------------------