The home I'm currently living in has an ejector pit that feeds into a forced-main sewage line; the forced main rises to the street sewer which is quite a distance away.
My home's ejector pit is buried 18"-24" below grade. There is a large (almost the diameter of the tank) riser that sits on the tank and serves as a manhole. The top of the pit is vented to this space so if the sewage is unable to be pumped for any reason, it will overflow into this riser area and then spill into the landscaping (which is a far better alternative than having it back-up into the house). There are two ejector pumps that are powered by a controller that alternates the pumps, or activates both pumps at the same time if the alarm float ever rises. The sewage line from the house enters the pit from the top of the tank. The outflow pipes exit vertically from the top of the tank, make a 90 to horizontal pipe unions, then penetrate the wall of the riser where they connect to the bronze back-flow check valves (which are buried just outside the riser). The two outflow pipes then join to one pipe which is connected to a bronze and stainless steel ball valve which is in a Christy box. After the valve, the line joins to the forced main.
I'm in the suburban northern penninsula of the SF Bay Area where the climate is mild. Nevertheless, the power goes out at least once a winter due to storms knocking trees onto power lines. I'm damn glad I've never had to worry about sewage backing up into my home!