Technical Tip: How to recover or re-provision a locked FortiToken Mobile in an HA cluster
| Description | This article describes the recommended procedure to recover and re-provision a locked FortiToken Mobile in an HA environment. |
| Scope | FortiGate HA cluster. |
| Solution | In a FortiGate HA cluster, a FortiToken Mobile license is registered to a specific FortiGate serial number. FortiCare can transfer the entire license bundle to another device, but cannot reset individual tokens within that license. Scenario:
Important considerations:
Resolution procedure:
Step 1 - Make the licensed unit the primary: Since the license is registered to FG120GTK37018XXX , ensure this unit becomes HA primary.Adjust override priority or perform a controlled failover so that this ensures proper FortiCloud communication.
Step 2 – Restart the FortiCloud daemon: Restart the FortiCloud process to refresh token status synchronization:
Use the command below:
diagnose sys process pidof forticldd
Take note of the PID that appears and restart the service with the command below:
fnsysctl killall forticldd
Verify if the process restarts correctly with the command below:
diagnose sys process pidof forticldd
If a different PID appears, the service restarted successfully. This forces FortiCloud communication.
Step 3 – Re-provision (renew) the token: Before renewal:
After, run the following:
execute fortitoken-mobile renew FTKMOBXXXXXEE4YY
Verify the status with the command below:
config user fortitoken edit "FTKMOBXXXXXEE4YY" show
If the token changes from 'lock' to 'available', attempt to reassign it. If the issue persists, proceed to step 4.
Step 4 – Delete and re-add the token.
Use the command below:
config user fortitoken delete FTKMOBXXXXXEE4YY
If multiple tokens are affected, delete all problematic tokens. Expected behavior after transfer/deletion is as described in the Fortinet Community article regarding mobile token behavior after transfer.
After FortiGuard validation:
Note: At the time of purchase, a PDF containing the Activation Code and total mobile token count is sent via email.
Validation:
After re-adding:
Additional notes for HA deployments.
Related articles: |
