Enterprise Cloud Knowledge Center

  • Documents
  • FAQ
  • Known Issues
  • Service Status
Home >Documents >Enterprise Cloud 2.0 Tutorial v2.7.0 > 11. Using Load Balancer > 11.2. Configuration example of Citrix NetScaler VPX > 11.2.4. Load Balancing function >11.2.4.10. How to maintain a session by Cookie Insert

11.2.4.10. How to maintain a session by Cookie Insert¶

Operation Confirmed Version:
 Citrix Netscaler VPX Version11.0 Build67.12 Standard Edition
As a method to maintain a session, Cookie Insert will be introduced here.
At EC site or the like, communications repeated with a client (user) have to be maintained. By maintaining the session set up initially, this function can keep the communication with the same server, and prevent contradiction generation in the communication (such as in screen transition).

Presumed case for sample setting

  • Assume that we want to set up a session maintenance to the Virtual Web Server for the access from the client.

Configuration diagram
Fig10001
From the [ Configuration ] menu, move to [ Traffic Management ] → [ Load Balancing ] → [ Virtual Servers ]. After the Virtual Servers screen is displayed, select the target [ Server Name ] and click [ Edit ].
Fig10002
On the Virtual Server Details screen, click [ Persistence ] from [ Advanced Settings ] in the right side of the screen.
Fig10003
Click the [ Persistence ] menu.
Fig10004
Select [ COOKIEINSERT ].
Fig10005
Input as follows on the Persistence screen.

Setting Items

Setting value

Persistence COOKIEINSERT
Time-out 10
Cookie name testcookie(任意の名前)
Set the parameters and click [ OK ].
Fig10006
Check that [ Persistence COOKIEINSERT ] is displayed in [ Persistence ], and click [ Done ].
Fig10007
On the Virtual Servers screen, check that the target Server [ Persistence ] is set to [ COOKIEINSERT ], and that [ State ] and [ Effective State ] are [ Up ].
Fig10008

Operation check result

Access web pages twice and check if the accesses are made to the same Virtual Web Server 1.
  • Two (2) times of access records to the Virtual Web Server 1 are confirmed.

Fig10009
  • Communication record was not confirmed in the Virtual Web Server 2 log.

Fig10010
Next, with a Virtual PC on the client (user) side, check by using packet capture if cookie is communicated.
From the result of packet capture, a set testcookie was confirmed in each communication that accessed web pages twice.
Fig10011
Fig10012

11.2.4.9. Setting Server Distribution Method
11.2.4.11. How to register a certificate

Table Of Contents

  • 1. Introduction
  • 2. Use Service Provider Business Portal (Business Portal)
  • 3. How to Create & Connect Networks
  • 4. Use Image Storage
  • 5. Use Baremetal Server
  • 6. Use Virtual Server
  • 7. Using Storage
  • 8. Use Dedicated Hyper-Visor
  • 9. Using Monitoring
  • 10. Use Firewall
  • 11. Using Load Balancer
  • 12. Use Backup Service
  • 13. How to describe SAP HANA Set
  • 14. How to Use Oracle
  • 15. Use SQL Server
  • 16. How To Use HULFT
  • 17. Use Windows Server Remote Desktop Services SAL
  • 18. Use Arcserve
  • 19. Use Cloud Foundry
  • 20. DNS
  • 21. How to subscribe Power Systems
  • 22. Launching the Hybrid Cloud with Microsoft Azure
  • 23. Use Global Server Load Balance
  • 24. Using the Security menu
  • 25. Use Deployment Manager
  • 26. Use Cloud Management Platform (CMP)
  • 27. Additional Resources To Obtain Help
  • 28. Use Enterprise Cloud CLI/SDK
  • 29. Revision History
Copyright © NTT Limited and NTT Communications All Rights Reserved.
NTT Limited