Skip to main content

Setup and start cluster (only one node)

$ sudo pcs cluster setup tsmb_ha dhcp-236.tux.local dhcp-237.tux.local
--force
Destroying cluster on nodes: dhcp-236.tux.local, dhcp-237.tux.local...
dhcp-237.tux.local: Stopping Cluster (pacemaker)...
dhcp-236.tux.local: Stopping Cluster (pacemaker)...
dhcp-237.tux.local: Successfully destroyed cluster
dhcp-236.tux.local: Successfully destroyed cluster
Sending 'pacemaker_remote authkey' to 'dhcp-236.tux.local', 'dhcp-237.tux.local'
dhcp-236.tux.local: successful distribution of the file 'pacemaker_remote authkey'
dhcp-237.tux.local: successful distribution of the file 'pacemaker_remote authkey'
Sending cluster config files to the nodes...
dhcp-236.tux.local: Succeeded
dhcp-237.tux.local: Succeeded
Synchronizing pcsd certificates on nodes dhcp-236.tux.local, dhcp-237.tux.local...
dhcp-236.tux.local: Success
dhcp-237.tux.local: Success
Restarting pcsd on the nodes in order to reload the certificates...
dhcp-236.tux.local: Success
dhcp-237.tux.local: Success
$ sudo pcs cluster start --all
dhcp-236.tux.local: Starting Cluster...
dhcp-237.tux.local: Starting Cluster...