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