Cognos Analytics

 View Only
Expand all | Collapse all

Jupyter notebook server windows 10

  • 1.  Jupyter notebook server windows 10

    Posted Thu March 26, 2020 09:59 AM
    Hi, is it possible to install jupyter notebook server on your local windows 10 computer?

    /M

    ------------------------------
    M
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Jupyter notebook server windows 10

    Posted Thu March 26, 2020 10:26 AM
    Hi Martin,

    Answer to your question is, YES you can install Jupyter notebook server on your local windows 10. Just keep in mind, if you want to integrate with your local Cognos installation or your corporate Cognos application (for testing) it is unlikely going to work which depends on your company firewall policy. 

    If there is no firewall policy than you should be good to go and integrate with your location Jupyter installation. 

    Let us know if you need any assistance for demo or migration or jupyter installation.


    ------------------------------
    TechBee Team

    T : 61 (02) 8003 5363
    E: info@techbee.com.au
    W: http://Techbee.com.au
    ------------------------------





  • 3.  RE: Jupyter notebook server windows 10

    Posted Tue March 31, 2020 04:41 AM
    Hi, I have istalled docker, jupyter server and everything but I always get the these two similar error when opening the notebook depending on different host names.
    1. The Jupyter server can't communicate with the Cognos Analytics server.
      Open Cognos Configuration and verify the value of the dispatcher URI for external applications field.
    2. The Cognos Analytics Server can't communicate with the Jupyter server. Go to Manage > Configuration > system > Environment and verify the value of the Jupyter Service Location Field. For more information click here.
    Are they the same problem or one of them is actually more correct than the other, since one tells me to open cognos configuration and the other just to verity the jupyter service location?

    /Martin

    ------------------------------
    Martin
    ------------------------------



  • 4.  RE: Jupyter notebook server windows 10

    Posted Tue March 31, 2020 09:04 AM
    Hello Martin, 

    Does your Cognos APP server is install on the same machine. If not, maybe you should update value on mentioned fields.

    regards,

    ------------------------------
    Vivien
    Senior Consultant
    Talan Solutions
    Paris
    ------------------------------



  • 5.  RE: Jupyter notebook server windows 10

    Posted Wed April 01, 2020 04:01 AM
    Hi Martin (Default

    Try using the IP address specified as vEthernet (Default Switch) which is the Hyper-V Virtual Ethernet Adapter (Windows Search -> Settings -> View your network properties) for dispatcher URI for external applications.

    Regards

    Vic

    ------------------------------
    Vic Santos
    ------------------------------



  • 6.  RE: Jupyter notebook server windows 10

    Posted Fri April 03, 2020 09:39 AM
    Cognos is installed out company servers with use Windows Server - Is Jupyter server compatible with windows server 2016 or 2019

    ------------------------------
    Mauro Santos Otero
    ------------------------------



  • 7.  RE: Jupyter notebook server windows 10

    Posted Fri April 03, 2020 11:15 AM
    The Cognos Jupyter installation needs a Docker installation.
    Because Docker requires Microsoft Windows 10 Professional or Enterprise 64-bit, it is not possible to install Cognos Jupyter on Windows server.

    Maybe is a nested virtualization an option. Has anybody experience with nested virtualization and Cognos Jupyter?



    ------------------------------
    --
    ------------------------------



  • 8.  RE: Jupyter notebook server windows 10

    Posted Fri April 03, 2020 11:23 AM
    Hi @Erik Clabbers, @Mauro Santos Otero,


    Cognos Jupyter on Cognos needs to be virtualized in a Linux Container.
    As LCOW (Linux Cotainer On Windows) is currently only supported by Windows 10 (and not Windows 2016 neither 2019), the only Windows platform supported by Cognos Jupyter is Windows 10.

    regards,
    ​​

    ------------------------------
    Vivien
    Senior Consultant
    Talan Solutions
    Paris
    ------------------------------



  • 9.  RE: Jupyter notebook server windows 10

    Posted Sun April 05, 2020 08:19 PM
    Thanks for the reply. It seems then that Jupyter notes is not an option for an enterprise setting.  Windows 10 Enterprise is the OS we use in the laptops, not for the applications server.

    ------------------------------
    Mauro Santos Otero
    ------------------------------



  • 10.  RE: Jupyter notebook server windows 10

    Posted Thu April 30, 2020 12:50 PM
    Hi all,
    We have it working now in an enterprise test environment, the documentation is not clear on some essential points. The tips below can save you a lot of time. Of course we want to improve the setup for the future, like SSL and avoid domain problems. But the first step is make a notebook, and that is possible in this situation.

    Most important thing is that it only works through the gateway URI.

    Environment:
    • Windows 10 Enterprise (Nested virtualization)
      • Docker CE
      • Cognos Analytics for Jupyter Notebook 11.1.6
    • Windows server 2019 (Hyper-V)
      • Cognos Analytics 11.1.6
      • Cognos configuration
      • IIS 10 as webserver gateway
    Tips:
    1. Install the required software on the Windows 10 server first as described in the documentation and in the video until 5:06 "Configure and test in CA"
      1. Because the Jupyter server is in another domain in our current situation, we used the ipv4 address instead of the host name in the config file.
    2. Enable websocket first and re-run the IIS installation script with the correct Jupyter host settings ( <Cognos installation path>\cgi-bin\templates\IIS)
      1. Ping the address (of the Jupyter host on the IIS gateway server to verify that the host is reachable from the IIS gateway server. Check also :8000
      2. Because the Jupyter server is in another domain in our current situation, we used here the ipv4 address instead of the host name.
    3. Navigate to http(s)://jupyterserver:8000 should result in a Jupyter 404 page: "Jupyter has lots of moons, but this is not one...".
      1. From the browser on the Jupyter server itself
      2. From the browser on the IIS gateway server
      3. From the browser on the client workstation
    4. Check the gateway settings in Cognos connection
      1. Gateway URI (http://webservername:80/ibmcognos/bi/v1/disp)
      2. Dispatcher URI for external applications (http://hostname:9300/bi/v1/disp)
    5. Open Google Chrome on the IIS gateway server and navigate to the Gateway URI (!). The integration between Jupyter and Cognos works only through the gateway URI.
      1. So be aware that the notebook integration it is not as flexible as Cognos itself, where most of the functionalities also work without the gateway, via the dispatcher, ipv4 address or webserver address, https or http, etc. Is doesn't really matter for Cognos in most cases, except for notebooks.
    6. Go ahead with the video of step 1 from 5:07
    7. Be sure that the Cognos Analytics version and the Cognos Analytics for Jupyter are the same. For example: Connecting Cognos 11.1.4 to Jupyter 11.1.6 results in a "connecting to kernel" or "kernel error".
    Common errors:
    • Kernel error 
    • Connecting to kernel
    • The Cognos Analytics server can't communicate with the Jupyter server. Go to Manage > Configuration > System > Environment and verify the value of the Jupyter Service Location field. For more information, click here.
    Feel free to add other tips in this topic. A message in this topic when you have a working setup with Windows server 2016/2019 will be appreciated, everybody will prefer this situation.

    ------------------------------
    --
    ------------------------------



  • 11.  RE: Jupyter notebook server windows 10

    Posted Fri May 01, 2020 03:26 AM
    I don't understand what's the purpose of installing Jupyter  on a local Windows device.For testing it's OK

    98% of our customers have a Cognos installation on Windows 2012/2016 If it's not possible to install Jupyter on Windows Server the new functionality is useless

    ------------------------------
    Bastiaan Krijgsman
    ------------------------------



  • 12.  RE: Jupyter notebook server windows 10

    Posted Thu August 27, 2020 03:50 AM
    Any news about making Notebooks work when there are only Windows Servers available.  My organisation doesn't have Windows 10 servers and no Linux skills which makes using Notebooks feature impossible.

    ------------------------------
    Mauro Santos Otero
    ------------------------------



  • 13.  RE: Jupyter notebook server windows 10

    Posted Thu August 27, 2020 04:13 AM
    Hello, 

    Windows Server 2019 release 1809 or later support LCOW.
    You can try to install it for test purpose.
    By the way Linux it now not so difficult. It's like macOS.

    regards,

    ------------------------------
    Vivien
    Senior Consultant
    Talan Solutions
    Paris
    ------------------------------



  • 14.  RE: Jupyter notebook server windows 10

    Posted Thu August 27, 2020 08:57 PM
    Many thanks for the information.  My initial goal was an enterprise-level deployment but it seems complicated due to the linux requirements.

    For testing purposes, I was thinking of installing on the user's laptop, but not sure if that's an acceptable architecture.

    ------------------------------
    MSO
    ------------------------------