ceph/.gitmodules
Leonid Chernin 5843c6b04b mon: add NVMe-oF gateway monitor and HA
- gateway submodule

Fixes: https://tracker.ceph.com/issues/64777

This PR adds high availability support for the nvmeof Ceph service. High availability means that even in the case that a certain GW is down, there will be another available path for the initiator to be able to continue the IO through another GW. High availability is achieved by running nvmeof service consisting of at least 2 nvmeof GWs in the Ceph cluster. Every GW will be seen by the host (initiator) as a separate path to the nvme namespaces (volumes).

The implementation consists of the following main modules:

- NVMeofGWMon - a PaxosService. It is a monitor that tracks the status of the nvmeof running services, and take actions in case that services fail, and in case services restored.
- NVMeofGwMonitorClient – It is an agent that is running as a part of each nvmeof GW. It is sending beacons to the monitor to signal that the GW is alive. As a part of the beacon, the client also sends information about the service. This information is used by the monitor to take decisions and perform some operations.
- MNVMeofGwBeacon – It is a structure used by the client and the monitor to send/recv the beacons.
- MNVMeofGwMap – The map is tracking the nvmeof GWs status. It also defines what should be the new role of every GW. So in the events of GWs go down or GWs restored, the map will reflect the new role of each GW resulted by these events. The map is distributed to the NVMeofGwMonitorClient on each GW, and it knows to update the GW with the required changes.

It is also adding 3 new mon commands:
- nvme-gw create
- nvme-gw delete
- nvme-gw show

The commands are used by the ceph adm to update the monitor that a new GW is deployed. The monitor will update the map accordingly and will start tracking this GW until it is deleted.

Signed-off-by: Leonid Chernin <lechernin@gmail.com>
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
2024-07-31 08:50:10 +00:00

89 lines
2.8 KiB
Plaintext

[submodule "ceph-object-corpus"]
path = ceph-object-corpus
url = https://github.com/ceph/ceph-object-corpus.git
[submodule "src/erasure-code/jerasure/jerasure"]
path = src/erasure-code/jerasure/jerasure
url = https://github.com/ceph/jerasure.git
branch = v2-ceph
[submodule "src/erasure-code/jerasure/gf-complete"]
path = src/erasure-code/jerasure/gf-complete
url = https://github.com/ceph/gf-complete.git
branch = v3-ceph
[submodule "src/rocksdb"]
path = src/rocksdb
url = https://github.com/ceph/rocksdb
ignore = dirty
[submodule "ceph-erasure-code-corpus"]
path = ceph-erasure-code-corpus
url = https://github.com/ceph/ceph-erasure-code-corpus.git
[submodule "src/googletest"]
path = src/googletest
url = https://github.com/ceph/googletest
branch = ceph-release-1.7.x
[submodule "src/spdk"]
path = src/spdk
url = https://github.com/ceph/spdk.git
[submodule "src/xxHash"]
path = src/xxHash
url = https://github.com/ceph/xxHash.git
[submodule "src/isa-l"]
path = src/isa-l
url = https://github.com/ceph/isa-l
[submodule "src/zstd"]
path = src/zstd
url = https://github.com/facebook/zstd
[submodule "src/crypto/isa-l/isa-l_crypto"]
path = src/crypto/isa-l/isa-l_crypto
url = https://github.com/intel/isa-l_crypto
[submodule "src/blkin"]
path = src/blkin
url = https://github.com/ceph/blkin
[submodule "src/dmclock"]
path = src/dmclock
url = https://github.com/ceph/dmclock.git
[submodule "src/seastar"]
path = src/seastar
url = https://github.com/ceph/seastar.git
[submodule "src/fmt"]
path = src/fmt
url = https://github.com/ceph/fmt.git
[submodule "src/c-ares"]
path = src/c-ares
url = https://github.com/ceph/c-ares.git
[submodule "src/pybind/mgr/rook/rook-client-python"]
path = src/pybind/mgr/rook/rook-client-python
url = https://github.com/ceph/rook-client-python.git
[submodule "s3select"]
path = src/s3select
url = https://github.com/ceph/s3select.git
[submodule "src/libkmip"]
path = src/libkmip
url = https://github.com/ceph/libkmip
branch = ceph-master
[submodule "src/arrow"]
path = src/arrow
url = https://github.com/apache/arrow.git
[submodule "src/utf8proc"]
path = src/utf8proc
url = https://github.com/JuliaStrings/utf8proc
[submodule "src/jaegertracing/opentelemetry-cpp"]
path = src/jaegertracing/opentelemetry-cpp
url = https://github.com/open-telemetry/opentelemetry-cpp.git
[submodule "src/qatlib"]
path = src/qatlib
url = https://github.com/intel/qatlib.git
[submodule "src/qatzip"]
path = src/qatzip
url = https://github.com/intel/qatzip.git
[submodule "src/BLAKE3"]
path = src/BLAKE3
url = https://github.com/BLAKE3-team/BLAKE3.git
[submodule "src/boost_redis"]
path = src/boost_redis
url = https://github.com/boostorg/redis.git
[submodule "src/nvmeof/gateway"]
path = src/nvmeof/gateway
url = https://github.com/ceph/ceph-nvmeof.git
fetchRecurseSubmodules = false
shallow = true