Project

General

Profile

Actions

Feature #64777

open

mon: add NVMe-oF gateway monitor and HA

Added by Aviv Caro 2 months ago. Updated about 2 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
reef,squid
Reviewed:
Affected Versions:
Pull request ID:

Description

Ceph nvmeof monitor
- gateway submodule

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 2 new mon commands:
- nvme-gw create
- nvme-gw delete

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.

Actions #1

Updated by Patrick Donnelly about 2 months ago

  • Subject changed from Add support for nvmeof GW HA to mon: add support for nvmeof GW HA
  • Status changed from New to Fix Under Review
  • Assignee set to Aviv Caro
  • Target version set to v19.1.0
  • Source set to Development
Actions #2

Updated by Patrick Donnelly about 2 months ago

  • Target version changed from v19.1.0 to v20.0.0
Actions #3

Updated by Patrick Donnelly about 2 months ago

  • Subject changed from mon: add support for nvmeof GW HA to mon: add NVMe-oF gateway monitor and HA
Actions

Also available in: Atom PDF