I don't understand what you mean by panels. My 2 pools only had the circulator pump, which was/is 220v, and pool lights, which where 110v through a GFI breaker.
I ran the 220v wiring to the pool in NJ through a switch near the pump. I just made sure that it was all grounded well back to the panel in the house, and its feed came off a timer in the house.
The pump here gets its feed off a timer (highly recommended; you normally only need to run them 12 hours/day), which feeds off a couple (110v each) circuit breakers in a box in the pool equipment area. The pump motor has its own ground wire connected to it that runs to a ground into the concrete somewhere. My house ground is nearby and has some huge lightning arrester cables connected to it. I'd probably have connected to that if I was doing it myself.
The timer here has an on/off switch that is used to start and stop the pump manually. I would not have wired it that way, as I don't like reaching into that timer box and working that bare metal switch. I'd have ran it through a weather-protected switch outside the timer box. This is the way I had the pump in NJ rigged up.
For a new feed to a 100 amp breaker box, you're probably into a big multiple wire feed line. I'd think you could get the info on what size you need from Lowes or Home Depot. For a 50 amp breaker to my carriage house, I used 10 gauge 4 wire. That's about as big as I'd want to work with. That stuff is very stiff and difficult to bend back into junction boxes. The multi-wire line will be easier to work with, but you won't be bending it anywhere either.
Ralph