forked from ClusterLabs/pcs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
48 lines (35 loc) · 1.53 KB
/
README
File metadata and controls
48 lines (35 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
PCS - Pacemaker/Corosync configuration system
Quick start
To install pcs run the following in terminal
# tar -xzvf pcs-0.9.138.tar.gz
# cd pcs-0.9.138
# make install
This will install pcs into /usr/sbin/pcs
To create a cluster run the following commands on all nodes (replacing node1,
node2, node3 with a list of nodes in the cluster).
# pcs cluster setup --local --name cluster_name node1 node2 node3
Then run the following command on all nodes:
# pcs cluster start
After a few moments the cluster should startup and you can get the status of
the cluster
# pcs status
After this you can add resources and stonith agents:
# pcs resource help
and
# pcs stonith help
You can also install pcsd which operates as a GUI and remote server for pcs.
pcsd may also be necessary in order to follow the guides on the clusterlabs.org
website. To install pcsd run the following commands from the root of your pcs
directory. (You must have the ruby bundler gem installed, rubygem-bundler in
Fedora, and development packages installed)
# cd pcsd ; make get_gems ; cd ..
# make install_pcsd
If you are using GNU/Linux its now time to:
# systemctl daemon-reload
Currently this is built into Fedora (other distributions to follow). You can
see the current Fedora .spec in the fedora package git repositories here:
http://pkgs.fedoraproject.org/cgit/pcs.git/
Current Fedora 21 .spec:
http://pkgs.fedoraproject.org/cgit/pcs.git/tree/pcs.spec?h=f21
If you have an questions or concerns please feel free to email
cfeist@redhat.com or open a github issue on the pcs project.