Hi Franck,
One thing which I forgot to mention is that the mq daemons need also the pointers for the QDB cluster. Therefore, in the /etc/xrd.cf.mq you also need to put:
mq.qdbcluster esdss000.cern.ch:7777
mq.qdbpassword_file /etc/eos.keytab
With this the slave should get the correct status of the FSTs.
Nevertheless, indeed if you want the client to always connect to the correct master then you either have to do some DNS trick to point the alias to the current master or you can deploy another MGM which acts just like a redirector and he redirects clients to the correct MGM master.
For this you need to setup a route using the “eos route command” in the newly deployed MGM redirector. Something like this:
eos route link /eos/ eos-mgm1.cern.ch:1094:8000,eos-mgm2.cern.ch:1094:8000
The MGM redirector will continuously poll the status of the other MGMs in the route command and will figure out who is the master therefore properly redirecting the clients to the correct MGM. There a small penalty for the redirection but for normal operations this should not be visible.
Cheers,
Elvin