-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathREADME
146 lines (108 loc) · 4.38 KB
/
README
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
This is an implementation of the Service Availability Forum's
Hardware Platform Interface B.03.01 specification.
The following components are supported:
* OpenHPI base library
* OpenHPI utility library
* OpenHPI Daemon
* Simulator Plugin
* SNMP BladeCenter/RSA Plugin
* IPMI Plugin
* IMPI Direct Plugin
* iLO2 RIBCL Plug-in
* SOAP/XML BladeSystem c-Class Plugin
* HPI Clients
Feedback, as always, is welcome and encouraged:
openhpi-devel@lists.sourceforge.net
---------------------------------------------------------
PREREQUISITES
---------------------------------------------------------
The following software is required to build openhpi
autoconf >= 2.57
automake >= 1.8
gcc >= 3.2.0
uuid.h (may be found in e2fsprogs-devel or uuid-dev)
glib2 >= 2.2
pkgconfig (may be called pkg-config depending on distro)
The follow libraries are needed to build certain plugins
ipmi plugin
OpenIPMI >= 1.4.20 (http://openipmi.sf.net)
sysfs plugin
libsysfs =< 1.3
snmp_bc plugin
net-snmp >= 5.07
oa_soap plugin
libssl >= 0.9.7
libxml2
---------------------------------------------------------
RPM BUILD NOTE
---------------------------------------------------------
The library libuuid.so can be provided with e2fsprogs RPM
or with libuuid RPM.
And the header file uuid.h can be provided with
e2fsprogs-devel RPM or with libuuid-devel RPM
correspondingly.
The default RPM spec for openhpi is configured for the
first case libuuid/libuuid-devel.
If your distribution falls into the second case just
change uuid_provider in openhpi.spec.in before
running ./configure script.
---------------------------------------------------------
BUILD / INSTALLATION
---------------------------------------------------------
FOR RELEASED TARBALLS
Use standard UNIX mechanisms:
./configure && make && make install
Note: by default all plugins that *can* be built, will be built, all
other plugins will be silently disabled.
If you wish to disable a plugin, any flags you pass to configure
will be passed to the configure program.
("./configure --help" for more info on the options)
i.e. ./configure --disable-simulator will disable the simulator plugin
Note that for a production-type installation you will want to pass
the following options at the least:
./configure --prefix=/usr --sysconfdir=/etc --with-varpath=/var/lib/openhpi
then
make (or make rpm, but you will need to be root on some distros.)
and then (as root or with proper system install permissions)
make install (or install from the rpm).
It will install the openhpi library, enabled plug-ins and sample
applications that uses the library and plug-ins.
NOTE: Modify the configuration file, openhpi.conf, for your needs.
This will be in ${sysconfdir}/openhpi/openhpi.conf, where $sysconfdir is
${prefix}/etc by default (and ${prefix} is /usr/local by default) unless
you set $sysconfdir when you ran ./configure as shown above.
FOR SUBVERSION EXTRACTS
svn co https://svn.sourceforge.net/svnroot/openhpi/openhpi/trunk openhpi
First time after extracting the code:
run ./bootstrap
This will generate the configure script and all files needed by it.
Then, use the instructions provided for RELEASED TARBALLS
---------------------------------------------------------
CLEANUP
---------------------------------------------------------
To remove the temporary build files, type:
make clean
If you are a maintainer, and need to remove all autogenerated files, type:
make clean
make maintainer-clean
(will neeed to run bootstrap and configure again after that)
---------------------------------------------------------
Active Plug-ins
---------------------------------------------------------
simulator - plugin for use in testing
ipmi - OpenIPMI based plugin
ipmidirect - IPMI plugin that talks to device driver directly
snmp_bc - IBM BladeCenter/RSA plugin (uses snmp)
watchdog - Linux watchdog device interface
sysfs - Linux sysfs plugin (LM sensors and I2C devices exported in
sysfs requires kernel 2.6 or >= 2.5.72)
ilo2_ribcl - HP ProLiant Rack Mount Server plug-in
oa_soap - HP BladeSystem c-Class plugin
For information on recent changes, see the changelogs at
http://openhpi.sf.net
---------------------------------------------------------
FOR MORE INFO
---------------------------------------------------------
For more information please see the project webiste at
http://openhpi.sourceforge.net
Also visit SAForum's website at http://www.saforum.org