The Oracle Commerce Platform distribution provides two VFSs that can be configured for switch deployments:
/atg/epub/file/
ConfigFileSystem/atg/epub/file/
WWWFileSystem
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:
Create an instance of
atg.vfs.switchable.
SwitchableLocalFileSystem. The installation provides aConfigFileSystem.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.
Place the new
ConfigFileSystem.properties
file in each server’slocalconfig
directory:../localconfig/atg/epub/file/
For each server, add
ConfigFileSystem
to the list of switchable data stores configured in theDeploymentAgent
:../localconfig/atg/epub/DeploymentAgent.properties
Set
switchableDataStores
to theConfigFileSystem
’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:
Create an instance of
atg.vfs.switchable.
SwitchableLocalFileSystem . The installation provides aWWWFileSystem.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.
Place the new
WWWFileSystem.properties
file in each server’slocalconfig
directory:../localconfig/atg/epub/file/
For each server, add
WWWFileSystem
to the list of switchable data stores configured in theDeploymentAgent
:../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:
It has the same underlying data sources.
Its initial data store, specified in the
name1
property of the VFS, is the same as their current data store, so the new server’s agent application starts up using the same data store.