Completing the IBM Websphere Commerce Version 7 staging database migration
After you successfully migrate your staging database, complete the final staging database migration tasks.
Procedure
-
Update your SITE table by running the following two commands with appropriate
MOD
andFIXPACK
values.-
delete from site where COMPNAME not IN ('BASE');
-
update SITE set VERSION = 9, MOD=0, FIXPACK=0 where COMPNAME IN ('BASE');
-
- Update your SRCHCONF to contain the new HCL Commerce Version 9
preprocess directory by running the following commands:
Where:update SRCHCONF set CONFIG = replace(CONFIG,'old_PreProcessdir','new_PreProcessdir') WHERE indextype='CatalogEntry'; update SRCHCONF set CONFIG = replace(CONFIG,'old_PreProcessdir','new_PreProcessdir') WHERE indextype='CatalogGroup';
- old_PreProcessdir
- The preprocess directory of the IBM Websphere Commerce Version 7 Search server.
- new_PreProcessdir
- The preprocess directory of the HCL Commerce Version 9 Search server.
For example,update SRCHCONF set CONFIG = replace(CONFIG,'WC_eardir/instances/demo/search/pre-processConfig/MC_10001/DB2','/v3/db2/CatalogEntry') WHERE indextype='CatalogEntry'; update SRCHCONF set CONFIG = replace(CONFIG,'WC_eardir/instances/demo/search/pre-processConfig/MC_10001/DB2/CatalogGroup','/v3/db2/CatalogGroup') WHERE indextype='CatalogGroup';
- Update your SRCHCONF tables to contain the new search web server host
name by running the following command:
update SRCHCONF set CONFIG = replace(CONFIG, 'old_hostname', 'new_hostname');
Where:- old_hostname
- The fully qualified host name of the IBM Websphere Commerce Version 7 Search server.
- new_hostname
- The fully qualified host name of the HCL Commerce Version 9 Search server.
- 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.
- Run the updatedb command from your utility docker.
-
If you are migrating from IBM Websphere Commerce Version 7, and you have configured workspaces,
and have already run the update workspaces schema script after migrating, run the following SQL
statement in each workspace write schema:
-
ALTER TABLE PAGELAYOUT ALTER COLUMN PAGELAYOUTTYPE_ID DROP NOT NULL; CALL SYSPROC.ADMIN_CMD ('REORG TABLE PAGELAYOUT');
-
ALTER TABLE PAGELAYOUT MODIFY PAGELAYOUTTYPE_ID NULL;
-