DRBD

Original author(s)Philipp Reisner, Lars Ellenberg
Developer(s)LINBIT HA-Solutions GmbH, Vienna and LINBIT USA LLC, Oregon
Stable release
9.2.4 / 5 June 2023; 18 months ago (2023-06-05)[1]
Preview release
10.0.0a4 / 16 October 2020; 4 years ago (2020-10-16)[2]
Repository
Written inC
Operating systemLinux
TypeDistributed storage system
LicenseGNU General Public License v2
Websitelinbit.com/drbd/

DRBD is a distributed replicated storage system for the Linux platform. It mirrors block devices between multiple hosts, functioning transparently to applications on the host systems. This replication can involve any type of block device, such as hard drives, partitions, RAID setups, or logical volumes.[3]

DRBD is implemented as a kernel driver, several userspace management applications, and some shell scripts. DRBD is traditionally used in high availability (HA) computer clusters, but beginning with DRBD version 9, it can also be used to create larger software defined storage pools with a focus on cloud integration.[4]

The DRBD software is free software released under the terms of the GNU General Public License version 2.

DRBD is part of the Lisog open source stack initiative.

Mode of operation

DRBD layers logical block devices (conventionally named /dev/drbdX, where X is the device minor number) over existing local block devices on participating cluster nodes. Writes to the primary node are transferred to the lower-level block device and simultaneously propagated to the secondary node(s). The secondary node(s) then transfers data to its corresponding lower-level block device. All read I/O is performed locally unless read-balancing is configured.[5]

Should the primary node fail, a cluster management process promotes the secondary node to a primary state.[6] This transition may require a subsequent verification of the integrity of the file system stacked on top of DRBD, by way of a filesystem check or a journal replay. When the failed ex-primary node returns, the system may (or may not) raise it to primary level again, after device data resynchronization. DRBD's synchronization algorithm is efficient in the sense that only those blocks that were changed during the outage must be resynchronized, rather than the device in its entirety.

DRBD is often deployed together with the Pacemaker or Heartbeat cluster resource managers, although it does integrate with other cluster management frameworks.[7][8][9] It integrates with virtualization solutions such as Xen, and may be used both below and on top of the Linux LVM stack.[10]

DRBD allows for load-balancing configurations, allowing both nodes to access a particular DRBD in read/write mode with shared storage semantics.[11] A multiple primary (multiple read/write nodes) configuration requires the use of a distributed lock manager.

Since 2018 DRBD can also be leveraged in the block storage management software LINSTOR for replication between different nodes and to provide block storage devices to users and applications.

Shared cluster storage comparison

Conventional computer cluster systems typically use some sort of shared storage for data being used by cluster resources. This approach has a number of disadvantages, which DRBD may help offset:

  • Shared storage resources must typically be accessed over a storage area network or on a network attached storage server, which creates some overhead in read I/O. In DRBD that overhead is reduced as all read operations are carried out locally.[citation needed]
  • Shared storage is usually expensive and consumes more space (2U and more) and power. DRBD allows for an HA setup with only 2 machines.
  • Shared storage is not necessarily highly available. For example, a single storage area network accessed by multiple virtualization hosts is considered shared storage, but is not considered highly available at the storage level - if that single storage area network fails, neither host within the cluster can access the shared storage. DRBD allows for a storage target that is both shared and highly available.

A disadvantage is the lower time required to write directly to a shared storage device than to route the write through the other node.

Comparison to RAID-1

DRBD bears a superficial similarity to RAID-1 in that it involves a copy of data on two storage devices, such that if one fails, the data on the other can be used. However, it operates in a very different way from RAID and even network RAID.

In RAID, the redundancy exists in a layer transparent to the storage-using application. While there are two storage devices, there is only one instance of the application and the application is not aware of multiple copies. When the application reads, the RAID layer chooses the storage device to read. When a storage device fails, the RAID layer chooses to read the other, without the application instance knowing of the failure.

In contrast, with DRBD there are two instances of the application, and each can read only from one of the two storage devices. Should one storage device fail, the application instance tied to that device can no longer read the data. Consequently, in that case that application instance shuts down and the other application instance, tied to the surviving copy of the data, takes over.

Conversely, in RAID, if the single application instance fails, the information on the two storage devices is effectively unusable, but in DRBD, the other application instance can take over.

Applications

Operating within the Linux kernel's block layer, DRBD is essentially workload agnostic. A DRBD can be used as the basis of:

DRBD-based clusters are often employed for adding synchronous replication and high availability to file servers, relational databases (such as MySQL), and many other workloads.

Inclusion in Linux kernel

DRBD's authors originally submitted the software to the Linux kernel community in July 2007, for possible inclusion in the canonical kernel.org version of the Linux kernel.[14] After a lengthy review and several discussions, Linus Torvalds agreed to have DRBD as part of the official Linux kernel. DRBD was merged on 8 December 2009 during the "merge window" for Linux kernel version 2.6.33.[15]

See also

References

  1. ^ "DRBD 9.x Linux Kernel Driver". linbit.com. Retrieved 2023-07-19.
  2. ^ "Releases · LINBIT/drbd". github.com. Retrieved 2021-04-04.
  3. ^ "Distributed Replicated Block Device (DRBD)". ubuntu.com. Retrieved 2024-06-20.
  4. ^ "DRBD for your Cloud". www.drbd.org. Retrieved 2016-12-05.
  5. ^ "18.4. Achieving better Read Performance via increased Redundancy - DRBD Users Guide (9.0)". www.drbd.org. Retrieved 2016-12-05.
  6. ^ "Chapter 8. Integrating DRBD with Pacemaker clusters - DRBD Users Guide (9.0)". www.drbd.org. Retrieved 2016-12-05.
  7. ^ "Highly Available NFS Storage with DRBD and Pacemaker". suse.com. Retrieved 2024-06-20.
  8. ^ "How to Achieve High Availability with Heartbeat & DRBD on Ubuntu 16". www.globo.tech. Retrieved 2024-06-20.
  9. ^ "DRBD – Heartbeat ( Active/Passive High Availability Cluster )". syslint.com. Retrieved 2024-06-20.
  10. ^ LINBIT. "The DRBD User's Guide". Retrieved 2011-11-28.
  11. ^ Reisner, Philipp (2005-10-11). "DRBD v8 - Replicated Storage with Shared Disk Semantics" (PDF). Proceedings of the 12th International Linux System Technology Conference. Hamburg, Germany.
  12. ^ "User Guides » LINBIT".
  13. ^ "Active-active DRBD with OCFS2 - Gentoo Linux Wiki". Archived from the original on 2013-03-08. Retrieved 2013-03-21.
  14. ^ Ellenberg, Lars (2007-07-21). "DRBD wants to go mainline". linux-kernel (Mailing list). Retrieved 2007-08-03.
  15. ^ "DRBD To Be Included In Linux Kernel 2.6.33". slashdot.org. Retrieved 2024-06-20.

Read other articles:

Littérature du IIe siècle - Littérature du IIIe siècle - Littérature du IVe siècle - Littérature du Ve siècle - Littérature du VIe siècle Dates marquantes 313 : le rhéteur chrétien Lactance est appelé par Constantin à la cour de Trèves pour assurer l'éducation de son fils Crispus[1]. Vers 325 : en Perse, un synode réunit par Shapur II fixe le texte de l’Avesta, perdu depuis la conquête d’Alexandre et reconstitué à partir de tradition...

 

 

هذه مقالة غير مراجعة. ينبغي أن يزال هذا القالب بعد أن يراجعها محرر؛ إذا لزم الأمر فيجب أن توسم المقالة بقوالب الصيانة المناسبة. يمكن أيضاً تقديم طلب لمراجعة المقالة في الصفحة المخصصة لذلك. (ديسمبر 2023) Laia Aleixandri Aleixandri with Atlético Madrid in 2019 معلومات شخصية الميلاد 25 أغسطس 2000 (العمر 23 س�...

 

 

دار نمس تقسيم إداري البلد المغرب  الجهة مراكش آسفي الإقليم شيشاوة الدائرة مجاط الجماعة القروية أسيف المال المشيخة دار كماخ السكان التعداد السكاني 616 نسمة (إحصاء 2004)   • عدد الأسر 146 معلومات أخرى التوقيت ت ع م±00:00 (توقيت قياسي)[1]،  وت ع م+01:00 (توقيت صيفي)[1]  تع�...

Templat:Nama klan Minang Shalihuddin Djalal TandjungLahir11 November 1942 (umur 81)Batusangkar, Sumatera BaratMeninggal10 Maret 2019(2019-03-10) (umur 76)YogyakartaKebangsaanIndonesiaAlmamater- Universitas Gadjah Mada, Yogyakarta- Indiana State University, Terre Haute, Amerika Serikat- Fordham University, New York, Amerika SerikatPekerjaanIlmuwan, pengajar Prof. Dr. Shalihuddin Djalal Tandjung, M.Sc. (11 November 1942 – 10 Maret 2019) adalah seorang ilmuwan dan penga...

 

 

Ne doit pas être confondu avec Thillot. Le Thillot L'église Saint-Jean-Baptiste. Blason Administration Pays France Région Grand Est Département Vosges Arrondissement Épinal Intercommunalité Communauté de communes des Ballons des Hautes-Vosges(siège) Maire Mandat Isabelle Canonaco 2023-2026 Code postal 88160 Code commune 88468 Démographie Gentilé Thillotins Populationmunicipale 3 257 hab. (2021 ) Densité 215 hab./km2 Population agglomération 14 694 hab. (2...

 

 

Cette page concerne l'année 1109 du calendrier julien. Chronologies 12 juillet : prise de Tripoli.Données clés 1106 1107 1108  1109  1110 1111 1112Décennies :1070 1080 1090  1100  1110 1120 1130Siècles :Xe XIe  XIIe  XIIIe XIVeMillénaires :-Ier Ier  IIe  IIIe Chronologies thématiques Religion (,) et * Croisades   Science () et Santé et médecine   Terrorisme Calendriers Romain Chinois Grégorien Julien Hébraïque ...

Gérard Encausse, atau Papus Makam Papus di Pemakaman Père-Lachaise, Paris (divisi 93) Gérard Anaclet Vincent Encausse, yang dikenal sebagai Papus, lahir 13 Juli 1865 di A Coruña dan meninggal 25 Oktober 1916 di Paris, merupakan seorang dokter dan okultis Prancis, salah satu pendiri Ordo Martinisme bersama Augustin Chaboseau. Dia adalah salah satu tokoh terkemuka Belle Époque, taumaturgi, dan sarjana. Daftar pustaka Philippe Encausse, Papus, sa vie, son œuvre, Ed. Pythagore, Paris 1932. ...

 

 

Second Investigation DepartmentAntrasis Operatyvinių Tarnybų DepartamentasAgency overviewFormed27 October 1918 (restored 1 June 1990)JurisdictionMinistry of National DefenceHeadquartersJankiškių g. 50, LT-02300 Vilnius, LithuaniaEmployeesClassifiedAnnual budgetClassifiedAgency executiveBrig. gen. Remigijus Baltrėnas The Second Investigation Department or AOTD (Lithuanian: Antrasis operatyvinių tarnybų departamentas) is a Lithuanian intelligence agency under the Ministry of National Def...

 

 

Questa voce o sezione sugli argomenti musica e aziende è priva o carente di note e riferimenti bibliografici puntuali. Sebbene vi siano una bibliografia e/o dei collegamenti esterni, manca la contestualizzazione delle fonti con note a piè di pagina o altri riferimenti precisi che indichino puntualmente la provenienza delle informazioni. Puoi migliorare questa voce citando le fonti più precisamente. Segui i suggerimenti dei progetti di riferimento 1, 2. Mercury Records Stato Stat...

Византийские монетные дворы — монетные дворы, учреждённые и действовавшие в Византийской империи. Кроме основных дворов в Константинополе и других крупных городах, существовало много мелких в провинциях. В большинстве своём такие малые дворы были основаны в VI веке, �...

 

 

A Million Ways to Die in the WestPoster rilis teatrikalSutradaraSeth MacFarlaneProduser Seth MacFarlane Scott Stuber Jason Clark Ditulis oleh Seth MacFarlane Alec Sulkin Wellesley Wild Pemeran Seth MacFarlane Charlize Theron Amanda Seyfried Neil Patrick Harris Giovanni Ribisi Sarah Silverman Liam Neeson NaratorRex LinnPenata musikJoel McNeelySinematograferMichael BarrettPenyuntingJeff FreemanPerusahaanproduksi Media Rights Capital Fuzzy Door Productions Bluegrass Films DistributorUniver...

 

 

Group of inosilicate minerals with single chains of silica tetrahedra Pyroxene (diopside) crystals from Afghanistan The pyroxenes (commonly abbreviated Px) are a group of important rock-forming inosilicate minerals found in many igneous and metamorphic rocks. Pyroxenes have the general formula XY(Si,Al)2O6, where X represents calcium (Ca), sodium (Na), iron (Fe(II)) or magnesium (Mg) and more rarely zinc, manganese or lithium, and Y represents ions of smaller size, such as chromium (Cr), alum...

African aesthetic and literary genre This article is about the genre led by natives of Africa. For the similar movement led by the African diaspora, see Afrofuturism. Africanfuturism is a cultural aesthetic and philosophy of science that centers on the fusion of African culture, history, mythology, point of view, with technology based in Africa and not limiting to the diaspora.[1][2] It was coined by Nigerian American writer Nnedi Okorafor in 2019 in a blog post as a single wo...

 

 

Neighbourhood in Kolkata in West Bengal, IndiaBowbazarNeighbourhood in Kolkata (Calcutta)Ceramic mural on the wall of Central Station, Kolkata Metro, located on B.B. Ganguly StreetBowbazarLocation in KolkataCoordinates: 22°34′07″N 88°21′48″E / 22.5687°N 88.3632°E / 22.5687; 88.3632Country IndiaStateWest BengalCityKolkataDistrictKolkataMetro StationChandni Chowk, Central, Mahakaran and SealdahRailway stationSealdahMunicipal CorporationKolkata Municipal...

 

 

For related races, see 2014 United States gubernatorial elections. 2014 Idaho gubernatorial election ← 2010 November 4, 2014 2018 →   Nominee Butch Otter A.J. Balukoff Party Republican Democratic Popular vote 235,405 169,556 Percentage 53.52% 38.55% County results Otter:      40–50%      50–60%      60–70%      70–80%      80–9...

Doulting Railway CuttingSite of Special Scientific InterestLocation within SomersetLocationSomersetGrid referenceST648424Coordinates51°10′47″N 2°30′18″W / 51.17974°N 2.50496°W / 51.17974; -2.50496InterestGeologicalArea2.8 hectares (0.028 km2; 0.011 sq mi)Notification1971 (1971)Natural England website Doulting Railway Cutting (grid reference ST648424) is a 2.8 hectare geological Site of Special Scientific Interest in Somerset, notified i...

 

 

Pemilihan umum Bupati Enrekang 20242018202927 November 2024Kandidat Peta persebaran suara Peta Provinsi Sulawesi Selatan yang menyoroti Kabupaten Enrekang Bupati petahanaBaba (Penjabat) Bupati & Wakil Bupati terpilih Belum diketahui Pemilihan umum Bupati Enrekang 2024 dilaksanakan pada 27 November 2024 untuk memilih Bupati Enrekang periode 2024–2029.[1] Pemilihan Bupati Enrekang tahun tersebut akan diselenggarakan setelah Pemilihan umum Presiden Indonesia 2024 (Pilpres) dan Pem...

 

 

Islas MalvinasFalkland Islands  (inglés) Îles Malouines  (francés) Territorio británico de ultramarBanderaEscudo Lema: Desire the Right(español: «Desea lo justo») Himno: «God Save the King» (oficial) «Song of the Falklands» (local)(español: «Dios Salve al Rey» y «Canción de las Malvinas») Coordenadas 51°44′S 59°13′O / -51.73, -59.22Capital Stanley[nota 1]​ • Población 2 121 (2012)[1]​Idioma oficial InglésEntidad T...

226P/Pigott–LINEAR–KowalskiComet 226P/Pigott–LINEAR–Kowalski on 8 September 2016 by NEOWISEDiscoveryDiscovered byEdward PigottDiscovery date19 November 1783DesignationsAlternative designationsP/1783 W1, P/2003 A1, P/2009 R2Orbital characteristics[1]Epoch16 February 2017Aphelion5.764 AUPerihelion1.776 AUSemi-major axis3.770 AUEccentricity0.529Orbital period7.32 yearsInclination44.004°Longitude ofascending node54.007°Argument ofperiapsis341.12°Last perihel...

 

 

この記事は英語版の対応するページを翻訳することにより充実させることができます。(2024年6月)翻訳前に重要な指示を読むには右にある[表示]をクリックしてください。 英語版記事を日本語へ機械翻訳したバージョン(Google翻訳)。 万が一翻訳の手がかりとして機械翻訳を用いた場合、翻訳者は必ず翻訳元原文を参照して機械翻訳の誤りを訂正し、正確な翻訳にし�...