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 the L3 (ICMP) and L4 (TCP) levels.
Contents
Add health monitor¶
From the control panel, select Cloud / Server Local Network → Managed Load Balancer.
The Managed Load Balancers list screen is displayed, select the Managed Load Balancer to which you want to add a health monitor.
Open the "Health Monitors" tab and click "Add Health Monitor".
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.
category |
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]
|
||
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) |
Confirm that the config status of the health monitor is "CREATE_STAGED".
Execute "Apply Load Balancer Settings" to complete the addition of the health monitor.
Note
You can apply the load balancer settings together with other setting items.
Display the details of health monitor¶
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.
Open the "Health Monitors" tab and click the Health Monitor resource name for more information.
The information that can be confirmed on the details screen of the health monitor is as follows.
category |
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":The load balancer does not have a config waiting to be applied.
・"CREATE_STAGED":The config added to the load balancer is waiting to be applied.
・"UPDATE_STAGED":The config to be changed to the load balancer is waiting to be applied.
・"DELETE_STAGED":The config to be deleted by the 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 in which the config is being applied to the 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. |
|
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¶
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.
Open the "Health Monitors" tab and click "Edit Health Monitor" from the Actions pull-down for the health monitor you want to edit.
Enter the settings you want to edit and click "Edit Health Monitor".
The items that can be configured when editing the health monitor are as follows.
category |
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]
|
||
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) |
If the config status of the health monitor is "UPDATE_STAGED" or "CREATE_STAGED", to execute "Apply Load Balancer Settings" puts editing the health monitor completed.
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 load balancer settings together with other setting items.
Cancel health monitor settings¶
In the Managed Load Balancer list screen, click the resource name of the Managed Load Balancer whose health monitor settings you want to cancel.
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 settings.
The confirmation screen for canceling the health monitor settings is displayed, click "Confirmation of Cancellation of Health Monitor Settings".
Delete health monitor¶
In the Managed Load Balancer list screen, click the resource name of the Managed Load Balancer whose health monitor settings you want to delete.
Open the Health Monitor tab and click "Delete Health Monitor" from the Actions pull-down for the health monitor you want to delete.
The confirmation screen for deleting the health monitor is displayed, click "Delete Health Monitor".
Note
After the health monitor config status becomes "DELETE_STAGED" by this operation, the health monitor settings will not be deleted from the load balancer instance until "Apply Load Balancer Settings" are executed. If you want to delete the health monitor settings from the load balancer instance, execute "Apply Load Balancer Settings" following this operation.
If you want to cancel the setting that is "DELETE_STAGED", execute "Cancel the Health Monitor Settings".
Confirm that the status of the health monitor is "DELETE_STAGED".
Execute "Apply Load Balancer Settings" to complete the deletion of the health monitor.
Note
You can apply the load balancer settings together with other setting items.