Configuring Clustering
The primary tasks in setting up Citrix Gateway clustering are:
- Decide which Citrix Gateway appliance or VM will be the configuration coordinator, and create a cluster instance on that system (if one is not already present).
- Join Citrix Gateway systems to the cluster as nodes.
- Create a node group on the cluster instance, with the STICKY option set.
- Bind a single cluster node to the cluster node group.
- Configure a Citrix Gateway virtual server on the configuration coordinator and bind it to cluster node group.
Note that multiple methods are available for configuring a Citrix ADC cluster. The following set of tasks uses the most direct method available in the configuration utility.
To create a Citrix Gateway cluster instance by using the configuration utility
Once you have all of the deployment details in order, begin the configuration on the Citrix Gateway that will be the configuration coordinator.
Caution: Creating the cluster instance clears the configuration. If you need to save the existing system configuration for reference, archive a copy before continuing with the cluster configuration. Any existing settings to be used in the cluster can be reapplied on the configuration coordinator after the cluster is established.
- Log on to the Citrix ADC configuraton utility at the NSIP address.
- Expand the System node, then the Cluster subnode.
- In the details pane, click Manage Cluster.
- In the Cluster Configuration dialog box, set the parameters required to create the cluster.
- Enter a Cluster instance ID. This is the numeric identifier for the cluster instance. The default value is 1 but you can set it to any number from 1 to 16.
- Enter the Cluster IP address. This will be the cluster’s configuration coordinator IP address, which is the management IP address for the cluster.
- Select the preferred Backplane interface. This is this Citrix Gateway interface to use for communication among the cluster nodes.
- Click Create.
- At the prompt to confirm system reboot, click Yes.
- Wait for system to restart. Once available, log on to the configuration utility at the Cluster IP address configured in step 4b.
- Note, in the System Information detail pane, that the local Node at the NSIP address is reported as configuration coordinator. This confirms that the base cluster instance is now operating.
The local node of the configuration coordinator is automatically added to the cluster. More nodes can be added in the following task.
Adding Nodes to a Citrix Gateway Cluster
Once the cluster instance has been established, you can begin to add other Citrix Gateway nodes to the cluster.
To add more Citrix Gateway systems to the cluster, you can use the configuration utility to remotely issue the cluster-node-creation and join-cluster settings.
Note: Adding nodes to the cluster should be completed before configuring your Citrix Gateway setup. This way, you will not have to repeat the Citrix Gateway configuration if something goes wrong with your cluster configuration and you want to remove the cluster and begin again.
- Log on to the Citrix ADC configuraton utility at the Cluster IP address.
- Expand the System node, then the Cluster subnode.
- In the details pane, click Manage Cluster.
- In the Cluster Nodes details pane, click Add.
- In the Create Cluster Node pane, enter a unique Node id for this node.
- Enter the Citrix ADC IP address of the system to add as a cluster node.
- In the Cluster Node credentials pane, enter the Citrix Gateway username and password for the remote Citrix Gateway system.
- In the Configuration Coordinator credentials pane, enter the password for the local authorized user.
- Click Create.
- When prompted, click YES to allow the system configuration to be saved and perform a warm reboot of the remote Citrix Gateway.
Repeat steps 4 through 9 for each additional remote Citrix Gateway system that you want to configure as a cluster node.
Verify that the cluster nodes are included in the Active Node List in the Cluster Nodes detail pane. If any nodes are missing, repeat steps 4 through 10 until all of the necessary nodes are listed.
Creating a Cluster Node Group
Once the cluster nodes have been added, a cluster node group can be created.
- Log on to the Citrix ADC configuraton utility at the Cluster IP address.
- Expand the System node, then the Cluster subnode.
- Click Node Groups.
- In the details pane, click Add.
- Enter a name for the cluster node group.
- Select the Sticky option. This is required to support the Citrix Gateway virtual server type.
- Click Continue.
The cluster node group is now established. Before leaving this area of the configuration utility, you can bind the local Citrix Gateway node to the new cluster node group. This will be the only node bound to the cluster group.
Bind the local cluster node to the cluster node group
Because a Citrix Gateway cluster configuration is a spotted type, only one node can be bound to the node group. The following procedure binds the local node on the configuration coordinator to the node group, but any node in the cluster can be used for this binding.
- In the Advanced pane, expand Cluster Nodes.
- In the middle Cluster Nodes pane, select No Cluster Node.
- On the Cluster Node configuration screen, click Bind.
- Select the local node represented by the NSIP address for this Citrix Gateway system.
- Click Insert.
- Click OK.
- Click Done.
The cluster is now populated and ready to share a Citrix Gateway virtual server as configured by the following task.
Binding a Citrix Gateway Virtual Server to the Cluster Node Group
With a cluster established, you can proceed to build the Citrix Gateway configuration the cluster deployment is intended to serve. To tie the configuration to the cluster, you need to create the Citrix Gateway virtual server and bind it to a cluster node group that is set to type Sticky. After the virtual server is bound to the cluster node group, you can continue to configure the Citrix Gateway.
If multiple Citrix Gateway virtual servers are configured, those must be bound to the cluster node group as well.
Note:If Citrix Gateway virtual servers have not yet been configured, you might have to first enable the Citrix Gateway and Authentication, Authorization and Auditing features first under System > Settings > Configure Basic Features.
- Log on to the Citrix ADC configuraton utility at the Cluster IP address.
- Expand the System node, then the Cluster subnode.
- Click Node Groups.
- In the Node Group pane, select the desired node group name, and then click Edit.
- In the Advanced pane on the right, expand the Virtual Servers option, and then click the + icon to add a virtual server.
- Choose the VPN Virtual Server type, and then click Continue.
- Click Bind.
- If the needed virtual server is listed, select it, then click Insert, and then click OK.
- If you have to create a new virtual server, click Add. Proceed through the Citrix ADC Virtual Server configuration. Minimally, all that is needed is to create the virtual server so that it can be bound to the cluster node group.
- Once the virtual server is available in the Citrix Gateway Virtual Servers list, select it, and then click Insert.
- Click OK.
- Click Done.
Note: If multiple Citrix Gateway virtual servers are configured, those must be bound to the cluster node group as well using this same method.