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:
- 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"
- 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.
- Enable websocket first and re-run the IIS installation script with the correct Jupyter host settings ( <Cognos installation path>\cgi-bin\templates\IIS)
- 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
- Because the Jupyter server is in another domain in our current situation, we used here the ipv4 address instead of the host name.
- Navigate to http(s)://jupyterserver:8000 should result in a Jupyter 404 page: "Jupyter has lots of moons, but this is not one...".
- From the browser on the Jupyter server itself
- From the browser on the IIS gateway server
- From the browser on the client workstation
- Check the gateway settings in Cognos connection
- Gateway URI (http://webservername:80/ibmcognos/bi/v1/disp)
- Dispatcher URI for external applications (http://hostname:9300/bi/v1/disp)
- 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.
- 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.
- Go ahead with the video of step 1 from 5:07
- 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.
------------------------------
--
------------------------------
Original Message:
Sent: Tue March 31, 2020 04:41 AM
From: Martin Hedman Johnson
Subject: Jupyter notebook server windows 10
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.
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.
- 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
Original Message:
Sent: Thu March 26, 2020 10:26 AM
From: admin Techbee
Subject: Jupyter notebook server windows 10
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.
Original Message------
Hi, is it possible to install jupyter notebook server on your local windows 10 computer?
/M
------------------------------
M
------------------------------
#CognosAnalyticswithWatson