Jump to content

F5 Blog

  • entries
    32
  • comments
    3
  • views
    123

Contributors to this blog

Unable to remove device due to linked applications


rev.dennis

30 views

So you are in BIG-IQ and for some reason or another BIG-IQ is asking for you to remove the device and add it back in to re-establish trust but wait..  you can’t because Applications are linked to that device.  Here are some steps to follow to remove an application.

So say you are trying to remove the LTM service from a device and its saying you can’t remove the device because this application is linked to it

t_10.47.32.9_openpagescc-dev.int.thezah.com._app

So you need to find the configSetName so you can search on BIG-IQ

restcurl /cm/global/config-sets | jq '.items[] | {configSetName,selfLink}'

Once you find the ConfigSetName you can force remove it by running the following command

restcurl /cm/global/tasks/force-delete -X POST -d '{"configSetName":"t_10.47.32.9_openpagescc-dev.int.thezah.com._app"}'

Now if you have multiple to do you can cheat a little bit but its still a pain in the ass…

setname=t_10.47.32.9_openpagescc-dev.int.thezah.com._app
restcurl /cm/global/tasks/force-delete -X POST -d "{"configSetName":"${setname}"}"

So when it completes and you get the next one that has an issue you just update setname=t_103841_dev1_abms_pdev3_int_thezah_com_https_app and up arrow to run the following again: restcurl /cm/global/tasks/force-delete -X POST -d “{“configSetName”:”${setname}”}”

Did you know that every F5 has a unique code which can be found when you run the following

cat f5-rest-device-id

Sometimes its helpful to know what the UUID is for the F5 device

  • Like 1

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

Privacy Policy