cockpit-project / cockpit

Cockpit is a web-based graphical interface for servers.
http://www.cockpit-project.org/
GNU Lesser General Public License v2.1
10.99k stars 1.1k forks source link

Add DRBD support to cockpit-storaged #17042

Closed JohnnyElvis closed 2 years ago

JohnnyElvis commented 2 years ago

It wouold be awesome to have DRBD covered in cockpit-storaged.

Priority in descending order:

!. (would be awesome) Show replication status of "cat /proc/drbd" via UI. Detailed status message information can be found here - https://support.sciencelogic.com/s/article/1176

sample output

############

root@server:/etc/drbd.d# cat /proc/drbd version: 8.4.11 (api:1/proto:86-101) srcversion: C83CE761848B9DE61379370

1: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r----- ns:696684000 nr:0 dw:2729072 dr:696641533 al:500 bm:0 lo:15 pe:1 ua:15 ap:0 ep:1 wo:f oos:3209234560 [==>.................] sync'ed: 17.9% (3134016/3815352)M finish: 10:43:36 speed: 83,088 (100,400) K/sec 2: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C r----- ns:0 nr:563686400 dw:563682304 dr:0 al:8 bm:0 lo:5 pe:21 ua:4 ap:0 ep:1 wo:f oos:1389772624 [====>...............] sync'ed: 28.9% (1357196/1907668)M finish: 3:50:39 speed: 100,404 (103,180) want: 113,600 K/sec

############

  1. (would be nice) Switch between primary/secondary node - via Pacemaker/Heartbeat - we can discuss this

  2. Set up block device replication - we can discuss this as well

    Steps 3-6 from this documentation - https://www.tecmint.com/setup-drbd-storage-replication-on-centos-7/

marusak commented 2 years ago

Duplicate of https://github.com/cockpit-project/cockpit/issues/13362 From ^:

This is definitively something that we won't do in the cockpit project itself -- it should be developed as a separate project, by someone with the necessary domain knowledge. Thus closing this for the cockpit project. Thanks!