OAM 11g Transformation Rules for APS
HI,
Am trying to create the custom transformation rules to support my requirement in MDC\APS in OAM 11gR2 Ps2. The default transformation rule works just file.
<?xml version="1.0" encoding="UTF-8"?>
<mdc-transform-rule>
<changes-to-include entity-path="/DeployedComponent/Agent/WebGate/Instance">
<replace attribute-match="/IAMSuiteAgent/PrimaryServerList/*/host" value-match="(.*)">
<replace-with n="1">${DeployedComponent/Server/NGAMServer/Profile/OAMServerProfile/OAMSERVER/serverhost}</replace-with>
</replace>
</changes-to-include>
<changes-to-include entity-path="/DeployedComponent/Server/NGAMServer/Profile/AuthenticationModules"/>
</mdc-transform-rule>
This just updates the IAMSuiteAgent with OAMServer hostname. and when IAMSuiteAgent is replaced with *, it updated same OAMHost which is a LBR for all agents at clone DC.
However,
I need to replace the PrimaryServerList and SecondaryServerList with the Clone DC specific host names, I have tried using the below transformationrule and it works just file for one server in the PrimaryServerList of Master and replaced by Clone DC Primary server List.