Lab 6.5: Discover, License, and Register BIG-IP on BIG-IQ using Declarative Onboarding

Note

Estimated time to complete: 5 minutes

In this lab, we will create a BIG-IP on GCP and discover and register it on BIG-IQ.

Prerequisites

  • GCP Credentials
  • BIG-IP Management IP
  • BIG-IP Username/Password
  • BIG-IQ Regkey Pool Name
  1. Navigate to the Templates page and review (Class5-Mod11-Lab5) NEW_BIGIP_GCP_ONBOARD.
../../_images/lab-5-110.png

Make sure the PLAYBOOK lab/f5-ansible-bigiq-as3-demo/tower/create_onboard_bigip_gcp_managed_do.yml is selected. Also confirm that the admin-iq (BIG-IQ) and your GCP credentials appear in the CREDENTIALS field. Don’t forget to click SAVE to save changes to the credentials.

../../_images/lab-5-28.png

You can go on the GitHub repository and check review the playbooks and Jinja2 templates.

  1. Back on the Templates page, next to the (Class5-Mod11-Lab5) NEW_BIGIP_GCP_ONBOARD template, click on the Start a job using this template.
../../_images/lab-5-33.png
  1. SURVEY: Enter in the required fields like below.
Name Prefix used for creating all GCP resources bigiq-lab-mod11
GCP Region to create BIG-IP asia-northeast1
Zone for BIG-IP instance asia-northeast1-b
BIG-IP username admin
BIG-IP Password XXXXXXXX
REGISTRATION KEY POOL NAME regkey_pool_BT_200M
Type “asm” to provision F5 WAF, leave “null” if not needed asm
Existing Role Name testrole1

Warning

Make sure you use a strong enough password for BIG-IP Password (see https://support.f5.com/csp/article/K10612010)

Note

Your values may differ from the example above

../../_images/lab-5-41.png
  1. PREVIEW: Review the summary of the template deployment, then click on LAUNCH.
../../_images/lab-5-51.png
  1. Follow the JOB deployment of the Ansible playbook.
../../_images/lab-5-61.png
  1. When the job is completed, check the PLAY RECAP and make sure there nothing failed.
../../_images/lab-5-71.png
  1. Login on BIG-IQ as admin, go to Devices > BIG-IP ONBOARDING and confirm that the onboarding task status.
../../_images/lab-5-81.png
  1. Click on BIG-IP DEVICES and confirm the discovered BIG-IP device.
../../_images/lab-5-91.png
  1. Click on Devices Tab > LICENSE MANAGEMENT > licenses > click the new regkey pool created earlier and confirm that the license you added earlier has been assigned to the new BIG-IP.
../../_images/lab-5-101.png
  1. Log into GCP Console and confirm the instance.
../../_images/lab-5-111.png
  1. On BIG-IQ, log out of admin, and log back in as the user you created earlier (choose Auth Provider: Local). The BIG-IP has been added to the same role assigned to this user so you should see the new BIG-IP device in the target list when creating an AS3 application deployment.
../../_images/lab-5-121.png

This completes the BIG-IP onboarding lab.