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

  1. Open your Content Deployer cd_deployer_conf.xml configuration 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.
  2. Add the following <Processor> elements to the cd_deployer_conf.xml as 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>
  3. Add the following <Processor> to the cd_deployer_conf.xml as 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>	
  4. Optional: If you have SmartTarget installed, you can:
    1. Add the following <Module> element to the Transactional Processor Processor 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>
    2. Add the following <Module> element to the Transactional Processor Processor Action="Undeploy":
      <Processor Action="Undeploy" Class="com.tridion.archiving.processors.TransactionalProcessor" Phase="post-transaction">
         <Module Type="SmartTargetUndeploy" Class="com.tridion.smarttarget.deployer.FredhopperUndeployModule"/>			
      </Processor>
  5. Locate the Processor Action="Deploy" and <Processor Action="Undeploy" and add the Phase="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">
  6. Save and close the cd_deployer_conf.xml file and restart your Content Deployer for the changes to take effect.