If you create a store on your staging server after you
create a production server, you can publish the new store. To publish
the store, you must synchronize your production and staging server.
Procedure
- Run the stagingprop utility. If the
store is published on your staging server, the staging triggers pick
up the database activity on your STAGLOG table.
-
Propagate the data. To further propagate the files into the production environment, use the
rsync utility. For more information, see Publishing data to the
production database.
- Deploy your store archive from the authoring server to
the production server:
- Compress your store WAR directory on the authoring server
into one file:
- In a command-line utility, go to the WC_eardir
directory.
- Run the following command:
zip -r Stores.war.zip Stores.war
- Deploy the compressed file from the authoring server
to the production server.
- Open
the WebSphere Application Server administrative console.
- In the WebSphere Application Server administrative console, select .
- Select WC_instance_name (for
example, WC_demo). Click Update.
- Select Replace, add, delete multiple files.
- Specify the path to the file. Select Local file system,
and enter the name of the compressed file that you created in step
4a. For instance: Temp_dir/tempzip
- Click Next.
- Click OK.
- After the update completes, click Save to Master configuration to
save your changes. Click Save.
-
After you successfully deploy your file, verify that the paths to files in the store WAR
directory on the production server mirror the paths to files in the store WAR directory on the
staging server.
- Rebuild
the WebSphere Commerce search index.
- Stop and restart the production
server instance.