The Oracle Commerce Platform distribution provides two VFSs that can be configured for switch deployments:

ConfigFileSystem

The Oracle Commerce Platform distribution provides ConfigFileSystem with the Publishing agent. As installed, ConfigFileSystem is configured for online deployments. In order to deploy personalization and scenario assets to the target, you must configure ConfigFileSystem on each Oracle Commerce Platform server for switch deployments.

To configure each ConfigFileSystem VFS for switch deployments, perform these steps for each target Oracle Commerce Platform server:

  1. Create an instance of atg.vfs.switchable.SwitchableLocalFileSystem. The installation provides a ConfigFileSystem.properties file that you can copy from this location.

    <ATG11dir>/PublishingAgent/config/atg/epub/file/

    Uncomment the settings that are specific to switch deployment, and modify the properties where necessary. For more information about these properties, see SwitchableLocalFileSystem in Appendix A: Virtual File Systems.

  2. Place the new ConfigFileSystem.properties file in each server’s localconfig directory:

    ../localconfig/atg/epub/file/

  3. For each server, add ConfigFileSystem to the list of switchable data stores configured in the DeploymentAgent:

    ../localconfig/atg/epub/DeploymentAgent.properties

    Set switchableDataStores to the ConfigFileSystem’s fully qualified Nucleus path:

    /atg/epub/file/ConfigFileSystem

WWWFileSystem

The Oracle Commerce Platform distribution provides WWWFileSystem with the Publishing Web agent. As installed, it is configured for online deployments. If you install the Publishing Web agent on the target Web servers for deployment of deploy static text and binary files, you can configure the WWWFileSystem on each Web server for switch deployments.

To configure each WWWFileSystem VFS for switch deployments, perform these steps for each target Web server:

  1. Create an instance of atg.vfs.switchable.SwitchableLocalFileSystem . The installation provides a WWWFileSystem.properties file that you can copy from this location.

    <ATG11dir>/PublishingWebAgent/config/atg/epub/file/

    Uncomment the settings that are specific to switch deployment, and modify the properties where necessary. For more information about these properties, see SwitchableLocalFileSystem in Appendix A: Virtual File Systems.

  2. Place the new WWWFileSystem.properties file in each server’s localconfig directory:

    ../localconfig/atg/epub/file/

  3. For each server, add WWWFileSystem to the list of switchable data stores configured in the DeploymentAgent:

    ../localconfig/atg/epub/DeploymentAgent.properties

    Specify WWWFileSystem by its fully qualified Nucleus path:

    /atg/epub/file/WWWFileSystem

Configure VFSs on a New Oracle Commerce Platform server for Switch Deployment

When adding an Oracle Commerce Platform server or Web server to an existing target, configure its switchable VFSs like those on the existing Oracle Commerce Platform target servers. Verify that:


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices