Virtual Service Placement Settings

Overview

Due to the distributed nature of Avi Service Engines, Avi Controller will directly extend Avi Service Engine’s NICs to the virtual service IP network and pool member networks.

Avi Controller allows an user to make this network attachment decision manually by providing options on the Virtual Service Placement Settings menu in conjunction with the static routes. Related UI configuration is discussed in detail under the Configuration section.

Network Scenarios

Consider an use case with the following discovered networks by Avi Controller. The discovered networks are considered as directly connected networks by Avi Controller.

  • 10.10.10.0/24
  • 10.10.20.0/24
  • 10.10.30.0/24

Servers on an External Network

The virtual service placement will fail without a static route to the remote server.

img1

Servers on the Discovered Network

By default, a Service Engine will directly extend its connectivity to the server network by adding a NIC. In order to force a SE to reach a server by Layer 3, select Prefer Static Routes on Virtual Service Placement Settings and configure a static route for the server IP address.

img2

Note: The first option on Virtual Service Placement Settings does not apply to the virtual IP unless the second option is selected.

Virtual Service IP on the Discovered Network

By default, a SE will extend its connectivity to the virtual service IP network directly by adding a NIC. To force a SE to attach to the selected network for a virtual service IP, select both Prefer Static Routes and Use Routes for Network Resolution of VIP on Virtual Service Placement Settings and configure a static route for the virtual service IP.

img3

In this case, the Layer 3 switch should have a proper static route entry to reach the virtual service.

Note: In this example, choosing the second option without choosing the first will have no effect on the virtual service IP network selection.

Configuration

The Virtual Service Placement Settings menu will be displayed during the initial installation menu of Avi Controller or you can change it after the installation by navigating to Infrastructure > Cloud and clicking on the edit icon. The Static Routes menu is also available in the same location.

For the placement settings, click on the edit icon on the right end of the cloud and for the static routes menu, click on the name of the cloud.

The screenshots for configuration in VMware and Linux server clouds are as shown below.

vmware

linux_cloud

Note: Virtual Service Placement Settings are configured on a per-cloud basis.