Skip to content

Commit

Permalink
Add monitoring-datadir to arbitrator
Browse files Browse the repository at this point in the history
  • Loading branch information
svaroqui committed Feb 24, 2023
1 parent 5eb104e commit 205cefd
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 135 deletions.
1 change: 1 addition & 0 deletions arbitrator/arbitrator_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func init() {
rootCmd.Flags().StringVar(&conf.KeyPath, "keypath", "/etc/replication-manager/.replication-manager.key", "Encryption key file path")
rootCmd.PersistentFlags().BoolVar(&conf.Verbose, "verbose", false, "Print detailed execution info")
rootCmd.PersistentFlags().StringVar(&memprofile, "memprofile", "/tmp/repmgr.mprof", "Write a memory profile to a file readable by pprof")
rootCmd.PersistentFlags().StringVar(&conf.WorkingDir, "monitoring-datadir", "/var/lib/replication-manager", "Path to write temporary and persistent files")

}

Expand Down
12 changes: 0 additions & 12 deletions etc/local/features/arbitrator/config.toml.sample.arbitrator

This file was deleted.

27 changes: 0 additions & 27 deletions etc/opensvc/cluster-api/cluster-demo/stephane.d/emma.toml.old

This file was deleted.

27 changes: 0 additions & 27 deletions etc/opensvc/cluster-api/cluster-demo/stephane.d/galera.toml

This file was deleted.

15 changes: 0 additions & 15 deletions etc/opensvc/cluster-api/cluster-demo/stephane.d/grouprep.toml

This file was deleted.

54 changes: 0 additions & 54 deletions etc/opensvc/cluster-api/cluster-demo/stephane.d/tnstest.toml

This file was deleted.

4 changes: 4 additions & 0 deletions etc/opensvc/cluster-api/cluster-demo/stephane.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ prov-proxy-service-type = "docker"
prov-proxy-disk-type = "volume"
prov-proxy-volume-data = "tank"
test=true
arbitration-external= true
arbitration-external-hosts="10.8.0.50:8080"
arbitration-peer-hosts="10.8.0.72:10001"
arbitration-external-secret="tnstest"

0 comments on commit 205cefd

Please sign in to comment.