NetScaler — an LB virtual server with a service group
- Services & wireless
- Intermediate
- 15 min
- 3 steps
- Cisco IOS-style
- citrix-netscaler
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
CLIENT— routerNS1— load balancerSRV1— routerSRV2— router
What you will do
On NS1, create the HTTP service group
sg_web, bindweb1andweb2on port 80, and bind the monitormon_http. Then check it withshow serviceGroup sg_web.Create the LB virtual server
vs_webfor HTTP on 10.1.0.100 port 80, bindsg_webto it, and look at it withshow lb vserver vs_web.Switch on load balancing with
enable ns feature LB, then runshow lb vserver vs_webagain.
Open this lab in your browser →
More labs on this topic
- Configure a DHCP serverBeginner · 12 min
- WLAN — broadcast a basic SSIDBeginner · 10 min
- HSRP: configure first-hop redundancyIntermediate · 12 min
- BIG-IP — a virtual server, a pool and an HTTP monitorIntermediate · 25 min
- NAT: PAT (overload) for an inside LANIntermediate · 14 min
- HSRP — interface tracking with priority decrementIntermediate · 12 min
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ụ