1 Summary: I/O fencing system
2 Summary(pl): System barier I/O
8 Group: Applications/System
9 Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
10 # Source0-md5: 8eea23df70d2007c4fb8c234cfea49cf
11 URL: http://sources.redhat.com/cluster/fence/
12 BuildRequires: cman-devel
13 BuildRequires: perl-base
14 BuildRequires: rpm-pythonprov
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _sbindir /sbin
20 The Fence system does I/O fencing of cluster members. Any member may
21 join the default fence domain after which it will be fenced if it
22 fails without leaving the fence domain cleanly. The lock_dlm GFS lock
23 module will not permit GFS to be mounted until the node has joined a
26 The fence daemon, fenced, is usually started by running "fence_tool
27 join". Once started, fenced joins the default fence domain and the
28 node is subject to being fenced if it fails. A collection of fence
29 agents are used by fenced to interface with hardware devices (usually
30 to shut off its path to shared storage or cycle its power source.)
33 System Fence odpowiada za bariery I/O dla cz³onków klastra. Ka¿dy z
34 cz³onków mo¿e do³±czyæ do domy¶lnej domeny barier, po czym bêdzie
35 odgrodzony je¶li zawiedzie nie opuszczaj±c czysto domeny barier. Modu³
36 blokuj±cy GFS-a lock_dlm nie pozwoli na podmontowanie GFS-a dopóki
37 wêze³ nie do³±czy do domeny barier.
39 Demon fence, fenced, jest zwykle uruchamiany przez fence_tool join. Po
40 uruchomieniu fenced do³±cza do domy¶lnej domeny barier, a wêze³ jest
41 przedmiotem odgrodzenia je¶li zawiedzie. fenced wykorzystuje zbiór
42 agentów fence do komunikacji z urz±dzeniami sprzêtowymi (zwykle do
43 odcinania drogi do dzielonej pamiêci lub wy³±czania i w³±czania
47 %setup -q -n cluster-%{version}
50 %{__perl} -pi -e 's/-Wall/%{rpmcflags} -Wall/' make/defines.mk.input
51 %{__perl} -pi -e 's/-O2 //' fence_node/Makefile fence_tool/Makefile fenced/Makefile
56 --incdir=%{_includedir} \
65 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_sbindir}/*
77 #%attr(754,root,root) /etc/rc.d/init.d/fenced