Set up mongodb replica sets.