Here's an approach: http://oss.clusterlabs.org/pipermail/pacemaker/2012-June/014583.html

Ugh.