Most documentation about how to install and configure CTDB is available in the CTDB Wiki.
Man pages for CTDB in latest Samba release: