Question - these steps will work very easily for Unix. Has anyone done this for Windows where one has to deal with SIDs (e.g. SYSTEM, Administrator, TSIMP_hostname, etc.) that differ between the two servers?
Will these steps across the networks as well ? Like if I want to replicate the complete store between two entirely different networks and my data has to travel across VPN, then OpenDeploy will work or not.. Can you suggest if OD can deploy content across different netwowrks and across firewalls ( obviously OD port is opened in Firewall)
Have you read the OD manual ? The procedure for preserving EAs is disussed. Search for applyExtAttrs="yes"This is not a way to repicated a complete iw-store, but a way to move a single workarea. So you lose history when you do this (unless you do editions, but then moving iw-store is easier).BTW, I do not think there is anything documented per the trigger. You need to decide how/when the duplication happens. On a submit ? Do it in a workflow. Every night at midnight ? Schedule it (or wake up and kick it off if you prefer).Research triggers if you like, but I would suggest NOT using them in this instance. HTHAndy
Thanks guys for your replies Reddy,Interesting ..Can you put some more light how to preserve the EA while deployment and triggers to synchronize the content between multiple TS servers. Any example or pointers to manual are appreciated.
This is not a way to repicated a complete iw-store, but a way to move a single workarea. So you lose history when you do this (unless you do editions, but then moving iw-store is easier).
As has been pointed out (perhaps in a different thread) - the transfer of EAs through OD's feature - will only work if you are doing TeamSite based deployments (i.e. diffing one edition against another, diffing a workarea against staging, etc.) - it will *not* work if you use a filesystem based deployment or regular comparison between source and target areas.If work is being performed on both servers and you want to sync them up - it's a much more daunting project.
If work is being performed on both servers and you want to sync them up - it's a much more daunting project.
Reddy,I have seen that section but it didnt answer my question wheather it will be able to synchronize the content between two different branches. If yes then does this mean OD will deploy the EAs to iw-store by itself into different backing stores.Can you post the config file you created when you used OD triggers to synchronize your WA.
#!/usr/bin/shthis_dir=`pwd`# $1 - area path - /default/main/branch/WORKAREA/area# $2 - get server - source_server_name # this is the server where you are retrieving the EA's from, if this is the local host you could pass in `hostname`# $3 - set server and area path //target_server_name/default/main/CWS/WORKAREA/Globalcd $1find . -type f -print | while read myvar; doecho "/app/teamsite/iw-home/bin/iwextattr -l -x //$2/$1/${myvar} | /app/teamsite/iw-home/bin/iwextattr -s -x $3/${myvar}"/app/teamsite/iw-home/bin/iwextattr -l -x //$2/$1/${myvar} | /app/teamsite/iw-home/bin/iwextattr -s -x $3/${myvar}donecd $this_dir
... <?xml version="1.0" encoding="UTF-8" standalone="no"?> <deploymentConfiguration><!-- ... logRules, localNode, replicationFarm ("WEB") ... --> <definition name="TEXT"> <source> <sourceFilesystem area="$sourcePath^" filelist="$fileList^"> <pathSpecification> <path name="."/> </pathSpecification> </sourceFilesystem> </source> <target useReplicationFarm="WEB"> <targetTeamsite area="$targetPathText^" applyExtAttrs="yes" /> <comparisonRules dateDifferent="yes"/> <transferRules doDeletes="yes"/> <permissionRules directory="0775" file="0664" group="$targetGroup" user="$targetUser"/> </target> </definition> <deployment transactional="yes"> <execDeploymentTask useDefinition="TEXT"/> </deployment> </deploymentConfiguration> ENG: 2006-03-31 18:56:19 BST GMT+01:00 ----------------------------------------------------------- ... 183 ENG: 2006-03-31 18:56:19 BST GMT+01:00 Start perform internal conversion for: /usr/OpenDeployNG/conf/manual_merge.xml 184 ENG: 2006-03-31 18:56:19 BST GMT+01:00 ***ERROR - Failed converting config file /usr/OpenDeployNG/conf/manual_merge.xml. 185 Error : CONFIG_FILE. 186 Details: applyExtAttr is specified for sourceFileSystem 187 188 ENG: 2006-03-31 18:56:19 BST GMT+01:00 End logfile [/usr/OpenDeployNG/log/src.manual_mergeinst_4.X.Y.0009.log]Do we need to have different TS server for this?? It doesn't work with if source and target are under same backing store Any ideas ??
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <deploymentConfiguration><!-- ... logRules, localNode, replicationFarm ("WEB") ... --> <definition name="TEXT"> <source> <sourceFilesystem area="$sourcePath^" filelist="$fileList^"> <pathSpecification> <path name="."/> </pathSpecification> </sourceFilesystem> </source> <target useReplicationFarm="WEB"> <targetTeamsite area="$targetPathText^" applyExtAttrs="yes" /> <comparisonRules dateDifferent="yes"/> <transferRules doDeletes="yes"/> <permissionRules directory="0775" file="0664" group="$targetGroup" user="$targetUser"/> </target> </definition> <deployment transactional="yes"> <execDeploymentTask useDefinition="TEXT"/> </deployment> </deploymentConfiguration>