Showing fixes for: https://bugs.launchpad.net/ubuntu/+source/pcs/+bug/1580035 https://bugs.launchpad.net/ubuntu/+source/pcs/+bug/1580045 https://bugs.launchpad.net/ubuntu/+source/pcs/+bug/1640923 Okay, for, working in the upstream version (since i'll propose major changes to the debian package itself) this is how it is going to work: ---- inaddy@(cluster01):~$ ps -ef | grep [c]orosync root 15614 1 0 22:07 ? 00:00:00 /usr/sbin/corosync -f inaddy@(cluster01):~$ sudo dpkg -i ./*.deb Selecting previously unselected package pcs. (Reading database ... 152286 files and directories currently installed.) Preparing to unpack ./pcs_0.9.153-2_all.deb ... Unpacking pcs (0.9.153-2) ... Setting up pcs (0.9.153-2) ... Processing triggers for systemd (229-4ubuntu13) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... and you are prompted with: http://pastebin.ubuntu.com/23585840/ inaddy@(cluster01):~$ sudo dpkg-reconfigure pcs and you are prompted with: http://pastebin.ubuntu.com/23585841/ ---- After installation: inaddy@(cluster01):~$ ps -ef | grep [c]orosync inaddy@(cluster01):~$ ps -ef | grep [p]csd root 16148 1 0 22:09 ? 00:00:00 /usr/bin/ruby -C/var/lib/pcsd -I/usr/share/pcsd -- /usr/share/pcsd/ssl.rb & > /dev/null & inaddy@(cluster01):~$ netstat -ltp Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:2224 *:* LISTEN - tcp6 0 0 [::]:2224 [::]:* LISTEN - ---- Configuration: inaddy@(cluster01):~$ sudo pcs cluster auth cluster01 cluster02 -u hacluster Password: cluster02: Authorized cluster01: Authorized inaddy@(cluster01):~$ sudo ls -l /var/lib/pcsd/tokens -rw------- 1 root root 178 Dec 5 22:14 /var/lib/pcsd/tokens inaddy@(cluster01):~$ sudo pcs cluster setup --force cluster01 cluster02 --name cluster Destroying cluster on nodes: cluster01, cluster02... cluster01: Stopping Cluster (pacemaker)... cluster02: Stopping Cluster (pacemaker)... cluster02: Successfully destroyed cluster cluster01: Successfully destroyed cluster Sending cluster config files to the nodes... cluster01: Succeeded cluster02: Succeeded Synchronizing pcsd certificates on nodes cluster01, cluster02... cluster02: Success cluster01: Success Restarting pcsd on the nodes in order to reload the certificates... cluster02: Success cluster01: Success ---- Running: inaddy@(cluster01):~$ sudo pcs cluster start --all cluster02: Starting Cluster... cluster01: Starting Cluster... inaddy@(cluster01):~$ ps -ef | egrep -E "[c]orosync|[p]acemaker" root 16961 1 1 22:15 ? 00:00:00 /usr/sbin/corosync -f root 16965 1 0 22:15 ? 00:00:00 /usr/sbin/pacemakerd -f haclust+ 16967 16965 0 22:15 ? 00:00:00 /usr/lib/pacemaker/cib root 16968 16965 0 22:15 ? 00:00:00 /usr/lib/pacemaker/stonithd root 16969 16965 0 22:15 ? 00:00:00 /usr/lib/pacemaker/lrmd haclust+ 16970 16965 0 22:15 ? 00:00:00 /usr/lib/pacemaker/attrd haclust+ 16971 16965 0 22:15 ? 00:00:00 /usr/lib/pacemaker/pengine haclust+ 16972 16965 0 22:15 ? 00:00:00 /usr/lib/pacemaker/crmd