You can use an on-demand load balancer component to add an NSX load balancer to the design canvas and configure its settings for use with vSphere machine components and Software or XaaS components that pertain to vSphere.

Before you begin

  • Create and configure load balancer settings for NSX. See Configuring vRealize Automation and NSX Administration Guide.

  • Verify that the NSX plug-in for vRealize Automation is installed and that the NSX inventory has executed successfully for your cluster .

    To use NSX configurations in vRealize Automation, you must install the NSX plug-in and run data collection.

  • Create a network profile.

  • Log in to the vRealize Automation console as an infrastructure architect.

  • Open a new or existing blueprint in the design canvas by using the Design tab.

  • Verify that at least one vSphere machine component exists in the design canvas.

About this task

The load balancer settings distribute task processing among provisioned machines in a network.

For related information about creating NSX application profiles to define the behavior of a particular type of network traffic, see the NSX Administration Guide.

Procedure

  1. Click Network & Security in the Categories section to display the list of available network and security components.
  2. Drag an On-Demand Load Balancer component onto the design canvas.
  3. Enter a component name in the ID text box to uniquely label the component in the design canvas.
  4. Select a machine name from the Machine drop-down menu.

    The list contains only vSphere machine components in the active blueprint.

  5. Select a NIC and vSphere machine to load balance from the Network adapter drop-down menu.

    The list contains NICs that are defined on the selected vSphere machine component.

  6. Select a VIP network from the VIP Network drop-down menu.
  7. (Optional) : Enter the VIP address for the NIC from the IP Address.

    The default setting is the static IP address that is associated with the VIP network. You can specify another IP address or an IP address range. By default, the next available IP address is allocated for VIP from the network profile. You can only specify an IP address when VIP is created on a NAT network.

  8. In the Virtual servers section, select the check box next to each service that you want to load balance.

    Service options include HTTP, HTTPS, and TCP.

  9. (Optional) : Accept or edit the port, algorithm, health check interval, response timeout, and service monitor URL for each selected service.
  10. Enter the address for the selected service in the URL for HTTP service text box.

    There is only a single URL available for the HTTP service control for each load balancer.

    The URL that you enter is used for service health checks. The URL for HTTP service value is not used to redirect network traffic.

    Enter the address URL for which to redirect HTTP traffic. For example, you can direct traffic from http://myweb.com to https://myweb.com. The value that you enter must match the value specified in the HTTP redirect URL setting in the NSX application.

  11. Click Save to save the current blueprint configuration or click Finish to save and exit the blueprint.

Results

The configured settings are available on the Network tab in the associated vSphere machine component.