In setting up your cloud, you should have a backup routine for your controller. The most important item to back up is the MySQL databases that Cloudstack uses. In the even of a cloud management controller failure, the steps to replace the controller with a new one are:
#Setup new management server hardware
#Install OS
#Install Cloudstack, up to the "Install Database step"