I built a little A-frame shelter for my ducks and geese. The two sides are open, and the other two sides are pieces of 4x8 plywood with 2x4s to hold them together. I turned it so the wind hits one of the sides almost all of the time. They really only use it to lay eggs and to keep out of the hot sun. The run I built with hardware cloth on bottom and chicken wire on top and just netted the top. Using chain link with some chicken wire or hardware cloth run around the bottom to keep raccoons from reaching through and pulling off the ducks heads would be best. Hardware cloth is really the best for this, but it's really pricey.
With the geese in mine I haven't had problems with raccoons, but you'll probably want to secure the top too, so they don't rip it open. And definitely prepare some kind of shade if at all possible.
I found a low spot n the corner of my run and laid down an old water bed bladder, I propped up the edges all the way around with rocks so it holds water. It's not great, but it worked the first couple of summers until I got an old cow trough set up for swimming.