Administer > Manage WebSphere Commerce features > Enable Workspaces


Synchronize an authoring server with a production server

If you create the authoring server after creating a production, synchronize the production and authoring server to ensure that the authoring server accurately reflects the production server. You should also synchronize the authoring server and production server if at any point the production-ready data on the authoring server does not accurately reflect the production server. This can be caused by changes made directly on the production server, either one large change or a series of smaller, incremental changes that cause the information about the authoring server and production server to no longer be synchronized.


Procedure

  1. Use the stagingcopy utility to copy all data from the production server database to the production-ready database on the authoring server.

    If the stagingcopy utility fails while copying merchant tables, ensure that the member_id is an organization or member group, not a user in the MEMBER table. Although not recommended, if the member_id is a user, manually copy the referenced user's record from the source database to the target database in both the USER and MEMBER tables.

    For more information, review Stage server limitations and Troubleshoot: Staging server.

  2. Use the fileloader utility to load any managed files from the production server file system to the production-ready database on the authoring server.

  3. Copy the JSP, HTML, and image files for the store from the production server to the authoring server:

    1. Compress the contents of the following directory on the production server into one file:

      • WC_EAR/Stores.war

      When creating the compressed file, store only relative path information about the files.

    2. Verify the following directory on the authoring server is empty:

      • WC_EAR/Stores.war

    3. Move the compressed file from the production server to the authoring server

      1. Open the WebSphere Application Server administrative console.

      2. In the WebSphere Application Server administrative console, select Applications > Enterprise Application.

      3. Select WC_instance (for example, WC_demo). Click Update.

      4. Select Replace, add, delete multiple files.

      5. Specify the path to the file. Select Local file system, and enter the name of the compressed file you created in step 3a. For example, Temp_dir/tempzip

      6. Click Next.

      7. Click OK.

      8. After the update completes, click Save to Master configuration to save the changes. click Save.

    4. Verify the paths to files in the Stores.war directory on the authoring server mirror the paths to file in the Stores.war directory on the production server.

  4. Stop and restart the authoring server instance.


+

Search Tips   |   Advanced Search