Hi Steve,
To save you a bit of grief.....
To remove the front electrovalve all you need is a long neck 16mm socket - you'll have trouble doing it with a spanner as its reasonably tight and there is not much swinging room. (Watch out for the radiator! Put a bit of cardboard or foam in front of it!

)
You don't need an 8mm spanner unless you intend to disconnect one of the small hydraulic pipe unions - which you don't need to do to remove an electrovalve. (Good spanner to have anyway though on a Citroen!!)
With the front Hydractive unit you MUST remove the electrovalve before the main Hydractive control block can be removed - although in your case there is no reason to remove the main control block.
At the rear the electrovalve can be removed by itself or first, OR the main control block can be removed first - but once again you only need to remove the electrovalve by itself, so save yourself a lot of trouble and don't remove the whole unit.
Make sure that you open the bleed screw as well as depressurizing the suspension - the electrovalve is supplied by the full system pressure, not via the height corrector, so if you just lower the suspension and proceed to remove it, you WILL have a nasty surprise in store for you....
Another gotcha to beware of - the electrovalve is a two piece unit which is internally held together by loctite. When you undo it from the 16mm nut at the top it relies on that loctite to hold it together and unscrew the base.
If that loctite should break free (or someone has disassembled it before and put it back together without loctite) there is a chance it will come apart with the bottom still screwed into the control block. If that happens you'll have to carefully dismantle it in place without losing any pieces, and then use a large socket (its somewhere around 22-24mm) to unscrew the remaining piece at the bottom. (Careful - the bottom section is soft alloy and rounds off easily)
There is a small chance of the shaft up the middle of the valve snapping if it's extremely tight (just ask Bernie) so unless you like to play with fire (like me

) wait until you have the replacement on hand before removing the original...
One more tip - as soon as you disconnect the overflow pipe from the top of the electrovalve it will start syphoning the contents of your LHM tank out at an incredible rate - so make sure you have a rag in place and a bung ready to block the pipe, unless you want oil all over the place!
Other than that, piece of cake! Good luck!
Regards,
Simon