Updating Cognos deployment that was installed via scripts
You can refresh an existing Cognos deployment using scripts.
About this task
For Windows
Procedure
- Go to the Fix
Central web site to download the fix and replace files detailed in the table.
Note: If you just want to change the user name and password for the Cognos administrator or database, skip this step.
Table 1. Files to replace when updating your Cognos deployment for Windows Files to replace and their destination directory
Files to Replace Destination directory lc.metrics.cognos.api.jar %COGNOS_INSTALLER_PATH%/BI-Customization/JAR MetricsAuditCube.mdl %COGNOS_INSTALLER_PATH%/models MetricsPkg.zip %COGNOS_INSTALLER_PATH%/MetricsPkg MetricsTrxCube.mdl %COGNOS_INSTALLER_PATH%/models -
Restore the value for the PASSWORD REMOVED property in the
cognos-setup.properties file to the original password unless the passwords were
not removed during installation.
Update the user name and password for the Cognos administrator and database if this information has been changed.
- Run cognos-update-redeploy-ear.bat using the following
command:
>cognos-update-redeploy-ear.bat
Note: If you have not entered information of deployment manager and cluster, the console will prompt for them during the validation- If you only need to update BI Server, use the following command:
>cognos-update-redeploy-ear.bat -doBIServerOnly=true
- If you only need to update Transformer, use the following command:
>cognos-update-redeploy-ear.bat -doTransformerOnly=true
- Wait for the script to run.
- If you only need to update BI Server, use the following command:
For Linux and AIX
Procedure
- Go to the Fix
Central web site to download the fix and replace files detailed in the table.
Note: If you just want to change the user name and password for the Cognos administrator or database, skip this step.
Table 2. Files to replace when updating your Cognos deployment for Linux and AIX Files to replace and their destination directory
Files to Replace Destination directory lc.metrics.cognos.api.jar %COGNOS_INSTALLER_PATH%/BI-Customization/JAR MetricsAuditCube.mdl %COGNOS_INSTALLER_PATH%/models MetricsPkg.zip %COGNOS_INSTALLER_PATH%/MetricsPkg MetricsTrxCube.mdl %COGNOS_INSTALLER_PATH%/models - Grant permission to cognos-update-redeploy-ear.sh / cognos-update-redeploy-local-ear.sh
using the following command:
chmod 0755 -R *
- Restore the PASSWORD REMOVED in cognos-setup.properties to
the original password unless the passwords were not removed during
installation;
Update the user name and password for the Cognos administrator and database if this information has been changed.
- Run cognos-update-redeploy-ear.sh using
the following command:
#./cognos-update-redeploy-ear.sh
Note: If you have not entered information for deployment manager and cluster, the console will prompt for them during the validation.- If you only need to update BI Server, use the following command:
#./cognos-update-redeploy-ear.sh -doBIServerOnly true
- If you only need to update Transformer, use the following command:
#./cognos-update-redeploy-ear.sh -doTransformerOnly true
- If you only need to update BI Server, use the following command:
- Wait for the script to complete running.