Building DRBD9: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
Line 7: Line 7:
= Process =
= Process =


In your preferred directory (~ is fine), git clone git://git.linbit.com/drbd-9.0.git.
In your preferred directory (~ is fine):
<syntaxhighlight lang="bash">git clone git://git.linbit.com/drbd-9.0.git
cd ./drbd-9.0
make
sudo make install</syntaxhighlight>


CD into the created directory, and 'make'.
and the drbd kernel module is ready!
 
If there are any packages missing, you'll be notified here (sometimes the notifications can be somewhat cryptic. yum whatprovides $file should quickly sort you out).
 
Once that has completed, as root:
<syntaxhighlight lang="bash"> make install </syntaxhighlight>, and the drbd kernel module is ready.


If you have the EPEL repo installed, the drbd-utils package available there should suffice, but if that nor the AN! repo are available, the same process can be applied to the drbd-utils git tree found at git://git.linbit.com/drbd-utils.git
If you have the EPEL repo installed, the drbd-utils package available there should suffice, but if that nor the AN! repo are available, the same process can be applied to the drbd-utils git tree found at git://git.linbit.com/drbd-utils.git

Revision as of 18:35, 30 October 2015

Warning: Please note! This is a work in progress and very well may contain mistakes. Do not follow this and push into production without ample testing first!

Dependencies required

For this process, you'll need git, make, gcc, autoconf, automake, drbd-utils and probably a lot of other things. I'll get a full list soon.

Process

In your preferred directory (~ is fine):

git clone git://git.linbit.com/drbd-9.0.git
cd ./drbd-9.0
make
sudo make install

and the drbd kernel module is ready!

If you have the EPEL repo installed, the drbd-utils package available there should suffice, but if that nor the AN! repo are available, the same process can be applied to the drbd-utils git tree found at git://git.linbit.com/drbd-utils.git