Suggestions for setup with mysql mysqlfailover

Hallo,

I am currently planning a setup with automatic failover using dedicated mysql server with mysqlfailover.

Is there a way to switch piwik to the new master, when the automatic failover takes place ? If not, what would you recommend as semi-manual switch procedure.

Regards,
Nils