Uninstalling Cognos Business Intelligence server
You uninstall Cognos® by uninstalling the Cognos Business Intelligence server and Cognos Transformer and removing the powercube refresh scheduler .
Procedure
- Stop the Cognos server from the application server list on the IBM® WebSphere® Deployment Manager.
- Remove the Cognos server
node from the Deployment Manager by navigating to System Administration > Nodes and then select the node containing Cognos and click Remove Node.
Note: Do not remove the node if other servers on this node should remain in the DMGR cell. If this node should remain in the cell, please use a new node for the Cognos server that will be used with Connections 5.0.
- Uninstall the Cognos application on the IBM WebSphere Deployment Manager if it still exists by navigating to Applications > Application Types > Websphere enterprise applications > Select Cognos and then click Uninstall.
- On the machine where the Cognos application
is installed, remove the Cognos server
instance in WAS by using the following command:
Where NODE_NAME is the name of the node that the cognos_server is in. Also, change cognos_server to be the actual server name if that has been changed. This command is run from the $WAS_HOME/bin folder.wsadmin -lang jython -conntype NONE -c "AdminServerManagement.deleteServer('NODE_NAME', 'cognos_server')"
- Make sure that the following Cognos processes have stopped before proceeding
to the next step.
- IBM AIX® or Linux™: cgsServer.sh and CAM_LPSvr processes
- Microsoft™ Windows™: cgsLauncher.exe and CAM_LPSvr processes
- From the operating system command line, change to the Cognos_BI_install_path/uninstall directory.
- At the command prompt, enter the following command:
- Windows: uninst -u
- UNIX™ or Linux with XWindows: ./uninst -u
- UNIX or Linux without XWindows: ./uninstnx -u -s
- Then follow the prompts to complete the IBM Cognos Business Intelligence Server uninstallation.
- At the command prompt, enter the following command:
- Delete the folder that Cognos Business Intelligence Server was installed.
- From the operating system command line, change to the Cognos_Transformer_install_path/uninstall directory.
- At the command prompt, enter the following command:
- Windows: uninst -u
- UNIX or Linux with XWindows: ./uninst -u
- UNIX or Linux without XWindows: ./uninstnx -u -s
- Then follow the prompts to complete the IBM Cognos Business Intelligence Transformer uninstallation.
- At the command prompt, enter the following command:
- Delete the folder where Cognos Business Intelligence Transformer was installed.
- Delete all the files from the path where the powecube file was stored.
- Remove the powercube refresh scheduler as follows:
- Windows:
schtasks /delete /tn MetricsCubeDailyRefresh /f schtasks /delete /tn MetricsCubeWeeklyRebuild /f
- UNIX or Linux:
Edit the file opened to remove the lines that contain the following path, then save the change.crontab -e
OrCognos_Transformer_install_path/metricsmodel/daily-refresh.sh
Cognos_Transformer_install_path/metricsmodel/weekly-rebuild.sh
- Windows: