drbdmanage is a complete provisioning solution for DRBD on top of LVM volumes. It supports regular LVs, thin-LVs with one pool per DRBD resource, and thin-LVs within a single thin-pool.
After adding a few nodes to a drbdmanage cluster, you can create a new DRBD resource with a single command. You only need to specify: Name, size and replica-count.
Apart from being a command line utility, drbdmanage is also a D-BUS service. D-BUS services can very easily be accessed from many programming languages. That forms the perfect foundation if you want to embed management of DRBD resources into your application.
Find the distribution files → here on oss.linbit.com.