Migrate > Migrating WebSphere Commerce > Migrating the WebSphere Commerce Server using the command line
Configure 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 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
- Migrated the WebSphere Commerce database
- Migrated the WebSphere Commerce application
Notes:
- WebSphere Commerce only supports automatic migration of IBM HTTP Server. If you are migrating between versions of another Web server, configure the new version of the Web server manually. See Sun Java System Web Server tasks or Microsoft IIS tasks for additional information on configuring the new version of the Web server.
- The migration process creates a new 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
- Navigate to the following directory:
- WC_INSTALL/bin
- WC_INSTALL\bin
- Type the following WCIM command to migrate the Web server:
- ./wcim_ant.sh -tier app -action config -from previous_version -instanceName instance
- wcim_ant.bat -tier app -action config -from previous_version -instanceName instance
Where:
- previous_version
- Is the version of WebSphere Commerce you are migrating from for example, 561 or 60.
- instance
- Is the previous WCS instance name.
Example
./wcim_ant.sh -tier app -action config -from 60 -instanceName my_instance 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
The migration process creates a new httpd.conf file configured to run IBM HTTP Server with WebSphere Commerce v7. If you customized the httpd.conf file in a previous version, the changes are not preserved. Manually customize the http.conf file after the migration is complete.
Previous topic:
Migrate the application using the WCIM migration script
Next topic:
wcim_ant utility (database migration script)