HAProxy Enterprise Documentation 2.4r1
51d-update force-update
Force an update of the 51Degrees database.
Description
The 51Degrees update module will update the database based on the interval you specifed in the configuration. You can also force an update that will run immediately.
Examples
In this example, we want to force an update of the database.
$ echo "51d-update force-update" | \
sudo socat stdio unix-connect:/var/run/hapee-2.4/hapee-lb.sock
51Degrees: forcing update now
You can check the status of the update using the 51d-update status
command. Note that while the update is processing, the status will show the progress:
$ echo "51d-update status" | \
sudo socat stdio unix-connect:/var/run/hapee-2.4/hapee-lb.sock
51Degrees module status
------------------------------------------------------------------------------
initialized: yes
Database update
configuration: /etc/hapee-2.7/hapee-lb.cfg:43
url: http://192.168.64.1/51Degrees-LiteV3.4.trie
http status count: 0 0 0 0 7 / 0
period/delay: 1d / 5s 10s 5s
use cksum/hash/mod: no / no / no
reload/retry count: 0 0 2 / 7 2
reload time: <NEVER> / <NEVER> / 2023-08-08 14:25:37
currently updating: 51Degrees-LiteV3.4.trie
status/retry: 0 / 1
data size: 0 / 0 (0.0%)
dur/time left: 1m49s / 3s
See also
Next up
51d-update show