Working with parallel database servers in grafana

Hi,

I have 2 database servers which are synced , If one among these fails I want to get data from other server. Is it possible to configure like this in grafana.
Even if i use mixed data source I am getting union, but i want distinct data only.