ADC CLI Commands

pq-policy

The following operations can be performed on “pq-policy”:

set rm unset stat add show

set pq policy

Modifies the attributes of a priority queuing policy. NOTE: This command is deprecated.

Synopsis

Arguments

policyName Name of the priority queuing policy to be modified.

weight Weight of the priority. Each priority is assigned a weight according to which it is served when server resources are available. The weight for a higher priority request must be set higher than that of a lower priority request. To prevent delays for low-priority requests across multiple priority levels, you can configure weighted queuing for serving requests. The default weights for the priorities are:

  • Gold - Priority 1 - Weight 3
  • Silver - Priority 2 - Weight 2
  • Bronze - Priority 3 - Weight 1 Specify the weights as 0 through 101. A weight of 0 indicates that the particular priority level should be served only when there are no requests in any of the priority queues. A weight of 101 specifies a weight of infinity. This means that this priority level is served irrespective of the number of clients waiting in other priority queues. Minimum value: 0 Maximum value: 101

qDepth Queue depth threshold value. When the queue size (number of requests in the queue) on the virtual server to which this policy is bound, increases to the specified qDepth value, subsequent requests are dropped to the lowest priority level. Default value: 0 Minimum value: 0 Maximum value: 4294967294

polqDepth Policy queue depth threshold value. When the policy queue size (number of requests in all the queues belonging to this policy) increases to the specified polqDepth value, subsequent requests are dropped to the lowest priority level. Default value: 0 Minimum value: 0 Maximum value: 4294967294

rm pq policy

Removes a priority queuing policy from the appliance. NOTE: This command is deprecated.Priority Queuing feature has been deprecated in favour of AppQoE

Synopsis

Arguments

policyName Name of the priority queuing policy to be removed.

unset pq policy

Use this command to remove pq policy settings.Refer to the set pq policy command for meanings of the arguments.NOTE: This command is deprecated.

Synopsis

stat pq policy

Displays statistics of the priority queuing policy. NOTE: This command is deprecated.Priority Queuing feature has been deprecated in favour of AppQoE

Synopsis

Arguments

policyName Name of the priority queuing policy whose statistics must be displayed. If a name is not provided, statistics of all priority queuing policies are shown.

detail Specifies detailed output (including more statistics). The output can be quite voluminous. Without this argument, the output will show only a summary.

fullValues Specifies that numbers and strings should be displayed in their full form. Without this option, long strings are shortened and large numbers are abbreviated

ntimes The number of times, in intervals of seven seconds, the statistics should be displayed. Default value: 1 Minimum value: 0

logFile The name of the log file to be used as input.

clearstats Clear the statsistics / counters

Possible values: basic, full

Output

count devno stateflag

Counters

Toatal queue wait time (QWaitTim) Amount of time spent by priority queuing clients waiting in the priority queue.

Toatal queue wait time (QWaitTim) Amount of time spent by priority queuing clients waiting in the priority queue.

Avg queue wait time (AvWtTime) Average wait time for clients for this priority queuing policy.

Avg clt transaction time (AvgTime) Average time taken by a priority queuing client to complete its transaction for this priority queuing policy.

Vserver IP (VsIP) IP address of the virtual server to which this priority queuing policy is bound.

Vserver port (VsPort) Port number of the virtual server to which this priority queuing policy is bound.

Current queue depth (Qdepth) Number of clients waiting currently for this priority queuing policy.

Current server connections (ServCons) Current number of server connections established for serving clients for this priority queuing policy.

Server TCP connections (TotServCon) Total number of server connections established for serving clients for this priority queuing policy.

Client requests dropped (Dropped) Total number of dropped transactions for this priority queuing policy.

Client HTTP transactions (CltTrns) Total number of client transactions for this priority queuing policy.

Queue depth (TotQLen) Total number of waiting clients for this priority queuing policy.

Avg clt transaction time (us) (AvgTime) Average time taken by a priority queuing client to complete its transaction for this priority queuing policy.

Toatal queue wait time (QWaitTim) Amount of time spent by priority queuing clients waiting in the priority queue.

add pq policy

Adds a priority queuing policy to the appliance. Note: To use the priority queuing policy on a virtual server, the virtual server must have priority queuing enabled and the priority queuing policy must be bound to the load balancing virtual server. To enable priority queuing on the virtual server and to bind the policy, use the set lb vserver and bind lb vserver commands. NOTE: This command is deprecated.Priority Queuing feature has been deprecated in favour of AppQoE

Synopsis

Arguments

policyName Name for the priority queuing policy. Must begin with a letter, number, or the underscore symbol (_). Other characters allowed, after the first character, are the hyphen (-), period (.) hash (#), space ( ), at (@), equals (=), and colon (:) characters.

rule Expression or name of a named expression, against which the request is evaluated. The priority queuing policy is applied if the rule evaluates to true.

Note:

  • On the command line interface, if the expression includes blank spaces, the entire expression must be enclosed in double quotation marks.
  • If the expression itself includes double quotation marks, you must escape the quotations by using the \ character.
  • Alternatively, you can use single quotation marks to enclose the rule, in which case you will not have to escape the double quotation marks.
  • Maximum length of a string literal in the expression is 255 characters. A longer string can be split into smaller strings of up to 255 characters each, and the smaller strings concatenated with the + operator. For example, you can create a 500-character string as follows: ‘“<string of 255 characters>” + “<string of 245 characters>”’

priority Priority for queuing the request. If server resources are not available for a request that matches the configured rule, this option specifies a priority for queuing the request until the server resources are available again. Enter the value of positive_integer as 1, 2 or 3. The highest priority level is 1 and the lowest priority value is 3. Minimum value: 1 Maximum value: 3

weight Weight of the priority. Each priority is assigned a weight according to which it is served when server resources are available. The weight for a higher priority request must be set higher than that of a lower priority request. To prevent delays for low-priority requests across multiple priority levels, you can configure weighted queuing for serving requests. The default weights for the priorities are:

  • Gold - Priority 1 - Weight 3
  • Silver - Priority 2 - Weight 2
  • Bronze - Priority 3 - Weight 1 Specify the weights as 0 through 101. A weight of 0 indicates that the particular priority level should be served only when there are no requests in any of the priority queues. A weight of 101 specifies a weight of infinity. This means that this priority level is served irrespective of the number of clients waiting in other priority queues. Minimum value: 0 Maximum value: 101

qDepth Queue depth threshold value. When the queue size (number of requests in the queue) on the virtual server to which this policy is bound, increases to the specified qDepth value, subsequent requests are dropped to the lowest priority level. Default value: 0 Minimum value: 0 Maximum value: 4294967294

polqDepth Policy queue depth threshold value. When the policy queue size (number of requests in all the queues belonging to this policy) increases to the specified polqDepth value, subsequent requests are dropped to the lowest priority level. Default value: 0 Minimum value: 0 Maximum value: 4294967294

show pq policy

Displays information about the priority queuing policy. NOTE: This command is deprecated.Priority Queuing feature has been deprecated in favour of AppQoE

Synopsis

Arguments

policyName Name of the priority queuing policy about which to display information. If a name is not provided, information about all priority queuing policies is shown.

Output

stateflag rule The condition for applying the policy.

priority The priority of queuing the request.

weight Weight.

qDepth Queue Depth.

polqDepth Policy Queue Depth.

hits Total number of hits.

devno count

pq-policy