Using Wildcard Virtual Servers in Citrix ADC CPX Instance
When you provision a Citrix ADC instance, only one private IP address (single IP address) is assigned to a Citrix ADC CPX instance by the Docker engine. The three IP functions of a Citrix ADC instance are multiplexed onto one IP address. This single IP address uses different port numbers to function as the NSIP, SNIP, and VIPs.
The single IP address that is assigned by the Docker engine is dynamic. Add the Load Balancing (LB) or Content Switching (CS) virtual servers using the single IP address or using 127.0.0.1 IP address. The virtual servers created using 127.0.0.1 is called as Wildcard Virtual Servers. By default, when you create a wildcard virtual server, the Citrix ADC CPX replaces the assigned IP address of the wildcard virtual server. The assigned IP address is 127.0.0.1, with the NSIP assigned to the Citrix ADC CPX instance by the Docker engine.
In high-availability Citrix ADC CPX deployments, you can add wildcard virtual servers on one of the Citrix ADC CPX instances and copy the ns.conf file from the instance to other Citrix ADC CPX instances in the deployment and ensure that the Citrix ADC configuration is consistent across all the Citrix ADC CPX instances in the deployment instead of identifying the single IP address assigned by the Docker engine to the Citrix ADC instance and create the LB or CS virtual servers based on the single IP address on all the Citrix ADC CPX instances in the deployment.
Points to Note:
Ensure that the port number that you assign to the wildcard virtual server is not used by any other virtual server in the deployment.
The wildcard virtual server does not support the * character.
To create a wildcard load balancing virtual server, at the command prompt, enter the following command:
add lb vserver <name> <serviceType> 127.0.0.1 <port> add lb vserver testlbvserver HTTP 127.0.0.1 30000
To create a wildcard content switching virtual server, at the command prompt, enter the following command:
add cs vserver <name> <serviceType> 127.0.0.1 <port> add cs vserver testcsvserver HTTP 127.0.0.1 30000