Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
* [Drbd-dev] DRBD contribution
@ 2008-04-22  7:57 Azeez Ahamed
  2008-04-22  9:29 ` Philipp Reisner
  0 siblings, 1 reply; 2+ messages in thread
From: Azeez Ahamed @ 2008-04-22  7:57 UTC (permalink / raw)
  To: drbd-dev

[-- Attachment #1: Type: text/plain, Size: 2141 bytes --]

 
>It is in our own intrest to make our bugzilla publically available,
>at least for read access. -- But I do not have the resources right
>now for that.
>
>And I think that will not be of much use for you, since to work on the
>issues that are currently open in bugzilla you need to have years
>of experience with kernel development, and need quite some time to
>get familiarize yourself with the DRBD module code base.
>
>But I suggest that you select one of these tasks for you debut
>as DRBD contributor:
>
>   1 Implement an include statement for the config file in drbdadm.
>     So that one can have a /etc/drbd.d/res1.conf .... and a
>     /etc/drbd.conf that only says "include /etc/drbd.d/*;"
>     [for DRBD-8.2]
>
>   2 Work on the spec file. The RPMs that get currently build
>     lack a dependency on the kernel they are built for. Add that
>     dependency. PS: You have to take care that it works for RHEL
>     and for SLES
>     [for DRBD-8.0 and will get propagated to 8.2 from there]
>
>   3 Change drbdadm so that it allows multiple "on" sections per
>     resource. -- One has to specify the peer he means on the
>     commandline when use drbdadm connect.
>     [for DRBD-8.2]
>
>-Phil

I need some clarification on the activities you suggested me to 
develop.

>   3 Change drbdadm so that it allows multiple "on" sections per
>     resource. -- One has to specify the peer he means on the
>     commandline when use drbdadm connect.
>     [for DRBD-8.2]

  Here you are looking for 1 to n node replication? When we use 
drbdadm connect command, it uses this command internally

drbdsetup /dev/drbd0 net 10.1.40.33:1234 10.1.40.41:1234 C --set-defaults --create-device

  Do i need to modify drbdsetup command to support multiple nodes?
Please correct me if i am wrong.

  
  Also, provide some details on the following activity

>   1 Implement an include statement for the config file in drbdadm.
>     So that one can have a /etc/drbd.d/res1.conf .... and a
>     /etc/drbd.conf that only says "include /etc/drbd.d/*;"
>     [for DRBD-8.2]
>

Thanks,
Azeez

[-- Attachment #2: Type: text/html, Size: 3031 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Drbd-dev] DRBD contribution
  2008-04-22  7:57 [Drbd-dev] DRBD contribution Azeez Ahamed
@ 2008-04-22  9:29 ` Philipp Reisner
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Reisner @ 2008-04-22  9:29 UTC (permalink / raw)
  To: drbd-dev, Azeez Ahamed

> I need some clarification on the activities you suggested me to
> develop.
>
> >   3 Change drbdadm so that it allows multiple "on" sections per
> >     resource. -- One has to specify the peer he means on the
> >     commandline when use drbdadm connect.
> >     [for DRBD-8.2]
>
>   Here you are looking for 1 to n node replication? When we use
> drbdadm connect command, it uses this command internally
>
> drbdsetup /dev/drbd0 net 10.1.40.33:1234 10.1.40.41:1234 C --set-defaults
> --create-device
>
>   Do i need to modify drbdsetup command to support multiple nodes?
> Please correct me if i am wrong.
>

Hi Azeez,

What I suggest is that the DRBD-driver and drbdsetup should stay as
they are. I suggest that you modify drbdadm so that one can specify
multiple on sections in a resource section.

As the driver and drbdsetup are two nodes only, one will then have
to select a peer node when calling drbdadm connect. So the command
line syntax of drbdadm will have to change as well. Maybe

drbdadm --to foo-node connect r0

Phil
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria        http://www.linbit.com :

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-22  9:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22  7:57 [Drbd-dev] DRBD contribution Azeez Ahamed
2008-04-22  9:29 ` Philipp Reisner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox