Configuring the application server and web server tiers from the command line

After successfully migrating the database and application tiers, complete these steps to configure the application server and the web server tiers by using the WCIM utility. The configuration utility is run on the application server, and configures the web server tier through the web server plug-ins.

Before you begin

  1. Ensure that the database tier was migrated successfully.
  2. Ensure that the application tier was migrated successfully.
Notes:
  • WebSphere Commerce supports automatic migration of IBM HTTP Server. If you are migrating between versions of another web server, configure the new version of your web server manually.
  • The migration process creates a httpd.conf file with the necessary configuration settings to get IBM HTTP Server working with WebSphere Commerce version 7. Any customizations to httpd.conf you made in a previous release is not carried over during the migration. When the migration process is complete, carry over these customizations.

Procedure

  1. Go to the following directory:
    • For IBM i OS operating systemSolarisLinuxAIXWC_installdir/bin
    • WindowsWC_installdir\bin
  2. Type the following WCIM command to migrate the web server:
    • For IBM i OS operating systemSolarisLinuxAIX./wcim_ant.sh -tier app -action config -from previous_version -instanceName instance_name
    • Windowswcim_ant.bat -tier app -action config -from previous_version -instanceName instance_name
    Where:
    previous_version
    Is the version of WebSphere Commerce you are migrating from for example, 561 or 60.
    instance_name
    Is the previous WebSphere Commerce instance name.
    Example
    ./wcim_ant.sh -tier app -action config -from 60 -instanceName my_instance_name
       Web server type? [ HTTP ] (HTTP,IIS,NES,)
    HTTP
       Remote Web server? [ false ] (true,false,)
    false
       Web server host name?
    my_host_name
        Database user password?
    my_db_password

What to do next

  1. If you customized the httpd.conf file in a previous version, manually customize the http.conf file after the migration is complete. The migration process creates an httpd.conf file that is configured to run IBM HTTP Server with WebSphere Commerce Version 7. Any changes that you made in the previous version are not preserved, so they must be made manually.
  2. Verify the migration.