Forum Discussion
Amy_Allen_570
Nimbostratus
Feb 14, 2007Problem with state status after toggle
Hello all,
I am having problem when I use togglePoolMember.pl to change status of member's state. For example, when I run togglePoolMember.pl, state status change to DISABLE from ENABLE. But...
Amy_Allen_570
Nimbostratus
Feb 14, 2007The command I use is
togglePoolMember.pl xxx.xxx.xxx 443 username passwd poolname 192.x.x.1
Here is the SOAP debug:
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
>
xmlns:namesp1="urn:iControl:LocalLB/PoolMember"
>
SOAP-ENC:arrayType="xsd:string[1]"
>
>amytest.usg-http
SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x8630d30)
SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK
Connection: close
Date: Wed, 14 Feb 2007 19:42:38 GMT
Server: Apache
Content-Type: text/xml; charset="UTF-8"
Client-Date: Wed, 14 Feb 2007 19:42:39 GMT
Client-Peer: x.x.x.x:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer:
/C=US/ST=TX/L=Denton/O=xxxxx/OU=xxxxxx/CN=xxx.xxx.xxx/emailAddress=xxxx@xxxx.xxx
Client-SSL-Cert-Subject: /C=US/ST=TX/L=Denton/O=xxxxxx/OU=xxxxxx
Group/CN=xxx.xxx.xxx/emailAddress=xxx@xxxx.xxx
Client-SSL-Cipher: DHE-RSA-AES256-SHA
Client-SSL-Warning: Peer certificate not verified
Client-Transfer-Encoding: chunked
Set-Cookie: BIGIPAuthCookie=BD685D5053281572914BAA28AAE59C0C764846F8;
path=/; Secure;
SOAPServer: EasySoap++/0.6 xmlns:E="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:A="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:s="http://www.w3.org/2001/XMLSchema-instance"
xmlns:y="http://www.w3.org/2001/XMLSchema"
xmlns:iControl="urn:iControl"
E:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> xmlns:m="urn:iControl:LocalLB/PoolMember"> s:type="A:Array"
A:arrayType="iControl:LocalLB.PoolMember.MemberSessionState[][1]"> A:arrayType="iControl:LocalLB.PoolMember.MemberSessionState[4]"> s:type="iControl:LocalLB.PoolMember.MemberSessionState"> s:type="iControl:Common.IPPortDefinition"> s:type="y:string">192.x.x.1 s:type="y:long">80 s:type="iControl:Common.EnabledState">STATE_ENABLED s:type="iControl:LocalLB.PoolMember.MemberSessionState"> s:type="iControl:Common.IPPortDefinition"> s:type="y:string">192.x.x.4 s:type="y:long">80 s:type="iControl:Common.EnabledState">STATE_DISABLED s:type="iControl:LocalLB.PoolMember.MemberSessionState"> s:type="iControl:Common.IPPortDefinition"> s:type="y:string">192.x.x.2 s:type="y:long">80 s:type="iControl:Common.EnabledState">STATE_DISABLED s:type="iControl:LocalLB.PoolMember.MemberSessionState"> s:type="iControl:Common.IPPortDefinition"> s:type="y:string">192.x.x.81 s:type="y:long">80 s:type="iControl:Common.EnabledState">STATE_ENABLED
SOAP::Deserializer::deserialize: ()
...
SOAP::Data::new: ()
SOAP::Data::new: ()
SOAP::Data::new: ()
SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x8736984)
SOAP::Transport::HTTP::Client::send_receive: POST https://xxx.xxx.xxx:443/iControl/iControlPortal.cgi HTTP/1.1
Accept: text/xml
Accept: multipart/*
Content-Length: 1319
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:iControl:LocalLB/PoolMemberset_session_enabled_state"xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:namesp3="http://namespaces.soaplite.com/perl"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
>
xmlns:namesp2="urn:iControl:LocalLB/PoolMember"
>
SOAP-ENC:arrayType="xsd:string[1]"
>
>amytest.usg-http
SOAP-ENC:arrayType="SOAP-ENC:Array[1]"
>
>
>
>
>192.x.x.81
>80
>STATE_DISABLED
SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x8735814)
SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK
Connection: close
Date: Wed, 14 Feb 2007 19:42:39 GMT
Server: Apache
Content-Type: text/xml; charset="UTF-8"
Client-Date: Wed, 14 Feb 2007 19:42:39 GMT
Client-Peer: x.x.x.x:443
Client-Response-Num: 1
...
Client-SSL-Cipher: DHE-RSA-AES256-SHA
Client-SSL-Warning: Peer certificate not verified
Client-Transfer-Encoding: chunked
Set-Cookie: BIGIPAuthCookie=BD685D5053281572914BAA28AAE59C0C764846F8;
path=/; Secure;
SOAPServer: EasySoap++/0.6 xmlns:E="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:A="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:s="http://www.w3.org/2001/XMLSchema-instance"
xmlns:y="http://www.w3.org/2001/XMLSchema"
xmlns:iControl="urn:iControl"
E:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:m="urn:iControl:LocalLB/PoolMember">
SOAP::Deserializer::deserialize: ()
SOAP::Parser::decode: ()
SOAP::SOM::new: ()
SOAP::SOM::DESTROY: ()
Pool Member poolname {192.x.x.1:80} state set from 'STATE_ENABLED' to 'STATE_DISABLED'
SOAP::Data::DESTROY: ()
...
I have 4 member in this pool.
Available pool members
======================
pool poolname {
192.x.x.1:80 (STATE_ENABLED)
192.x.x.4:80 (STATE_DISABLED)
192.x.x.2:80 (STATE_DISABLED)
192.x.x.81:80 (STATE_ENABLED)
}
It looks like it is only toggle the last member in the pool.
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