[DRBD-user] DRBD and heartbeat IP config.

David david at davidbranford.net
Mon Aug 8 06:58:46 CEST 2005

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


No worries! thanks

David

> -----Original Message-----
> From: Alex Haye [mailto:ahayehaye at gmail.com]
> Sent: Monday, 8 August 2005 12:26 PM
> To: David
> Subject: Re: [DRBD-user] DRBD and heartbeat IP config.
>
>
> On 8/7/05, David <david at davidbranford.net> wrote:
> > Thanks Alex,
> >
> > > -----Original Message-----
> > > From: drbd-user-bounces at lists.linbit.com
> > > [mailto:drbd-user-bounces at lists.linbit.com]On Behalf Of Alex Haye
> > > Sent: Sunday, 7 August 2005 5:18 PM
> > > To: DRBD List
> > > Subject: Re: [DRBD-user] DRBD and heartbeat IP config.
> > >
> > >
> > > On 8/7/05, David <david at davidbranford.net> wrote:
> > > > Hi all,
> > > >
> > > > I'm currently investigating how to configure DRBD to work
> with heartbeat
> > > > between 2 PC's (I have a drbd resource, r0, working  successfully).
> > > >
> > > > My confusion at the moment: should the IP address which drbd
> > > uses be failed
> > > > over, or should it be configured via the standard system
> > > network scripts?
> > > > (running RedHat 9)
> > > >
> > > > David.
> > >
> > >
> > > If you're looking for a single IP, active/passive configuration
> > > example then I'm pretty sure you want to look at this:
> > >
> > > http://linux-ha.org/GettingStarted_2fOneIPAddress
> >
> > Thanks - have seen that site, but not knowing heartbeat
> resources config.
> > very well I didn't know how to read the resource lines in haresources
> > properly (have since worked that out).
> >
> > > >From what I can tell, don't rely on your distro to setup the IP.  The
> > > "init.d"-like scripts that come with heartbeat will handle assigning
> > > your virtual cluster IP automatically.
> >
> > ok, so do you mean set the network interface that DRBD uses up via the
> > distro. scripts and then assign *only* the virtual IP address
> via heartbeat?
> > Since the IP addresses of the interfaces DRBD uses need to be
> hard-coded in
> > drbd.conf I guessed I should set these manually (ie. via the distro.
> > scripts).
> >
>
> Exactly.  Sorry I didn't answer your question very well the first
> time around.
>
> You should probably have dedicated interfaces between the two nodes
> for DRBD.  The "virtual" IP is left for hearbeat to assign.
>
> !DSPAM:42f6c9b6299572062810470!
>
>





More information about the drbd-user mailing list