You appear to have no idea what you're talking about. Please don't post blatant misinformation.
In the meantime, send the pet in to attack, then once it's behind her, tell it to follow, and then [edit: stay] as soon as it's out of tail swipe range. She has a massive hit box. Just remember to put the pet back on follow when Onyxia repositions.