The ATG distribution provides two VFSs that can be configured for switch deployments:

ConfigFileSystem

The ATG 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 ATG server for switch deployments.

To configure each ConfigFileSystem VFS for switch deployments, perform these steps for each target ATG server:

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

    <ATG10dir>/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 B, 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 ATG 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.

    <ATG10dir>/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 B, 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 ATG server for Switch Deployment

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