VMware Networking Community
VicentiuA
Contributor
Contributor

Receive disable flavor on NSX

Hello folks

We're migrating some VIPs from F5 to NSX load balancer, and one of the health checks in F5 is using the Receive Disable string.

For example, if the HTTP monitor is doing a GET and is receiving the string "Maintenance', then it will disable the node allowing the existing connections until they are completed or timing out. Also new connections will not be forwarded to that related node.

Is there any way to implement this in NSX? I found that someone else asked about (NSX Load Balancing Drain Stop) but got 0 answers.

Thanks in advance

V.

0 Kudos
2 Replies
bayupw
Leadership
Leadership

Not aware of out of the box function but I'm wondering if the "invert-regex" option is for this kind of use case, unfortunately no sample both in admin the doc: Create a Service Monitor or the config samples: NSX-v 6.3 - Load Balancing capabilities + configuration examples (and more...)

I'm also thinking if creating a regex with inverse match of "Maintenance" for the service monitor would work

regex - Invert match with regexp - Stack Overflow

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
0 Kudos
VicentiuA
Contributor
Contributor

I was thinking to create an Application Rule checking the body of the GET and based on that selecting "crafted pools" with only one node, but I didn't find a way to do a http get within a ACL.

0 Kudos