Building DRBD9: Difference between revisions
Jump to navigation
Jump to search
m (→Process) |
mNo edit summary |
||
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 = | ||
Line 16: | Line 19: | ||
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 | ||
TODO: Rolling an RPM, specific configuration options + method. | |||
{{footer}} |
Latest revision as of 19:03, 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 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. |