failover demo for pomelo