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