~ampelbein/ubuntu/oneiric/heartbeat/lp-770743

« back to all changes in this revision

Viewing changes to crm/README

  • Committer: Bazaar Package Importer
  • Author(s): Ante Karamatic
  • Date: 2009-08-10 19:29:25 UTC
  • mfrom: (5.2.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20090810192925-9zy2llcbgavbskf7
Tags: 2.99.2+sles11r9-5ubuntu1
* New upstream snapshot
* Adjusted heartbeat.install and rules for documentation path

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
This directory contains the design documentation and eventually the code
2
 
for the Cluster Resource Manager framework for heartbeat.
3
 
 
4
 
We might eventually have several policy engines and other modular
5
 
components (as outlined in the crm.txt), but hopefully only one
6
 
framework they all plug into.
7
 
 
8
 
 
9
 
###################
10
 
 
11
 
 
12
 
Installation:
13
 
===============================
14
 
run ConfigureMe or bootstrap with the --enable-crm option
15
 
make ; make install
16
 
 
17
 
Pids, sockets and the CIB configuration will be in: $HA_VARLIBDIR/heartbeat/crm
18
 
Executables will be in /usr/lib/heartbeat/ or wherever the heartbeat 
19
 
  executable is normally found
20
 
Logs will be in: /var/log
21
 
A couple of developmental trace files will also turn up in /tmp.  
22
 
  In particular live.dot can be used with the dot program to trace the state changes.
23
 
 
24
 
 
25
 
Startup:
26
 
===============================
27
 
- Add a respawn entry for ccm to ha.cf
28
 
- Add a respawn entry for lrmd to ha.cf
29
 
- Add the appropriate "apiauth" entries to ha.cf
30
 
- Remove entries from haresources
31
 
- Remove any stonith devices from ha.cf
32
 
- Start heartbeat using the -M switch
33
 
- start the crmd ($your_bin_dir/crmd)
34
 
 
35
 
 
36
 
Testing & Configuration:
37
 
===============================
38
 
See 1node.sh and 2node.sh in the testing sub-dir for detailed startup and configuration examples.
39
 
 
40
 
helper.sh contains argument processing for both of these scripts.
41
 
 
42
 
 
43
 
Logging:
44
 
===============================
45
 
By default the CRMd filters out LOG_DEBUG messages and anything more verbose.
46
 
This can be altered by invoking it with multiple -V options to increase this level.
47
 
Alternativly, sending SIGUSR1 and SIGUSR2 will increase and decrease the log level.
48
 
If the log level is more verbose than LOG_INFO, debug info will also be logged to stdout. 
49
 
 
50
 
 
51
 
Admin Tools:
52
 
===============================
53
 
 
54
 
There are two admin tools: crmadmin and cibadmin.  Run both with -? or no arguments to see up-to-date help information.
55
 
 
56
 
The crmadmin tool is primarily for controling the cluster and running some common queries.
57
 
 
58
 
The cibadmin tool is for configuring the cluster (maintaining the CIB) and running more detailed and custom queries of the CIB.