master TOC | chapter TOC | support
In this setup, the slave server is under the same "management" as the master. All repos, including gitolite-admin are mirrored, and each slave is an exact replica of the master. Since the admin repo is mirrored, authentication info is identical across all servers, and it is safe to use redirected pushes. (This was the only type of mirroring possible in the old mirroring code in gitolite).
Install gitolite on all servers. Then add these lines to the top of all admin repos and push them all. This sets up the config for mirroring all repos.
repo @all
config gitolite.mirror.master = "frodo"
config gitolite.mirror.slaves = "sam gollum"
Once they're all pushed, sync the admin repo once:
# on master server
gl-mirror-shell request-push gitolite-admin
Since authentication is also being mirrored, you can take advantage of redirected pushing if you wish:
repo @all
config gitolite.mirror.redirectOK = "true"