A second mirror: llmgw mirror add-peer, and on a store machine at setup
mirror add-peer, run on the mirror's machine, sets up a mirror on another over ssh, kept in step with this one: llmgw there if it has none, mirror init --peer, this mirror told of it and allowed to be read by it, and mirror.peers in the cluster's settings. The setup screens offer one on either database machine, as server init --second-mirror. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
8a76a53afb
commit
1c16f2337d
11 files changed
+367
-11
No files matched your search
@@ -396,6 +396,9 @@ func (in *serverInit) initFlags() []string {
|
||||
for _, m := range in.judgeMachines {
|
||||
add("--judge-node", m.target)
|
||||
}
|
||||
if in.secondMirror > 0 {
|
||||
add("--second-mirror", fmt.Sprint(in.secondMirror))
|
||||
}
|
||||
switch {
|
||||
case in.mirrorURL != "":
|
||||
add("--mirror", in.mirrorURL)
|
||||
|
||||
Reference in new issue
Block a user