| addlbprofile |
Use this method to creates a LB profile. |
Syntax |
Parameters |
lbprofilename |
Name of the LB profile. This is mandatory parameter. |
dbslb |
Enable database specific load balancing for MySQL and MSSQL service types. Default value = DISABLED. |
processlocal |
By turning on this option packets destined to a vserver in a cluster will not under go any steering. Turn this option for single pa
cket request response mode or when the upstream device is performing a proper RSS for connection based distribution. Default value = DISABLED. |
httponlycookieflag |
Include the HttpOnly attribute in persistence cookies. The HttpOnly attribute limits the scope of a cookie to HTTP requests and helps mitigate the risk of cross-site scripting attacks. Default value = ENABLED. |
cookiepassphrase |
Use this parameter to specify the passphrase used to generate secured persistence cookie value. It specifies the passphrase with a maximum of 31 characters. |
useencryptedpersistencecookie |
Encode persistence cookie values using SHA2 hash. Default value = DISABLED. |
literaladccookieattribute |
String configured as LiteralADCCookieAttribute will be appended as attribute for Citrix ADC cookie (for example: LB cookie persistence , GSLB site persistence, CS cookie persistence, LB group cookie persistence).
Sample usage -
add lb profile lbprof -LiteralADCCookieAttribute ";SameSite=None" |
computedadccookieattribute |
ComputedADCCookieAttribute accepts ns variable as input in form of string starting with $ (to understand how to configure ns variable, please check man add ns variable). policies can be configured to modify this variable for every transaction and the final value of the variable after policy evaluation will be appended as attribute to Citrix ADC cookie (for example: LB cookie persistence , GSLB sitepersistence, CS cookie persistence, LB group cookie persistence). Only one of ComputedADCCookieAttribute, LiteralADCCookieAttribute can be set.
Sample usage -
add ns variable lbvar -type TEXT(100) -scope Transaction
add ns assignment lbassign -variable $lbvar -set "\\";SameSite=Strict\\""
add rewrite policy lbpol |
storemqttclientidandusername |
This option allows to store the MQTT clientid and username in transactional logs Default value = NO. |
lbhashalgorithm |
This option dictates the hashing algorithm used for hash based LB methods (URLHASH, DOMAINHASH, SOURCEIPHASH, DESTINATIONIPHASH, SRCIPDESTIPHASH, SRCIPSRCPORTHASH, TOKEN, USER_TOKEN, CALLIDHASH). Default value = NS_HASH_DEFAULT. |
lbhashfingers |
This option is used to specify the number of fingers to be used in PRAC and JARH algorithms for hash based LB methods. Increasing the number of fingers might give better distribution of traffic at the expense of additional memory. Default value = 256. Minimum value = 1. Maximum value = 1024. |
proximityfromself |
Use the ADC location instead of client IP for static proximity LB or GSLB decision. Default value = NO. |
Return Value |
Returns simpleResult |
See Also |