iControl Command working w/ v10 but not 11
My apologies if this has been asked already... I searched this forum and didn't find anything, so hopefully this isn't a duplicate question.
I use a VB.NET application to manage nodes and pool members. We've recently implemented a v11 device, and pool member operations that succeed against the v10.2.2 fail against the v11.1.0 device.
Here's what I'm doing...
Dim sessionState As New LocalLBPoolMemberMemberSessionState
sessionState.member.address = memberToManage.MemberIP
sessionState.member.port = memberToManage .Port
sessionState.session_state = CommonEnabledState.STATE_DISABLED
Dim MemberSessionStateAofA(1)() As LocalLBPoolMemberMemberSessionState
Array.Resize(MemberSessionStateAofA(0), 1)
MemberSessionStateAofA(0)(0) = sessionState
iControlClient.LocalLBPoolMember.set_session_enabled_state(New String() { memberToManage.PoolName}, MemberSessionStateAofA)
Obviously memberToManage contains the member details (IP, port, pool name as reported by the BigIP, etc.). In this case, memberToManage.MemberIP = 10.x.x.x and memberToManage.Port = 80. When executing against v10, it completes as expected. Against v11, I get this exception:
Exception caught in LocalLB::urn:iControl:LocalLB/PoolMember::set_session_enabled_state() Exception: Common::OperationFailed primary_error_code : 16908342 (0x01020036) secondary_error_code : 0 error_string : 01020036:3: The requested pool member (/xxPartitionName/xxPoolName /xxPartitionName/10.x.x.x 80) was not found.
(actual names redacted)
The pool name and pool member name returned in the exception are all correct, which leads me to believe it's finding something. Operations against NodeAddresses work as expected on the v11.
Am I doing something wrong?
Thanks in advance,
Matt