diff --git a/Storage/ceph/README.md b/Storage/ceph/README.md new file mode 100644 index 0000000000000000000000000000000000000000..0d16bb4523acb1e5b9b3152e81a2fdcad31dea77 --- /dev/null +++ b/Storage/ceph/README.md @@ -0,0 +1,40 @@ +# Quick reference + +- The official Ceph 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). + +# Ceph | openEuler +Current Ceph docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +Ceph is a distributed object, block, and file storage platform. + +Learn more on [Ceph Documentation](https://docs.ceph.com/en/latest/start/). + +# Supported tags and respective Dockerfile links +The tag of each `ceph` docker image is consist of the version of `ceph` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|----------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|---------------| +| [20.3.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/ceph/20.3.0/24.03-lts-sp1/Dockerfile) | Ceph 20.3.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/ceph` image from docker + + ```bash + docker pull openeuler/ceph:{Tag} + ``` + +- Start a ceph instance + + ``` + docker run -it --rm openeuler/ceph:{Tag} + ``` + The `openeuler/ceph` image is used to verify the integration between the upstream ceph version and openEuler. + +# 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/Storage/ceph/doc/image-info.yml b/Storage/ceph/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..d245e34b98afc72dd541cc40aa942053162b3447 --- /dev/null +++ b/Storage/ceph/doc/image-info.yml @@ -0,0 +1,40 @@ +name: ceph +category: storage +description: Ceph 是一个开源的、分布式存储系统,设计目标是高性能、高可用、无限扩展(scale-out)。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + ceph镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[20.3.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/ceph/20.3.0/24.03-lts-sp1/Dockerfile)| Ceph 20.3.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/ceph:{Tag} + ``` + +usage: | + - 启动ceph实例 + + ``` + docker run -it --name ceph openeuler/ceph:{Tag} + ``` + `openeuler/ceph`镜像用于验证上游ceph版本和openEuler的集成。 + +license: GPL-2.0 License +similar_packages: + - MinIO:面向云原生应用的高性能对象存储,兼容 Amazon S3 API,部署更轻量。 + - GlusterFS:易于部署的分布式文件系统,适合海量小文件。 +dependency: + - python + - librbd + - librados + - openssl + - libcurl + - systemd diff --git a/Storage/ceph/doc/picture/logo.png b/Storage/ceph/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..a7582ac855819fcf8f91330f61a51778b80668df Binary files /dev/null and b/Storage/ceph/doc/picture/logo.png differ diff --git a/Storage/curve/README.md b/Storage/curve/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7fffbf09f16c290f5c449fa9eb4bd5693f4d3c08 --- /dev/null +++ b/Storage/curve/README.md @@ -0,0 +1,38 @@ +# Quick reference + +- The official Curve 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). + +# Curve | openEuler +Current Curve docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +Curve is a sandbox project hosted by the CNCF Foundation. It's cloud-native, high-performance, and easy to operate. Curve is an open-source distributed storage system for block and shared file storage. + +# Supported tags and respective Dockerfile links +The tag of each `curve` docker image is consist of the version of `curve` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|---------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|---------------| +| [1.0.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/curve/1.0.0/24.03-lts-sp1/Dockerfile) | Curve 1.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/curve` image from docker + + ```bash + docker pull openeuler/curve:{Tag} + ``` + +- Start a curve instance + + ``` + docker run -it --rm openeuler/curve:{Tag} + ``` + The `openeuler/curve` image is used to verify the integration between the upstream Curve version and openEuler. + +# 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/Storage/curve/doc/image-info.yml b/Storage/curve/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..abb390693b472631c80e0640c596720a5e253c63 --- /dev/null +++ b/Storage/curve/doc/image-info.yml @@ -0,0 +1,41 @@ +name: curve +category: storage +description: Curve 是网易主导自研的现代化存储系统, 目前支持文件存储(CurveFS)和块存储(CurveBS)。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + curve镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[1.0.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/curve/1.0.0/24.03-lts-sp1/Dockerfile)| Curve 1.0.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/curve:{Tag} + ``` + +usage: | + - 启动curve实例 + + ``` + docker run -it --name curve openeuler/curve:{Tag} + ``` + `openeuler/curve`镜像用于验证上游curve版本和openEuler的集成。 + +license: Apache-2.0 license +similar_packages: + - GlusterFS:易于部署的分布式文件系统,适合海量小文件。 +dependency: + - zlib + - openssl + - libuuid + - libunwind + - python3 + - libnl3 + - libcurl + - openjdk diff --git a/Storage/curve/doc/picture/logo.png b/Storage/curve/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..e5f124213b0ce09e3cca0a24209fd2b347d1f872 Binary files /dev/null and b/Storage/curve/doc/picture/logo.png differ diff --git a/Storage/drbd/README.md b/Storage/drbd/README.md new file mode 100644 index 0000000000000000000000000000000000000000..917f41063cb1f11a56eeba58c1ccc0519563be30 --- /dev/null +++ b/Storage/drbd/README.md @@ -0,0 +1,41 @@ +# Quick reference + +- The official DRBD-utils 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). + +# DRBD-utils | openEuler +Current DRBD-utils docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +DRBD, developed by LINBIT, is a software that allows RAID 1 functionality over TCP/IP and RDMA for GNU/Linux. DRBD is a block device which is designed to build high availability clusters and software defined storage by providing a virtual shared device which keeps disks in nodes synchronised using TCP/IP or RDMA. This simulates RAID 1 but avoids the use of uncommon hardware (shared SCSI buses or Fibre Channel). +This image contains the user space utilities for DRBD. + +Learn more on [DRBD Documentation](https://linbit.com/user-guides-and-product-documentation/). + +# Supported tags and respective Dockerfile links +The tag of each `drbd-utils` docker image is consist of the version of `drbd-utils` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|----------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------|---------------| +| [9.31.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/drbd-utils/9.31.0/24.03-lts-sp1/Dockerfile) | DRBD-utils 9.31.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/drbd-utils` image from docker + + ```bash + docker pull openeuler/drbd-utils:{Tag} + ``` + +- Start a drbd-utils instance + + ``` + docker run -it --rm openeuler/drbd-utils:{Tag} + ``` + The `openeuler/drbd-utils` image is used to verify the integration between the upstream DRBD-utils version and openEuler. + +# 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/Storage/drbd/doc/image-info.yml b/Storage/drbd/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..4ba15350c68150abf78bcc946f548326bfd092e4 --- /dev/null +++ b/Storage/drbd/doc/image-info.yml @@ -0,0 +1,39 @@ +name: drbd-utils +category: storage +description: DRBD-utils 是 DRBD(Distributed Replicated Block Device) 的用户空间工具集,用于配置、管理和监控 DRBD 设备。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + drbd-utils镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[9.31.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/drbd-utils/9.31.0/24.03-lts-sp1/Dockerfile)| DRBD-utils 9.31.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/drbd-utils:{Tag} + ``` + +usage: | + - 启动drbd-utils实例 + + ``` + docker run -it --name drbd-utils openeuler/drbd-utils:{Tag} + ``` + `openeuler/drbd-utils`镜像用于验证上游DRBD-utils版本和openEuler的集成。 + +license: GPL-2.0 license +similar_packages: + - N/A +dependency: + - udev + - libxslt + - keyutils + - rubygem + - libyaml + - libnl3 diff --git a/Storage/drbd/doc/picture/logo.png b/Storage/drbd/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..2c2e2db2340093affd94d317c02c4c4337515f9b Binary files /dev/null and b/Storage/drbd/doc/picture/logo.png differ diff --git a/Storage/fastdfs/README.md b/Storage/fastdfs/README.md new file mode 100644 index 0000000000000000000000000000000000000000..600d931d153828eab651c6b807eb5b7377046e43 --- /dev/null +++ b/Storage/fastdfs/README.md @@ -0,0 +1,84 @@ +# Quick reference + +- The official FastDFS 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). + +# FastDFS | openEuler +Current FastDFS docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. + +# Supported tags and respective Dockerfile links +The tag of each `fastdfs` docker image is consist of the version of `fastdfs` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|-------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|---------------| +| [6.12.3-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/fastdfs/6.12.3/24.03-lts-sp1/Dockerfile) | FastDFS 6.12.3 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/fastdfs` image from docker + + ``` + docker pull openeuler/fastdfs:{Tag} + ``` + +- Run with an interactive shell + + You can also start the container with an interactive shell to use fastdfs. + ``` + docker run -it --rm openeuler/fastdfs:{Tag} bash + ``` + +- Start Tracker Server + + ``` + fdfs_trackerd /etc/fdfs/tracker.conf start + ``` + Verify tracker os running: + ``` + ps aux | grep fdfs_trackerd + ``` + +- Start Storage Server + + Modify the `tracker_server` in the configuration file `/etc/fdfs/storage.conf` to the local container IP. + ``` + fdfs_storaged /etc/fdfs/storage.conf start + ``` + Verify storage is running: + ``` + ps aux | grep fdfs_storaged + ``` + +- Monitor Cluster Status + + Modify the `tracker_sercer` in the configuration file `/etc/fdfs/client.conf` to the local container IP. + ``` + fdfs_monitor /etc/fdfs/client.conf + ``` + Expected output should show: + ``` + Storage 1: + id = 172.17.0.2 + ip_addr = 172.17.0.2 ACTIVE + ``` + +- Test File Upload + + Use the actual IP and the brick path. + The `force` flag allows you to create a single-node volume. + ``` + # Create test file + echo "Hello FastDFS" > test.txt + + # Upload file + fdfs_test /etc/fdfs/client.conf upload test.txt + ``` + +# 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/Storage/fastdfs/doc/image-info.yml b/Storage/fastdfs/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..e16b1b5e43379d721a871fcd25867b36ccf46be0 --- /dev/null +++ b/Storage/fastdfs/doc/image-info.yml @@ -0,0 +1,80 @@ +name: fastdfs +category: storage +description: FastDFS(Fast Distributed File System) 是一个开源的轻量级分布式文件存储系统,由国内开发者余庆开发,主要用于解决大容量文件存储和高并发访问的问题。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + fastdfs镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[6.12.3-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/fastdfs/6.12.3/24.03-lts-sp1/Dockerfile)| FastDFS 6.12.3 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/fastdfs:{Tag} + ``` + +usage: | + - 使用交互式 Shell 启动容器 + + 交互式 shell 启动容器来运行 fastdfs: + ``` + docker run -it --rm openeuler/fastdfs:{Tag} bash + ``` + + - 启动Tracker服务器 + + ``` + fdfs_trackerd /etc/fdfs/tracker.conf start + ``` + 验证Tracker是否运行: + ``` + ps aux | grep fdfs_trackerd + ``` + + - 启动Storage服务器 + + 将配置文件`/etc/fdfs/storage.conf`中的`tracker_server`修改为本地容器IP。 + ``` + fdfs_storaged /etc/fdfs/storage.conf start + ``` + 验证Storage是否运行: + ``` + ps aux | grep fdfs_storaged + ``` + + - 监控集群状态 + + 将配置文件`/etc/fdfs/client.conf`中的`tracker_server`修改为本地容器IP。 + ``` + fdfs_monitor /etc/fdfs/client.conf + ``` + 预期输出应显示: + ``` + Storage 1: + id = 172.17.0.2 + ip_addr = 172.17.0.2 ACTIVE + ``` + + - 测试文件上传 + + ``` + # 创建测试文件 + echo "Hello FastDFS" > test.txt + + # 上传文件 + fdfs_test /etc/fdfs/client.conf upload test.txt + ``` + +license: GPL-3.0 license +similar_packages: + - GlusterFS: GlusterFS 是一个开源的分布式文件系统,可以将多个存储服务器的存储空间聚合成一个统一的虚拟存储池,提供高性能、高可扩展性和容错性。 +dependency: + - perl + - libserverframe + - libfastcommon diff --git a/Storage/fastdfs/doc/picture/logo.png b/Storage/fastdfs/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..cbf7b164c27210818b65e949b112adf725def01e Binary files /dev/null and b/Storage/fastdfs/doc/picture/logo.png differ diff --git a/Storage/glusterfs/README.md b/Storage/glusterfs/README.md new file mode 100644 index 0000000000000000000000000000000000000000..dd068641da8879c9f88a810d0a3f403190cae508 --- /dev/null +++ b/Storage/glusterfs/README.md @@ -0,0 +1,94 @@ +# Quick reference + +- The official GlusterFS 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). + +# GlusterFS | openEuler +Current GlusterFS docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +GlusterFS is a scalable network filesystem suitable for data-intensive tasks such as cloud storage and media streaming. GlusterFS is free and open source software and can utilize common off-the-shelf hardware. + +Learn more on [GlusterFS Documentation](https://docs.gluster.org/en/latest/). + +# Supported tags and respective Dockerfile links +The tag of each `glusterfs` docker image is consist of the version of `glusterfs` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|-----------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|---------------| +| [11.1-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/glusterfs/11.1/24.03-lts-sp1/Dockerfile) | GlusterFS 11.1 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/glusterfs` image from docker + + ```bash + docker pull openeuler/glusterfs:{Tag} + ``` + +- Run with an interactive shell + + You can also start the container with an interactive shell to use glusterfs. + ``` + docker run -it --rm openeuler/glusterfs:{Tag} bash + ``` + +- Start the GlusterFS management daemon + + ``` + glusterd + ``` + This start the `glusterd` service, which manages your cluster state. + +- Create a brick directory and a mount point + + ClusterFS requires a physical directory to store data (called a brick) and a local directory where you will mount the volume. + ``` + mkdir -p /bricks/brick1 /mnt/glusterfs + ``` + +- Get your container's real IP address + + Using `localhost` or `127.0.0.1` does not work for volume creation -- use the actual IP. + ``` + dnf install -y hostname + export NODE_IP=$(hostname -i | awk '{print $1}') + echo "Node IP: ${NODE_IP}" + ``` + +- Create the ClusterFS volume + + Use the actual IP and the brick path. + The `force` flag allows you to create a single-node volume. + ``` + gluster volume create testvol ${NODE_IP}:/bricks/brick1 force + ``` + +- Start the volume + + ``` + gluster volume start testvol + ``` + +- Mount the volume + + Use `mount -t glusterfs`. + **Note:** You must run the container in `--privileged` mode (or with `--cap-add SYS_ADMIN`) so the kernel allows FUSE mounts. + ``` + mount -t glusterfs ${NODE_IP}:/testvol /mnt/glusterfs + ``` + +- Verify + + Write a file into your mounted GlusterFS volume and list its contents. + ``` + echo "test file" > /mnt/glusterfs/test.txt + ls -l /mnt/glusterfs + ``` + You should see `text.txt` inside your mounted volume. + +# 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/Storage/glusterfs/doc/image-info.yml b/Storage/glusterfs/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..72ad0a5c0f1ff18b44fc48933b80e720fc3a474d --- /dev/null +++ b/Storage/glusterfs/doc/image-info.yml @@ -0,0 +1,94 @@ +name: glusterfs +category: storage +description: GlusterFS 是一个开源的分布式文件系统,基于用户空间的 FUSE 实现,专注于海量数据的横向扩展(scale-out)。它通过将多台服务器的存储资源聚合成一个统一的全局命名空间,为用户提供高性能、高可用的网络存储解决方案。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + glusterfs镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[11.1-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/glusterfs/11.1/24.03-lts-sp1/Dockerfile)| GlusterFS 11.1 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/glusterfs:{Tag} + ``` + +usage: | + - 使用交互式 Shell 启动容器 + + 你可以用交互式 shell 启动容器来运行 GlusterFS: + ``` + docker run -it --rm --privileged openeuler/glusterfs:{Tag} bash + ``` + + - 启动 GlusterFS 管理守护进程 + + ``` + glusterd + ``` + 这会启动 `glusterd` 服务,用于管理 GlusterFS 集群状态。 + + - 创建 Brick 目录和挂载点 + + GlusterFS 需要一个物理目录来存储数据(称为 brick),还需要一个本地目录用于挂载卷。 + ``` + mkdir -p /bricks/brick1 /mnt/glusterfs + ``` + + - 获取容器的真实 IP 地址 + + 在创建卷时不能使用 `localhost` 或 `127.0.0.1`,必须使用实际 IP。 + ``` + dnf install -y hostname + export NODE_IP=$(hostname -i | awk '{print $1}') + echo "Node IP: ${NODE_IP}" + ``` + + - Create the ClusterFS volume + + 使用实际的 IP 和 brick 路径。 + `force` 参数用于允许创建单节点卷(仅用于测试)。 + ``` + gluster volume create testvol ${NODE_IP}:/bricks/brick1 force + ``` + + - 启动卷 + + ``` + gluster volume start testvol + ``` + + - 挂载卷 + + 使用 `mount -t glusterfs` 挂载。 + **注意:** 容器必须使用 `--privileged` 或至少带 `--cap-add SYS_ADMIN`,这样内核才允许使用 FUSE 挂载。 + ``` + mount -t glusterfs ${NODE_IP}:/testvol /mnt/glusterfs + ``` + + - 验证挂载是否成功 + + 在挂载好的 GlusterFS 卷中写入一个文件,然后查看内容: + ``` + echo "test file" > /mnt/glusterfs/test.txt + ls -l /mnt/glusterfs + ``` + 你应该能看到 `test.txt` 已经写入到挂载的卷里。 + + +license: GPL-2.0, LGPL-3.0 licenses +similar_packages: + - MinIO:面向云原生应用的高性能对象存储,兼容 Amazon S3 API,部署更轻量。 + - Ceph:开源的、分布式存储系统,设计目标是高性能、高可用、无限扩展(scale-out)。 +dependency: + - FUSE + - protobuf + - attr + - openssl + - acl diff --git a/Storage/glusterfs/doc/picture/logo.png b/Storage/glusterfs/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..b148e703c23b381a3e9cedc748a2bd41e382795c Binary files /dev/null and b/Storage/glusterfs/doc/picture/logo.png differ diff --git a/Storage/lustre/README.md b/Storage/lustre/README.md new file mode 100644 index 0000000000000000000000000000000000000000..ca8cf70e34ab9537dde7ff85b2152e248535ebb0 --- /dev/null +++ b/Storage/lustre/README.md @@ -0,0 +1,40 @@ +# Quick reference + +- The official Lustre 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). + +# Lustre | openEuler +Current Lustre docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +The Lustre file system is an open-source, parallel file system that supports many requirements of leadership class HPC simulation environments. + +Learn more on [Lustre Documentation](https://www.lustre.org/documentation/). + +# Supported tags and respective Dockerfile links +The tag of each `lustre` docker image is consist of the version of `lustre` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|--------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|---------------| +| [2.16.55-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/lustre/2.16.55/24.03-lts-sp1/Dockerfile) | Lustre 2.16.55 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/lustre` image from docker + + ```bash + docker pull openeuler/lustre:{Tag} + ``` + +- Start a lustre instance + + ``` + docker run -it --rm openeuler/lustre:{Tag} + ``` + The `openeuler/lustre` image is used to verify the integration between the upstream lustre version and openEuler. + +# 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/Storage/lustre/doc/image-info.yml b/Storage/lustre/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..739dc88984ea4061f471bb0e6d1e7dbef53f958d --- /dev/null +++ b/Storage/lustre/doc/image-info.yml @@ -0,0 +1,40 @@ +name: lustre +category: storage +description: Lustre(LUxury + STORage)是一个面向大规模高性能计算(HPC)的开源并行分布式文件系统。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + lustre镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[2.16.55-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/lustre/2.16.55/24.03-lts-sp1/Dockerfile)| Lustre 2.16.55 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/lustre:{Tag} + ``` + +usage: | + - 启动lustre实例 + + ``` + docker run -it --name lustre openeuler/lustre:{Tag} + ``` + `openeuler/lustre`镜像用于验证上游lustre版本和openEuler的集成。 + +license: GPL-2.0 License +similar_packages: + - GlusterFS:易于部署的分布式文件系统,适合海量小文件。 +dependency: + - libnl3 + - libyaml + - numactl + - libuuid + - keyutils + - bison + - flex diff --git a/Storage/lustre/doc/picture/logo.png b/Storage/lustre/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..8f704c863c5e0d5f77f80411b9c2a755fbe29dd1 Binary files /dev/null and b/Storage/lustre/doc/picture/logo.png differ