Design and first measurements of the fast-ion D-alpha diagnostic at the HL-2A tokamak.