Skip to content

Instantly share code, notes, and snippets.

Avatar

Lars Kellogg-Stedman larsks

View GitHub Profile
@larsks
larsks / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View gist:4983187

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