Created a module to manage the master in pacemaker.