]> git.pld-linux.org Git - packages/fence.git/blame - fence.spec
- updated to 2.03.10 (the last 2nd generation cluster release)
[packages/fence.git] / fence.spec
CommitLineData
8e9663d2 1Summary: I/O fencing system
edd0b3e7 2Summary(pl.UTF-8): System barier I/O
8e9663d2 3Name: fence
7b0a6c13 4Version: 2.03.10
8e9663d2 5Release: 1
db9d35b6 6Epoch: 1
7b0a6c13 7License: GPL v2+
8e9663d2 8Group: Applications/System
db9d35b6 9Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
7b0a6c13 10# Source0-md5: 379b560096e315d4b52e238a5c72ba4a
b07b8fdc 11URL: http://sources.redhat.com/cluster/fence/
7b0a6c13
JB
12BuildRequires: cman-devel >= 2.03.10
13BuildRequires: ccs-devel >= 2.03.10
dd6358d9 14BuildRequires: perl-base
cb8c0092 15BuildRequires: rpm-pythonprov
7b0a6c13 16Requires: cman-libs >= 2.03.10
8e9663d2
AM
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%define _sbindir /sbin
20
21%description
50db4c12
JB
22The Fence system does I/O fencing of cluster members. Any member may
23join the default fence domain after which it will be fenced if it
24fails without leaving the fence domain cleanly. The lock_dlm GFS lock
25module will not permit GFS to be mounted until the node has joined a
cb8c0092 26fence domain.
8e9663d2 27
50db4c12
JB
28The fence daemon, fenced, is usually started by running "fence_tool
29join". Once started, fenced joins the default fence domain and the
30node is subject to being fenced if it fails. A collection of fence
31agents are used by fenced to interface with hardware devices (usually
32to shut off its path to shared storage or cycle its power source.)
33
ccb0177f
JR
34%description -l pl.UTF-8
35System Fence odpowiada za bariery I/O dla członków klastra. Każdy z
36członków może dołączyć do domyślnej domeny barier, po czym będzie
37odgrodzony jeśli zawiedzie nie opuszczając czysto domeny barier. Moduł
38blokujący GFS-a lock_dlm nie pozwoli na podmontowanie GFS-a dopóki
39węzeł nie dołączy do domeny barier.
50db4c12
JB
40
41Demon fence, fenced, jest zwykle uruchamiany przez fence_tool join. Po
ccb0177f
JR
42uruchomieniu fenced dołącza do domyślnej domeny barier, a węzeł jest
43przedmiotem odgrodzenia jeśli zawiedzie. fenced wykorzystuje zbiór
44agentów fence do komunikacji z urządzeniami sprzętowymi (zwykle do
45odcinania drogi do dzielonej pamięci lub wyłączania i włączania
50db4c12 46zasilania).
8e9663d2
AM
47
48%prep
db9d35b6 49%setup -q -n cluster-%{version}
8e9663d2
AM
50
51%build
52./configure \
7b0a6c13
JB
53 --cc="%{__cc}" \
54 --cflags="%{rpmcflags} -Wall" \
55 --ldflags="%{rpmldflags}" \
8e9663d2 56 --incdir=%{_includedir} \
8e9663d2 57 --libdir=%{_libdir} \
7b0a6c13 58 --libexecdir=%{_libdir} \
8e9663d2
AM
59 --mandir=%{_mandir} \
60 --prefix=%{_prefix} \
7b0a6c13
JB
61 --sbindir=%{_sbindir} \
62 --without_gfs \
63 --without_gfs2 \
64 --without_gnbd \
65 --without_kernel_modules
66
67# libgroup.a is not packaged anywhere, so we must build it here
68%{__make} -C group/lib
69
70%{__make} -C %{name}
8e9663d2
AM
71
72%install
73rm -rf $RPM_BUILD_ROOT
74
7b0a6c13 75%{__make} -C %{name} install \
8e9663d2
AM
76 DESTDIR=$RPM_BUILD_ROOT
77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%files
82%defattr(644,root,root,755)
7b0a6c13
JB
83%attr(755,root,root) %{_sbindir}/fence_*
84%attr(755,root,root) %{_sbindir}/fenced
85# TODO: PLDify
86#%attr(754,root,root) /etc/rc.d/init.d/scsi_reserve
87%{_datadir}/fence
88#%{_datadir}/snmp/mibs/powernet369.mib
89%{_mandir}/man8/fence.8*
90%{_mandir}/man8/fence_*.8*
91%{_mandir}/man8/fenced.8*
This page took 0.067926 seconds and 4 git commands to generate.