What is Drain Mode for Load Balancer Pool Member's?

What is Drain Mode for Load Balancer Pool Member's?

Drain Mode allows the server to shut down gracefully for maintenance. Setting the pool member as "drain" removes the back end server from load balancing, while allowing it to be used for exiting connections and new connections from clients with persistence to that server.

The persistence methods that work with drain state are source IP persistence, cookie insert, and cookie prefix.

Note:

Enabling and disabling High Availability configuration on the NSX Edge can break the persistence and drain state with source IP persistence method.

You cannot change the pool member state from Disabled to Drain.

Access Drain mode in vCenter

You will not be able to see Drain mode in the vCloud Edge web portal, however, you can see the option in vCenter.

To access drain mode in vCenter navigate the following:

  1. Click on Networking & Security
  2. Click on NSX Edges in the side pane
  3. Click on the Edge you want to see drain mode
  4. Click on the Manage tab
  5. Click on the Load Balancer tab
  6. Click on the Pools link in the left pane
  7. Click on the plus button under Members
  8. Select the drop down list under state. You will see Drain mode.