Building DRBD9: Difference between revisions
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..." |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{howto_header}} | |||
{{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!}} | {{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!}} | ||
= Dependencies required = | = Dependencies required = | ||
For this process, you | 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. | ||
<syntaxhighlight lang="bash"> yum install -y git kernel-headers make gcc glibc flex autoconf automake rpmbuild </syntaxhighlight> | |||
= Process = | = Process = | ||
In your preferred directory (~ is fine) | 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> | |||
and the drbd kernel module is ready! | |||
If there are | 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. | |||
{{footer}} |
Latest revision as of 19:03, 30 October 2015
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! | Alteeve Enterprise Support | Community Support | |
© 2025 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2025 | |||
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. |