Irvine schools have entered into an agreement with SunEdison and SPG Solar to install solar panels at 21 campuses.