Lab 6.6: Offboard BIG-IP from BIG-IQ

Note

Estimated time to complete: 5 minutes

In this lab, we will revoke the license, remove BIG-IP from the application custom role, remove the device from BIG-IQ, then finally delete the instance on GCP.

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-Lab6) DELETE_BIGIP_GCP_OFFBOARD.
../../_images/lab-6-110.png

Make sure the PLAYBOOK lab/f5-ansible-bigiq-as3-demo/tower/delete_offboard_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-6-23.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-Lab6) DELETE_BIGIP_GCP_OFFBOARD template, click on the Start a job using this template.
../../_images/lab-6-33.png
  1. SURVEY: Enter in the required fields like below.
Prefix used when creating all GCP resources bigiq-lab-mod11
GCP Region Used to create BIG-IP asia-northeast1
Zone Used for BIG-IP instance asia-northeast1-b
BIG-IP username admin
BIG-IP Password XXXXXXXX
REGISTRATION KEY POOL NAME regkey_pool_BT_200M

Note

Your values may differ from the example above

../../_images/lab-6-43.png
  1. PREVIEW: Review the summary of the template deployment, then click on LAUNCH.
../../_images/lab-6-53.png
  1. Follow the JOB deployment of the Ansible playbook.
../../_images/lab-6-63.png
  1. When the job is completed, check the PLAY RECAP and make sure there nothing failed.
../../_images/lab-6-73.png
  1. Login on BIG-IQ as admin, go to Devices > BIG-IP DEVICES and confirm that the device is no longer displayed.
../../_images/lab-6-83.png
  1. Click on LICENSE MANAGEMENT > Licenses and confirm that the license has been revoked and available in the pool.
../../_images/lab-6-92.png
  1. Click System > ROLE MANAGEMENT > Roles > CUSTOM ROLES > Application Roles > click on the role you specified when creating the BIG-IP device. Confirm that the BIG-IP is no longer selected.
../../_images/lab-6-101.png
  1. Log into GCP Console and confirm the instance has been deleted.
../../_images/lab-6-111.png

This completes the BIG-IP offboarding lab.