Possible to specify FQDN for new node address via iControl and Powershell?
Product : Virtual BigIP LTM ProductVersion : 11.6.0 PackageVersion : Build 5.13.429 - Thu Jul 23 16:58:10 PDT 2015 PackageEdition : Engineering Hotfix HF5
Hi,
Working on an automated solution. I am able to successfully create new nodes using iControl SnapIn and PS. However, the API only allows me to use IP addresses when creating the nodes, and not a fqdn (when I try it throws invalidargument exception). The author of the snapin also says an IP address is required.
Here is a snippet of the powershell code I use:
This provides all of the cmdlets we need
Add-PSSnapin iControlSnapin
Initialize-F5.iControl -Hostname $LTMName -Username $LTMUserName -Password $LTMPassword
(Get-F5.iControl).LocalLBNodeAddressV2.create(@($NodeName),@($NodeAddress),@(0))
I thought about changing it after it is created, but the API documentation states "...A set_address method is not supported." Any idea on how to accomplish this via iControl? Will I be forced to use a different solution?
Thanks, pimy