File: usage.txt

package info (click to toggle)
redhat-cluster 3.1.8-1.2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,608 kB
  • ctags: 6,306
  • sloc: ansic: 62,895; sh: 1,626; makefile: 1,143; perl: 765
file content (67 lines) | stat: -rw-r--r-- 1,110 bytes parent folder | download
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
cluster3 minimal setup and usage

cluster configuration
---------------------

Create /etc/cluster/cluster.conf and copy it to all nodes.

Below is a minimal cluster.conf file using manual fencing.  The node names
should resolve to the address on the network interface you want to use for
cluster communication.

<?xml version="1.0"?>
<cluster name="alpha" config_version="1">

<clusternodes>
<clusternode name="node-01" nodeid="1"/>
<clusternode name="node-02" nodeid="2"/>
<clusternode name="node-03" nodeid="3"/>
</clusternodes>

</cluster>


cluster start
-------------

Use the init script on all nodes:

> service cman start

Or, minimal manual steps:

> modprobe configfs
> modprobe dlm
> mount -t configfs none /sys/kernel/config
> cman_tool join
> fenced
> dlm_controld
> fence_tool join


using clvm
----------

Use the init script on all nodes:

> service clvmd start

Or, manually:

> clvmd
> vgscan
> vgchange -aly


using rgmanager
---------------

Use the init script on all nodes:

> service rgmanager start

Or, manually:

> rgmanager

Create services/resources to be managed in cluster.conf.