Before you set up an unattended configuration, you must export a configuration from another computer that has the same IBM Cognos 8 components installed. You can then run IBM Cognos Configuration in silent mode.
The exported configuration contains the properties of the IBM Cognos 8 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. Global configuration includes such settings as content locale, product locale, currencies, fonts, and cookie settings. For more information, see Changing Global Settings.
Ensure that the configuration settings on the local computer are appropriate to use to configure another IBM Cognos 8 computer with the same installed components. For example, if you changed the host name portion of the Gateway URI property from local host to an IP address or computer name, ensure this setting is appropriate for the new computer’s configuration.
In IBM Cognos Configuration, from the File menu, click Export as.
If you want to export the current configuration to a different folder, in the Look in box, locate and open the folder.
Ensure that the folder is protected from unauthorized or inappropriate access.
In the File name box, type a name for the configuration file.
Click Save.
Copy the exported configuration file from the source computer or network location to the c8_location/configuration directory on the computer where you plan to do an unattended configuration.
Rename the file to cogstartup.xml.
If you changed the global configuration on the source computer, copy the coglocale.xml file from the source computer to the c8_location/configuration directory on the computer where you plan to do an unattended configuration.
Go to c8_location/bin.
Type the configuration command:
On UNIX or Linux, type
./cogconfig.sh -s
On Windows, type
cogconfig.bat -s
Tip: To view log messages that were generated during an unattended configuration, see the cogconfig_response.csv file in the c8_location/logs directory.
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.
IBM Cognos Configuration applies the configuration settings specified in the local copy of cogstartup.xml, encrypts credentials, generates digital certificates, and if applicable, starts IBM Cognos 8 service or process.