AW: [DRBD-user] Getting DRBD running on RHEL5 with kernel 2.6.18-8.el5

Schmidt, Florian florian.schmidt at altroconsult.de
Thu Feb 7 19:58:26 CET 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello again,

thanks to the two guys, who made me having installed DRBD on both machines now. :) Thanks

But now, the next problem occurred.

I configured my /etc/drbd.conf and started DRBD with /etc/init.d/drbd start.

But then both nodes wait for the other node to appear.

If I say "yes" to interrupt this waiting, both do have following state

/etc/init.d/drbd status
drbd driver loaded OK; device status:
version: 8.0.4 (api:86/proto:86)
SVN Revision: 2947 build by buildsvn at c5-i386-build, 2007-07-31 19:25:17
 0: cs:WFConnection st:Secondary/Unknown ds:Inconsistent/DUnknown C r---
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
        resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
        act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0

So I read, that both are secondary.
I do not know, what WFConnection means. :(

I tried drbdsetup /dev/drbd0 primary --overwrite-data-of-peer 
[whicht is the newer version for --do-what-i-say (???)]

I can make this on on or on both nodes. They change their state to Primary/Unknown and are Up2Date, but don't change to Connected (They're still WFConnected).

So I think they aren't really connected yet.

Does anyone have an idea, how to connect them?

Tanks a lot.

Flori


-----Ursprüngliche Nachricht-----
Von: sweiss89 at gmail.com [mailto:sweiss89 at gmail.com] Im Auftrag von Art Age Software
Gesendet: Mittwoch, 6. Februar 2008 20:44
An: Schmidt, Florian; drbd-user at lists.linbit.com
Betreff: Re: [DRBD-user] Getting DRBD running on RHEL5 with kernel 2.6.18-8.el5

Try a "yum update" to get your kernel to the latest version.

On Feb 6, 2008 10:53 AM, Schmidt, Florian
<florian.schmidt at altroconsult.de> wrote:
> Hi
>
> First, thanks for your reply
>
> I just found this centos-extras-repository before your mail arrived and installed
>
> drbd-8.0.6-1.el5.centos.i386.rpm
>
> and
>
> kmod-drbd-8.0.6-1.2.6.18_8.1.15.el5.i686.rpm
>
> from
>
> http://vault.centos.org/5.0/extras/i386/RPMS/
>
> manually via RPM -i ...
>
> Now, when I say /etc/init.d/drbd start he still answeres
>
> "Starting DRBD resources:    Can not load the drbd module."
>
> Does anyone have some ideas? ;)
>
> Greetz
>
> Flori
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: sweiss89 at gmail.com [mailto:sweiss89 at gmail.com] Im Auftrag von Art Age Software
> Gesendet: Mittwoch, 6. Februar 2008 19:31
> An: Schmidt, Florian
> Cc: drbd-user at lists.linbit.com
> Betreff: Re: [DRBD-user] Getting DRBD running on RHEL5 with kernel 2.6.18-8.el5
>
>
> Hi Florian,
>
> The easiest method is to enable the CentOS Extras repository and do:
>
> # sudo yum --enablerepo=extras install drbd kmod-drbd
>
> You won't get the absolute latest version of DRBD, but it will be
> guaranteed to work with your kernel.
>
> Sam
>
> On Feb 6, 2008 9:52 AM, Schmidt, Florian
> <florian.schmidt at altroconsult.de> wrote:
> > Hello DRBD-Users :),
> >
> > Two days ago I started to try to get DRBD running and I'm not ready yet :(
> >
> > I read lots of Howtos and installed lots of RPMs from different repositories. I also tried to compile my own kernel-module, but this failed with error.
> >
> > I'm not (yet ;) ) a Linux-Specialist, it's the first time of my life that I post in such a mailinglist (so I don't know anything about behaviour or something like that) and my english is also not very good.  But I hope, you'll help me. :)
> >
> > I've got 2 machines running with RedHat Enterprise Linux 5
> > [uname -a says: 2.6.18-8.el5]
> >
> > I found some RPMs for other kernel versions and (in my desperation) installed them.
> > I am able to execute drbdadm, drbdmeta and drbdsetup tools, but when I say /etc/init.d/drbd start, he says "Can not load the drbd module". So obviously the kernel module is still missing.
> >
> > How do I get this module into my Kernel?
> >
> > I think the best hint until now was this site:
> >
> > http://www.stefanocislaghi.it/2008/02/05/drbd-for-redhat-enterprise/
> >
> > I installed both RPMs and found that drbd.ko in the mentioned path. But I don't know where to copy it.
> >
> > I hope anyone will hive me some hints to get this running.
> >
> > btw: The actual (old) machines are only for testing purposes. The new machines will come next week (or so) and I wanted to test this before I make the real installation.
> >
> > Greets from Germany
> >
> > Florian Schmidt
> >
> > altro consult Deutschland GmbH
> > GB IT-Services
> > Mittelbacher Strasse 3
> > 09224 Chemnitz
> > Germany
> > Tel.    +49 371 88 17016
> > Fax     +49 371 88 17460
> > E-Mail  florian.schmidt at altroconsult.de
> > web     www.altroconsult.de
> > Special Expertise Partner SAP for HCM
> >
> > Unternehmen der CENTRIC
> >
> > Geschäftsführung: Thomas Vallbracht-Theßeling, Gerard Sanderink ~ Sitz der Gesellschaft: Oberhausen
> > Registergericht: Duisburg HRB 17807 ~ Steuer-Nr.: 124/5700/1692 ~ USt.-Id.-Nr.: DE246840541
> >
> > CONFIDENTIALITY AND DISCLAIMER NOTICE
> > Please note that this message may contain confidential information. If you have received
> > this message by mistake, please inform the sender of the mistake by E-Mailing, then delete
> > the message from your system without making, distributing or retaining any copies of it.
> > Any views or opinions presented are solely those of the sender and do not necessarily
> > represent those of altro consult Deutschland GmbH unless otherwise specifically stated.
> > Although we believe that the message and any attachments are free from viruses and other
> > errors that might affect the computer or IT system where it is received and read, the
> > recipient opens the message at his or her own risk. We assume no responsibility for any
> > loss or damage arising from the receipt or use of this message.
> >
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user
> >
>



More information about the drbd-user mailing list