Greetings,
I'm trying to create a template for an HTTP application on a non-standard port with ANM 5.1.
Here's part of my template:
<variable name="TCPport" type="port" displayString="TCP Port:" perm="ace_vip"/>
...
<config device="{$device}">
<slb>
<serverfarm name="{$name}" predictor="roundrobin">
<probe requestHttpUrl="{$probe_url}" interval="60"
passDetectCount="2" requestMethodType="get"
passDetectInterval="60" isRouted="false" expectedResponseCode="200-404" port="{$TCPport}"/>
<foreach iterate="{$reals/$ipAddr}">
<rserver name="{$reals/$rname}" ipAddr="{$reals/$ipAddr}" port="{$TCPport}"/>
</foreach>
The variable "TCPport" is mentioned twice, at the probe and at the rserver definition. However, at the probe part it's just ignored, the configuration stays default. The rserver's port gets configured correctly, so do other parts that get their values from the variable.
The result is: upon creation, the virtual server works absolutely correctly for a minute, then failed probes bring it down. If I change the probe port value manually, everything's ok.
How do I automate the configuration of the probe's port?