11.2.4.3. Function to Register/Edit/Delete a Service Group

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

Note

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

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

  • Assume that we want to group Virtual Web Servers (192.168.2.12) and (192.168.2.13).

Configuration diagram
Fig7101
From the [ Configuration ] menu, move to [ Traffic Management ] → [ Load Balancing ] → [ Service Groups ]. After the Service Groups screen is displayed, click [ Add ].
Fig7102
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
Fig7103
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 ].
Fig7104
The Create Service Group Member will be displayed. Select the [ Server Based ] button and click [ Click to select ] in [ Select Server ] item.
Fig7105
The Server Selection screen will be displayed. Select servers you want to group and click [ Select ].
Fig7106
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 ].
Fig7107
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.
Fig7108
The details screen of the Service Group will be displayed. Click [ No Service Group to Monitor Binding ].
Fig7109
The Load Balancing Monitor Binding screen will be displayed. Click [ Click to select ] in [ Select Monitor ] section.
Fig7110
Select [ http ] on the Select Monitor screen, and click [ Select ].
Fig7111
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 ] .
Fig7112
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 ].
Fig7113

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

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

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

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

Fig7501
The details screen of the Service Group will be displayed. From [ Advanced Settings ] in the right side of the screen, click [ Thresholds & Timeouts ].
Fig7502
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 ].
Fig7503
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.
Fig7504
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 ].
Fig7505
The details screen of the Service Group will be displayed. Check that changed items are reflected, and click [ Done ].
Fig7506

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

Function to Delete Registered Service Groups

Method to delete Service Groups will be introduced here.

Presumed case for sample setting

  • Assume that we want to delete a registered Service Group.

Configuration diagram
Fig7601
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 ].
Fig7602
A Confirmation pop-up will be displayed. Click [ Yes ].
Fig7603

Operation check result

As the Service Groups Name selected from the Service Groups screen disappeared from the list, we have confirmed the deletion.
Fig7604

Note

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