How to configure the health monitor

This section describes how to configure the health monitor.

The health monitor provides a health check function for the load balancing target (real server) of the Managed Load Balancer.

It periodically monitors the failure of the load balancing target (real server), and if it fails, it automatically disconnects from the load balancing target.

You can use the health check function at L3 (ICMP), L4 (TCP), and L7 (HTTP/HTTPS) levels.


Add health monitor

1.From the control panel, select "Cloud/Server Local Network" → "Managed Load Balancer".

2.The Managed Load Balancers list screen is displayed, select the Managed Load Balancer to which you want to add a health monitor.

ManagedLB

.Open the "Health Monitors" tab and click "Add Health Monitor"

ManagedLB

4.Enter the required items to add a health monitor and click "Add Health Monitor". The items that can be configured when adding a health monitor are as follows.

tab

Specifiable parameters

Contents

Input format

detail

name

You can specify the name of the health monitor settings.

255 half-width characters

 

Explanation

You can specify a description of the health monitor settings.

255 half-width characters

 

tag

You can specify tags for health monitor settings.

JSON format

 

port

You can specify the port to manage as a health monitor setting.

Integer 1 ~ 65534

 

protocol

You can select the protocol to be managed as a health monitor setting from the pull-down menu.
[ICMP, TCP, HTTP, HTTPS]
 
 

path

You can specify the URL for health monitor.
This item can be set only when HTTP/HTTPS is selected for the protocol.
Directory specification method
(Description starts with " / ")
 

HTTP status

You can specify the allowed HTTP statuses.
This item can be set only when HTTP/HTTPS is selected for the protocol.
3-digit integer (HTTP status code format)
(Example of allowing only 200:200
Example of allowing 200s:200-299)

Threshold setting

Interval (seconds)

You can specify the interval (seconds) for each health check executed by the health monitor.

Integer 1 ~ 180

 

number of retries

You can specify the maximum number of health checks to resend until you determine that the server is down.
※This is the number of re-sends and does not include the initial health check.

Integer 1 ~ 10

 

Time-out (seconds)

You can specify the amount of time (in seconds) that the health monitor waits for a health check response.

Integers 1 to 180 (values longer than the interval (seconds) cannot be specified)


5.Click "Add Health Monitor" at the bottom right of the screen to determine the settings.

ManagedLB

6.Confirm that the config status of the health monitor is "CREATE_STAGED".

ManagedLB

7.Execute "Apply Managed Load Balancer Settings" to complete the addition of the health monitor.

Note

  • You can apply the changes of settings for Managed Load Balancer together with other setting items.


Display the details of health monitor

1.In the Managed Load Balancer list screen, click the resource name of the Managed Load Balancer for which you want to check the details of the health monitor.

2.Open the "Health Monitors" tab and click the Health Monitor resource name for more information.

ManagedLB

3.The information that can be confirmed on the details screen of the health monitor is as follows.

tab

Referenceable information

Contents

Overview

name

You can see the name of the health monitor.

  ID

You can see the ID of the health monitor.

 

Explanation

You can refer to the description of the health monitor.

 

tag

You can see the tags of the health monitor.

 

Config status

You can see the config status of the health monitor.

The possible values are as follows.
・"ACTIVE":Managed Load Balancer does not have a config waiting to be applied.
・"CREATE_STAGED":The config added to the Managed Load Balancer is waiting to be applied.
・"UPDATE_STAGED":The config to be changed to the Managed Load Balancer is waiting to be applied.
・"DELETE_STAGED":The config to be deleted by the Managed Load Balancer is waiting to be applied.
 

Operation status

You can see the operational status of the health monitor.

The possible values are as follows.
・"NONE":Initial state
・"PROCESSING":The state of applying the config to Managed Load Balancer.
・"COMPLETE":The state where the latest operation is completed
・"STUCK":The latest operation processing is stopped and operator intervention is required, so it is impossible to operate the resource.
・"ERROR":The latest operation processing failed, but it is possible to operate the resource since it has been rolled back normally,.
 

port

You can see the ports that you manage as a health monitor setting.

 

protocol

You can see the protocols managed as health monitor settings.

 

path

You can check the URL that is the target of the health monitor.
This item is displayed only when HTTP/HTTPS is selected as the protocol.
 

HTTP status

You can check the HTTP status that you allow.
This item is displayed only when HTTP/HTTPS is selected as the protocol.
 

interval

You can see the interval (seconds) for executing the health monitor.

 

number of retries

You can see the number of retries in the health monitor.

 

time out

You can see the timeout period (seconds) in the health monitor settings.


Edit the health monitor

1.In the Managed Load Balancer list screen, click the resource name of the Managed Load Balancer for which you want to edit the health monitor.

2.Open the "Health Monitors" tab and click "Edit Health Monitor" from the Actions pull-down for the health monitor you want to edit.

ManagedLB

3.Enter the settings you want to edit and click "Edit Health Monitor".

tab

Specifiable parameters

Contents

Input format

detail

name

You can specify the name of the health monitor settings.

255 half-width characters

 

Explanation

You can specify a description of the health monitor settings.

255 half-width characters

 

tag

You can specify tags for health monitor settings.

JSON format

 

port

You can specify the port to manage as a health monitor setting.

Integer 1 ~ 65534

 

protocol

You can select the protocol to be managed as a health monitor setting from the pull-down menu.
[ICMP, TCP, HTTP, HTTPS]
 
 

path

You can specify the URL for health monitor.
This item can be set only when HTTP/HTTPS is selected for the protocol.
Directory specification method
(Description starts with " / ")
 

HTTP status

You can specify the allowed HTTP statuses.
This item can be set only when HTTP/HTTPS is selected for the protocol.
3-digit integer (HTTP status code format)
(Example of allowing only 200:200
Example of allowing 200s:200-299)

Threshold setting

Interval (seconds)

You can specify the interval (seconds) for each health check executed by the health monitor.

Integer 1 ~ 180

 

number of retries

You can specify the maximum number of health checks to resend until you determine that the server is down.

Integer 1 ~ 10

 

Time-out (seconds)

You can specify the amount of time (in seconds) that the health monitor waits for a health check response.

Integers 1 to 180 (values longer than the interval (seconds) cannot be specified)


4.Click "Edit Health Monitor" at the bottom right of the screen to determine the settings.

ManagedLB

5. If the config status of the health monitor is "UPDATE_STAGED" or "CREATE_STAGED", to execute "Apply Managed Load Balancer Settings" puts editing the health monitor completed.

ManagedLB

Note

  • If you edit only the name, description, and tag, the config status will not change to "UPDATE_STAGED".

  • In addition, you can apply the changes of settings for Managed Load Balancer together with other setting items.


Cancel the changes of settings for health monitor

1.In the Managed Load Balancer list screen, click the resource name of the Managed Load Balancer whose changes of settings for health monitor you want to cancel.

2.Open the "Health Monitors" tab and click "Cancel the Health Monitor Settings" from the Health Monitor Actions pull-down for which you want to cancel the changes of settings.

ManagedLB

3.The confirmation screen for canceling the health monitor settings is displayed, click "Confirmation of Cancellation of Health Monitor Settings".

ManagedLB

Delete health monitor

1.In the Managed Load Balancer list screen, click the resource name of the Managed Load Balancer whose health monitor settings you want to delete.

2.Open the Health Monitor tab and click "Delete Health Monitor" from the Actions pull-down for the health monitor you want to delete.

ManagedLB

3.The confirmation screen for deleting the health monitor is displayed, click "Delete Health Monitor".

ManagedLB

Note

  • After the health monitor config status becomes "DELETE_STAGED" by this operation, the health monitor settings will not be deleted from the Managed Load Balancer instance until "Apply Managed Load Balancer Settings" are executed. If you want to delete the health monitor settings from the Managed Load Balancer instance, execute "Apply Managed Load Balancer Settings" following this operation.

  • If you want to cancel the setting that is "DELETE_STAGED", execute "Cancel the Health Monitor Settings".

4.Confirm that the status of the health monitor is "DELETE_STAGED".

ManagedLB

5.Execute "Apply Managed Load Balancer Settings" to complete the deletion of the health monitor.

Note

  • You can apply the changes of settings for Managed Load Balancer together with other setting items.