Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.25 KB

README-windrbd.md

File metadata and controls

40 lines (27 loc) · 1.25 KB

Drbd-utils for WinDRBD

These drbd-utils can be also built for DRBD for Windows (WinDRBD), except for drbdmon (coming soon) and the drbd-83 and drbd-84 utilities (which don't and never exist for Windows, driver is based on DRBD 9)

To clone this, do a

git clone --recursive https://github.com/LINBIT/drbd-utils.git

Build instructions

You need a Windows (at least Windows 7) host with cygwin installed to build this. To install CygWin, go to:

https://cygwin.com/install.html

and follow the instructions there. Be sure to install the development tools (such as gcc, autotools, make, ..) including flex (this is normally not installed).

Once you are done installing Cygwin, do

./autogen.sh
./configure --prefix=/cygdrive/c/windrbd/usr --localstatedir=/cygdrive/c/windrbd/var --sysconfdir=/cygdrive/c/windrbd/etc --without-83support --without-84support --without-drbdmon --with-windrbd
make
make install

If you are not already running bash as Administrator user, run the last command (make install) as Administrator, else make install will fail.

Support

If you need help with drbd and windrbd please contact Linbit at [email protected]

The windrbd patches are maintained by Johannes Thoma [email protected].