citrix netscaler load balancer configuration - cisco · citrix netscaler load balancer...

of 20 /20
Citrix NetScaler Load Balancer Configuration Introduction to Citrix NetScaler Load Balancer, page 1 Basic Configuration, page 4 HTTPS Load Balancing Configuration, page 7 Introduction to Citrix NetScaler Load Balancer Cisco Unified Intelligence Center is a flexible and intuitive web-based reporting platform providing you with reports on relevant business data. With Unified Intelligence Center, you can create a comprehensive information portal where contact center reports and dashboards are developed and shared throughout the organization. In large, Unified Intelligence Center deployments, the Citrix NetScaler 1000v (Load Balancer) is used to load balance Unified Intelligence Center HTTP and HTTPS traffic. Qualified Product Version Unified Intelligence Center: 11.0(1) Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1) 1

Author: truongtuong

Post on 01-May-2018

237 views

Category:

Documents


4 download

Embed Size (px)

TRANSCRIPT

  • Citrix NetScaler Load Balancer Configuration

    Introduction to Citrix NetScaler Load Balancer, page 1

    Basic Configuration, page 4

    HTTPS Load Balancing Configuration, page 7

    Introduction to Citrix NetScaler Load BalancerCisco Unified Intelligence Center is a flexible and intuitive web-based reporting platform providing you withreports on relevant business data.With Unified Intelligence Center, you can create a comprehensive informationportal where contact center reports and dashboards are developed and shared throughout the organization. Inlarge, Unified Intelligence Center deployments, the Citrix NetScaler 1000v (Load Balancer) is used to loadbalance Unified Intelligence Center HTTP and HTTPS traffic.

    Qualified Product Version

    Unified Intelligence Center: 11.0(1)

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1) 1

  • Citrix NS: appliance Edition: Citrix NetScaler 1000v (10.1 Build 125.8)

    Figure 1: Network Topology

    Figure 2: Access Unified Intelligence Center with HTTP/HTTPS

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1)2

    Citrix NetScaler Load Balancer ConfigurationIntroduction to Citrix NetScaler Load Balancer

  • http://support.citrix.com/proddocs/topic/netscaler/ns-gen-netscaler-wrapper-con.html

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1) 3

    Citrix NetScaler Load Balancer ConfigurationIntroduction to Citrix NetScaler Load Balancer

    http://support.citrix.com/proddocs/topic/netscaler/ns-gen-netscaler-wrapper-con.html

  • Basic ConfigurationSystem Settings and License

    On the Citrix NetScaler 1000v screen, configure the settings and upload the license. Go to theConfigurationtab > Settings > Configure Basic features.

    Figure 3: System Configuration

    Upload the license, without it license SSL does work on Citrix NetScaler 1000v. On the Configuration tab> Settings > System > Licenses >Manage License > Update License.

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1)4

    Citrix NetScaler Load Balancer ConfigurationBasic Configuration

  • Network ConfigurationThe clients communicate to Load balancer through the Virtual IP (VIP) and Load balancer communicates toUnified Intelligence Center through its Subnet IP (SNIP).

    Figure 4: Unified Intelligence Center with Load Balancer

    To configure the network, on the Citrix NetScaler 1000v screen, go to Configuration tabNetworkIPIPV4s

    Create Subnet IP

    Procedure

    Step 1 Click Add, to add IP address and select Type as Subnet IP.Step 2 Click Create to create the desired IP address.

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1) 5

    Citrix NetScaler Load Balancer ConfigurationNetwork Configuration

  • Create VIP

    Procedure

    Step 1 Click Add, to add IP address and select Type as Virtual IP.Step 2 Click Create to create the desired IP address.

    Create Routes

    Procedure

    Step 1 Create routes to the network from where http or https requests comes to the Load Balancer.Creating routes areoptional.

    Note

    Step 2 Click Create to create the desired route.

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1)6

    Citrix NetScaler Load Balancer ConfigurationCreate VIP

  • HTTPS Load Balancing ConfigurationCreate virtual server entries, one for each port. In Unified Intelligence Center, three ports require monitoring(HTTP ports 80, 8081 and https port 8444). Each virtual server entry is the IP and port combination whichreceives the HTTP traffic from client (accessing Unified Intelligence Center report).

    Virtual servers are required to be linked with servers, to send load traffic. To check the status of the serversmonitors, they need servers assigned to each. Using the monitors, load detects the server (Unified IntelligenceCenter) failure and redistributes the incoming traffic to servers which are in good health to serve the requests.The relationship is Virtual Server > Service and Server > Monitor.

    To configure HTTPS load balancing:

    Create Monitors

    Create Servers

    Create Services with Server association

    Link each service to corresponding monitors

    Create virtual servers

    Link corresponding Services with virtual Servers

    Create Persistency Group and add virtual Servers

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1) 7

    Citrix NetScaler Load Balancer ConfigurationHTTPS Load Balancing Configuration

  • The following figure depicts three virtual server entries and its relationship.

    Figure 5: Virtual Servers

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1)8

    Citrix NetScaler Load Balancer ConfigurationHTTPS Load Balancing Configuration

  • Create MonitorsGo to Traffic Management > Load Balancing >Monitors, click Add.

    Figure 6: Monitors

    Three types of monitors are created, for port 80, 8081and 8444.Note

    Create Monitor for HTTP Port 80

    Procedure

    Step 1 On the Create Monitor window, select Type as TCP and specify all standard parameters accordingly.Step 2 Click Create to create the monitor. For HTTPS, create two monitors (one per server)

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1) 9

    Citrix NetScaler Load Balancer ConfigurationCreate Monitors

  • Figure 7: Create Monitor for HTTP Port 80

    Create Monitor for HTTP Port 8081

    Procedure

    Step 1 Complete the Name and Type field.Step 2 Select the Type HTTP and complete the Special Parameter fields.

    This monitor reports success if the response to the HTTP request is either 200 or 302. When HTTP is disabledin Unified Intelligence Center, 302 is expected otherwise, 200. So to deal with both the instances 200 and 302are included.

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1)10

    Citrix NetScaler Load Balancer ConfigurationCreate Monitors

  • Figure 8: Create Monitor HTTP Port 8081

    Figure 9: Configure Monitor

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1) 11

    Citrix NetScaler Load Balancer ConfigurationCreate Monitors

  • Create Monitor for HTTPs Port 8444

    Procedure

    Step 1 Complete the Name and Type field.Step 2 Select the Type HTTPs and complete the Special Parameter fields.

    This monitor reports success only, if the response contains a string In Service.

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1)12

    Citrix NetScaler Load Balancer ConfigurationCreate Monitors

  • Figure 10: Create Monitor HTTPs Port 8444

    Figure 11: Configure Monitor

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1) 13

    Citrix NetScaler Load Balancer ConfigurationCreate Monitors

  • Create ServersServer represents a Unified Intelligence Center node. For each Unified Intelligence Center node served bythe load balancer a server entry is required. To create server, go toTraffic Management > Load Balancing> Servers. Click Add.

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1)14

    Citrix NetScaler Load Balancer ConfigurationCreate Servers

  • Create ServicesTo create services, go toTraffic Management > Load Balancing > Services. Click Add.

    If there are no monitors associated, a default monitor is displayed in the Configured box in the ConfigureService window. Do not remove the default monitor. Select the correct monitor from the available monitorsfrom the list (cust_tcp) and click Add to move it to Configured list. Click OK.

    Once the page is refreshed, the selected monitor only is displayed and default monitor disappears, as a serviceis associated with a monitor. If nothing is configured, load balancer provides a default one, but when youselect a monitor, then load balancer removes the default monitor.

    Figure 12: Services

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1) 15

    Citrix NetScaler Load Balancer ConfigurationCreate Services

  • Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1)16

    Citrix NetScaler Load Balancer ConfigurationCreate Services

  • Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1) 17

    Citrix NetScaler Load Balancer ConfigurationCreate Services

  • Create Virtual ServerTo create a virtual server, go toTraffic Management > Load Balancing > Virtual Servers. Click Add.Select the service associated with this virtual service.

    Figure 13: Configure Virtual Server [Load Balancing]

    In theMethod and Persistence tab, selectMethod as Least Connection, Persistence as SOURCEIP andTime-out as 40.

    Configure value greater than the refresh rate, as the default historical report refresh rate is set to 30 minutes.Also, if you configure a different refresh rate for historical report, then change this value as well.

    Note

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1)18

    Citrix NetScaler Load Balancer ConfigurationCreate Virtual Server

  • Create Persistency GroupsTo create a Persistency Group, go toTraffic Management > Load Balancing > Persistency Groups. ClickAdd.

    In theMethod and Persistence tab, selectMethod as Least Connection, Persistence as SOURCEIP andTime-out as 40.

    Configure value greater than the refresh rate, as the default historical report refresh rate is set to 30 minutes.Also, if you configure a different refresh rate for historical report, then change this value as well.

    Note

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1) 19

    Citrix NetScaler Load Balancer ConfigurationCreate Persistency Groups

  • Each Unified Intelligence Center server connects on three ports and thus include the three virtual servers. Ifa client requests from HTTP 80 port, all requests from that client targeting to port 8081 and 8444 is routed tothe same Unified Intelligence Center server.

    Figure 14: Configure Persistency Group

    Cisco Unified Intelligence Center Solution Reference Network Design (SRND), Release 11.0(1)20

    Citrix NetScaler Load Balancer ConfigurationCreate Persistency Groups

    Citrix NetScaler Load Balancer ConfigurationIntroduction to Citrix NetScaler Load BalancerBasic ConfigurationNetwork ConfigurationCreate Subnet IPCreate VIPCreate Routes

    HTTPS Load Balancing ConfigurationCreate MonitorsCreate Monitor for HTTP Port 80Create Monitor for HTTP Port 8081Create Monitor for HTTPs Port 8444

    Create ServersCreate ServicesCreate Virtual ServerCreate Persistency Groups