Recording a text-based interactive installation

Before you begin

You must use IBM Installation Manager to perform a recorded installation. If you have not already done so, download the IBM Installation Manager now.

If you are upgrading from a previous release, stop any running instances of the previous installation.

Close all open programs and any command prompt windows.

Procedure

  1. To record a silent, text-based installation, open a command prompt window and issue the following command line.
    • Navigate to the \IBM\Installation Manager\eclipse\tools folder.

      For installation in the English language, enter imcl.exe -c -record response.xml -skipInstall <IM_data_dir>...where response.xml is the silent installation file to be generated and <IM_data_dir> is the directory generated for the Installation Manager to write and store data into.

      For example:

      imcl.exe -c -record response.xml -skipInstall C:\SterlingInstallData

      For installation in another, supported language, enter: imcl.exe -c -record response.xml -skipInstall <IM_data_dir> -nl <locale_code>

      For example:

      imcl.exe -c -record response.xml -skipInstall C:\SterlingInstallData -nl zh_CN

    • Navigate to the /IBM/Installation Manager/eclipse/tools folder.

      For installation in the English language, enter: ./imcl -c -record response.xml -skipInstall <IM_data_dir>...where response.xml is the silent installation file to be generated and <IM_data_dir> is the directory generated for the Installation Manager to write and store data into.

      For example:

      ./imcl -c -record response.xml -skipInstall $HOME/SterlingInstallData

      For installation in another, supported language, enter: ./imcl -c -record response.xml -skipInstall <IM_data_dir> -nl <locale_code>

      For example:

      ./imcl -c -record response.xml -skipInstall $HOME/SterlingInstallData -nl zh_CN

  2. Follow the prompt to select Installation and press Enter.
  3. Select the Warehouse Management System packages to install and press Enter.
  4. Select the current version for installation and press Enter.
  5. Press Enter on the confirmation screen to move to the next screen.
  6. Accept the license agreements and press Enter.
  7. Choose a location for the Shared Resources directory. The default is IBM\SDPShared. To choose a different directory, type M and press Enter. Type the path and directory name and press Enter.
  8. Press Enter on the confirmation screen to move to the next screen.
  9. Choose an installation location. The default is the IBM® directory. If you select a directory that already exists, an error message is displayed. To choose a different directory, type M and press Enter. Type the path and name of the new directory and press Enter.
  10. Press Enter on the confirmation screen to move to the next screen.
  11. Select the features to install:
    • 1. Product Files - selected by default.
    • 2. Enable Sharded Database Mode - Available for Advanced and Enterprise Licenses only.
    • 3. Enable Upgrade - Sharded upgrades work only on previously sharded environments.
    Make a selection and press Enter. After you have selected one option, the prompt is displayed again. You can either choose another option (2 or 3) or press Enter to accept the default (N) and continue to the next step.
  12. Select the appropriate deployment type for IBM Sterling Warehouse Management System 9.4
    1. Production.
    2. Non Production.
  13. Enter the path and name for the JDK home directory and press Enter. This pathname should have no spaces.
  14. Choose whether to have the installer create a copy of the JDK folders under your installation directory. The default is Yes (create the copy). Press Enter to accept the default and continue. If you do not want a copy of the JDK made, type N and press Enter.
  15. If you selected "Enable Sharded Database Mode" earlier, the next prompt asks whether you want to "Enable mixed database vendor support." In 9.4 release, Sterling Warehouse Management System does not support mixed database vendor. Type the option number for the database, DB2® or Oracle, and press Enter.
  16. Enter the information for the remaining database fields, depending on whether you chose nonsharded or sharded earlier:
    1. If doing a nonsharded installation, enter information for the following fields:
      • Database user name
      • Database password (note that the password is displayed in clear text)
      • Database catalog name
      • Database host name (or IP address)
      • Database port number
      • Database schema name
        Note: The default schema names are always the same as the user name, except that the schema names are all uppercase. This applies to both nonsharded and sharded scenarios.

      To validate the database connection, type Y (validate the connection), or N (do not attempt to connect). If a message saying the connection failed is displayed, verify the information you entered in all fields and try validating again.

    2. If doing a sharded installation, enter the location and name of the JDBC driver file. You can add only two database driver jars here. Browse to the Jars for Oracle or DB2. Type A to add the license file for DB2 (required). After adding the license file and the prompt is displayed again, type D (done) to continue to the next step.
      For each shard type, you can select the option to Reuse existing database shard configuration, which populates with the existing database information, or Create new database shard configuration, which prompts you to enter the following database information for Statistics, Configuration, Master, and Transaction connections. If you are using mixed database vendors, you will also pick the database vendor type for each connection.
      Note: For Sterling Warehouse Management System Master and Transaction connections should point to the same database schema.
      • Database user name
      • Database password (note that the password is displayed in clear text)
      • Database catalog name
      • Database host name (or IP address)
      • Database port number
      • Database schema name
        Note: The default schema names are always the same as the user name, except that the schema names are all uppercase. This applies to both nonsharded and sharded scenarios.
      To validate the database connection for each shard, type Y (validate the connection), or N (do not attempt to connect). If a message saying the connection failed is displayed, verify the information you entered in all fields and try validating again. Once all information is entered for a shard, you can choose B (back) if you want to change information, or choose N (next) to continue to the next shard or step.
  17. If using DB2, choose whether to enable database multibyte support (Y or N) and press Enter.
  18. Enter the ADDITIONAL_ANT_JAVA_TASK_ARGS memory parameter settings for your operating system and press Enter.
  19. Enter the ADDITIONAL_ANT_COMPILER_TASK_ARGS memory parameter settings for your operating system and press Enter. Press Enter again to confirm your choices.
  20. Type G (Generate an Installation response file) to have an XML file that contains the install prompts and your responses created.
  21. When prompted, type the location and name for the file and press Enter. Use "xml" as the file extension.
  22. Once a message saying that the file was successfully created is displayed, press Enter. The previous screen is displayed again, with the same options. This time, type I (Install) to start the installation. A progress bar is displayed at the bottom of the screen.
  23. When the installation is complete, a status screen is displayed.
  24. You now have a response.xml file from which you can run a silent installation.