Completing the IBM Websphere Commerce Version 8 live database migration
After you successfully migrate your live database to HCL Commerce Version 9, there are final database tasks to complete before you can switch your traffic over to the HCL Commerce Version 9 environment.
Procedure
-
Update your SITE table by running the following two SQL statements.
-
delete from site where COMPNAME not IN ('BASE');
-
update SITE set VERSION = 9, MOD=0, FIXPACK=0 where COMPNAME IN ('BASE');
You can validate that the SQL statements completed by running the following SQL statement:select * from SITE;
-
-
Update your SRCHCONF to contain the new HCL Commerce Version 9 preprocess directory.
-
Update your SRCHCONF tables to contain the new search web server host name: by running the
following command:
Where:update SRCHCONF set CONFIG = replace(CONFIG, 'old_hostname', 'new_hostname');
- old_hostname
- The fully qualified host name of the IBM Websphere Commerce Version 8 search web server.
- new_hostname
- The fully qualified host name of the HCL Commerce Version 9 search web server.
-
If you customized any searchable attributes in IBM Websphere Commerce Version 8 and plan to use them
in HCL Commerce Version 9, you must update KEYS table for the SRCHATTR table by running the
following SQL command:
update keys set counter = case when (select max(srchattr_id) from srchattr) > counter then (select max(srchattr_id) from srchattr) else counter end where tablename = 'srchattr';
- Update to NIST SP 800-131A security standards.
-
When you set up your HCL Commerce Version 9 environment, you specified an
spiuser user password. Now that your database is migrated from a previous version, your
spiuser user password might be inconsistent.
- Restart the HCL Commerce Version 9 server.
- Run the updatedb command from your utility docker.
What to do next
- Validate your migration by completing a browse and checkout flow on your HCL Commerce Version 9 storefront.
- You can now switch traffic from your IBM Websphere Commerce Version 8 environment to your HCL Commerce Version 9 environment.