Load Balance Storefront with Citrix ADC 11.x/12.x

Based on my previous arcticle Installing & Configure XenApp/XenDesktop 7.12 on Windows Server 2016 , i am now going to load balance Storefront by adding additional VM.

overview

 

The following Storefront VM’s will be used in the LAB Setup for Load Balancing:-

  • LAB-SF1 : 192.168.0.56
  • LAB-SF2: 192.168.0.57

LAB-SF2 has been created and added to server group as per below:-

Add 2nd StoreFront Server

Step 1 : Launched Citrix StoreFront Console on LAB-SF1. Server Groups Menu and Add Server

stjoin2

Step 2 : On LAB-SF2 , Join existing Server Group and add the details provided on LAB-SF1

stjoin1

Step 3 : LAB-SF2 will now be joined to the Storefront Server Group

stjoin3

Step 4: Validation of successfully joining will be confirmed with the below screenshot.

stjoin4

Create Netscaler Load Balance

The following sequence i will use in order to create the Load Balance Configuration:-

  • Create Servers
  • Create Monitor
  • Create Service Group
  • Create Virtual Server

Step 1: Under Configuration, browse to Traffic Management > Load Balancing >Servers

sf1

Step 2: Click Add

sf2

Step 3: Add each Storefront Server with the following info, then click Create

  • Name:  LAB-SF1/LAB-SF2
  • IP Address:  192.168.0.56/192.168.0.57

sf3sf4

Step 4: Browse to Traffic Management > Load Balancing >Monitors and Click Addsf5

Step 5: Add LAB-SF-MON as name, Type as STOREFRONT, select Special Parameters Tab

sf6

Step 6: Select Special Parameters Tab, add the following info and click Create

  • StoreName:  LabStore
  • StoreFront Account Service: Ticked
  • Check Backend Services :  Ticked

sf7

Step 6: Browse to Traffic Management > Load Balancing >Service Groups and Click Addsf8

Step 7: Type Name LAB-SVG-SF as Name, Protocol as HTTP, Click OK

sf9

Step 8: Select No Service Group Members

sf10

Step 9: Select, click to select

sf11

Step 9: Tick  LAB-SF1, then click Select

sf14

Step 10: Enter Port 80 and click create

sf13

Step 11: Again Select, click to select

sf11

Step 12: Tick  LAB-SF2, then click Select

sf15

Step 13: Enter Port 80 and click create

sf16

Step 14: Verify both server are added to binding, Click Close

sf18

Step 15: Assign the LAB-MON-SF Monitoring to the Service Group.

Step 16: Service Group will now show the status of the newly created Service Group, confirm is both Enabled/UP

sf19

Step 17: Browse to Traffic Management > Load Balancing > Virtual Servers and click Add

sf20

Step 18: Add the following to basic settings, then click OK

  • Name:  LAB-VSRV-SF
  • Protocol: HTTP
  • IP Address: 192.168.0.91
  • Port : 80

sf21

Step 19: Click No Load Balancing Virtual Server ServiceGroup Binding

sf22

Step 20: Select Click to Select

sf23

Step 21: Under Service Group, Select the LAB-SVG-SF and Click Select

sf24

Step 22: Click Bind

sf25

Step 23: Click Continuesf26

Step 24: Choose Persistence from Right hand menu, then configure

  • Persistance Type: Source IP
  • Timeout (mins):
  • IPv4 NetMask: 255.255.255.255
  • IPv6 NetMask Length: 128

sf27

Step 25: Choose Method from Right hand menu, the configure and click Done

  • Load Balancing Method: LEASTCONNECTION
  • Backup LB Method: NONE

sf28a

Step 26: Confirm virtual Server state/Effective State is UP

sf28

Create DNS A Record & Storefront Base URL

Step 1: Create a Host Record with the Name and IP Address of desired load balance name. In this case it is LAB-SF/192.168.0.91

dns1

Step 2: Open Citrix Studio > Server Group and click Change Base URL

dns2

Step 3: Change Base URL to the new Load Balance Name, LAB-SF. Click OK

dns3

Step 4: Note the Base URL will change. Then Click Propagate changes.

dns2a

4 comments

Leave a Reply