Prerequisites
Download your prefered image (and or hotfix) to the BIG-IP system via GUI or tmsh
If you prefer tmsh, use the "Copy Download Link" ater you have chosen your prefered download location at https://downloads.f5.com
cd /shared/images
curl --url "<PASTE_LINK_FROM_DOWNLOAD_SITE_HERE>" --out "<PASTE_NAME_OF_THE_FILE_HERE>"
# example: curl "https://downloads-ire-f5.s3.eu-west-1.amazonaws.com/big-ip/big-ip_v15.x/15.1.3/english/16.1.4.1/BIGIP-16.1.4.1-0.0.5.iso?response-content-disposition=attachment%3B%20filename%3DBIGIP-16.1.4.1-0.0.5.iso&X-Amz-Security-Token=FwoGZXIvYXdzEJ3%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDMLJPxChDpx%2BCMZYmSKCAVnS1M1i7RqvADVq54EyBrXf0iCOxxXB2qTEuUWUmzWIbKKSW2l3ATHI60iUvWA1XnaokvZTdNnhJ549mnXePypf4YGal7yY8qegmzJeaKY6hfnMpbo8e8AofP0gcpWd1%2FKhjrHXRxt6hR2J4RzwVae4KOFwDtk4N2FoNSDvZu0NG6Eouua0iQYyKNGgX0D1dIDohW5dI93Sb0pOWc2lLKRuOiHphdQS5n0AyCv1vAPVGAM%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20210830T193626Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86399&X-Amz-Credential=ASIAWZEHK3GDMTT6M4UO%2F20210830%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Signature=c64d30663fe5e84fd5483feb302a0a7d2efadb1d1c88e97c0611567ebaefcc87" --output BIGIP-16.1.4.1-0.0.5.iso
Download necessary hotfixes the same way as above...
Force the node to Standby
tmsh run /sys failover standby
Installing Image and Hotfix
Install the image
In this example we want to install the image to HD1.2
tmsh install sys software image <PASTE_NAME_OF_THE_BIG-IP_ISO_FILE_HERE> volume <ENTER_THE_NAME_OF_THE_DESTINATION_HERE> [create-volume]
Note that the create-volume
shall only be used if your destination doesn't exist
If you want to see the progress run the following command watch -n 1 tmsh -a show sys software status
# example: tmsh install sys software image BIGIP-16.1.4.1-0.0.5.iso volume HD1.2
Install a HotFix
tmsh install sys software hostfix <PASTE_NAME_OF_THE_HOTFIX_FILE_HERE> volume <ENTER_THE_NAME_OF_THE_DESTINATION_HERE>
# example: tmsh install sys software hotfix Hotfix-BIGIP-16.1.4.1.0.50.5-ENG.iso volume HD1.2
If you want to see the progress run the following command watch -n 1 tmsh -a show sys software status
Copy the configuration
To copy the currently running configuration to a specific destination (in our case HD1.2) run the following: cpcfg HD1.2
Expected output:
info: No source location specified; using active location (HD1.1) by default
info: Getting configuration from HD1.1
info: Copying configuration to HD1.2
info: Applying configuration to HD1.2
Boot into the new image
tmsh reboot volume HD1.2