I'm going to have to be a little vague on this one, but hope I provide enough to make the question clear. I'm not doing the work on this server, a co-worker is, but I said I would ask for him.
He is trying to get DRBD installed. He's using Centos 5.1 and the yum repos, but is getting problems with things like the kernel, drbd.so, and the likes. All install fine, but I'm not sure he is getting the proper kernel with the drbd stuff. Almost sounds like he needs a dev rpm from somewhere because drbd.so isn't on the machine after installing the RPMs. (Can't do the insmod drbd.so).
Does anyone have a quick and easy(?) step by step to get it installed? He'll figure out the config if he can get it installed properly. Right now, he's running from source OK, but you all know the arguements for source versus rpm.
Thanks for any help. I'll try and get caught up on what he's doing to better answer any questions presented.
Steve Campbell
I think the last time I did it, I got the tarball. I either did an rpmbuild -ta on it, or there was an rpm target in the makefile.
Regardless, I ended up with two RPM's -- a kernel module and the tools. On any systems that had different kernels, I had to recompile to get the kernel module.
On Mon, Mar 17, 2008 at 1:40 PM, Steve Campbell campbell@cnpapers.com wrote:
I'm going to have to be a little vague on this one, but hope I provide enough to make the question clear. I'm not doing the work on this server, a co-worker is, but I said I would ask for him.
He is trying to get DRBD installed. He's using Centos 5.1 and the yum repos, but is getting problems with things like the kernel, drbd.so, and the likes. All install fine, but I'm not sure he is getting the proper kernel with the drbd stuff. Almost sounds like he needs a dev rpm from somewhere because drbd.so isn't on the machine after installing the RPMs. (Can't do the insmod drbd.so).
Does anyone have a quick and easy(?) step by step to get it installed? He'll figure out the config if he can get it installed properly. Right now, he's running from source OK, but you all know the arguements for source versus rpm.
Thanks for any help. I'll try and get caught up on what he's doing to better answer any questions presented.
Steve Campbell
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Gary, thanks for the reply and info.
Gary Richardson wrote:
I think the last time I did it, I got the tarball. I either did an rpmbuild -ta on it, or there was an rpm target in the makefile.
I didn't think of the rpmbuild was. I'll suggest that to him. I do rkhunter that way now and it works like a charm. Not sure what you mean by an rpm target in the makefile, though.
Regardless, I ended up with two RPM's -- a kernel module and the tools. On any systems that had different kernels, I had to recompile to get the kernel module.
Can you elaborate a little on the last sentence above, please? Again, not sure if you are saying to do something after the rpmbuild or that you just used the resultant rpms.
On Mon, Mar 17, 2008 at 1:40 PM, Steve Campbell <campbell@cnpapers.com mailto:campbell@cnpapers.com> wrote:
I'm going to have to be a little vague on this one, but hope I provide enough to make the question clear. I'm not doing the work on this server, a co-worker is, but I said I would ask for him. He is trying to get DRBD installed. He's using Centos 5.1 and the yum repos, but is getting problems with things like the kernel, drbd.so, and the likes. All install fine, but I'm not sure he is getting the proper kernel with the drbd stuff. Almost sounds like he needs a dev rpm from somewhere because drbd.so isn't on the machine after installing the RPMs. (Can't do the insmod drbd.so). Does anyone have a quick and easy(?) step by step to get it installed? He'll figure out the config if he can get it installed properly. Right now, he's running from source OK, but you all know the arguements for source versus rpm. Thanks for any help. I'll try and get caught up on what he's doing to better answer any questions presented. Steve Campbell
Steve
Hey, The last time I built the RPM's for DRDB, two RPM's were generated. One was the toolset, the other was the kernel module.
On systems that were running custom or older kernels, I would have to rebuild the RPM on those machines so that the kernel version numbers matched properly. Make sense?
On Tue, Mar 18, 2008 at 4:30 AM, Steve Campbell campbell@cnpapers.com wrote:
Gary, thanks for the reply and info.
Gary Richardson wrote:
I think the last time I did it, I got the tarball. I either did an rpmbuild -ta on it, or there was an rpm target in the makefile.
I didn't think of the rpmbuild was. I'll suggest that to him. I do rkhunter that way now and it works like a charm. Not sure what you mean by an rpm target in the makefile, though.
Regardless, I ended up with two RPM's -- a kernel module and the tools. On any systems that had different kernels, I had to recompile to get the kernel module.
Can you elaborate a little on the last sentence above, please? Again, not sure if you are saying to do something after the rpmbuild or that you just used the resultant rpms.
On Mon, Mar 17, 2008 at 1:40 PM, Steve Campbell <campbell@cnpapers.com mailto:campbell@cnpapers.com> wrote:
I'm going to have to be a little vague on this one, but hope I
provide
enough to make the question clear. I'm not doing the work on this server, a co-worker is, but I said I would ask for him. He is trying to get DRBD installed. He's using Centos 5.1 and the
yum
repos, but is getting problems with things like the kernel, drbd.so, and the likes. All install fine, but I'm not sure he is getting the
proper
kernel with the drbd stuff. Almost sounds like he needs a dev rpm
from
somewhere because drbd.so isn't on the machine after installing the RPMs. (Can't do the insmod drbd.so). Does anyone have a quick and easy(?) step by step to get it
installed?
He'll figure out the config if he can get it installed properly.
Right
now, he's running from source OK, but you all know the arguements
for
source versus rpm. Thanks for any help. I'll try and get caught up on what he's doing
to
better answer any questions presented. Steve Campbell
Steve
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Mon, 2008-03-17 at 16:40 -0400, Steve Campbell wrote:
I'm going to have to be a little vague on this one, but hope I provide enough to make the question clear. I'm not doing the work on this server, a co-worker is, but I said I would ask for him.
He is trying to get DRBD installed. He's using Centos 5.1 and the yum repos, but is getting problems with things like the kernel, drbd.so, and the likes. All install fine, but I'm not sure he is getting the proper kernel with the drbd stuff. Almost sounds like he needs a dev rpm from somewhere because drbd.so isn't on the machine after installing the RPMs. (Can't do the insmod drbd.so).
Does anyone have a quick and easy(?) step by step to get it installed?
Have you read the wiki : http://wiki.centos.org/HowTos/Ha-Drbd ?
He'll figure out the config if he can get it installed properly. Right now, he's running from source OK, but you all know the arguements for source versus rpm.
Everything is included in the Extras repositories .. no need to compile from source
Thanks for any help. I'll try and get caught up on what he's doing to better answer any questions presented.
Fabian, thanks.
Fabian Arrotin wrote:
On Mon, 2008-03-17 at 16:40 -0400, Steve Campbell wrote:
I'm going to have to be a little vague on this one, but hope I provide enough to make the question clear. I'm not doing the work on this server, a co-worker is, but I said I would ask for him.
He is trying to get DRBD installed. He's using Centos 5.1 and the yum repos, but is getting problems with things like the kernel, drbd.so, and the likes. All install fine, but I'm not sure he is getting the proper kernel with the drbd stuff. Almost sounds like he needs a dev rpm from somewhere because drbd.so isn't on the machine after installing the RPMs. (Can't do the insmod drbd.so).
Does anyone have a quick and easy(?) step by step to get it installed?
Have you read the wiki : http://wiki.centos.org/HowTos/Ha-Drbd ?
Didn't realize there was an entry. I don't use the wiki that much since the Centos systems we run here just seem to work. Not much problem. I'll read it and pass on the link to the installer too. It doesn't address the original problem of getting it installed, though, from a quick glance. Looks like configuration is pretty well covered.
He'll figure out the config if he can get it installed properly. Right now, he's running from source OK, but you all know the arguements for source versus rpm.
Everything is included in the Extras repositories .. no need to compile from source
I'm assuming he used the Extras repos since he had Centos rpms. Again, I'll get caught up with what he's done, and confirm.
Thanks for any help. I'll try and get caught up on what he's doing to better answer any questions presented.
Thanks,
Steve
Fabian Arrotin wrote:
On Mon, 2008-03-17 at 16:40 -0400, Steve Campbell wrote:
I'm going to have to be a little vague on this one, but hope I provide enough to make the question clear. I'm not doing the work on this server, a co-worker is, but I said I would ask for him.
He is trying to get DRBD installed. He's using Centos 5.1 and the yum repos, but is getting problems with things like the kernel, drbd.so, and the likes. All install fine, but I'm not sure he is getting the proper kernel with the drbd stuff. Almost sounds like he needs a dev rpm from somewhere because drbd.so isn't on the machine after installing the RPMs. (Can't do the insmod drbd.so).
Does anyone have a quick and easy(?) step by step to get it installed?
Have you read the wiki : http://wiki.centos.org/HowTos/Ha-Drbd ?
He'll figure out the config if he can get it installed properly. Right now, he's running from source OK, but you all know the arguements for source versus rpm.
Everything is included in the Extras repositories .. no need to compile from source
Thanks for any help. I'll try and get caught up on what he's doing to better answer any questions presented.
A quick check with him this morning while he was rushing to take a call from the hospital - He says the drbd8.2 rpm has conflicts when trying to yum install.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Steve Campbell wrote:
Fabian Arrotin wrote:
On Mon, 2008-03-17 at 16:40 -0400, Steve Campbell wrote:
I'm going to have to be a little vague on this one, but hope I provide enough to make the question clear. I'm not doing the work on this server, a co-worker is, but I said I would ask for him.
He is trying to get DRBD installed. He's using Centos 5.1 and the yum repos, but is getting problems with things like the kernel, drbd.so, and the likes. All install fine, but I'm not sure he is getting the proper kernel with the drbd stuff. Almost sounds like he needs a dev rpm from somewhere because drbd.so isn't on the machine after installing the RPMs. (Can't do the insmod drbd.so).
Does anyone have a quick and easy(?) step by step to get it installed?
Have you read the wiki : http://wiki.centos.org/HowTos/Ha-Drbd ?
He'll figure out the config if he can get it installed properly. Right now, he's running from source OK, but you all know the arguements for source versus rpm.
Everything is included in the Extras repositories .. no need to compile from source
Thanks for any help. I'll try and get caught up on what he's doing to better answer any questions presented.
A quick check with him this morning while he was rushing to take a call from the hospital - He says the drbd8.2 rpm has conflicts when trying to yum install.
if you are already running drbd-0.7.2x on centos-4 then you must upgrade to drbd82 ...
http://fghaas.wordpress.com/2007/10/03/step-by-step-upgrade-from-drbd-07-to-...
If you are installing on centos-5 there should not be any "conflicts"