Note:

Deploy VMware NSX Advanced Load Balancer on Oracle Cloud VMware Solution SDDC

Introduction

Oracle Cloud VMware Solution allows customers to build VMware Software-Defined Data Center (SDDC) stack on Oracle Cloud Infrastructure (OCI). With this, customers can easily migrate VMware workloads to the public cloud without refactoring application workloads or toolsets. This enables VMware workloads to access public cloud services and benefits from the scale and agility offered by public cloud infrastructure.

VMware NSX Advanced Load Balancer (formerly known as Avi Networks) is a self-service multi-cloud application services platform that ensures consistent application delivery, bringing software load balancers, Web Application Firewall (WAF), and container ingress for applications across data centers and clouds.

VMware NSX Advanced Load Balancer (NSX ALB) helps administrators to manage load balancing requirements on VMware and cloud platforms. It offers enterprise automation, elastic scale, agility, flexibility, speed, and cost effectiveness.

Oracle Cloud VMware Solution NSX ALB series will cover the deployment and integration of functionalities (virtual service, Global Server Load Balancing (GSLB) and so on) on Oracle Cloud VMWare Solution.

This is the first tutorial which describes how to deploy and configure VMware NSX ALB (Avi) controllers as a cluster on Oracle Cloud VMware Solution Software-Defined Data Center (SDDC).

Note:

Objective

RackWare RMM BYOL

Task 1: Create NSX-T Overlay Segment

We need to deploy three NSX ALB (Avi) controllers and they will have a virtual IP (VIP) associated with them. In the next tutorial, we will deploy Service Engines which also requires management IP addresses. We will create a dedicated NSX-T overlay segment which will be used to host management addresses for the components. As the environment will grow we will require management IP’s.

  1. Log in to the Oracle Cloud VMWare Solution NSX-T portal, navigate to Networking and Segments. Under NSX tab, click Add Segment.

  2. Enter the Classless Inter-Domain Routing (CIDR) details and click SAVE to save the configuration.

    Note: Do not enable DHCP on it.

    RackWare RMM BYOL

Task 2: Enable the Communication to and from the Overlay Segment

Oracle Cloud VMware Solution SDDC management virtual machines (VM’s) that is vCenter and NSX-T Manager need to communicate with the NSX ALB (Avi) controllers. For more information about detailed steps on how to establish communication from NSX-T overlay segment to Oracle Cloud VMware Solution management VM’s, see Enable DNS resolution for Oracle Cloud VMware Solution Management VMs and ESXi Host from NSX-T Overlay Segment.

Once the connectivity has been set up, we should be able to reach the default gateway of the overlay segment from Oracle Cloud VMware Solution SDDC vCenter and from NSX-T.

RackWare RMM BYOL

RackWare RMM BYOL

On the overlay segment, we have deployed a test machine to verify the connectivity is working well.

RackWare RMM BYOL

Task 3: Create Domain Name System (DNS) entries for the NSX ALB (Avi) Controllers

We need to deploy three NSX ALB (Avi) controllers. They will be part of a cluster and will be accessible over a virtual IP. Let’s create four DNS entries on OCI VCN DNS.

  1. Log in to the OCI Console, navigate to Networking, Virtual Cloud Networks and click the VCN.

  2. Click DNS Resolver, Associated private view and the VCN. if the VCN is not present, then click Manage private views, select the VCN and click Save.

  3. Under Zone name, click OCVS SDDC domain. It is region specific. In this tutorial, it is sddc.fra.oci.oraclecloud.com.

  4. We should see all the existing A Records which have been created during Oracle Cloud VMware Solution SDDC provisioning. We need to create the records here.

  5. Click Manage records and Add record. Enter the DNS Name for the first controller. In this tutorial, we are naming it as avi-controller-01. Enter the following details and click Add record.

    Add Host to DR Wave

  6. Repeat steps 1 to 5 and create all the DNS A Records. Three DNS records for NSX ALB (Avi) controller and the last one for the virtual IP. After creating the records, click Publish changes.

    Add Host to DR Wave

  7. To confirm the changes, click Confirm publish changes.

    Add Host to DR Wave

    Add Host to DR Wave

Task 4: Deploy the NSX ALB (Avi) Controllers

  1. Log in to the Oracle Cloud VMware Solution vCenter portal, right-click on the cluster and click Deploy OVF Template. Select the NSX ALB (Avi) controller Open Virtual Appliance (ova) file and click Next.

    Add Host to DR Wave

  2. Enter the name for the VM followed by the cluster to be deployed on. Review the ova details and accept the self-signed certificate.

  3. Select the datastore, followed by overlay segment avi-mgmt for network connectivity. Enter the IP address, Subnet Mask, Default Gatweway, Hostname and click Finish.

    Add Host to DR Wave

    Add Host to DR Wave

    Power on the VM once the import is successful.

  4. Repeat steps 1 to 3 and deploy the remaining two NSX ALB (Avi) controller.

    Add Host to DR Wave

Task 5: Configure the NSX ALB (Avi) Controllers

We now need to configure the controllers and assign virtual IP to them.

  1. Access the first NSX ALB (Avi) controller via browser, enter the password (we can specify any password) and click CREATE ACCOUNT.

    Add Host to DR Wave

  2. Enter the Passphrase, DNS Resolver, DNS Search Domain and click NEXT.

    Add Host to DR Wave

  3. Enter Email/SMTP details and click NEXT.

  4. Keep the default options for Multi-Tenant. Select Setup Cloud After and click SAVE.

    Add Host to DR Wave

  5. In this tutorial, we are using a trial evaluation license. Navigate to Administration Licensing and click the settings icon. Select the licensing edition to Enterprise Tier, enter the license key and click Save.

    Note: Enterprise license is only supported for NSX ALB (Avi) controller on Oracle Cloud VMware Solution SDDC.

    Add Host to DR Wave

    Add Host to DR Wave

  6. Under the Administration tab, click Controller and Nodes. Under the cluster node, click EDIT and update the hostname for the controller (avi-controller-01). The controller will initialize and will be back to ready state in few minutes.

    Add Host to DR Wave

    Add Host to DR Wave

  7. Repeat steps 1 to 6 for the other remaining controllers, that is avi-controller-02 and avi-controller-03.

  8. Log in to any controller, click Administration, Controller tab and click Nodes link. Click the edit link.

    • Enter the NSX ALB (Avi) controller, cluster VIP details and click Save. It will take few minutes and the cluster status will be back to available or green state.

      Add Host to DR Wave

    • If the Cluster IP is in grey state, then change the virtual IP to another IP temporarily (In this tutorial, we changed the IP to 172.28.10.10) and revert to the original IP. This should bring virtual IP to green available state.

      Add Host to DR Wave

      Add Host to DR Wave

NSX ALB (Avi) controller is now accessible over virtual IP and the set up is in available or green state. NSX Advanced Load Balancer (Avi) controllers have been deployed and configured as a cluster.

Next Steps

To configure VMware NSX ALB (Avi) controller and create additional NSX-T overlay segments on the Oracle Cloud VMware Solution Software-Defined Data Center (SDDC), see Tutorial 2: Configure VMware NSX Advanced Load Balancer on Oracle Cloud VMware Solution.

Acknowledgments

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.