This is a java-based tool that will "deploy" or copy content from an Alfresco WCM repository source to another (target) location.
The target location can be local or remote and can be a file system or other CMS.
I used ISDA-IST1 as the target machine for testing.
wrapper.java.command=/usr/local/jdk1.5.0_11/bin/java
<?xml version="1.0" encoding="UTF-8" ?> <agent-config> <admin bind-address="localhost" bind-port="21008" /> <server bind-address="18.92.0.199" bind-port="21009"> <permit host="18.92.1.223" key=""> <path location="/root/sturner/contentdeploy" /> </permit> </server> </agent-config> |
This allows connections from 18.92.1.223 (isda-cs2) and allows deployment to /root/sturner/contentdeploy
$CDHOME/bin/cda start
$CDHOME/bin/cda stop
I used ISDA-CS2 as the source machine for testing.
JAVA_EXE=/usr/local/jdk1.5.0_11/bin/java
<?xml version="1.0" standalone="yes"?> <deployment-config> <sources> <alfresco-avm-remote-source id="alfresco-cs2" context-file="source-avm-remote-context.xml" repository-path="steveweb:/www/avm_webapps" snapshot="-1" user="admin" password="PASSWORD-GOES-HERE" root-path="/ROOT" > </alfresco-avm-remote-source> </sources> <targets> <filesystem-target id="ist1-fs" root-path="/root/sturner/contentdeploy"> <cd-agent-config ip-address="18.92.0.199" port="21009" /> </filesystem-target> </targets> <deployments> <deployment id="alfresco-cs2-to-ist1-fs" active="t" source-refid="alfresco-cs2" target-refid="ist1-fs" source-path="/" recurse="/" target-path="/" overwrite="f" /> </deployments> </deployment-config> |
Finally, to deploy content, I issued these command:
cd $CDHOME/bin
./deploy ../conf/ist1-test.xml
This copies files from the staging sandbox of the "steveweb" web project on isda-cs2 into the file system on isda-ist1 under the directory /root/sturner/contentdeploy.