Forum Discussion
Removing AAM/WAM for a successful upgrade
iApp TMSH Building blocks
In order to make the changes for any iApps via TMSH, admins might need to either reconfigure via the GUI, OR disable strict-updates to allow the scripts to make the changes.
The GUI for iApps hides this setting in each iApp, under the advanced properties, so once again bash and tmsh can get us the answers we need very fast.
Discovery/inventory
#show deployed iApps that have strict-updates enabled
#Because this is a default setting, we have to look at all-properties.
tmsh -c 'cd /; list sys application service recursive one-line all-properties' | grep -E "strict-updates enabled" | awk '{ print "/" $4 }'
#show deployed iApps that have strict-updates disabled
#While we do not need the all-properties option, we will keep it for consistency.
tmsh -c 'cd /; list sys application service recursive one-line all-properties' | grep -E "strict-updates disabled" | awk '{ print "/" $4 }'
Now this part is where with great power comes great responsibility. Once an iApp has been modified outside of the reconfigure GUI, you can never update the template used by the iApp and you can no longer use the reconfigure GUI, because that will overwrite any customizations made.
This is not the final form for the knowledge article, but here is how we can disable strict-updates for all deployed iApps that have this set.
#modify all deployed iApps to allow scripts to change objects
tmsh -c 'cd /; list sys application service recursive one-line all-properties' | grep -E "strict-updates enabled" | awk '{ print "/" $4 }' | xargs -t -I iAppname tmsh modify sys application service iAppname strict-updates disabled
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com