[ENBD] reconnection
cereal killer
kellogs_killah at yahoo.fr
Tue May 11 09:29:21 MDT 2004
Hi Peter and thanks for the answer ;
--- "Peter T. Breuer" <ptb at it.uc3m.es> a écrit : >
"Also sprach [cereal killer]:"
> > I'm quite newbie in the world of enbd and High
> > Availability.
>
> Hi.
>
> > I m running a 2.4 succesfully patched kernel .
>
> But the kernel should not be patched .. can you
> clarify what you mean?
>
I just apply the patch given with 2.432pre , to have
the new options in the menuconfig in the kernel.
> > I export my /dev/hda9 with the enbd-server 5000 -i
> > test -b 2048 /dev/hda9 command. works i connect on
> th
> > eother side with the client ; enbd-client
> server:5000
> > -i test -b 2048 -n 4 /dev/nb0
>
> Well, this is not the enbd device naming scheme. You
> would need
> /dev/nda (at least if this is enbd-2.4.31, I think
> enbd-2.4.32 can cope
> with it).
>
I use a 2.432; it copes with it. Anyway I can make the
nda to suit your instructions , will probably better.
> > where nb0 has 43 0 major minor , connection is ok
> ;
>
> Are you sure? It's hard to imagine how!
>
> > mount the nb0 on /home/test on client side.
> > Then i generate a lot of writes and reads with dd
> on
> > /home/test ; and now comes the problem : I
> simulate a
> > failover (oops the network cable is in my hand :p
> )
> > all stalls ; i kill the enbd-server , and restart
> it ;
> > but no way of reconnection on client side. How to
> do a
>
> Every way of reconnecting it - send SIGPWR to the
> client, or install the
> enbd-cstatd and enbd-sstatd daemons, and configure
> enbd.conf.
>
In a production use ; i cant be behind the clinet side
to send the signal ; so I will install this 2 deamons
and configure that enbd.conf.
> > quite quickly reconnection working ? Isnt enbd
> > supposed to do it automatically ?
>
> Well, if the administrator "reads the instructions"
> up till the end of the
> first paragraph ...
>
> You will also need the /dev/nda nda1 nda2 ...
> /dev/ndb ndb1 ndb2 ...
> entries. Make them with the included MAKEDEV
> script.
Done
>
> And you'll also need this bit:
>
>
> The best way to set up is to look in the nbd/etc
> subdir of the
> distributed archive. There you will find a
> /etc/enbd.conf and an
> /etc/init.d/enbd file. Write the details of the
> server or client (or
> both) that should run on the local host in the
> enbd.conf file, as
> indicated there and on its manpage, and then
> simply run
> /etc/init.d/enbd start. Do the same on the
> remote machine.
>
> and
>
> "make install" now insidiously and perniciously
> adds two services
> enbd-{s,c}statd to /etc/services, and a line to
> /etc/inetd to start
> them on demand. Comment these lines if you don't
> like them.
>
> I would guess that you don't have /etc/enbd.conf,
> nor enbd-cstatd
> running out of inetd.
>
> Peter
Thanks Peter ; will try to read more and understand
faster next time.
> _______________________________________________
> ENBD mailing list
> ENBD at lists.community.tummy.com
>
http://lists.community.tummy.com/mailman/listinfo/enbd
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
More information about the ENBD
mailing list