Set up an unattended configuration for IBM Cognos components

Before you set up an unattended configuration, you must export a configuration from another computer that has the same IBM® Cognos® TM1 components installed. You can then run IBM Cognos Configuration in silent mode.

The exported configuration contains the properties of the Cognos TM1 components that you installed on the source computer. If you made changes to the global configuration, you must also copy the global configuration file from the source computer to the computer where you plan to run an unattended configuration.

Before you begin

Ensure that the configuration settings on the local computer are appropriate to use to configure another computer with the same installed components.

Procedure

  1. In IBM Cognos Configuration, from the File menu, click Export as.
  2. If you want to export the current configuration to a different folder, in the Look in box, locate and open the folder.
  3. In the File name box, type a name for the configuration file.
  4. Click Save.
  5. Copy the exported configuration file from the source computer or network location to the install_location/configuration directory on the computer where you plan to do an unattended configuration.
  6. Rename the file to cogstartup.xml.
  7. If you changed the global configuration on the source computer, copy the coglocale.xml file from the source computer to the install_location/configuration directory on the computer where you plan to do an unattended configuration.
  8. Go to install_location/bin64 directory.
  9. Type the configuration command:

    cogconfig.bat -s

    To view log messages that were generated during an unattended configuration, see the cogconfig_response.csv file in the install_location/logs directory.

Results

You can check if the unattended configuration was successful by checking the return status. A value of zero (0) indicates success and all other values indicate that an error occurred.

Cognos Configuration applies the configuration settings specified in the local copy of cogstartup.xml, encrypts credentials, generates digital certificates, and if applicable, starts the IBM Cognos service or process.