A Service Group function that enables grouping of multiple servers and batch registration will be introduced here.
By grouping, protocols, health check method and the like, that are used by multiple Servers can be set and changed together.
Function to Register a Service Group
Method to register a Service Group to a Load Balancer will be introduced here.
Settings will be performed mainly in [ Service Groups ].
Presumed case for sample setting
From the [ Configuration ] menu, move to [ Traffic Management ] → [ Load Balancing ] → [ Service Groups ]. After the Service Groups screen is displayed, click [ Add ].
On the Basic Settings screen, input parameters below.
Setting Items
|
Setting value
|
Name |
www1 (any group name)
|
Protocol |
HTTP |
Traffic Domain |
10 (10 is mandatory)
|
Cache Type |
SERVER |
Input the set value and click [ OK ].
The details screen of the Service Groups will be displayed. Click [ No Service Group Member ] of [ Service Group Members ].
The Create Service Group Member will be displayed. Select the [ Server Based ] button and click [ Click to select ] in [ Select Server ] item.
The Server Selection screen will be displayed. Select servers you want to group and click [ Select ].
On the Create Service Group Member screen, input as in the following table.
Setting Items
|
Setting value
|
Select Server |
Web1, web2 (Grouped Server Name)
|
Port |
80 |
Weight |
1 |
Server Id |
100 (arbitrary: default none)
|
Hash Id |
100 (arbitrary: default none)
|
Input the set values and click [ Create ].
The details screen of the Service Group will be displayed. Check that [ 2 Service Group Members ] is displayed in [ Service Group Members ], and click [ Monitors ] in [ Advanced Settings ] in the right side of the screen.
The details screen of the Service Group will be displayed. Click [ No Service Group to Monitor Binding ].
The Load Balancing Monitor Binding screen will be displayed. Click [ Click to select ] in [ Select Monitor ] section.
Select [ http ] on the Select Monitor screen, and click [ Select ].
The Load Balancing Monitor Binding screen will be displayed. Check that specified [ http ] is registered in [ Select Monitor ], set information to [ Binding Details ], and click [ Bind ] .
On the details screen of the Basic Settings, input parameters of the table below.
Reporting items
|
Contents
|
Name |
www1 (created group name)
|
State |
ENABLED |
Effective State |
Up |
Input the set values and click [ Done ].
Operation check result
We have confirmed that the Service Group is registered correctly because registered ServiceGroup is displayed on the Service Group screen and because [ State ] is [ ENABLED ] and [ Effective State ] is [ UP ] on the Service Group screen.
Function to Change Registered Service Group Settings.
Function to change the items of a service group already registered to a Load Balancer will be introduced here.
Presumed case for sample setting
Item to change
|
Contents
|
Client Idle Time-out |
60 (change: 180→60)
|
Server Idle Time-out |
60 (change: 360→60)
|
Use Client IP |
Change Use Client IP to enabled
|
Client Keep-alive |
Change Client Keep-alive to enabled
|
Client IP |
Change Client IP to enabled
|
Header |
Specify X-Forwarded-For
|
From the [ Configuration ] menu, move to [ Traffic Management ] → [ Load Balancing ] → [ Service Groups ]. After the Service Groups screen is displayed, select the target [ Service Group Name ] and click [ Edit ].
After the Service Groups screen is displayed, select the target [ Service Group Name ] and click [ Edit ].
The details screen of the Service Group will be displayed. From [ Advanced Settings ] in the right side of the screen, click [ Thresholds & Timeouts ].
Input as follows on the Thresholds&Timeouts screen.
Item to change
|
Setting value
|
Client Idle Time-out |
60 (change: 180→60)
|
Server Idle Time-out |
60 (change: 360→60)
|
Input the set values and click [ OK ].
The details screen of the Service Group will be displayed. Check that changed items are reflected, and click [ Settings ] from [ Advanced Settings ] in the right side of the screen.
On the details screen of the Basic Settings, input parameters of the table below.
Item to change
|
Setting value
|
Use Client IP |
Check mark
|
Client Keep-alive |
Check mark
|
Client IP |
Check mark
|
Header |
X-Forwarded-For |
Input the set values and click [ OK ].
The details screen of the Service Group will be displayed. Check that changed items are reflected, and click [ Done ].
Operation check result
As we checked that the [ Server State ] is [ Up ] in the Service Group (ww1), we confirmed that the Service registration is made correctly even after the Service registration is changed.
Function to Delete Registered Service Groups
Method to delete Service Groups will be introduced here.
Presumed case for sample setting
From the [ Configuration ] menu, move to [ Traffic Management ] → [ Load Balancing ] → [ Service Groups ]. After the Service Groups screen is displayed, select the target [ Service Group Name ] and click [ Delete ].
A Confirmation pop-up will be displayed. Click [ Yes ].
Operation check result
As the Service Groups Name selected from the Service Groups screen disappeared from the list, we have confirmed the deletion.
Note
If set on a Virtual server, State and Effective State of the Virtual Server side are displayed as [ Down ].