Building DRBD9

From Alteeve Wiki
Jump to navigation Jump to search

 Alteeve Wiki :: How To :: Building DRBD9

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 will need git, all the packages required to build kernel modules, autoconf and automake along with the flex scanner, and rpmbuild if you intend to roll a package.

 yum install -y git kernel-headers make gcc glibc flex autoconf automake rpmbuild

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

TODO: Rolling an RPM, specific configuration options + method.  

Any questions, feedback, advice, complaints or meanderings are welcome.
Alteeve's Niche! Enterprise Support:
Alteeve Support
Community Support
© Alteeve's Niche! Inc. 1997-2024   Anvil! "Intelligent Availability®" Platform
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions.