My colleague created the cloud image for me, from a menu of different cloud image types that were available. In this case, the cloud image already has Cognos 10 BI server installed, on Linux.
Log on using putty or equivalent as idcuser, passphrase whatever was set up when generating the RSA key.
idcuser has sudo access, however by default the root user is set to /sbin/nologin in the /etc/passwd file, preventing root from having a shell. To fix this, edit the /etc/passwd file using sudo
sudo vi /etc/passwd
and change the entry for root to /bin/bash
Save the file and then su to root with
sudo su -
putty can be downloaded from
Configure putty with the key created when the cloud image was set up.
Enable TCP keep alives in putty, and set the interval between keepalives to 30 in the Connections menu, to avoid the session timing out.
Update Cloud firewall rules
Open a putty session and log on to the cloud instance as idcuser, passphrase password
Edit the iptables file
Add lines for VNC sessions (590n) and the DB2 port (50000)
Restart the iptables service
sudo /sbin/service iptables stop
sudo /sbin/service iptables start
List the iptables settings and traffic:
sudo /sbin/iptables -L -v -n
Install VNC viewer
UltraVNC can be downloaded from http://www.uvnc.com/downloads/ultravnc.html
To start a VNC session, log on to the cloud image and enter
Enter the password you want to use if prompted.
Start VNC viewer and enter the IP address and port (this is the number given after issuing the vncserver command on the Cloud server - 1 in the previous example).
Enter the password you set up on the cloud image when the first vncserver was started.
Now to install Cognos Mobile.
Install Cognos Mobile
Download from the Academic Initiative software download site (CI3MYML).
Configure the mobile database as COGNOS in Cognos configuration Data Access – Mobile – right click and select Create, and test the connection.
Start VNC viewer and enter the IP address and port (this is the number given after issuing the vncserver command on the Cloud server - 1 in this example).
Enter the password you set up on the cloud image when the first vncserver was started. If you have forgotten this you can set it using vncpasswd
Switch user to baadmin
Start Cognos Configuration by changing directory to the Cognos install path/bin64
Check in Environment – IBM Cognos services that Mobile service enabled? is set to True.
Select Actions – Build Application Files to generate a new p2pd.ear file.
Deploy application to WebSphere
Launch the WebSphere administrative console from the First Steps menu, or open https://localhost:9043/ibm/console in a web browser, and log on as baadmin.
Go to Applications – Application Types – WebSphere enterprise applications and select the IBM Cognos application, then Uninstall.
Select Applications – New Application and select the p2pd.ear file generated by Cognos configuration.
Log on to the server using putty or equivalent, and switch user to baadmin. Check that LD_LIBRARY_PATH includes /opt/ibm/cognos/c10_64/bin64 as the first item in the path.
Stop and start the server:
/opt/IBM/WebSphere/AppServer/bin/stopServer.sh server1 -username baadmin -password password
/opt/IBM/WebSphere/AppServer/bin/startServer.sh server1 -username baadmin -password password
Check the log for errors:
Install Cognos Mobile app
Using an iPad, go to the App Store and install IBM Cognos Mobile. To log on, select the icon with the person and the key, to the right of the IBM Cognos Mobile menu item. The first time this is configured, you can type in the server address e.g. http://188.8.131.52:80/ibm/cognos (to change this later go to Settings – IBM Cognos).
To view reports, select Get more reports... and log on as baadmin/password when prompted. You can then navigate the same folder directory as you see in Cognos Connections. After selecting a report, it is downloaded and stored locally on the iPad, so it can be accessed offline.