Optionally, you can configure an ATG Content Administration environment distributed across multiple VMs so it deploys to a single ConfigFileSystem. To do so, you create a master ConfigFileSystem on one VM and slave ConfigFileSystems on the others, so only one VM on a given machine is responsible for file deployments. This configuration can significantly increase performance because deployment data, which can be very large, is sent to one agent rather than all agents.

Note: A shared ConfigFileSystem is supported for switch mode deployments only.

To set up a shared ConfigFileSystem deployment model:

Master ConfigFileSystem.properties

The following sample shows a ConfigFileSystem.properties file on the master instance:

Note: Paths are machine-specific.

#$class=atg.vfs.journal.JournalingFileSystemService
#virtualFileSystem=ConfigFileSystemLocal
#journalDirectory={serverHomeDirResource?resourceURI=PublishingAgent/
   deploymentconfig/data/config}
#clearJournalOnUpdate=true
#updateListeners+=/atg/epub/monitor/PersonalizationConfigurationMonitor

################################
#Use this configuration for a switch deployment

$class=atg.vfs.switchable.SwitchableLocalFileSystem
#
liveDirectory={serverHomeDirResource?resourceURI=PublishingAgent/
   deploymentconfig/live/config}
stagingDirectory={serverHomeDirResource?resourceURI=PublishingAgent/
   deploymentconfig/staging/config}
dataDirectory={serverHomeDirResource?resourceURI=PublishingAgent/
   deploymentconfig/data/config}
journaling=true
clearJournalOnUpdate=true
backupJournal=true
name1=VFSName1
name2=VFSName2
Slave ConfigFileSystem.properties

The following sample shows a ConfigFileSystem.properties file for slave instances:

Note: Paths are machine-specific.

$class=atg.vfs.switchable.SlaveLocalFileSystemService

# references to SwitchableLocalFileSystem
rootDirectory=c:\\atg\\atg10.1.1\\home\\servers\\target-
primary\\PublishingAgent\\deploymentconfig\\live\\config

journalDirectory=c:\\atg\\atg10.1.1\\home\\servers\\target-
primary\\PublishingAgent\\deploymentconfig\\data\\config\\journalBackup

statusFile=c:\\atg\\atg10.1.1\\home\\servers\\target-
primary\\PublishingAgent\\deploymentconfig\\data\\config\\status.dat

# schedule for checking switch status to see if an update event is required

scheduler=/atg/dynamo/service/Scheduler
schedule=every 20 seconds

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices