Completing the WebSphere Commerce Version 7 Feature Pack 6 live database migration
After you successfully migrate your live WebSphere Commerce Version 7 database to WebSphere Commerce Version 9.0.0.1+, there are final database tasks to complete before we can switch your traffic over to the WebSphere Commerce Version 9.0.0.1+ environment.
Procedure
- Update your SITE table by running the following two commands.
delete from site where COMPNAME not IN ('BASE', 'management-center');
update SITE set VERSION = 9, MOD=0, FIXPACK=0 where COMPNAME IN ('BASE', 'management-center');
- Update your SRCHCONF to contain the new WebSphere Commerce Version 9.0.0.1+ preprocess directory by running the following command:
update SRCHCONF set CONFIG = replace(CONFIG, 'old_PreProcessdir', 'new_PreProcessdir');Where:
- old_PreProcessdir
- The preprocess directory of the WebSphere Commerce Version 7 search server.
- new_PreProcessdir
- The preprocess directory of the WebSphere Commerce Version 9.0.0.1+ search server.
- If you customized any searchable attributes in WebSphere Commerce Version 7 and plan to use them in WebSphere Commerce Version 9.0.0.1+, we must update KEYS table for the SRCHATTR table.
- Connect to the database.
- Run 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';
- Restart the WebSphere Commerce Version 9 server.
- When you set up the WebSphere Commerce Version 9 environment, you specified an SPIUSER password. Now that the database is migrated from a previous version, your SPIUSER password might be inconsistent. By using the Organization Administration Console, update your SPIUSER password to the same value that you set when creatingd the environment.
- Log on to the Organization Administration Console.
- Click Access Management > Find Users.
- In the Logon ID field, enter spiuser, then click Find.
- Select the SPIUSER from the search results, then click Change.
- Update the SPIUSER password to the same value that we used when you set up the environment.
- Click OK.
- updatedb utility updates the WebSphere Commerce database to the latest release level that is installed on your system.">Run the updatedb command from your utility docker.
What to do next
- Validate your migration by completing a browse and checkout flow on the WebSphere Commerce Version 9.0.0.1+ storefront.
- We can now switch traffic from the WebSphere Commerce Version 7 environment to the WebSphere Commerce Version 9.0.0.1+ environment.