代码拉取完成,页面将自动刷新
Name: drbd
Summary: DRBD user-land tools and scripts
Version: 9.28.0
Release: 17
Source0: http://www.linbit.com/downloads/%{name}/utils/%{name}-utils-%{version}.tar.gz
Patch0: drbd-utils-9.12.2-disable_xsltproc_network_read.patch
Patch1: drbd-utils-9.15.0-make_configure-workaround.patch
Patch2: drbd-fix-initialization-of-bitmap-area-for-external-meta-data.patch
# https://github.com/LINBIT/drbd-utils/commit/e9b58afd7ee90124697fe501bee5ced1fc685f70
Patch3: drbd_buildtag.h-only-update-if-changed.patch
# https://github.com/LINBIT/drbd-utils/commit/eed8494c7c5bcf84c3082f1f5d5fb32ba07b9c6d
Patch4: backport-tests-export-sanitize-environment.patch
# https://github.com/LINBIT/drbd-utils/commit/642fa760e64c4b442327657a21067d5cbe961d9e
Patch5: backport-DRBDmon-Add-StringTokenizer-methods-restart-advance.patch
# https://github.com/LINBIT/drbd-utils/commit/1649d36e3bee82da83484eca3c2eef61f1692e70
Patch6: backport-DRBDmon-Add-string_matching-module.patch
# https://github.com/LINBIT/drbd-utils/commit/2beea682e7bd6b711e2e67ed05cda33e2fe6e4b1
Patch7: backport-DRBDmon-Change-cursor-command-add-resource-connectio.patch
# https://github.com/LINBIT/drbd-utils/commit/38a77a862a8618c06cf5c4c5f8e383771af363bc
Patch8: backport-DRBDmon-Version-V1R2M5.patch
# https://github.com/LINBIT/drbd-utils/commit/ef9a32ce9f63e6f8c48bd8f8585c1cf84d44d308
Patch9: backport-DRBDmon-Add-commands-select-deselect-deselect-all-al.patch
# https://github.com/LINBIT/drbd-utils/commit/869102d02e8779c648e53e70809855acb606b475
Patch10: backport-DRBDmon-Make-change_selection-private.patch
# https://github.com/LINBIT/drbd-utils/commit/f5d01ee22c92f5bd7bfea0dcec1dcc6e1df4fbc9
Patch11: backport-DRBDmon-Move-peer-volume-selection-to-SharedData.patch
# https://github.com/LINBIT/drbd-utils/commit/7243587db1554e271ee8fda20b7923bf0e48a9b4
Patch12: backport-DRBDmon-Fix-volume-details-minor-number-label.patch
# https://github.com/LINBIT/drbd-utils/commit/fe64cb57dda9ed70ede1c1ae511fde92580a59bf
Patch13: backport-DRBDmon-Update-shared-volume-cursor-using-the-update.patch
# https://github.com/LINBIT/drbd-utils/commit/68a6f9a62410ca2e171912da92e79b71567bf78f
Patch14: backport-DRBDmon-Add-help-text-skeletons-for-peer-volume-deta.patch
# https://github.com/LINBIT/drbd-utils/commit/0d92dd3e1dfd1a558137ecdb76ec9e3d3b7b74e5
Patch15: backport-DRBDmon-Add-constant-ARG_INVALIDATE_REMOTE.patch
# https://github.com/LINBIT/drbd-utils/commit/4f4be26d376039464104db3b35b8af864716a6ae
Patch16: backport-DRBDmon-Adjust-display-IDs-for-peer-volume-list-deta.patch
# https://github.com/LINBIT/drbd-utils/commit/46047d356481438af49ba3097b9c87ab0ec83cc8
Patch17: backport-DRBDmon-Add-MDspPeerVolumeDetail.patch
# https://github.com/LINBIT/drbd-utils/commit/61a52d98fecae92ec9dd3ef86a22a4265fb07e0b
Patch18: backport-DRBDmon-Add-MDspPeerVolumeActions.patch
# https://github.com/LINBIT/drbd-utils/commit/3d1bd8f08ea987c6ecd46b781da2efa6395d8f39
Patch19: backport-DRBDmon-Enable-hotkey-for-details-actions-from-the-p.patch
Patch20: backport-DRBDmon-GlobalCommandsImpl-Allow-commands-from-peer-.patch
Patch21: backport-DRBDmon-Fix-Hotkey-for-details-page-only-from-cursor.patch
Patch22: backport-DRBDmon-DisplayController-Add-peer-volume-details-ac.patch
Patch23: backport-DRBDmon-Add-MDspPeerVolumeActions-MDspPeerVolumeDeta.patch
Patch24: backport-DRBDmon-Remove-replication-state-from-volume-details.patch
Patch25: backport-DRBDmon-Adjust-display_activated-method.patch
Patch26: backport-DRBDmon-Fix-resource-volume-selection-count-labels.patch
Patch27: backport-DRBDmon-Always-prefix-completed-DRBD-commands-with-t.patch
Patch28: backport-DRBDmon-Add-DRBD-commands-logic-for-peer-volume-comm.patch
Patch29: backport-DRBDmon-Add-CLOSE-command.patch
Patch30: backport-DRBDmon-Update-command-description-for-invalidate-im.patch
Patch31: backport-DRBDmon-Add-debug-log-displays.patch
Patch32: backport-DRBDmon-MDspTaskDetail-Reinitialize-information-if-t.patch
Patch33: backport-DRBDmon-Version-V1R2M6.patch
Patch34: backport-DRBDmon-Add-help-text-for-new-DRBD-commands.patch
Patch35: backport-DRBDmon-Add-help-text-for-new-DRBDmon-commands.patch
Patch36: backport-DRBDmon-Fix-CfgEntryStore-UUID.patch
Patch37: backport-DRBDmon-Update-display-interval-field-on-configurati.patch
Patch38: backport-DRBDmon-Declare-AnsiControl-destructor-virtual.patch
Patch39: backport-DRBDmon-Busy-indicator-debug-log-updates.patch
Patch40: backport-DRBDmon-Pass-through-the-monitor-environment.patch
Patch41: backport-DRBDmon-Enable-loading-saved-DRBD-events-adjust-node.patch
Patch42: backport-DRBDmon-SystemApi-methods-update.patch
Patch43: backport-DRBDmon-Disable-DRBD-actions-commands-when-showing-a.patch
Patch44: backport-DRBDmon-Modify-restart-behavior-when-displaying-an-e.patch
Patch45: backport-DRBDmon-Disable-actions-option-hotkey-if-DRBD-action.patch
Patch46: backport-DRBDmon-Enable-right-click-on-the-peer-volumes-list.patch
Patch47: backport-DRBDmon-Version-V1R3M0.patch
License: GPL-2.0-or-later
ExclusiveOS: linux
URL: http://www.drbd.org/
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: flex
BuildRequires: libxslt
BuildRequires: docbook-style-xsl
BuildRequires: perl-generators
BuildRequires: po4a
BuildRequires: rubygem-asciidoctor
BuildRequires: keyutils-libs-devel
Requires: %{name}-utils = %{version}
Requires: %{name}-udev = %{version}
BuildRequires: udev
BuildRequires: make
%description
DRBD refers to block devices designed as a building block to form high
availability (HA) clusters. This is done by mirroring a whole block device
via an assigned network. DRBD can be understood as network based raid-1.
This is a virtual package, installing the full user-land suite.
%files
%doc COPYING
%doc ChangeLog
%prep
%setup -q -n drbd-utils-%{version}
# Don't let xsltproc make network calls during build
%autopatch -p1
%build
%configure \
--with-utils \
--without-km \
--with-udev \
%ifarch %{ix86} x86_64
--with-xen \
%else
--without-xen \
%endif
--with-pacemaker \
--with-rgmanager \
--with-distro=generic \
--with-systemdunitdir=%{_unitdir}
%{make_build}
%install
rm -rf $RPM_BUILD_ROOT
%{make_install}
# Remove old init script, replace with systemd unit file
rm -f $RPM_BUILD_ROOT/%{_initddir}/drbd
install -d -m755 $RPM_BUILD_ROOT/%{_unitdir}
# Remove old heartbeat files that aren't needed any longer in Fedora
rm -rf $RPM_BUILD_ROOT/etc/ha.d
%package utils
Summary: Management utilities for DRBD
%description utils
DRBD mirrors a block device over the network to another machine.
Think of it as networked raid 1. It is a building block for
setting up high availability (HA) clusters.
This packages includes the DRBD administration tools.
%files utils
%defattr(755,root,root,-)
%{_sbindir}/drbdsetup
%{_sbindir}/drbdadm
%{_sbindir}/drbdmeta
%{_sbindir}/drbdmon
# systemd-related stuff
%attr(0644,root,root) %{_unitdir}/drbd.service
%attr(0644,root,root) %{_unitdir}/drbd-graceful-shutdown.service
%attr(0644,root,root) %{_unitdir}/drbd-demote-or-escalate@.service
%attr(0644,root,root) %{_unitdir}/drbd-lvchange@.service
%attr(0644,root,root) %{_unitdir}/drbd-promote@.service
%attr(0644,root,root) %{_unitdir}/drbd-reconfigure-suspend-or-error@.service
%attr(0644,root,root) %{_unitdir}/drbd-services@.target
%attr(0644,root,root) %{_unitdir}/drbd-wait-promotable@.service
%attr(0644,root,root) %{_unitdir}/drbd@.service
%attr(0644,root,root) %{_unitdir}/drbd@.target
%attr(0644,root,root) %{_unitdir}/ocf.ra@.service
%attr(0644,root,root) %{_tmpfilesdir}/%{name}.conf
# Yes, these paths are peculiar. Upstream is peculiar.
# Be forewarned: rpmlint hates this stuff.
%defattr(755,root,root,-)
/lib/drbd/scripts/drbd
/lib/drbd/scripts/drbd-service-shim.sh
/lib/drbd/scripts/drbd-wait-promotable.sh
/lib/drbd/scripts/ocf.ra.wrapper.sh
/lib/drbd/drbdadm-*
/lib/drbd/drbdsetup-*
/usr/lib/drbd/*.sh
/usr/lib/drbd/rhcs_fence
%defattr(-,root,root,-)
%dir %{_var}/lib/%{name}
%config(noreplace) %{_sysconfdir}/drbd.conf
%dir %{_sysconfdir}/drbd.d
%config(noreplace) %{_sysconfdir}/drbd.d/global_common.conf
%config(noreplace) %{_sysconfdir}/multipath/conf.d/drbd.conf
%{_mandir}/man8/drbd*gz
%{_mandir}/man5/drbd*gz
%{_mandir}/ja/man5/drbd*gz
%{_mandir}/ja/man8/drbd*gz
%{_mandir}/man7/drbd*@.service.*
%{_mandir}/man7/drbd*@.target.*
%{_mandir}/man7/drbd.service.*
%{_mandir}/man7/ocf.ra@.service.*
%doc scripts/drbd.conf.example
%license COPYING
%doc ChangeLog
# armv7hl/aarch64 doesn't have Xen packages
%ifarch %{ix86} x86_64
%package xen
Summary: Xen block device management script for DRBD
Requires: %{name}-utils = %{version}-%{release}
%description xen
This package contains a Xen block device helper script for DRBD, capable of
promoting and demoting DRBD resources as necessary.
%files xen
%defattr(755,root,root,-)
%{_sysconfdir}/xen/scripts/block-drbd
%endif
%package udev
Summary: udev integration scripts for DRBD
Requires: %{name}-utils = %{version}-%{release}, udev
%description udev
This package contains udev helper scripts for DRBD, managing symlinks to
DRBD devices in /dev/drbd/by-res and /dev/drbd/by-disk.
%files udev
%{_udevrulesdir}/65-drbd.rules
%package pacemaker
Summary: Pacemaker resource agent for DRBD
Requires: %{name}-utils = %{version}-%{release}
Requires: pacemaker
License: GPL-2.0-only
%description pacemaker
This package contains the master/slave DRBD resource agent for the
Pacemaker High Availability cluster manager.
%files pacemaker
%defattr(755,root,root,-)
%dir %{_prefix}/lib/ocf/resource.d/linbit/
%{_prefix}/lib/ocf/resource.d/linbit/drbd
%{_prefix}/lib/ocf/resource.d/linbit/drbd-attr
%{_prefix}/lib/ocf/resource.d/linbit/drbd.shellfuncs.sh
%{_mandir}/man7/ocf_linbit_drbd*gz
%package rgmanager
Summary: Red Hat Cluster Suite agent for DRBD
Requires: %{name}-utils = %{version}-%{release}
%description rgmanager
This package contains the DRBD resource agent for the Red Hat Cluster Suite
resource manager.
As of Red Hat Cluster Suite 3.0.1, the DRBD resource agent is included
in the Cluster distribution.
%files rgmanager
%defattr(755,root,root,-)
%{_datadir}/cluster/drbd.sh
%defattr(-,root,root,-)
%{_datadir}/cluster/drbd.metadata
%package bash-completion
Summary: Programmable bash completion support for drbdadm
Requires: %{name}-utils = %{version}-%{release}
%description bash-completion
This package contains programmable bash completion support for the drbdadm
management utility.
%files bash-completion
%config %{_sysconfdir}/bash_completion.d/drbdadm*
%post utils
%systemd_post drbd.service
%preun utils
%systemd_preun drbd.service
%changelog
* Sun Nov 24 2024 liupei <liupei@kylinos.cn> - 9.28.0-17
- DRBDmon: Disable actions option & hotkey if DRBD actions are disabled
- DRBDmon: Enable right-click on the peer volumes list
- DRBDmon: Version V1R3M0
* Fri Nov 22 2024 liupei <liupei@kylinos.cn> - 9.28.0-16
- DRBDmon: Disable DRBD actions/commands when showing an events log file
- DRBDmon: Modify restart behavior when displaying an events log file
* Wed Nov 20 2024 liupei <liupei@kylinos.cn> - 9.28.0-15
- DRBDmon: Pass-through the monitor environment
* Thu Oct 31 2024 liupei <liupei@kylinos.cn> - 9.28.0-14
- DRBDmon: Fix CfgEntryStore UUID
- DRBDmon: Update display interval field on configuration load or reset
- DRBDmon: Declare AnsiControl destructor virtual
- DRBDmon: Busy indicator, debug log updates
* Tue Oct 29 2024 liupei <liupei@kylinos.cn> - 9.28.0-13
- DRBDmon: Add help text for new DRBD and DRBDmon commands
* Fri Oct 25 2024 liupei <liupei@kylinos.cn> - 9.28.0-12
- DRBDmon: MDspTaskDetail: Reinitialize information if the selected task ID changes
- DRBDmon: Version V1R2M6
* Fri Oct 18 2024 liupei <liupei@kylinos.cn> - 9.28.0-11
- DRBDmon: Add /CLOSE command
- DRBDmon: Update command description for invalidate, improved clarity
- DRBDmon: Add debug log displays
* Mon Oct 14 2024 liupei <liupei@kylinos.cn> - 9.28.0-10
- DRBDmon: Fix resource & volume selection count labels
- DRBDmon: Always prefix completed DRBD commands with two slashes
- DRBDmon: Add DRBD commands, logic for peer volume commands
* Thu Oct 10 2024 liupei <liupei@kylinos.cn> - 9.28.0-9
- DRBDmon: Remove replication state from volume details, it's always unknown
- DRBDmon: Adjust display_activated method
* Mon Sep 23 2024 liupei <liupei@kylinos.cn> - 9.28.0-8
- DRBDmon: Adjust display IDs for peer volume list, details, actions
- DRBDmon: Add MDspPeerVolumeDetail and MDspPeerVolumeActions
* Wed Sep 18 2024 liupei <liupei@kylinos.cn> - 9.28.0-7
- DRBDmon: Add help text skeletons for peer volume details & actions displays
- DRBDmon: Add constant ARG_INVALIDATE_REMOTE
* Thu Sep 12 2024 liupei <liupei@kylinos.cn> - 9.28.0-6
- DRBDmon: Move peer volume selection to SharedData
- DRBDmon: Fix volume details minor number label
- DRBDmon: Update shared volume cursor using the update
* Sun Sep 08 2024 liupei <liupei@kylinos.cn> - 9.28.0-5
- DRBDmon: Add commands /select, /deselect, /deselect-all (alias for /clear-selection)
- DRBDmon: Make change_selection private
* Tue Sep 03 2024 liupei <liupei@kylinos.cn> - 9.28.0-4
- DRBDmon: Change /cursor command, add /resource, /connection, /volume commands
- DRBDmon: Version V1R2M5
* Fri Aug 30 2024 liupei <liupei@kylinos.cn> - 9.28.0-3
- tests: export sanitize environment
- DRBDmon: Add StringTokenizer methods restart & advance
- DRBDmon: Add string_matching module
* Wed Aug 28 2024 liupei <liupei@kylinos.cn> - 9.28.0-2
- drbd: fix initialization of "bitmap area" for external meta data
- drbd_buildtag.h: only update if changed
* Tue Aug 13 2024 liupei <liupei@kylinos.cn> - 9.28.0-1
- update to 9.28.0
- events2: set may_promote:no promotion_score:0 while force-io-failure:yes
- drbdsetup,v9: show TLS in connection status
- drbdsetup,v9: add udev command
- crm-fence-peer.9.sh: fixes for pacemaker 2.1.7
- events2: improved out of order message handling
* Tue Aug 13 2024 liupei <liupei@kylinos.cn> - 9.27.0-12
- drbdsetup,events2: remove a pointless loop
- drbdsetup,events2: make apply_stored_event() a function
- drbdsetup,events2: Reorder events that arrive out-of-order
* Thu Aug 08 2024 liupei <liupei@kylinos.cn> - 9.27.0-11
- tests: add tests for out-of-order events2 messages
* Tue Aug 06 2024 liupei <liupei@kylinos.cn> - 9.27.0-10
- drbdmeta: when asking pvs for pv_size, allow scan_lvs=1
- drbd.rules: remove GOTO without corresponding LABEL
* Wed Jul 24 2024 liupei <liupei@kylinos.cn> - 9.27.0-9
- crm-fence-peer.9.sh: fix parsing in_ccm crmd fields of node_state with Pacemaker 2.1.7
- crm-fence-peer.9.sh: use join of node_state to judge whether node is banned
* Mon Jul 15 2024 liupei <liupei@kylinos.cn> - 9.27.0-8
- configure.ac: Add an option to disable host udev version checks
- drbdsetup: add udev command
- drbd.rules: use drbdsetup udev command
* Wed Jul 10 2024 liupei <liupei@kylinos.cn> - 9.27.0-7
- drbdsetup,v9: show TLS in connection status
- Filter DRBD devices from LVM commands
* Fri Jun 28 2024 liupei <liupei@kylinos.cn> - 9.27.0-6
- add missing include for recently added call to include_file()
- drbdmeta: create-md: new options --effective-size and --diskful-peers
- drbdadm: create-md: new options --effective-size, --diskful-peers
* Sat Mar 23 2024 liupei <liupei@kylinos.cn> - 9.27.0-5
- fix typo in error message
* Thu Mar 21 2024 liupei <liupei@kylinos.cn> - 9.27.0-4
- events2: set may_promote:no promotion_score:0 while force-io-failure:yes
* Tue Mar 19 2024 liupei <liupei@kylinos.cn> - 9.27.0-3
- Update scripts/drbd to fix "no such file" bug
* Mon Mar 18 2024 liupei <liupei@kylinos.cn> - 9.27.0-2
- postparse: improve "file:line: error message" reporting
* Fri Mar 15 2024 liupei <liupei@kylinos.cn> - 9.27.0-1
- update to 9.27.0
* Mon Mar 11 2024 liupei <liupei@kylinos.cn> - 9.26.0-1
- update to 9.26.0
- Build requires keyutils-libs-devel
* Fri Mar 8 2024 liupei <liupei@kylinos.cn> - 9.25.0-1
- update to 9.25.0
* Tue Mar 5 2024 liupei <liupei@kylinos.cn> - 9.24.0-1
- update to 9.24.0
* Thu Feb 29 2024 liupei <liupei@kylinos.cn> - 9.23.1-1
- update to 9.23.1
* Wed Feb 28 2024 liupei <liupei@kylinos.cn> - 9.23.0-1
- update to 9.23.0
* Wed Feb 28 2024 liupei <liupei@kylinos.cn> - 9.22.0-1
- update to 9.22.0
* Mon Nov 27 2023 liupei <liupei@kylinos.cn> - 9.21.4-1
- update to 9.21.4
* Fri Mar 11 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 9.17.0-1
- update to 9.17.0
* Fri Aug 13 2021 yangzhao <yangzhao1@kylinos.cn> - 9.5.0-6
- Fix gcc 10 build multiple definition error
* Thu Nov 27 2020 jiangxinyu <jiangxinyu@kylinos.cn> - 9.5.0-5
- Resolve resource-agents conflict when installing drbd-rgmanager package
* Fri Oct 30 2020 jiangxinyu <jiangxinyu@kylinos.cn> - 9.5.0-4
- Rebuilt for openEuler20.03 LTS
* Thu Apr 16 2020 houjian<jian.hou@kylinos.cn> - 9.5.0-3
- Init drbd project
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。