I built a fairly standard bean animal style drain in an external overflow box. Pretty much identical to this, with a tall/open emergency drain (left), a secondary drain with an upside down elbow, and a primary drain with an upside down elbow:
On mine, water comes in via the weir across the...