Configuring Content Deployer
When you have installed the Archive Manager Modules, you need to configure the Content Deployer to hook up with the Archive Manager.
Procedure
- Open your Content Deployer
cd_deployer_conf.xmlconfiguration file for editing. This file is in one of the following locations:- If your Content Deployer runs as a Java Web application, navigate to WEB-INF/classes/.
- If your Content Deployer runs as a .NET Web application, navigate to lib\config\.
- If your Content Deployer runs as a Windows service or a Java process, go to the location where you stored cd_deployer_conf.xml.
- Add the following
<Processor>elements to thecd_deployer_conf.xmlas the first<Processor>element in the list:<Processor Action="Deploy" Class="com.tridion.deployer.Processor" Phase="pre-processing"> <Module Type="DeploymentPipelineModule" Class="com.tridion.archiving.modules.DeploymentPipelineModule"> <Pipeline Name="archiving-pipeline-initial" InitialState="" FinalState="current-urls" /> </Module> </Processor> <Processor Action="Undeploy" Class="com.tridion.deployer.Processor" Phase="pre-processing"> <Module Type="DeploymentPipelineModule" Class="com.tridion.archiving.modules.DeploymentPipelineModule"> <Pipeline Name="undeployment-archiving-pipeline-initial" InitialState="" FinalState="undeploy-urls"/> </Module> </Processor> - Add the following
<Processor>to thecd_deployer_conf.xmlas the last<Processor>element in the list:<Processor Action="Deploy" Class="com.tridion.archiving.processors.TransactionalProcessor" Phase="post-transaction"> <Module Type="DeploymentPipelineModule" Class="com.tridion.archiving.modules.DeploymentPipelineModule"> <Pipeline Name="archiving-pipeline" InitialState="" FinalState=""/> </Module> </Processor> <Processor Action="Undeploy" Class="com.tridion.archiving.processors.TransactionalProcessor" Phase="post-transaction"> <Module Type="DeploymentPipelineModule" Class="com.tridion.archiving.modules.DeploymentPipelineModule"> <Pipeline Name="undeployment-archiving-pipeline-final" InitialState="undeploy-urls" FinalState=""/> </Module> </Processor>Note: ThePhase="post-transaction"attribute value on a processor instructs the processor to execute after content is stored in the Content Data Store (and is thus available). - Optional: If you have SmartTarget installed, you can:
- Add the following
<Module>element to the Transactional ProcessorProcessor Action="Deploy":<Processor Action="Deploy" Class="com.tridion.archiving.processors.TransactionalProcessor" Phase="post-transaction"> <Module Type="SmartTargetDeploy" Class="com.tridion.smarttarget.deployer.FredhopperDeployerModule"> <Transformer Class="com.tridion.deployer.TCDLTransformer"/> </Module> </Processor> - Add the following
<Module>element to the Transactional ProcessorProcessor Action="Undeploy":<Processor Action="Undeploy" Class="com.tridion.archiving.processors.TransactionalProcessor" Phase="post-transaction"> <Module Type="SmartTargetUndeploy" Class="com.tridion.smarttarget.deployer.FredhopperUndeployModule"/> </Processor>
- Add the following
- Locate the
Processor Action="Deploy"and<Processor Action="Undeploy"and add thePhase="processing"to them, for example:<Processor Action="Deploy" Class="com.tridion.deployer.Processor" Phase="processing"><Processor Action="Undeploy" Class="com.tridion.deployer.Processor" Phase="processing"> - Save and close the
cd_deployer_conf.xmlfile and restart your Content Deployer for the changes to take effect.