Citrix Netscaler RADIUS Monitor and RADIUS Load Balancer

From Swivel Knowledgebase
Revision as of 12:52, 11 May 2017 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Introduction

Citrix 10.5 allows the RADIUS to be monitored and load balanced in a number of ways. Earlier versions such as 10.1 also have this capability but have different configuration screens.

Where Swivel Single Channel Sessions (TURing, Pinpad), and SMS by On Demand Authentication and Mobile Provision Codes, it is expected that Appliance Synchronisation will also be used.


Prerequisites

Swivel HA solution

Netscaler 10.x


Baseline

Swivel 3.10.3

Netscaler 10.5


Swivel Configuration

The Swivel servers should be setup as indicated in the integration guide.

Configure a RADIUS NAS entry for the Netscaler SNIP interface, see RADIUS Configuration

Optionally set Authenticate non-user with just password: to Yes and configure a non Swivel user with a static password, see RADIUS Static Password.


Netscaler Configuration

The Netscaler Configuration should be setup and tested to be working before attempting these steps.


Create a Swivel Radius Monitor

On the Netscaler Administration console Configutration Tab select Traffic management/Load Balancing/Monitors, then Add

Expand the Special Parameters and add Response Codes to 3 for Access Reject and add 2 for Access Accept

Set Username to an appropriate test user

Set Password to the required value if Authenticate non-user with just password if authenticate non Swivel user is used (or random if not)

Set RADIUS Key to the value for the Swivel RADIUS NAS

Leave other settings as default

Click Create to create the Monitor


Netscaler 10-5 Monitor Create Monitor Special Parameters 3 Access Reject.jpg Netscaler 10-5 Monitor Create Monitor Special Parameters Accept and Reject.jpg


The Monitor should appear in the list.


Netscaler 10-5 Monitor Create Monitor.jpg


Create Entries for the Swivel RADIUS Servers

On the Netscaler Administration console Configutration Tab select Traffic management/Load Balancing/Servers, then Add. Enter the details for each of the Swivel RADIUS servers. If the Swivel servers are already configured, then this step can be skipped over.

Enter Server Name' and IP Address/Hostname


Netscaler 10-5 Monitor Create Server Primary.jpg Netscaler 10-5 Monitor Create Server Standby.jpg


Click Create to create the Server


Netscaler 10-5 Monitor Create Server.jpg


Create a Swivel Load Balance Service Group

On the Netscaler Administration console Configutration Tab select Traffic management/Load Balancing/Service Group, then Add.

Enter the Name, Protocol RADIUS, then click OK, and


Netscaler 10-5 Monitor Load Balancing Service Group.jpg


Click below the Service Group members to add members to the group, select the Server Based radio button to add in the Swivel RADIUS servers and enter Port 1812. Repeat for each Swivel server to be added.


Netscaler 10-5 Monitor Create Virtual Server Service Group Binding Members Add Member Primary.jpg Netscaler 10-5 Monitor Create Virtual Server Service Group Binding Members Add Member Standby.jpg


Add the Monitor to the Load Balance Server Group

From the Right Handside select Monitor so it appears at the bottom then click it again to add the Swivel RADIUS Monitor.


Netscaler 10-5 Monitor Create Virtual Server Service Group Binding Monitors Add binding.jpg


Click Bind to add it, then Done.


Create A Virtual Server

On the Netscaler Administration console Configutration Tab select Traffic management/Load Balancing/Virtual Servers, then Add. Enter a Name for the Virtual Server IP Address, Protocol and Port.

Netscaler 10-5 Monitor Load Balancing Virtual Server Basic Settings.jpg


Click OK to create the entry


Add the Service Group to the Virtual Server

After configuring the Virtual Server, the Service section will appear, click on OK to bring up the Service Group on the right hand side.


Netscaler 10-5 Monitor Load Balancing Virtual Server Service Group.jpg


Click on the Service Group, it will appear at the bottom allowing it to be seleceted, and then click on Select Service Group Name to choose the required service group created earlier.


Netscaler 10-5 Monitor Load Balancing Service Group binding.jpg


Then click Bind


Add the Method to the Virtual Server

Select Method and then from the Load Balancing Method drop down select ROUNDROBIN then click on OK.


Netscaler 10-5 Monitor Create Virtual Server Service Group Method.jpg


Click Done and the Virtual server should be created.


Netscaler 10-5 Monitor RADIUS running.jpg


Netscaler RADIUS configuration

The Netscaler can now be configured to use the new Virtual Server as its RADIUS servers following the original documentation.


Testing

When functioing RADIUS entries will be seen in the Swivel RADIUS logs for each test.

Try RADIUS authentications and see which Swivel server that recieves them. Stopping one RADIUS server should indicate on the Virtual Servers that health is degraded, i.e. 50% for two servers.


Known Issues

The load balancing can produce a large number of logs.


Troubleshooting