Set Up an Unattended Configuration

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

The exported configuration contains the properties of the IBM Controller 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, and cookie settings.

Ensure that the configuration settings on the local computer are appropriate to use to configure another IBM Controller 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.

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.

Procedure

  1. In IBM Controller 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.

    Ensure that the folder is protected from unauthorized or inappropriate access.

  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 ccr_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 ccr_location/configuration directory on the computer where you plan to do an unattended configuration.
  8. Go to ccr_location/bin.
  9. Type the configuration command:

    cogconfig.bat -s

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

Results

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