Illia
Nimbostratus
Sep 27, 2021OAuth token synchronization in APM HA pair
Hello.
I have an HA pair of APMs, acting as a OAuth authorization server. By default, devices in HA should synchronized OAuth tokens from Active to Standby. But I don't see issued tokens on Standby device.
The statemirror.mirrorsession system database variable set in "enabled".
:Active:In Sync] ~ # tmsh show apm oauth token-details db-instance <db_name>
total-tokens: 7258
:Standby:In Sync] ~ # tmsh show apm oauth token-details db-instance <db_name>
total-tokens: 0
No synchronization errors (Failed to initiate DB synchronization (ERR_DB)) in logs.
How can I check, that token synchronization is successful and issued OAuth tokens existing on both device in cluster?