diff --git a/Others/pacemaker/3.0.0/24.03-lts-sp1/Dockerfile b/Others/pacemaker/3.0.0/24.03-lts-sp1/Dockerfile index 1f2a552b0f24ca2ed7a3eccfc70d96b61655d6f7..c9887489f4acbeb76a96a446ca6efaad00143341 100644 --- a/Others/pacemaker/3.0.0/24.03-lts-sp1/Dockerfile +++ b/Others/pacemaker/3.0.0/24.03-lts-sp1/Dockerfile @@ -13,8 +13,10 @@ RUN dnf update -y \ RUN git clone -b Pacemaker-${VERSION} --depth 1 https://github.com/ClusterLabs/pacemaker.git \ && cd pacemaker \ && ./autogen.sh \ - && ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + && ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --without-systemd --disable-fatal-warnings \ && make -j $(nproc) \ && make install -CMD [" /usr/sbin/pacemakerd", "--help"] \ No newline at end of file +RUN ldconfig + +CMD ["pacemakerd", "--help"] \ No newline at end of file diff --git a/Others/pacemaker/README.md b/Others/pacemaker/README.md new file mode 100644 index 0000000000000000000000000000000000000000..262a6f852ec61f423ea86875aba5899f4bb0dc89 --- /dev/null +++ b/Others/pacemaker/README.md @@ -0,0 +1,39 @@ +# Quick reference + +- The official Pacemaker docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative). + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community). + +# Pacemaker | openEuler +Current Pacemaker docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +Pacemaker is the resource manager for the ClusterLabs open-source high-availability cluster stack. It coordinates the configuration, start-up, monitoring, and recovery of interrelated services across all cluster nodes. + +Learn more about Pacemaker on [Pacemaker Website](https://www.clusterlabs.org/pacemaker/)⁠. + +# Supported tags and respective Dockerfile links +The tag of each `pacemaker` docker image is consist of the version of `pacemaker` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|----------|-------------|------------------| +|[3.0.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/pacemaker/3.0.0/24.03-lts-sp1/Dockerfile)| Pacemaker 3.0.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +# Usage +In this usage, users can select the corresponding `{Tag}` based on their requirements. + +- Pull the `openeuler/pacemaker` image from docker + + ```bash + docker pull openeuler/pacemaker:{Tag} + ``` + +- To get an interactive shell + + ``` + docker run -it --rm openeuler/pacemaker:{Tag} bash + ``` + +# Question and answering +If you have any questions or want to use some special features, please submit an issue or a pull request on [openeuler-docker-images](https://gitee.com/openeuler/openeuler-docker-images). \ No newline at end of file diff --git a/Others/pacemaker/doc/image-info.yml b/Others/pacemaker/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..2ee87d05f2ace1a3c62a298ded8760d8fd884ab3 --- /dev/null +++ b/Others/pacemaker/doc/image-info.yml @@ -0,0 +1,44 @@ +name: pacemaker +category: others +description: Pacemaker 是一个高可用性(HA, High Availability)集群资源管理器,用于在 Linux 系统中确保关键服务在节点故障时自动迁移并持续运行。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + pacemaker镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[3.0.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/pacemaker/3.0.0/24.03-lts-sp1/Dockerfile)| Pacemaker 3.0.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/pacemaker:{Tag} + ``` + +usage: | + - 启动容器 + ``` + docker run -it --rm openeuler/pacemaker:{Tag} + ``` + 查看pacemaker编译后的二进制运行提示。 + + - 使用shell交互 + ``` + docker run -it --rm openeuler/pacemaker:{Tag} bash + ``` + +license: GPLv2 or later +similar_packages: + - Keepalived: 提供虚拟 IP 漂移功能(VRRP),通常用于负载均衡器或简单主备。适合轻量级高可用。 +dependency: + - pciutils + - libxml2 + - libxslt + - dbus + - corosync + - libqb + - sqlite diff --git a/Others/pacemaker/doc/picture/logo.png b/Others/pacemaker/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..171f88968eea89cf7100ea8c85389f38b3ecbb97 Binary files /dev/null and b/Others/pacemaker/doc/picture/logo.png differ