It is a function to specify and register protocols used by Servers that can be the targets of load balancing.
Here, the registration method and functions to edit and delete a registered service will be introduced.
Service Registration Function
Method to register a Service to a Load Balancer will be introduced here.
Settings will be performed mainly in [ Services ].
Presumed case for sample setting
From the [ Configuration ] menu, move to [ Traffic Management ] → [ Load Balancing ] → [ Services ]. After the Services screen is displayed, click [ Add ].
On the Basic Settings screen, input parameters of the table below.
For the Existing Server, set the servers registered on the Server Registration screen.
Setting Items
|
Setting value
|
Service Name |
htpp1 (any name)
|
Existing Server |
web1(192.168.2.12) |
Protocol |
HTTP |
Port |
80 |
Note
In the load balancing setting, protocols are specified at the time of service registration.
With NetScaler VPX, process optimization in accordance with the protocol will be performed when the protocol is specified. It may give better throughput compared with the case of no protocol specification.
In addition, some functions such as SSL Offload are not usable unless the protocol is specified. We would recommend you to specify a protocol in accordance with a balancing communication.
Input the set values and click [ More ].
After clicking, input as the table below on the Additional Items screen.
Setting Items
|
Setting value
|
Traffic Domain |
10 (10 is mandatory)
|
ServerID |
None |
Cache Type |
SERVER |
Input the set values and click [ OK ].
The details screen of the Service will be displayed. Check the following items and click [ Done ].
Operation check result
When the initial screen of Service Registration is displayed, we can check that the registered servers are displayed and that [ State ] is [ Enabled ].
Therefore, the service registration is confirmed.
Function to change registered service settings.
Function to change the items of a server already registered to a Load Balancer will be introduced here.
Presumed case for sample setting
Item to change
|
Contents
|
Hash ID |
Specify 2
|
Server ID |
2 (change: None→2)
|
Insert Client IP Address |
Change to: enabled
|
Header |
X-Forwarded-For (change: Client IP→X-Forwarded-For)
|
Monitor Name |
http (change: tcp-default→http)
|
From the [ Configuration ] menu, move to [ Traffic Management ] → [ Load Balancing ] → [ Services ].
After the Services screen is displayed, select a Service you want to change the setting, and click [ Edit ].
The details screen of the Services will be displayed. Click the Edit icon in the [ Basic Setting ] section.
Input as follows on the Service screen.
Setting Items
|
Setting value
|
Hash ID |
2 |
Server ID |
2(None→2) |
Change the parameters and click [ Continue ].
The details screen of the Service will be displayed. Check the items to change and click the Edit icon in the [ Settings ] section.
Input as follows on the Setting Items screen.
Setting Items
|
Setting value
|
Insert Client IP Address |
Check mark
|
Header |
X-Forwarded-For |
Change the parameters and click [ OK ].
The details screen of the Service will be displayed. Check the items to change and
click [ Service to Load Balancing Monitor Binding ] item of the [ Monitors ].
In Monitors part, you can set the protocol used for the health check conducted between the Server and the Load Balancer.
Items of [ Service Load Balancing Monitor Binding ] will be displayed. Click [ Add Binding ].
Items of [ Load Balancing Monitor Binding ] will be displayed. Click [ Click to select ] in [ Select Monitor ] section.
Items of the [ Monitors ] will be displayed. Select [ http ] and click [ Select ].
Items of [ Load Balancing Monitor Binding ] will be displayed. Check that [ http ] is specified in [ Select Monitor ] section and click [ Bind ] .
Items of [ Service Load Balancing Monitor Binding ] will be displayed. Check that [ http ] is specified in [ Monitor Name ] section and
that [ Current State ] is [ Up ], and click [ Close ].
The details screen of the Service will be displayed. Check the [ Server State ] of the Service changed is [ Up ], and
click [ Done ].
Operation check result
As we checked that [ Server State ] of the Service is [ Up ],
we confirmed that the Service registration is made correctly even after the registration change.
Note
If the State is [ Unknown ], please wait for a while or update the screen.
Function to Delete Registered Services
Method to delete Services will be introduced here.
Presumed case for sample setting
From the [ Configuration ] menu, move to [ Traffic Management ] → [ Load Balancing ] → [ Services ]. After the Services screen is displayed, select the Services to delete, and click [ Delete ].
A Confirmation pop-up will be displayed. Click [ Yes ].
Operation check result
As the Service Names selected from the Services screen have disappeared,
we could confirm that the Services deletion is complete.
Note
If set on a Virtual server, State and Effective State of the Virtual Server side are displayed as [ Down ].