Forum Discussion
waterfall_10467
Jul 15, 2012Altostratus
when_lb_failed
Hello,
If a client coming from 192.168.1.0 and 192.168.2.0 networks redirect to node1 else redirect to node2.However, when node1 is down ,move all active and new connections to node2 and again when node2 is down move all active and new connections to node1.
Please help me related to above scenario
thank you in advance,
Kind regard,
- natheCirrocumulusCan
- waterfall_10467AltostratusHi Nathan,
- natheCirrocumulusWill this work for you then?
- nitassEmployeewhat if virtual sever is listening on any port and pool member is also on any port. on pool, assign 2 health monitors which one checkes on port 41000 and the other one is on port 56000.
- waterfall_10467AltostratusHi Nitass,
- nitassEmployeei mean something like this. is it what you are asking?
[root@ve10:Active] config b virtual bar list virtual bar { snat automap pool foo destination 172.16.1.1:any ip protocol 6 rules myrule } [root@ve10:Active] config b pool foo list pool foo { monitor all tcp41000 and tcp56000 members { 192.168.1.10:any {} 192.168.1.11:any {} } } [root@ve10:Active] config b monitor tcp41000 list monitor tcp41000 { defaults from tcp dest *:41000 } [root@ve10:Active] config b monitor tcp56000 list monitor tcp56000 { defaults from tcp dest *:56000 } [root@ve10:Active] config b rule myrule list rule myrule { when CLIENT_ACCEPTED { if {[class match -- [IP::client_addr] equals network_class]} { if {[LB::status pool foo member 192.168.1.10 0] equals "up"} { pool foo member 192.168.1.10 0 } } } } [root@ve10:Active] config b class network_class list class network_class { { network 192.168.1.0/24 network 192.168.2.0/24 } }
- waterfall_10467AltostratusHello Nitass ,
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