Updating Cognos deployment that was installed via scripts

You can refresh an existing Cognos deployment using scripts.

About this task

To update your implementation of Cognos, perform the steps detailed in this topic:

For Windows

Procedure

  1. 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
  2. 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.
  3. 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.

For Linux and AIX

Procedure

  1. 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
  2. Grant permission to cognos-update-redeploy-ear.sh / cognos-update-redeploy-local-ear.sh using the following command:
    chmod 0755 -R *
  3. 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.
  4. 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
  5. Wait for the script to complete running.