Unable to set node names on LTM with 11.3.0
I'm unable to set node names on a ltm with 11.3.0 using the icontrol snapin for powershell. The same commands works for ltm's with 10.2. Did something change?
Here is the command i'm using (Get-F5.iControl).LocalLBNodeAddress.create($nodeAddr, 0) (Get-F5.iControl).LocalLBNodeAddress.set_screen_name($nodeAddr,$nodeName)
The creation works fine but set_screen_name fails. Here is the error I'm getting
Exception calling "set_screen_name" with "2" argument(s): "Exception caught in LocalLB::urn:iControl:LocalLB/NodeAddres s::set_screen_name() Exception: Common::OperationFailed primary_error_code : 16908342 (0x01020036) secondary_error_code : 0 error_string : 01020036:3: The requested node address (/Common/test) was not found." At line:1 char:53 + (Get-F5.iControl).LocalLBNodeAddress.set_screen_name <<<< ("192.168.0.33", "test") + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : DotNetMethodException
Thanks,
NodeAddress is deprecated:
https://devcentral.f5.com/wiki/iControl.LocalLB.ashx https://devcentral.f5.com/wiki/iControl.LocalLB__NodeAddress.ashx
IMPORTANT This entire interface has been deprecated (as of 11.0.0), due to the change from using IP addresses to using names to identify node addresses. Please use the NodeAddressV2 interface. The NodeAddress interface enables you to work with the states, statistics, limits, availability, ratios, application response deltas, and monitors of a local load balancer's node address.
Use the NodeAddressV2 interface instead:
https://devcentral.f5.com/wiki/iControl.LocalLB__NodeAddressV2.ashx
With the new interface, the name is set at node creation time and can not be updated after.