unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58152] [PATCH 0/5]: gnu Add pacemaker
@ 2022-09-28 21:05 Sharlatan Hellseher
  2022-09-28 21:07 ` [bug#58152] [PATCH 1/5]: Move libqb to high-availability Sharlatan Hellseher
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Sharlatan Hellseher @ 2022-09-28 21:05 UTC (permalink / raw)
  To: 58152; +Cc: Ludovic Courtès, Christopher Baines

Hi Guix team!

This patch series add pacemaker and it's dependencies under new module
more logically suited for that functionality which I could not find in
other of the modules - High Availability.

It would be a good foundation to pack such projects like Proxmox,
oVirt. They provide convenient clustirisation solutions which would be
nice to have in Guix :)

Sharlatan Hellseher (5):
  gnu: Move libqb to high-availability
  gnu: libqb: Update to 2.0.6
  gnu: Add kronosnet
  gnu: Add corosync
  gnu: Add pacemaker

 gnu/local.mk                       |   1 +
 gnu/packages/hardware.scm          |  27 ----
 gnu/packages/high-availability.scm | 242 +++++++++++++++++++++++++++++
 3 files changed, 243 insertions(+), 27 deletions(-)
 create mode 100644 gnu/packages/high-availability.scm


base-commit: afcc6d636f7d7b1914fa3425da3574db4a94f26f


-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#58152] [PATCH 1/5]: Move libqb to high-availability
  2022-09-28 21:05 [bug#58152] [PATCH 0/5]: gnu Add pacemaker Sharlatan Hellseher
@ 2022-09-28 21:07 ` Sharlatan Hellseher
  2022-09-28 21:08 ` [bug#58152] [PATCH 2/5]: gnu: libqb: Update to 2.0.6 Sharlatan Hellseher
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Sharlatan Hellseher @ 2022-09-28 21:07 UTC (permalink / raw)
  To: 58152

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0001-gnu-Move-libqb-to-high-availability.patch --]
[-- Type: text/x-patch, Size: 6153 bytes --]

From d9e4033f1fb9c9944c3c1e97aa1e19396b2cb1e3 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 28 Sep 2022 21:20:05 +0100
Subject: [PATCH 1/5] gnu: Move libqb to high-availability

* gnu/packages/hardware.scm (libqb): Move to high-availability.scm.
* gnu/packages/high-availability.scm: New file.
* gnu/local.mk: Add high-availability.scm to GNU_SYSTEM_MODULES list.
---
 gnu/local.mk                       |  1 +
 gnu/packages/hardware.scm          | 27 ----------
 gnu/packages/high-availability.scm | 80 ++++++++++++++++++++++++++++++
 3 files changed, 81 insertions(+), 27 deletions(-)
 create mode 100644 gnu/packages/high-availability.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 0134fb53d8..373b6bc398 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -309,6 +309,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/haxe.scm				\
   %D%/packages/heads.scm			\
   %D%/packages/hexedit.scm			\
+  %D%/packages/high-availability.scm			\
   %D%/packages/hugs.scm				\
   %D%/packages/hunspell.scm				\
   %D%/packages/hurd.scm				\
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index d47be7a55d..41c38746c5 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -1117,33 +1117,6 @@ (define-public rkdeveloptool
 as the Pinebook Pro.")
       (license license:gpl2+))))
 
-(define-public libqb
-  (package
-    (name "libqb")
-    ;; NOTE: We are using a Release Candidate version (for 2.0) here because
-    ;; of the linker issues with the previous release.
-    (version "1.9.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/ClusterLabs/libqb/releases/download/v"
-                    version "/libqb-" version ".tar.xz"))
-              (sha256
-               (base32
-                "008vvw504kh40br5v2xkqavnp9vpmjvf768faqzv1d00fd53ingn"))))
-    (build-system gnu-build-system)
-    (native-inputs
-     (list pkg-config libxml2))
-    (home-page "https://clusterlabs.github.io/libqb/")
-    (synopsis "Library providing high performance logging, tracing, ipc, and poll")
-    (description "Libqb is a library with the primary purpose of providing
-high-performance, reusable features for client-server architecture, such as
-logging, tracing, inter-process communication (IPC), and polling.  Libqb is
-not intended to be an all-encompassing library, but instead provide focused
-APIs that are highly tuned for maximum performance for client-server
-applications.")
-    (license license:lgpl2.1)))
-
 (define-public usbguard
   (package
     (name "usbguard")
diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
new file mode 100644
index 0000000000..1a8c348020
--- /dev/null
+++ b/gnu/packages/high-availability.scm
@@ -0,0 +1,80 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; This program is free software: you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; This program is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; This module provides package definitions related for High Availability (HA)
+;; software, which come as foundation to create clusterization and load
+;; balancing of services.
+
+;;; Code:
+
+(define-module (gnu packages high-availability)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages check)
+  #:use-module (gnu packages compression)
+  #:use-module (gnu packages documentation)
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages gettext)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages hardware)
+  #:use-module (gnu packages linux)
+  #:use-module (gnu packages networking)
+  #:use-module (gnu packages nss)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages rsync)
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages valgrind)
+  #:use-module (gnu packages version-control)
+  #:use-module (gnu packages xml)
+  #:use-module (gnu packages)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix gexp)
+  #:use-module (guix download)
+  #:use-module (guix git-download)
+  #:use-module (guix packages)
+  #:use-module ((guix licenses)
+                #:prefix license:))
+
+(define-public libqb
+  (package
+    (name "libqb")
+    ;; NOTE: We are using a Release Candidate version (for 2.0) here because
+    ;; of the linker issues with the previous release.
+    (version "1.9.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/ClusterLabs/libqb/releases/download/v"
+                    version "/libqb-" version ".tar.xz"))
+              (sha256
+               (base32
+                "008vvw504kh40br5v2xkqavnp9vpmjvf768faqzv1d00fd53ingn"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list pkg-config libxml2))
+    (home-page "https://clusterlabs.github.io/libqb/")
+    (synopsis "Library providing high performance logging, tracing, ipc, and poll")
+    (description "Libqb is a library with the primary purpose of providing
+high-performance, reusable features for client-server architecture, such as
+logging, tracing, inter-process communication (IPC), and polling.  Libqb is
+not intended to be an all-encompassing library, but instead provide focused
+APIs that are highly tuned for maximum performance for client-server
+applications.")
+    (license license:lgpl2.1)))
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [bug#58152] [PATCH 2/5]: gnu: libqb: Update to 2.0.6
  2022-09-28 21:05 [bug#58152] [PATCH 0/5]: gnu Add pacemaker Sharlatan Hellseher
  2022-09-28 21:07 ` [bug#58152] [PATCH 1/5]: Move libqb to high-availability Sharlatan Hellseher
@ 2022-09-28 21:08 ` Sharlatan Hellseher
  2022-09-28 21:08 ` [bug#58152] [PATCH 3/5]: gnu: Add kronosnet Sharlatan Hellseher
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Sharlatan Hellseher @ 2022-09-28 21:08 UTC (permalink / raw)
  To: 58152

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0002-gnu-libqb-Update-to-2.0.6.patch --]
[-- Type: text/x-patch, Size: 2198 bytes --]

From c869314cf7fe6c7c916b1fa995ace8f90c0ea0b6 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 28 Sep 2022 21:26:44 +0100
Subject: [PATCH 2/5] gnu: libqb: Update to 2.0.6

* gnu/packages/high-availability.scm (libqb): Update to 2.0.6.
  Run `guix style'  over the package.
  [native-inputs]: Add autoconf, automake, libtools to fix configure and
  build phases.
---
 gnu/packages/high-availability.scm | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
index 1a8c348020..46247c4e13 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -55,9 +55,7 @@ (define-module (gnu packages high-availability)
 (define-public libqb
   (package
     (name "libqb")
-    ;; NOTE: We are using a Release Candidate version (for 2.0) here because
-    ;; of the linker issues with the previous release.
-    (version "1.9.1")
+    (version "2.0.6")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -65,13 +63,14 @@ (define-public libqb
                     version "/libqb-" version ".tar.xz"))
               (sha256
                (base32
-                "008vvw504kh40br5v2xkqavnp9vpmjvf768faqzv1d00fd53ingn"))))
+                "071k916vz9ppyb69rpk792fzjs3nf3chakn10i496scgiqh49rzi"))))
     (build-system gnu-build-system)
-    (native-inputs
-     (list pkg-config libxml2))
+    (native-inputs (list autoconf automake libtool libxml2 pkg-config))
     (home-page "https://clusterlabs.github.io/libqb/")
-    (synopsis "Library providing high performance logging, tracing, ipc, and poll")
-    (description "Libqb is a library with the primary purpose of providing
+    (synopsis
+     "Library providing high performance logging, tracing, ipc, and poll")
+    (description
+     "Libqb is a library with the primary purpose of providing
 high-performance, reusable features for client-server architecture, such as
 logging, tracing, inter-process communication (IPC), and polling.  Libqb is
 not intended to be an all-encompassing library, but instead provide focused
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [bug#58152] [PATCH 3/5]: gnu: Add kronosnet
  2022-09-28 21:05 [bug#58152] [PATCH 0/5]: gnu Add pacemaker Sharlatan Hellseher
  2022-09-28 21:07 ` [bug#58152] [PATCH 1/5]: Move libqb to high-availability Sharlatan Hellseher
  2022-09-28 21:08 ` [bug#58152] [PATCH 2/5]: gnu: libqb: Update to 2.0.6 Sharlatan Hellseher
@ 2022-09-28 21:08 ` Sharlatan Hellseher
  2022-10-10  9:04   ` [bug#58152] [PATCH 0/5]: gnu Add pacemaker Ludovic Courtès
  2022-09-28 21:09 ` [bug#58152] [PATCH 4/5]: gnu: Add corosync Sharlatan Hellseher
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 9+ messages in thread
From: Sharlatan Hellseher @ 2022-09-28 21:08 UTC (permalink / raw)
  To: 58152

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0003-gnu-Add-kronosnet.patch --]
[-- Type: text/x-patch, Size: 3341 bytes --]

From 441e9a219377d93dd47488b7994b749a69a89382 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 28 Sep 2022 21:37:07 +0100
Subject: [PATCH 3/5] gnu: Add kronosnet

* gnu/packages/high-availability.scm (kronosnet): New variable.
---
 gnu/packages/high-availability.scm | 61 ++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
index 46247c4e13..48c371a6db 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -77,3 +77,64 @@ (define-public libqb
 APIs that are highly tuned for maximum performance for client-server
 applications.")
     (license license:lgpl2.1)))
+
+(define-public kronosnet
+  (package
+    (name "kronosnet")
+    (version "1.24")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/kronosnet/kronosnet")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1b8rz7f2h3scrq0xcqz58ckzsvv08g31j5jgy2v4i6w87r9c75lw"))))
+    (build-system gnu-build-system)
+    (arguments
+     ;; XXX: Multiple tests failed. Tests
+     ;; require very complex environment and for some of them root privileges to
+     ;; set network configuration. It has it's own CI based on Jenkis
+     ;; https://ci.kronosnet.org/.
+     (list #:tests? #f
+           #:phases #~(modify-phases %standard-phases
+                        (add-before 'bootstrap 'fix-version-gen
+                          (lambda _
+                            (call-with-output-file ".tarball-version"
+                              (lambda (port)
+                                (display #$version port))))))))
+    (native-inputs (list autoconf
+                         automake
+                         doxygen
+                         libtool
+                         net-tools
+                         pkg-config
+                         ;; libgcc_s.so.1 must be installed for pthread_cancel to work
+                         `(,gcc "lib")))
+    (inputs (list lksctp-tools
+                  libnl
+                  libqb
+                  libxml2
+                  lz4
+                  lzo
+                  nss
+                  nspr
+                  openssl
+                  xz
+                  zlib
+                  `(,zstd "lib")))
+    (home-page "https://kronosnet.org/")
+    (synopsis "Network abstraction layer designed for High Availability")
+    (description
+     "Kronosnet, often referred to as @code{knet}, is a network
+ abstraction layer designed for High Availability use cases, where redundancy,
+ security, fault tolerance and fast fail-over are the core requirements of
+ your application.
+
+ Kronosnet is the new underlying network protocol for Linux HA components
+ (Corosync), that features ability to use multiple links between nodes,
+ active/active and active/passive link failover policies, automatic link
+ recovery, FIPS compliant encryption (nss and/or openssl), automatic PMTUd and
+ in general better performances compared to the old network protocol.")
+    (license (list license:gpl2+ license:lgpl2.1+))))
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [bug#58152] [PATCH 4/5]: gnu: Add corosync
  2022-09-28 21:05 [bug#58152] [PATCH 0/5]: gnu Add pacemaker Sharlatan Hellseher
                   ` (2 preceding siblings ...)
  2022-09-28 21:08 ` [bug#58152] [PATCH 3/5]: gnu: Add kronosnet Sharlatan Hellseher
@ 2022-09-28 21:09 ` Sharlatan Hellseher
  2022-10-10  9:06   ` [bug#58152] [PATCH 0/5]: gnu Add pacemaker Ludovic Courtès
  2022-09-28 21:10 ` [bug#58152] [PATCH 5/5]: gnu: " Sharlatan Hellseher
  2022-10-10  9:23 ` bug#58152: [PATCH 0/5]: gnu " Ludovic Courtès
  5 siblings, 1 reply; 9+ messages in thread
From: Sharlatan Hellseher @ 2022-09-28 21:09 UTC (permalink / raw)
  To: 58152

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0004-gnu-Add-corosync.patch --]
[-- Type: text/x-patch, Size: 2768 bytes --]

From 5b18749fc520bd4eb30c17b043402dd5c256061a Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 28 Sep 2022 21:43:31 +0100
Subject: [PATCH 4/5] gnu: Add corosync

* gnu/packages/high-availability.scm (corosync): New variable.
---
 gnu/packages/high-availability.scm | 48 ++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
index 48c371a6db..488ac5a3b0 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -138,3 +138,51 @@ (define-public kronosnet
  recovery, FIPS compliant encryption (nss and/or openssl), automatic PMTUd and
  in general better performances compared to the old network protocol.")
     (license (list license:gpl2+ license:lgpl2.1+))))
+
+(define-public corosync
+  (package
+    (name "corosync")
+    (version "3.1.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/corosync/corosync")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "03g3qnm5acmk7jry6kspvkssbiv8k39749bic2f0cj3ckkwy2li4"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-before 'bootstrap 'fix-version-gen
+                          (lambda _
+                            (call-with-output-file ".tarball-version"
+                              (lambda (port)
+                                (display #$version port))))))))
+    (native-inputs (list autoconf automake libtool pkg-config))
+    (inputs (list kronosnet libqb))
+    (home-page "https://corosync.github.io/corosync/")
+    (synopsis
+     "Group communication system for implementing High Availability in applications")
+    (description
+     "The Corosync Cluster Engine is a Group Communication System with additional
+features for implementing high availability within applications.  The project
+provides four C Application Programming Interface features:
+
+@itemize
+
+@item A closed process group communication model with extended virtual synchrony
+guarantees for creating replicated state machines.
+
+@item A simple availability manager that restarts the application process when
+it has failed.
+
+@item A configuration and statistics in-memory database that provide the ability
+to set, retrieve, and receive change notifications of information.
+
+@item A quorum system that notifies applications when quorum is achieved or
+lost.
+
+@end itemize")
+    (license (list license:bsd-0 license:gpl3))))
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [bug#58152] [PATCH 5/5]: gnu: Add pacemaker
  2022-09-28 21:05 [bug#58152] [PATCH 0/5]: gnu Add pacemaker Sharlatan Hellseher
                   ` (3 preceding siblings ...)
  2022-09-28 21:09 ` [bug#58152] [PATCH 4/5]: gnu: Add corosync Sharlatan Hellseher
@ 2022-09-28 21:10 ` Sharlatan Hellseher
  2022-10-10  9:23 ` bug#58152: [PATCH 0/5]: gnu " Ludovic Courtès
  5 siblings, 0 replies; 9+ messages in thread
From: Sharlatan Hellseher @ 2022-09-28 21:10 UTC (permalink / raw)
  To: 58152

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0005-gnu-Add-pacemaker.patch --]
[-- Type: text/x-patch, Size: 3008 bytes --]

From dfb3eaa8b6aa5a428e493008e8c293f47ef10b1f Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 28 Sep 2022 21:49:20 +0100
Subject: [PATCH 5/5] gnu: Add pacemaker

* gnu/pacemaker/high-availability.scm (pacemaker): New variable.
---
 gnu/packages/high-availability.scm | 54 ++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
index 488ac5a3b0..f699dbad20 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -186,3 +186,57 @@ (define-public corosync
 
 @end itemize")
     (license (list license:bsd-0 license:gpl3))))
+
+(define-public pacemaker
+  (package
+    (name "pacemaker")
+    (version "2.1.4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ClusterLabs/pacemaker")
+                    (commit (string-append "Pacemaker-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "04gfd7i3w0zbzv7vi7728lgbyjq7cbqpr7jsp501piwg3z5j4mvb"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:configure-flags #~(list "--with-corosync"
+                                     (string-append "--with-initdir="
+                                                    #$output "/etc/init.d")
+                                     (string-append "--with-ocfdir="
+                                                    #$output "/lib"))))
+    (native-inputs (list autoconf
+                         automake
+                         cmocka
+                         gettext-minimal
+                         libtool
+                         pkg-config
+                         rsync
+                         util-linux
+                         valgrind))
+    (inputs (list dbus
+                  corosync
+                  glib
+                  gnutls
+                  libqb
+                  libxml2
+                  libxslt
+                  python
+                  `(,util-linux "lib")))
+    (home-page "https://www.clusterlabs.org/pacemaker/")
+    (synopsis "Scalable High-Availability cluster resource manager")
+    (description
+     "Pacemaker is a high-availability cluster resource manager.
+
+It achieves maximum availability for your cluster services (a.k.a. resources) by
+detecting and recovering from node- and resource-level failures by making use of
+the messaging and membership capabilities provided by Corosync.
+
+It can do this for clusters of practically any size and comes with a powerful
+dependency model that allows the administrator to accurately express the
+relationships (both ordering and location) between the cluster resources.
+
+Virtually anything that can be scripted can be managed as part of a Pacemaker cluster.")
+    (license (list license:cc-by4.0 license:gpl2+ license:lgpl2.1+))))
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [bug#58152] [PATCH 0/5]: gnu Add pacemaker
  2022-09-28 21:08 ` [bug#58152] [PATCH 3/5]: gnu: Add kronosnet Sharlatan Hellseher
@ 2022-10-10  9:04   ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2022-10-10  9:04 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 58152

Hi,

Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

> From 441e9a219377d93dd47488b7994b749a69a89382 Mon Sep 17 00:00:00 2001
> From: Sharlatan Hellseher <sharlatanus@gmail.com>
> Date: Wed, 28 Sep 2022 21:37:07 +0100
> Subject: [PATCH 3/5] gnu: Add kronosnet
>
> * gnu/packages/high-availability.scm (kronosnet): New variable.

[...]

> +                         ;; libgcc_s.so.1 must be installed for pthread_cancel to work
> +                         `(,gcc "lib")))

This is unnecessary (it’s always provided as an implicit input of
‘gnu-build-system’) so I removed it.

I also added a ‘--disable-static’ configure flag.

Ludo’.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#58152] [PATCH 0/5]: gnu Add pacemaker
  2022-09-28 21:09 ` [bug#58152] [PATCH 4/5]: gnu: Add corosync Sharlatan Hellseher
@ 2022-10-10  9:06   ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2022-10-10  9:06 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 58152

Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

> From 5b18749fc520bd4eb30c17b043402dd5c256061a Mon Sep 17 00:00:00 2001
> From: Sharlatan Hellseher <sharlatanus@gmail.com>
> Date: Wed, 28 Sep 2022 21:43:31 +0100
> Subject: [PATCH 4/5] gnu: Add corosync
>
> * gnu/packages/high-availability.scm (corosync): New variable.

[...]

> +    (license (list license:bsd-0 license:gpl3))))

I changed the latter to ‘license:gpl3+’, as per the ‘LICENSE’ file.

Ludo’.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#58152: [PATCH 0/5]: gnu Add pacemaker
  2022-09-28 21:05 [bug#58152] [PATCH 0/5]: gnu Add pacemaker Sharlatan Hellseher
                   ` (4 preceding siblings ...)
  2022-09-28 21:10 ` [bug#58152] [PATCH 5/5]: gnu: " Sharlatan Hellseher
@ 2022-10-10  9:23 ` Ludovic Courtès
  5 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2022-10-10  9:23 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: Christopher Baines, 58152-done

Hey!

Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

>   gnu: Move libqb to high-availability
>   gnu: libqb: Update to 2.0.6
>   gnu: Add kronosnet
>   gnu: Add corosync
>   gnu: Add pacemaker

I’ve now pushed the whole series with the small changes I mentioned as
commit 5f856c595479c30d9ccdb0063c9124248fdcf5c2.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-10  9:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 21:05 [bug#58152] [PATCH 0/5]: gnu Add pacemaker Sharlatan Hellseher
2022-09-28 21:07 ` [bug#58152] [PATCH 1/5]: Move libqb to high-availability Sharlatan Hellseher
2022-09-28 21:08 ` [bug#58152] [PATCH 2/5]: gnu: libqb: Update to 2.0.6 Sharlatan Hellseher
2022-09-28 21:08 ` [bug#58152] [PATCH 3/5]: gnu: Add kronosnet Sharlatan Hellseher
2022-10-10  9:04   ` [bug#58152] [PATCH 0/5]: gnu Add pacemaker Ludovic Courtès
2022-09-28 21:09 ` [bug#58152] [PATCH 4/5]: gnu: Add corosync Sharlatan Hellseher
2022-10-10  9:06   ` [bug#58152] [PATCH 0/5]: gnu Add pacemaker Ludovic Courtès
2022-09-28 21:10 ` [bug#58152] [PATCH 5/5]: gnu: " Sharlatan Hellseher
2022-10-10  9:23 ` bug#58152: [PATCH 0/5]: gnu " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).