Cloudflare Failover to 2nd Datacenter, when Database is failovered

Hi All,

We regularly run Disaster Recovery Drills with our Datacenter. Meaning failover to DR Site.

We have a Warm DR Setup, which means the only thing we need to failover is the Database.

What we want to achieve is Cloudflare to automatically route traffic to the 2nd Datacenter, when it detects that a Database Failover has occured.

Can Cloudflare do something like this? Failover when our DB has failovered?