CERN Accelerating science

3 MGM configuration

Dear all
please could you have an example of 3 MGM configurations?
thank you
e.v.

I just following this page to setup 3 (MGM+QuarkDB) configuration.

The quarkdb xrootd config file /etc/xrootd/xrootd-quarkdb.cfg on each MGM node

xrd.port 7777
xrd.protocol redis:7777 libXrdQuarkDB.so
redis.mode raft
redis.database /var/lib/quarkdb/node-1
redis.myself <hostname>:7777

/etc/systemd/system/xrootd@quarkdb.service.d/override.conf

[Service]
User=daemon
Group=daemon

And run the quarkdb service

mkdir /var/lib/quarkdb/
quarkdb-create --path /var/lib/quarkdb/node-1 --clusterID 001234 --nodes <mgm1>:7777,<mgm2>:7777,<mgm3>:7777

chown -R daemon:daemon /var/lib/quarkdb/node-1
systemctl start xrootd@quarkdb

I add the following lines to xrd.cf.mgm on each MGM node

mgmofs.cfgtype quarkdb
mgmofs.qdbcluster <mgm1>:7777 <mgm2>:7777 <mgm3>:7777
mgmofs.qdbpassword_file /etc/eos.keytab

thank Chien-De Li for you reply

I mean with 3 mgm ( metadata servers) and not just the 3 quarkdb servers

I think at CERN they have this configuration
or just we can have 2 mgm ( one master and one slave) ?
FYI
best
e.v.