Forum Discussion
Paul_B_70570
May 09, 2011Nimbostratus
Disable-F5.LTMPoolMember
command:
Disable-F5.LTMPoolMember -Pool blogs -Member 192.153.80.2:80
Result:
Disable-F5.LTMPoolMember : 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 (blogs 192.153.80.2 http) was not found.
At line:1 char:25
+ Disable-F5.LTMPoolMember <<<< -Pool blogs -Member 192.153.80.2:80
+ CategoryInfo : OpenError: (error:String) [Disable-F5.LTMPoolMember], SoapHeaderException
+ FullyQualifiedErrorId : 2,iControlSnapIn.CmdLet.LTM.PoolMember.DisableLTMPoolMember
can anyone help me in what I am doing wrong?
All I am trying to do is disable a pool member, if there is a diffrent way of doing this pleas let me know.
Thanks!
- Rodney_McDonaldNimbostratusDid you get the answer? Can you perform a Get-F5.LTMPoolMember?
- NZwach_66953NimbostratusSet-F5.LTMPoolMemberState -pool -member -State disabled
- Philip_King_719Nimbostratus
I use the PowerShell below that is used in conjunction with the iControlSnapIn. I just pass the IP for the F5, the user and the password in the command line. You could also pass the IP of the node and the port to take offline, but in my case it is static.
Command lineC:\Program Files\F5 Networks\iControlSnapIn>powershell -command .\SwsCXPOffline.ps1 F5 Usr Pwparam ($bigip = $null,$user = $null,$pass = $null);Add-PSSnapIn iControlSnapInInitialize-F5.iControl -Hostname $bigip -Username $user -Password $passSet-F5.LTMPoolMemberState -Pool ClientEXP -Member IP:Port -State offline
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects