Forum Discussion
lfhx_54443
Nimbostratus
May 22, 2007help: node priority change in one pool
Hi
I got some requirement below:
2 members in one pool
the one menber(node1)'s application start:
if both 2 menbers up {
if node1 has higher priority {
mark itself with as active
start service traffic
}
else if node2 has higher priority {
mark node1 as standby
do nothing
}
}
when node1(the higher priority) down:
node2 swap priority with node1
mark node2 as active and take over traffic
when node1 up again:
node1 find node2 is up and has hogher priority
mark itself as standby and do nothing
can iControl realize this?
I have little competence about iControl can anybody give me some help?
Great thanks !
- Allen_Mao_3723
Nimbostratus
and i consider using EventSubscription and EventNotification interface to realize it,but i am confused with Notification, how can it work? - The EventNotification and EventSubscription interfaces work as follows:
- Allen_Mao_3723
Nimbostratus
Hi,Joe - The notification mechanism is via a HTTP-POST call formatted as a SOAP message. If you don't want to implement a webservice listener, then you can still build a listener that works. The only requirements is that you make it "look" like a web service. You'll need to be able to parse the SOAP content in the HTTP POST body. And after that you'll need to return a response with a valid SOAP response indicating success. Here's a response returned from the BIG-IP default listener
HTTP/1.1 200 OK Date: Fri, 08 Jun 2007 14:56:13 GMT Server: Apache Secure; Connection: close Transfer-Encoding: chunked Content-Type: text/xml; charset="UTF-8" 1cexmlns: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:Management/EventNotification"> 0
- Allen_Mao_3723
Nimbostratus
If my listener just init a ServerSocket(8080), whether BIG-IP send the events to my listener when some events happened? - Allen_Mao_3723
Nimbostratus
And if i build a listener that works "look" like a web service, how can I set the SubscriptionDetails's parameter url? Posted By Allen Mao on 06/10/2007 5:45 AM
Posted By Allen Mao on 06/10/2007 11:38 PM
- Tom_Thunem_9204
Nimbostratus
Hello,
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