Configuring node groups for spotted and partially striped configurations
To configure a node group for spotted and partially striped configurations you must first create a node group and then bind the required nodes to the node group. You then associate the required entities to that node group. The entities that are bound to the node group are of the following:
- Spotted - If bound to a node group that has a single node.
- Partially Striped - If bound to a node group that has more than one node.
Some points to remember:
- GSLB is supported on a cluster only when GSLB sites are bound to node groups that have a single cluster node. For more information, see Setting Up GSLB in a Cluster.
- Citrix Gateway is supported on a cluster only when the VPN virtual servers are bound to node groups that have a single cluster node. The sticky option must be enabled on the node group.
- For versions prior to NetScaler 11, the application firewall is supported only on individual cluster nodes (spotted configuration). Application firewall profiles can be associated only with virtual servers that are bound to node groups that have a single cluster node. It means that application you are not allowed to do the following:
- Bind application firewall profiles to striped or partially striped virtual servers.
- Bind the policy to a global bind point or to user-defined policy labels.
- Unbind, from a node group, a virtual server that has application firewall profiles.
- NetScaler 11 introduced application firewall support for striped and partially striped configurations. For more information, see Application Firewall Support for Cluster Configurations.
Check Citrix ADC Features Supported in a Cluster to see the NetScaler versions from which GSLB, Citrix Gateway, and application firewall are supported in a cluster.
To configure a node group by using the command line interface
-
Log on to the cluster IP address.
-
Create a node group. Type:
add cluster nodegroup <name> -strict (YES | NO)<!--NeedCopy-->
Example
add cluster nodegroup NG0 -strict YES
-
Bind the required nodes to the node group. Type the following command for each member of the node group:
bind cluster nodegroup <name> -node <nodeId><!--NeedCopy-->
Example
To bind nodes with IDs 1, 5, and 6.
> bind cluster nodegroup NG0 -node 1 > bind cluster nodegroup NG0 -node 5 > bind cluster nodegroup NG0 -node 6
-
Bind the entity to the node group. Type the following command once for every entity that you want to bind:
bind cluster nodegroup <name> (-vServer <string> | -identifierName <string> | -gslbSite <string> -service <string>)<!--NeedCopy-->
Note
The gslbSite and service parameters are available from NetScaler 10.5 onwards.
Example
To bind virtual servers VS1 and VS2 and rate limit identifier named identifier1.
> bind cluster nodegroup NG0 -vServer VS1 > bind cluster nodegroup NG0 -vServer VS2 > bind cluster nodegroup NG0 -identifierName identifier1
-
Verify the configurations by viewing the details of the node group. Type:
show cluster nodegroup <name><!--NeedCopy-->
Example
> show cluster nodegroup NG0
To configure a node group by using the configuration utility
- Log on to the cluster IP address.
- Navigate to System > Cluster > Node Groups.
- In the details pane, click Add.
- In the Create Node Group dialog box, configure the node group:
- Under Cluster Nodes, click the Add button.
- The Available list displays the nodes that you can bind to the node group and the Configured list displays the nodes that are bound to the node group.
- Click the + sign in the Available list to bind the node. Similarly, click the - sign in the Configured list to unbind the node.
- Under Virtual Servers, select the tab corresponding to the type of virtual server that you want to bind to the node group. Click the Add button.
- The Available list displays the virtual servers that you can bind to the node group and the Configured list displays the virtual servers that are bound to the node group.
- Click the + sign in the Available list to bind the virtual server. Similarly, click the - sign in the Configured list to unbind the virtual server.
- Under Cluster Nodes, click the Add button.