Creating a staging server
About this task
Procedure
- Install WebSphere Commerce and its supporting software by using the custom installation option of the WebSphere Commerce installation wizard.
-
Prepare the staging server to connect to the production database:
- Install a database client suitable for communication with your production database.
- Catalog the remote production database so that is accessible from your staging server.
-
Create a WebSphere Commerce instance as a staging server:
When the instance creation process complete, you have a staging instance.
- Enable custom tables for staging
- Configure your database for staging.
- Optional:
If you plan to propagate media assets, such as images and videos, to the production environment
WebSphere Commerce EAR with the fileprop utility, federate the staging instance to your
production server.
If you plan on storing media assets on the web server or with a data asset manager, you do not need to federate your staging instance.
If you do need to federate your staging instance, use the same deployment manager as the production server to federate the staging server. Otherwise, the managed files are not propagated into the production EAR because the deployment manager is not aware of the production node. You can use the fileprop utility to determine whether the environment is federated. If the environment is federated, the fileprop utility propagates the files to the production server. If the environment is not federated, the fileprop utility places the names of new and changed files into the fileprop log file. You must manually copy the managed files from the staging server to the production server.
For more information on federating your environment, see WebSphere Commerce federation.