IBM SG24-6320-00 Manuale Utente

Pagina di 306
 Chapter 3. Migration Strategy and Planning 
51
Draft Document for Review July 28, 2004 7:33 pm
6320ch_planning.fm
– Import Java project into WebSphere Commerce V5.6 development 
environment in WebSphereCommerceServerExtensionLogic
6. Generate deployment code 
– For full test environment: From the EJB JAR pop-up menu, click Generate 
> Deployment and RMIC Code
– For lightweight test environment: From the EJB JAR pop-up menu, click 
Generate > Test Deployment Code
7. Generate Access beans
8. Code Changes
– Fix any WSAD compilation errors
9. Migrate WebSphere Commerce Suite V5.1 development environment 
instance: You would need to copy the product.xml and product.dtd file to the 
<WCS51_home> /xml directory and update: edition, release, fixpack and path 
before you migrate instance
10.Migrate database schema and unencrypted data:
First run the database migration script in -precheck mode to find any 
inconsistencies which could be discovered with actually migrating the data. 
This does not, obviously, guarantee the discovery of all the issues you may 
find while doing the actual database migration. As such you may want to 
position your first attempt at database migration to discover any additional 
database inconsistencies. The migration script does not interrupt when it finds 
any issues and this could allow the first migration run to act as a more 
thorough check for database consistency for migration. After the first test-run, 
you can restore the database and fix the problems discovered and re-run the 
migration scripts. You may want to tune database migration performance if it 
took a long time during the first run. Please refer to the behavior of migration 
scripts found in Appendix C, “Migration scripts” on page 255.
In order to ease the task of migrating the database second time over we 
created custom scripts to perform preparation and migration tasks. These 
scripts can be found in Appendix C, “Migration scripts” on page 255.
11.Migrate encrypted data: At this step you migrate user password data and 
which you could have chose to encrypted viz, credit card data.
12.Setting up Test environment and testing the migrated environment
3.6.2  Detailed overview of production environment migration
In our scenario since we performed Switch-Over migration we installed and 
configured WebSphere Commerce V5.6 environment on another machine, say