** Description changed: 16.04.2 LTS for Ubuntu, 1.1.14 for pacemaker and 0.9.149 for pcs. - Install Pacemaker packages: - sudo apt-get install pacemaker pcs fence-agents resource-agents + sudo apt-get install pcs Set the password for the default user: sudo passwd hacluster #To clear files sudo pcs cluster destroy Enable and start pcsd/pacemaker: - sudo systemctl enable pcsd + #this is not needed on yakkety/zesty, why? sudo systemctl start pcsd + + sudo pcs cluster auth pacemaker-1 pacemaker-2 -u hacluster -p + haclusterpassword + + #this is not needed on yakkety/zesty, why? sudo systemctl enable pacemaker - - sudo pcs cluster auth pacemaker-1 pacemaker-2 -u hacluster -p haclusterpassword sudo pcs cluster setup --name hacluster pacemaker-1 pacemaker-2 sudo pcs cluster start **FAILS*** Starting Cluster... Job for corosync.service failed because the control process exited with error code. See "systemctl status corosync.service" and "journalctl -xe" for details. Error: unable to start corosync Workaround On both nodes, Replace the line: logfile: /var/log/cluster/corosync.log with logfile: /var/log/corosync/corosync.log (or create the expected log file. - Errors are very easy to repro and consistent
** Package changed: ubuntu => pcs (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1673579 Title: Corosync/Pacemaker: Error when enabling Pacemaker service,Error when starting the cluster To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcs/+bug/1673579/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
