Prepare to migrate the WebSphere Commerce Version 8 production database
Now that you have migrated your development environment and deployed the containers in WebSphere Commerce Version 9, we can now build and deploy our customizations, and migrate the WebSphere Commerce Version 8 database to WebSphere Commerce Version 9.Migrating the production database is broken up into two parts. First, you back up and restore the WebSphere Commerce Version 8 production database to the WebSphere Commerce Version 9 environment, where we can test the container technology with the WebSphere Commerce Version 8 production database. After your testing is complete, we can execute the second part of the migration, which is where you point the WebSphere Commerce Version 9 environment to your live WebSphere Commerce Version 8 database, then migrate that database while still serving traffic from your online storefront.
Before beginning
- By using the WCB tool, build your migrated custom assets into input packages
- Deploy our customizations to the WebSphere Commerce application.
Procedure
- Ensure that the data in your KEYS table is valid in the WebSphere Commerce Version 8 database. In particular, ensure that any rows you added for custom tables have valid data.
- Back up the WebSphere Commerce Version 8 production database:
- (DB2) Db2 backup overview
- (Oracle) Oracle Database Backup and Recovery Reference
- Restore the backup of the WebSphere Commerce Version 8 production database to the WebSphere Commerce Version 9 production database server.
- (DB2) Update the restored database configure with the following configuration:
DB2 parameter Value locklist 2400 indexrec RESTART logfilsiz 1000 logprimary 12 logsecond 10 pckcachesz 4096 catalogcache_sz 4096 locktimeout 45
Next topic: Migrate an offline version of our production database.