Network labs Docs Open simulator →

NetScaler — an LB virtual server with a service group

Build load balancing on the NetScaler NS1: a service group with two web servers and an HTTP monitor, an LB virtual server on 10.1.0.100:80 bound to it, and the LB feature switched on. You will see that a virtual server without enable ns feature LB exists but stays DOWN.

Open this lab in your browser →

Free · no install · no account

Scenario

On a NetScaler (Citrix ADC), load balancing is built from small objects that you add and then bind together: - Server (add server): a name for a back-end address. web1 (10.2.0.11) and web2 (10.3.0.12) already exist. - Service group (add serviceGroup): the back-end servers of one protocol, each with a port. You bind servers into it. - Monitor (add lb monitor): a health check. mon_http already exists: it sends GET / and expects status code 200. You bind it to the service group. - LB virtual server (add lb vserver): the address and port clients use. You bind the service group to it. Two more facts matter here: - A NetScaler uses its SNIP (subnet IP) to talk to the servers. NS1 has a SNIP in each server subnet: 10.2.0.5 and 10.3.0.5. - Load balancing is a feature that must be switched on with enable ns feature LB. Without it you can still add a virtual server, but it does not serve traffic. NS1 already has its management address (NSIP 10.1.0.6), its VLANs, its SNIPs, the two servers and the monitor. Every command is typed at the > prompt and takes effect at once.

Topology

3 × router, 1 × load balancer · Cisco IOS-style, citrix-netscaler

What you will do

  1. On NS1, create the HTTP service group sg_web, bind web1 and web2 on port 80, and bind the monitor mon_http. Then check it with show serviceGroup sg_web.

  2. Create the LB virtual server vs_web for HTTP on 10.1.0.100 port 80, bind sg_web to it, and look at it with show lb vserver vs_web.

  3. Switch on load balancing with enable ns feature LB, then run show lb vserver vs_web again.

Open this lab in your browser →

More labs on this topic

This lab in other languages

NetScaler — ein virtueller LB-Server mit einer Service GroupNetScaler — un servidor virtual LB con un grupo de serviciosNetScaler — um servidor virtual LB com um grupo de serviçosNetScaler — un serveur virtuel LB avec un groupe de servicesNetScaler — सर्विस ग्रुप के साथ एक LB वर्चुअल सर्वरNetScaler — 带服务组的 LB 虚拟服务器NetScaler — un server virtuale LB con un gruppo di serviziNetScaler — サービスグループを使う LB 仮想サーバーNetScaler — 서비스 그룹을 사용하는 LB 가상 서버NetScaler — виртуальный сервер LB с группой сервисовNetScaler — hizmet grubu kullanan bir LB sanal sunucusuNetScaler — máy chủ ảo LB với một nhóm dịch vụ