Eurorail, Interail, etc.(names may have changed since I was there last) can be booked online, though it's often easier to purchase once in Europe.I don't think they ever "sell out," though certain tickets are limited to specific railways and time spans. AAA books some tickets with their travel agency, and they can supply other information that might assist you.
You can't take a train to Europe you have to fly
Thanks! Your answer is awaiting moderation.