Kemp Support, how can we help?

The latest application delivery knowledge and expertise at your fingertips.

How to forward traffic to a specific SubVS (sub Virtual Service) or Real Server

 

Information

 

Summary:

How to forward traffic to a specific SubVS or Real Server

Environment:

Product: LoadMaster

Version: Any

Platform: Any

Application: Any 

Question/Problem Description:

How can traffic be separated to go to a specific SubVS or Real Server using content matching rules?

Steps to Reproduce:  
Error Message:  
Defect Number:  
Enhancement Number:  
Cause:  
Resolution:
  • A Content Rule must first be created to match on the specific traffic. To create one, navigate to Rules & Checking > Content Rules > Create New. Name the rule, leave the Rule Type as Content matching, indicate the header to be investigated, and indicate your Match String. In the Match String, content should be in RegEx format. A popular option is to check the Ignore Case box, to make traffic case insensitive. Once configured, click Create Rule.
  • Examples of the rules and how to configure them can be found here.
  • A regex string can be tested and verified here.
  • Once the rule is created, it must then be applied to the appropriate service.  Navigate to Virtual Services > View/Modify Services > modify the desired Virtual Service > Real Servers section.  Click Add SubVS.
    • If this option isn't here, it's because there are already real servers associated with this service, these must first be removed.  One there are no Real Servers, the option to add subVSs will then appear. 
  • With the SubVS added, click Advanced Properties > Content Switching > Enable. A new Rules column appears on your SubVS. Click the resulting "0", then find and click your rule and click Add.
    • This will direct any traffic that matches on the content rule to that particular subVS.
  • A demonstration of how this can be achieved can be found here.

 

Workaround: This can also be done without the use of SubVSs by adding real servers to the Virtual Service. The basic steps will be the same, but SubVSs won't be involved.
Notes:  

Was this article helpful?
0 out of 0 found this helpful

Comments