Integrated Caching Configuration Changes When Using XenApp/XenDesktop Wizard on NetScaler Gateway 10.5

Integrated Caching Configuration Changes When Using XenApp/XenDesktop Wizard on NetScaler Gateway 10.5

book

Article ID: CTX200883

calendar_today

Updated On:

Description

This article provides information about Integrated Caching configuration changes when using XenApp/XenDesktop wizard on NetScaler Gateway 10.5.

NetScaler/NetScaler Gateway has introduced a very simplified and easy-to-use configuration wizard for setting up XenApp and XenDesktop environments. An administrator can run the wizard which takes the admin through a series of steps. After the wizard completes, the NetScaler is configured for frontend XenApp/XenDesktop setups. The wizard executes several configurations on the NetScaler according to the options selected by the administrator. A few of these configurations are related to Integrated Cache feature as well. 

When the wizard was introduced, NetScaler did not allow Integrated Cache policies to be bound to VPN/Gateway virtual server. Hence, the Integrated Cache policies were bound at Global level. The Cache feature provided a lot of performance benefits and enhanced user experience for a typical XenApp/XenDesktop environments.

The VPN/Gateway module on NetScaler has been enhanced to allow Integrated Cache policy bindings as well. With this enhancement in place, the XenApp/XenDesktop config wizard was also enhanced to configure the Integrated Cache configurations directly onto the VPN/Gateway virtual server itself. The latest 10.5-56.12 release build contains a fix that no longer configures Global level Cache policies.

Cache configurations from XenApp/XenDesktop wizard before the fix

enable ns fea IC
set cache parameter -memLimit 100 
add cache contentGroup XA_XD_10.102.87.108_ctntgrp -relExpiry 600
add cache policy XA_XD_1.1.1.1_cachepol -rule true -action CACHE -storeInGroup XA_XD_1.1.1.1_ctntgrp
bind cache global XA_XD_1.1.1.1_cachepol -priority 10 -gotoPriorityExpression END -type REQ_DEFAULT
add vpn vserver vs1 SSL 10.102.216.6 443 -Listenpolicy NONE
bind vpn vserver vs1 -policy _cacheTCVPNStaticObjects -priority 10 -gotoPriorityExpression END -type REQUEST
bind vpn vserver vs1 -policy _cacheOCVPNStaticObjects -priority 20 -gotoPriorityExpression END -type REQUEST
bind vpn vserver vs1 -policy _cacheVPNStaticObjects -priority 30 -gotoPriorityExpression END -type REQUEST
bind vpn vserver vs1 -policy _noCacheRest -priority 40 -gotoPriorityExpression END -type REQUEST
bind vpn vserver vs1 -policy _cacheWFStaticObjects -priority 10 -gotoPriorityExpression END -type RESPONSE

All the preceding Cache policies bound to VPN/Gateway virtual server are in-build policies that are more specific in cacheable content. 

Cache configuration from XenApp/XenDesktop wizard after the fix

add vpn vserver vs1 SSL 10.102.216.6 443 -Listenpolicy NONE
bind vpn vserver vs1 -policy _cacheTCVPNStaticObjects -priority 10 -gotoPriorityExpression END -type REQUEST
bind vpn vserver vs1 -policy _cacheOCVPNStaticObjects -priority 20 -gotoPriorityExpression END -type REQUEST
bind vpn vserver vs1 -policy _cacheVPNStaticObjects -priority 30 -gotoPriorityExpression END -type REQUEST
bind vpn vserver vs1 -policy _noCacheRest -priority 40 -gotoPriorityExpression END -type REQUEST
bind vpn vserver vs1 -policy _cacheWFStaticObjects -priority 10 -gotoPriorityExpression END -type RESPONSE

Issue/Introduction

This article provides information about Integrated Caching configuration changes when using XenApp/XenDesktop wizard on NetScaler Gateway 10.5.