Building DRBD9: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
(Created page with "{{warning|1=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!}} = Dependenc...")
 
Line 13: Line 13:
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).  
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 'make install', and the drbd kernel module is ready.
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:26, 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 into the created directory, and 'make'.

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:

 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