11.2.4.2. Function to Register/Edit/Delete a Service

Operation Confirmed Version:
 Citrix Netscaler VPX Version11.0 Build67.12 Standard Edition
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.

Note

To register a service by the following procedure, the server should be registered in advance.

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

  • Assume that we want to register a Service of the Virtual Web Server (192.168.2.12) to the Load Balancer (192.168.2.11).

Configuration diagram
Fig6101
From the [ Configuration ] menu, move to [ Traffic Management ] → [ Load Balancing ] → [ Services ]. After the Services screen is displayed, click [ Add ].
Fig6102
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 ].
Fig6103
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 ].
Fig6104
The details screen of the Service will be displayed. Check the following items and click [ Done ].
Fig6105

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.
Fig6106

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

  • Assume that we want to change a service of the Virtual Web Server as follows.

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 ].
Fig6301
The details screen of the Services will be displayed. Click the Edit icon in the [ Basic Setting ] section.
Fig6302
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 ].
Fig6304
The details screen of the Service will be displayed. Check the items to change and click the Edit icon in the [ Settings ] section.
Fig6304
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 ].
Fig6305
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.
Fig6306
Items of [ Service Load Balancing Monitor Binding ] will be displayed. Click [ Add Binding ].
Fig6307
Items of [ Load Balancing Monitor Binding ] will be displayed. Click [ Click to select ] in [ Select Monitor ] section.
Fig6308
Items of the [ Monitors ] will be displayed. Select [ http ] and click [ Select ].
Fig6309
Items of [ Load Balancing Monitor Binding ] will be displayed. Check that [ http ] is specified in [ Select Monitor ] section and click [ Bind ] .
Fig6310
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 ].
Fig6311
The details screen of the Service will be displayed. Check the [ Server State ] of the Service changed is [ Up ], and
click [ Done ].
Fig6312

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.
Fig6313

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

  • Assume that we want to delete Services on a Virtual Web Server (192.168.2.12).

Configuration diagram
Fig6401
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 ].
Fig6402
A Confirmation pop-up will be displayed. Click [ Yes ].
Fig6403

Operation check result

As the Service Names selected from the Services screen have disappeared,
we could confirm that the Services deletion is complete.
Fig6404

Note

If set on a Virtual server, State and Effective State of the Virtual Server side are displayed as [ Down ].