Skip to content

Instantly share code, notes, and snippets.

View larsks's full-sized avatar

Lars Kellogg-Stedman larsks

View GitHub Profile
@larsks
larsks / 0_reuse_code.js
Last active August 29, 2015 14:09
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@larsks
larsks / gist:4983187
Last active December 13, 2015 22:18 — forked from feist/gist:2697640

Run the following commands on all three nodes in the cluster (nodes are named f1, f2 and f3). This will create the corosync.conf files for the cluster.

[root@f1 pcs]# ./pcs cluster configure my_cluster_name f1 f2 f3
[root@f2 pcs]# ./pcs cluster configure my_cluster_name f1 f2 f3
[root@f3 pcs]# ./pcs cluster configure my_cluster_name f1 f2 f3

Then run the following command on all three nodes in the cluster, to start corosync and pacemaker.

[root@f1 pcs]# ./pcs cluster start

Starting Cluster