OPTIONS Health Check Method
This article relates to LoadMaster firmware version 7.2.52.
In LoadMaster firmware version 7.2.52, a new HTTP/HTTPS health check option was added to the Real Servers section for all Virtual Services. When the Real Server Health Check Method is set to either HTTP Protocol or HTTPS Protocol, a new OPTIONS value is available for the HTTP Method field. This specifies that the server will be marked up when the LoadMaster receives a 200 OK in response to an HTTP (or HTTPS) OPTIONS request sent by the LoadMaster.
The OPTIONS HTTP method requests a description of the permitted communication options from the server. A 200 OK response from the server contains a response body which can be optionally searched for specific text in order to provide an additional check. To search the response body, specify the search text in the Reply 200 Pattern text box that appears when you select the OPTIONS HTTP method. The server will be marked up if the provided text is found in the response body; otherwise, the server is marked down.
For further information on health checking in general, refer to the Long Term Support (LTS) Health Checking Feature Description.
Application Programming Interface (API) Details
When accessing the health check URL - the system can use the HEAD (0), GET (1), POST (2), or OPTIONS (3) method.
To set OPTIONS as the HTTP Method for a specified Virtual Service, run the following command:
For further details on the RESTful API in general, refer to the Long Term Support (LTS) RESTful API Interface Description document.
For PowerShell help, run the Get-Help command for the relevant commands.