Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
2 targets 2 paths example
nico
Anyone have an example of a simple deployment from one host to 2 target servers, with the deployment going to path x on target x and path y on target y?
Thanks,
Nico
Find more posts tagged with
Comments
Migrateduser
You should be able to achieve this by having two definitions, each going to a different target.
Todd Scallan
Director of Product Management
Interwoven
t: 408-530-7167
e:
tscallan@interwoven.com
nico
Can someone post an example? I saw no such example in the manual and whenever I try it, it fails.
Thanks,
Nico
Valentine
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<deploymentConfiguration>
<logRules maxBytes="32Mb" level="verbose"/>
<localNode host="LaLaLaLocalhost"/>
<replicationFarmSet>
<replicationFarm name="MYFARMNAME">
<nodeRef useNode="web-1">
<targetRules area="/data/www-data/YYYY" />
</nodeRef>
<nodeRef useNode="web-2">
<targetRules area="/big/www-data/XXXXX" />
</nodeRef>
</replicationFarm>
</replicationFarmSet>
<definition name="DEPLOY_DEF">
<source>
<!-- should be staging instead of workarea -->
<sourceFilesystem area="/default/main/TEST/STAGING/htdocs">
<pathSpecification>
<path name="."/>
</pathSpecification>
</sourceFilesystem>
</source>
<target useReplicationFarm="MYFARMNAME">
<targetFilesystem area="/data/www-data/YYYYY"/>
<comparisonRules dateDifferent="yes" ignoreModes="yes" ignoreUser="yes" ignoreGroup="yes" />
<permissionRules file="0444" directory="1555" user="www-data" group="www-data" />
<transferRules doDeletes="no" />
</target>
</definition>
<deployment transactional="no">
<execDeploymentTask useDefinition="DEPLOY_DEF"/>
</deployment>
</deploymentConfiguration>