Last updated on: 2024-04-19 09:21:35.

Nutanix AHV: BIG-IP Virtual Edition Setup

Important

The following topics demonstrate the required tasks using Nutanix AOS 5.20. See the Nutanix AOS 6.5 documentation for updated support information.

To deploy F5® BIG-IP® Virtual Edition (VE) on Nutanix Acropolis Hypervisor (AHV) AOS 5.20 and 6.5 LTS, you will perform these tasks:

Step Details
1 Choose the license you want to buy, the BIG-IP VE modules you want, and the throughput you need. See K14810: Overview of BIG-IP VE license and throughput limits on the AskF5 Knowledge Base for details.
2 Confirm that you are running a hypervisor version that is compatible with a BIG-IP VE release. See BIG-IP Virtual Edition Supported Platforms for details.
3 Verify that the host hardware meets the recommended requirements.
4 Download a supported BIG-IP VE ALL.qcow2 image from F5 Downloads page and extract all files to your local machine.
Login to your Nutanix PRISM console to upload BIG-IP VE image.
Import the BIG-IP image.
Create a VM and attach subnets.
Launch the BIG-IP configuration tool
License the BIG-IP (see K7752 article for steps).
Set up the BIG-IP HA pair.

Prerequisites for BIG-IP Virtual Edition

Nutanix Acropolis Hypervisor hardware platforms are KVM-based, and MUST meet the following KVM system requirements.

Caution

Nutanix Acropolis Hypervisor hardware platforms are subject to change without F5’s knowledge.

Host CPU requirements

The host hardware CPU must meet the following requirements.

  • The CPU must have 64-bit architecture.
  • The CPU must have virtualization support (AMD-V or Intel VT-x) enabled in the BIOS.
  • The CPU must support a one-to-one, thread-to-defined virtual CPU ratio, or on single-threading architectures, support at least one core per defined virtual CPU.
  • If your CPU supports the Advanced Encryption Standard New Instruction (AES-NI), SSL encryption processing on BIG-IP VE will be faster. Contact your CPU vendor for details about which CPUs provide AES-NI support.
  • Set CPU appropriately for the required MHz per core. For example, if the hypervisor has 2.0GHz cores, and the VE is set to 4 cores, you will need 4x2.0GHz reserved for 8GHz (or 8000MHz).

Host memory requirements

Number of cores Memory required
1 2 Gb
2 4 Gb
4 8 Gb
8 16 Gb

Upload the BIG-IP VE image

The following steps demonstrates this process using Nutanix AOS 5.20. For updated steps, see the AOS 6.5 Nutanix documentation.

  1. Log into the Nutanix AHV PRISM console.

  2. On the top menu, expand Home -> Settings, and then select the Image configuration option.

  3. On the Nutanix AHV PRISM Image Configuration window, click Upload Image, name and annotate your image, select Upload a file, click Choose file and select the extracted BIG-IP ALL.qcow2 file, and then click Save.

    ../_images/nutanix1.png

    To view the upload progress, in the top menu, expand the file alert icon:

    ../_images/nutanix2.png

Import the BIG-IP VE image

The following steps demonstrates this process using Nutanix AOS 5.20. For updated steps, see the AOS 6.5 Nutanix documentation.

  1. On the list of all uploaded images, on the top menu, click Import images.

    ../_images/nutanix3.png
  2. On the import images popup dialog, select the Images on a Cluster option, select the cluster-image option you want to import, and then click the Select images link.

    ../_images/nutanix4.png
  3. At the popup list of all images on a cluster, at the top of the list, click to clear the Name check box that deselects all files in the cluster.

    ../_images/nutanix5.png
  4. Scroll the list and select the BIG-IP image in the list, click Next, and then click Save.

  5. Do the following to view status of your imported image:

    • At the top of the window, click the Task Details:

      ../_images/nutanix6.png
    • In the top-left corner, click More, and then select Images from the left menu, click the BIG-IP image in the list to view the size, type, etc.

      ../_images/nutanix7.png

Create a VM

The following process walks you through creating an example VM using Nutanix AOS 5.2. Use this VM for deploying a BIG-IP VE HA pair. You can set these values according to your system requirements. For updated steps, see the AOS 6.5 Nutanix documentation.

  1. In the left menu click VMs, click Create VM, and then complete the popup dialog with a Name, Number of VMs set to 2, and then set the following VM Properties:

    • CPU - 2 vCPU
    • Cores per CPU - 2 cores
    • Memory - 16GB
    ../_images/nutanix8.png
  2. Click Next, on the Resource tab, click Attach Disk, complete the following, and then click Save:

    • Type - Disk
    • Operation - Clone from image
    • Image - browse for and select the BIG-IP image
    • Capacity - 81
    • Bus - SCSI
    ../_images/nutanix9.png
  3. In the Networks pane, click Attach to Subnet repeatedly to attach the following subnets (examples), and then click Save:

    • NR_PRT_DHCP

      ../_images/nutanix10.png
    • NR_PRT_STATIC

    • NR_INT_STATIC

    • NR_INT_DHCP

    Note

    Attach the interfaces to the subnets appropriate for your environment.

  4. Click Next, on the Management tab, select the Use this VM as an Agent VM option, and then click Next.

    ../_images/nutanix14.png
  5. On the Review tab, click Create VM.

  6. On the list of VMs page, do the following:

    • To view progress, in top-right corner click the blue icon.

      ../_images/nutanix15.png
    • To filter the list of VMs, in the top-right corner click Filters, in the Name pane, select the Contains option, and in the text box enter F5.

      ../_images/nutanix16.png
  7. Click the first BIG-IP VM-1 in the filtered list to view the Summary page, and then on the top menu, click Launch console to launch a Virtual Network Computing (VNC) client.

    ../_images/nutanix17.png

    This opens a VNC client and displays the console in a new tab or window. Use this console to access BIG-IP configuration utility tool and set the management IP address.

    ../_images/nutanix18.png
  8. Use the VNC client to access the BIG-IP Configuration utility tool and assign a management network IP address.

    Important

    You must repeat Steps 7-8 selecting the second BIG-IP VM-2 and assign the management network IP address.

Use BIG-IP configuration utility tool to set management IP address

If your network has DHCP, an IP address is automatically assigned to BIG-IP VE during deployment. You can use this address to access the BIG-IP VE Configuration utility or tmsh command-line utility.

If no IP address was assigned, you can assign one by using the BIG-IP Configuration utility tool.

  1. Connect to the virtual machine by using the hypervisor’s console.

  2. At the login prompt, type root.

  3. At the password prompt, type default.

    Note

    If prompted, change your password.

  4. Type config and press Enter.

    The F5 Management Port Setup screen opens.

  5. Click OK.

  6. Select No and follow the instructions for manually assigning an IP address and netmask for the management port.

    You can use a hypervisor generic statement, such as tmsh show sys management-ip to confirm that the management IP address was set properly.

    You can now log into the BIG-IP VE Config utility using a browser, and license and provision BIG-IP VE.

License your BIG-IP

To access the BIG-IP licensing utility in a browser window, use HTTPS:// and the IP address you assigned to the management network using the BIG-IP Configuration utility.

Consult the K7752 article for complete licensing steps and video demo. You can also consult the Nutanix AVH: BIG-IP VE User’s Guide for information about reusing licenses, per-app licenses, virtual server options, and other similar licensing options.

Set up the BIG-IP HA pair

This example walks you through setting up two BIG-IP VEs for an HA pair, using the following example diagram and network configuration.

../_images/nutanix-setup.png

Interface VLAN IP Address Netmask Gateway
Management NR_PRT_DHCP 10.16.36.221 - 10.16.36.225 255.255.240.0 10.16.32.1
Internal NR_PRT_STATIC 10.16.48.191 - 10.16.48.200 255.255.240.0 10.16.48.1
External NR_INT_STATIC 10.16.80.61 - 10.16.80.70 255.255.240.0 10.16.80.1
HA NR_INT_DHCP 10.16.68.221-10.16.68.230 255.255.240.0 10.16.64.1

Note

The naming convention used is for demonstration purposes ONLY.

Server type IP Address
DNS 10.16.0.200
NTP 10.16.0.211

Note

Other configuration notes include:

  • Ignored the dhcp-client in the interface by using NR_PRT_DHCP and NR_INT_DHCP and using a static IP (provided in the previous table).
  • For storage, used the default-container-13584.

Creating an HA pair involves the following tasks:

Set up BIG-IP-1

Do the following to configure the FIRST BIG-IP (1) in the HA pair setup:

  1. In the F5 BIG-IP Setup utility, select Main -> Platform, expand the Host Name drop-down list and select the BIG-IP host created in Nutanix.

  2. In the Root Account, enter the root username and password, and then click Next.

    ../_images/nutanix21.png
  3. On the Network blade, in the Standard Network Configuration pane, click Next.

  4. On the VLAN blade, do the following:

    1. In the Internal VLAN Configuration pane, in the VLAN Tag ID text box, enter the tag number that identifies the traffic from hosts in the associated VLAN (for example, 4094), in the VLAN Interface text box, select 1.2, expand the Tagging drop-down menu, select Untagged.

    2. Click Add, to add the VLAN to the Interfaces list.

      ../_images/nutanix22.png
  5. In the Internal Network Configuration pane, do the following:

    1. In the Self IP section, complete the following:

      • Address - enter the IP address on the BIG-IP system that you want to associate with this VLAN
      • Netmask - enter the associated netmask for the select address
    2. In the Floating IP section, complete the following:

      • Address - enter the IP address you want shared between multiple BIG-IP devices in a device group
      • Port Lockdown - leave value as Allow Default
      ../_images/nutanix23.png
  6. Click Next.

  7. In the External Network Configuration pane, do the following:

    1. In the Self IP section complete the following:
      • Address - enter the IP address on the BIG-IP system that you want to associate with this VLAN
      • Netmask - enter the associated netmask for the select address
      • Port Lockdown - leave value as Allow None
    2. In the Default Gateway section, enter an IP address.
    3. In the Floating IP section, complete the following:
      • Address - enter the IP address you want shared between multiple BIG-IP devices in a device group
      • Port Lockdown - leave value as Allow None
  8. In the External VLAN Configuration pane, do the following:

    1. Complete the following:

      • VLAN Name - enter external
      • VLAN Tag Name - leave the auto default value
      • VLAN Interface - select 1.1
      • Tagging - expand the list and select Untagged
    2. Click Add to add the external VLAN to the Interfaces list.

      ../_images/nutanix24.png
  9. Click Next.

  10. In the High Availability Network Configuration pane, do the following:

    1. In the Self IP pane, complete the following:

      • Address - enter the IP address on the BIG-IP system that you want to associate with this VLAN
      • Netmask - enter the associated netmask for the select address
    2. In the High Availability VLAN Configuration pane, complete the following:

      • VLAN Name - Leave the HA default value
      • VLAN Tag ID - leave the auto default value
      • VLAN Interfaces - select 1.3
      • Tagging - select Untagged
    3. Click Add to add the VLAN to the Interfaces list.

      ../_images/nutanix25.png
  11. Click Next.

  12. On the Network -> NTP blade, in the Address text box, enter the address for the NTP server used, click Add to add it to the Time Server List, and then click Next.

  13. On the Network -> DNS blade, accept all default values, and then click Next (similar to the following example).

    ../_images/nutanix30.png
  14. On the Network -> Config Sync blade, accept the default Local Address (for example, 10.16.48.191 (internal)) value, and then click Next.

  15. On the Network -> Failover blade, accept all default values, and then click Next.

  16. On the Network -> Mirroring blade, accept all default values, and then click Next.

  17. On the Network -> Active/Standby pair blade, click Next, on the Discover Peer blade, click Next, complete the following, and then click Retrieve Device Information:

    • Device Type - select Peer
    • Device IP Address - enter the device IP Address
    • Administrator Username - enter the appropriate value
    • Administrator Password - enter the appropriate value
    ../_images/nutanix31.png
  18. Before proceeding, complete the second BIG-IP (2) setup.

Set up BIG-IP-2

Do the following to configure the SECOND BIG-IP (2) (redundant device) in the HA pair setup:

  1. In a browser window, using HTTPS:// access the second BIG-IP.

  2. On the Main tab, in the Network blade, in the Standard Network Configuration pane, click Next.

  3. On the Network -> Redundancy blade, in the Redundancy Device Wizard Options pane, complete the following:

    • Config Sync - click to enable Display configuration synchronization options
    • High Availability - click to enable Display failover and mirroring options
    • Failover method - select Network
    ../_images/nutanix26.png
  4. Click Next.

  5. On the Network -> VLANs blade, repeat the previous steps for configuring the Internal Network configuration for the FIRST BIG-IP (1), like the following example:

    ../_images/nutanix27.png
  6. Click Next.

  7. On the Network -> VLANs blade, repeat the previous steps for configuring the External Network configuration for the FIRST BIG-IP (1), like the following example:

    ../_images/nutanix28.png
  8. Click Next.

  9. On the Network -> VLANs blade, repeat the previous steps for configuring the High Availability Network configuration for the FIRST BIG-IP (1), like the following example:

    ../_images/nutanix29.png
  10. On the Network -> NTP blade, in the Address text box, enter the address for the NTP server used, click Add to add it to the Time Server List, and then click Next.

  11. On the Network -> Config Sync blade, accept the default Local Address (for example, 10.16.48.192 (internal)) value, and then click Next.

  12. On the Network -> Failover blade, accept all default values, and then click Next.

  13. On the Network -> Mirroring blade, accept all default values, and then click Next.

  14. Click Finished.

  15. In the top-left corner, to see the current ConfigSync state, click the Awaiting Initial Sync link.

  16. Complete the HA connectivity.

Complete the HA connectivity

  1. To verify the device certificate, open the browser tab for the FIRST BIG-IP (1), click Device Certificate Matches, and then complete the following:

    ../_images/nutanix31b.png
    • Device Name - leave default values
    • Sync Failover Group Name - leave default values
  2. Click Add Device.

    ../_images/nutanix31c.png
  3. The Setup Utility Home page appears. On both browser pages for BIG-IP 1 and BIG-IP 2, in the top-left corner, to see the current ConfigSync state, click the Awaiting Initial Sync link.

    ../_images/nutanix32.png
  4. In the left menu, select the Device Management -> Overview option, click Sync, and then in the top-left corner, wait for an In Sync message to appear.

Create an address pool and add members

The following steps demonstrates this process using Nutanix AOS 5.20. For updated steps, see the AOS 6.5 Nutanix documentation.

  1. In the Nutanix AHV console in the F5-filtered list of VMs, note the IP Addresses of the two BIG-IP VMs (for example, server-1 and server-2).

    ../_images/nutanix33.png
  2. In the F5 BIG-IP Setup utility, in left menu click Local Traffic -> Pools, in the far-right side of the window click Create, and then do the following:

    1. In the Configuration pane, in the Name text box, enter/select the name of your BIG-IP VM.

    2. In the Resources pane, complete the following:

      • Load balancing method - select Least Connections (member)
      • Priority Group Activation - select Disabled
      • New node - select to enable
      • Node Name - select server-1
      • Address - enter the IP address of the first server in the filtered list of VMs in Nutanix
      • Server port - enter 443 and select HTTPS
    3. Click Add.

      ../_images/nutanix35.png
    4. Repeat these steps selecting Node Name - enter server-2 and the Address - enter the IP address for the first server in the filtered list of VMs in Nutanix, and then click Finished.

      ../_images/nutanix34.png
  3. On the Local Traffic -> Pools -> Pool List menu, do the following:

    1. Click Create, and then complete the following:

      • Name - select the pool you just created
      • Health monitor - select HTTP
      • Load Balancing Method - select Round Robin
      • Priority Group Activation - select Disabled
      • New Members - select the Node list option
      • Address - select Server-2, HTTP, and Service Port 80
    2. Click Add, expand Address, select Server-1, select HTTP, Service Port 80, click Add again, and then Finished.

      ../_images/nutanix36.png
  4. In the F5 BIG-IP Setup utility, in left menu click Local Traffic -> Virtual Servers blade, in the far-right side of the window, click Create, and then in the General Properties pane do the following:

    1. Name - enter a name associating it with the pool you just created (for example, select the pool name appending “VS”, identifying virtual server).
    2. Type - select standard
    3. Destination Address/Mask - select Host, and then enter an IP address
    4. Service Port - select Port, 443, and HTTPS
    5. Notify Status to Virtual Address - select to enable option
  5. In the Configuration - Basic pane, do the following:

    1. HTTP Profile (Client) - select http
    2. HTTP Profile (server) - select http
    3. SSL Profile (server) - select the clientssl option from the Available list
    4. Source Address Translation - select Auto Map
  6. In the Resources pane, expand the Default Pool drop-down list and select the pool you just created.

  7. Click Finished.

Sync configuration across device groups and test the connection

  1. To sync the changes, click the Virtual Server in the list, in the top-right corner, click the Change Pending link, and then, in the Device Group menu click Sync. The status message will change to In Sync.
  2. To test, open a new browser window in privacy mode, enter an external IP address for the BIG-IP devices, and then refresh the browser.

See Also