6320ch_DEV_installation.fm Draft Document for Review July 28, 2004 7:33 pm
86 Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide
Complete the following steps:
1. Ensure that WebSphere Studio Application Developer V5.1.1 is not running.
2. Open a DB2 Command Line Window by clicking Start -> IBM DB2 ->
Command Line Tools -> Command Window.
3. Navigate to the following directory:
<wctoolkit_home>\bin
Where <wctoolkit_home> is the WebSphere Commerce V5.6 Toolkit
installation directory. For example, in our example, we entered:
D:\
cd \WebSphere\WCToolkitPro56\bin
4. Run the following command to set the database type for the WebSphere
Commerce test environment to DB2:
setdbtype db2 %db2path% database_name dbadminuser dbadminpass dbuser
dbpass
Where:
– database_name is the name of your original development database
– dbadminuser and dbuser are the user name created earlier
– dbadminpass and dbpass are the associated password for the above user
In our example, we used the following. Notice that we
setdbtype db2 %db2path% mall dbusr01 dbusr01pwd dbusr01 dbusr01pwd
The setdbtype script will add the full test environment to your WebSphere
Commerce workspace in WebSphere Studio Application Developer V5.1.1
and configure both the full and the lightweight test environments to use DB2
as their database system.
At this point, the development environment is configured to use DB2 Universal
Database, pointing to a WebSphere Commerce database with the WebSphere
Commerce Suite V5.1 schema. The test server is thus not functional until you
complete the migration steps in Chapter 7, “Migrating the development
environment” on page 111.
Note: After completing this chapter, the development database will still be
using the schema for WebSphere Commerce Suite V5.1. The migration steps
in the next chapter will migrate the database to the new schema for
WebSphere Commerce V5.6.