一个DC

Bind a priority queuing policy

一个fter you create a priority queuing policy, you must bind it to the appropriate virtual server to put it into effect.

Bind a priority queuing policy by using the CLI

一个t the command prompt, type the following commands to bind a policy and verify the configuration:

——绑定磅vserver <名称> -policyName < policyname >- show lb vserver  

Example:

> bind lb vserver lbvip -policyname pol_cgibin Done > show lb vserver lbvip lbvip (8.7.6.6:80) - HTTP Type: ADDRESS State: DOWN Last state change was at Wed Jul 15 05:54:24 2009 (+782 ms) Time since last state change: 26 days, 05:44:37.370 Effective State: DOWN Client Idle Timeout: 180 sec Down state flush: ENABLED Disable Primary Vserver On Down : DISABLED Port Rewrite : DISABLED No. of Bound Services : 0 (Total) 0 (Active) Configured Method: LEASTCONNECTION Mode: IP Persistence: NONE Vserver IP and Port insertion: OFF Push: DISABLED Push VServer: Push Multi Clients: NO Push Label Rule: none 1) Policy : ns_cmp_msapp Priority:0 1) Priority Queuing Policy : pol_cgibin Done 

Bind a priority queuing policy by using the GUI

  1. In the navigation pane, locate and select the virtual server to which you want to bind the priority queuing policy.
    • To select a load balancing virtual server, expand Traffic Management > Load Balancing > Virtual Servers, then select the load balancing virtual server that you want..
    • To select a content switching virtual server, expand Traffic Management > Content Switching > Virtual Servers, then select the content switching virtual server that you want..
  2. In the Configure Virtual Server dialog box, select the Policies tab.
  3. Click the double right-arrow (») symbol to display the complete list of policy types, and then select Priority Queuing from the drop-down list.
  4. Click Insert Policy.
  5. In the Policy Name row, select the policy that you want to bind from the drop-down list.
  6. ClickOK to save your changes.
Bind a priority queuing policy