How to Disable a Real Server for Maintenance

To take a Real Server out of service for maintenance, navigate to Real Servers and click Disable for the Real Server that you would like to perform maintenance on. To disable more then one Real Server, select the boxes of the Real Servers you want to disable and click Disable at the bottom left of the screen.

Figure 1.1 – Disabling a Real Server for Maintenance

Figure_10.png

Disable 

When disabling a Real Server, no new connections are sent to the Real Server. Persistent connections keep their persistence and are allowed to reconnect to the Real Server until the L7 Connection Drain Time expires.

The factors that determine how connections are handled when disabling a Real Server reside in the LoadMaster’s L7 Configuration. To find the L7 Configuration, navigate to System Configuration >> Miscellaneous Options >> L7 Configuration in the LoadMaster WUI. 

See Figure 1.2 for a visual of the L7 Configuration menu options that we are configuring in this document.

Figure 1.2 – L7 Configuration

Figure_1.1.png

Drop at Drain Time End

When enabled, active connections are not dropped from the disabled Real Server until the L7 Connection Drain Time Expires.

Once the L7 Connection Drain Time expires, all active connections are dropped from the disabled Real Server. By default, the Drop at Drain Time End function is disabled and the L7 Connection Drain Time is set to 300 seconds. The drain time is entered in seconds from 60 to 86400 seconds. Entering a value of 0 seconds disables the L7 Connection Drain Time.

 

Scenario 1:

A Real Server must be disabled for maintenance. Active connections should be dropped from the Real Server and persistent connections should remain until they close the connection. In addition, no new connections should be sent to the Real Server.

  1. Ensure the Drop at Drain Time End is not enabled.
  2. Modify the L7 Connection Drain Time (secs) to reflect how long you would like Persistent Connections to be able to reconnect to the Real Server.
  3. Disable the Real Server.

Scenario 2:

A Real Server must be disabled for maintenance. Active connections should be dropped and persistent connections will have a set amount of time before they are dropped from the Real Server.

  1. Enable Drop at Drain Time End.
  2. Modify the L7 Connection Drain Time (secs) to reflect how long you would like Persistent Connections to be able to reconnect to the Real Server before the connection is dropped and sent to another server.
  3. Disable the Real Server.

Scenario 3:

A Real Server must be disabled for maintenance and all connections must be dropped from it immediately.

  1. Enable Drop at Drain Time End.
  2. Modify the L7 Connection Drain Time and set it to 0.
  3. Disable the Real Server.

To monitor and view how many active connections remain on your Real Server, navigate to Statistics >> Real Time Statistics, click Real Servers and view Active Connections.

Figure 1.3 – Real Server Active Connections

Figure_1.3.png

Was this article helpful?

0 out of 0 found this helpful

Comments