On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

Do the targetRules in OD5 even work???

Hi,

I'm trying to deploy to two servers (A and B) at once, and I want to set the ownership on server A to be "crwmgr" and the ownership on server B to be "iwfmmgr"

On page 191 of the OD 5 manual, it seems like this is relatively straightforward to do.

No matter what I try, though, it seems as though OD just completely ignores me.

Here's my deployment configuration XML. Can anyone shed some light on the subject?


< replicationFarmSet>
< replicationFarm name="Staging" >
< nodeRef useNode="hq2unx135" />
< targetRules>
< permissionRules user="crwmgr"/> ### Here's my change
< /targetRules>
< nodeRef useNode="hq2unx137" />
< /replicationFarm>
< /replicationFarmSet>

< definition name="TS2FMstaging">
< source>
< sourceFilesystem area="$source_area"
filelist="$filelist" >
< pathSpecification>
< path name="." />
< /pathSpecification>
< /sourceFilesystem>
< /source>
< target useReplicationFarm="Staging" >
< comparisonRules dateDifferent="yes" />
< permissionRules directory="0775"
file="0775"
user="iwfmmgr" ### This is the default, right???
group="nogroup">
< /permissionRules>
< targetFilesystem area="$target_area" />
< /target>
< /definition>


I thought that Interwoven's XML example was really weird. Notice that the "nodeRef" tag is self closing, and then there's an indented "targetRules" section. I thought that was bizzarre, so I also tried this configuration:

< nodeRef useNode="hq2unx135" >
< targetRules>
< permissionRules user="crwmgr"/>
< /targetRules>
< /nodeRef>
That didn't work either, but it is very odd to me that both configurations resulted in a deployment. It's almost as if OpenDeploy completely ignores that section. . .

Also, before you ask: Yes, the user 'crwmgr' is a valid user account on the Interwoven deploying machine and the taget machine referenced in the hq2unx135 node.

TIA,
Tom