Configure service groups
Create service groups
To create a service group by using the command line
add servicegroup <ServiceGroupName> <Protocol>
add servicegroup Service-Group-1 HTTP
To create a service group by using the configuration utility
Bind a service group to a virtual server
To bind a service group to a virtual server by using the command line interface
bind lb vserver <name>@ <serviceGroupName>
bind lb vserver Vserver-LB-1 Service-Group-1
To bind a service group to a virtual server by using the GUI
-
Navigate to Traffic Management > Load Balancing > Virtual Servers, and open a virtual server.
-
In Advanced Settings, select Service Groups.
Bind a member to a service group
To add members to a service group by using the command line interface
bind servicegroup <serviceGroupName> (<IP>@ | <serverName>) <port>
bind servicegroup Service-Group-1 10.102.29.30 80
bind servicegroup Service-Group-2 1000:0000:0000:0000:0005:0600:700a:888b 80
bind servicegroup CitrixEdu s1.citrite.net
To add members to a service group by using the configuration utility
-
Navigate to Traffic Management > Load Balancing > Service Groups and open a service group.
-
Click in the Service Group section, and do one of the following:
-
To add an IP based service group member, select IP Based.
-
To add a server-name based service group member, select Server Based.
If you want to add a domain-name based service group member, select Server Based. With this option, you can add any server that has been assigned a name, regardless of whether the name is an IP address or a user-assigned name. -
-
If adding a new IP based member, in the IP Address text box, type the IP address. If the IP address uses IPv6 format, select the IPv6 check box and then enter the address in the IP Address text boxNote: You can add a range of IP addresses. The IP addresses in the range must be consecutive. Specify the range by entering the starting IP address in the IP Address text box (for example, 10.102.29.30). Specify the end byte of the IP address range in the text box under Range (for example, 35). In the Port text box type the port (for example, 80), and then click Add.
-
Click Create.
Bind a monitor to a service group
To bind a monitor to a service group by using the command line interface
bind serviceGroup <serviceGroupName> -monitorName <string> -monState ( ENABLED | DISABLED)
bind serviceGroup Service-Group-1 -monitorName monitor-HTTP-1
To a bind monitor to a service group by using the configuration utility
-
Navigate to Traffic Management > Load Balancing > Service Groups.
-
Open a service group and, in Advanced Settings, click Monitors.
Retain the original state of a service group member after disabling and enabling a virtual server
-
Two applications are deployed on the same port on a virtual server.
-
Two service groups with a common member are bound to this virtual server, and the common member is enabled in one group and disabled in the other.
-
The server is disabled and then reenabled.