[DRBD-user] Enabling a stacked resource - HELP!

Dan Barker dbarker at visioncomm.net
Thu Sep 15 16:08:25 CEST 2011

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


And on 8.4.0 up, you can use the same IP and port. See volumes: http://www.drbd.org/users-guide/ap-recent-changes.html

Dan

-----Original Message-----
From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of SlingPirate
Sent: Thursday, September 15, 2011 8:28 AM
To: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] Enabling a stacked resource - HELP!


For anyone using google and stuck like I was, you can use the same net card just need diferent ports assigned to each resource.


SlingPirate wrote:
> 
> Thanks for your reply Matthieu, I'm now trying it as seperate DRBD's 
> for each of the VMs as live migration would be nice but it's not a necessity.
> 
> Only now I seem to be running into a problem of not being able to use 
> the same network card for multiple DRBD resources. I'm hoping that I 
> won't have to use a different IP's for each resource!
> 
> 
> 
> 
> Matthieu Labbé wrote:
>> 
>> Hello,
>> 
>> 2011/9/13 SlingPirate <sling.temp at googlemail.com>:
>>>
>>> Thank you for your input Lars, and apologies for my lack of 
>>> understanding.  I have done some more reading and I am still 
>>> somewhat unsure as how to approch this. I will try to re-explain 
>>> what I'm after and I would be grateful for any more of your time and 
>>> guidance.
>>>
>>> ********* On-site *********                    *** Off-site *** = 
>>> NODE-1 =        = NODE-2 =                      = NODE-DR = =   VM-1   
>>> =        =   VM-1   =                      =   VM-1     = =   VM-2   
>>> =        =   VM-2   =                      =   VM-2     = =   VM-3   
>>> =        =   VM-3   =                      =   VM-3     = =   VM-4   
>>> =        =   VM-4   =                      =   VM-4     =
>>>
>>> Under normal conditions I would like to run VM-1 & VM-2 on NODE-1 
>>> while
>>> VM-3
>>> & VM-4 run on NODE-2.
>>>
>>> If NODE-1 dies NODE-2 runs all the VMs or visa-versa. If the site 
>>> that
>>> NODE-1 & NODE-2 are based at blows up, NODE-3 is ready to run all VMs.
>>>
>>> I can use either block devices or image files for the VMs.
>>>
>>> What would you suggest would be the correct way to set this up?
>>>
>> 
>> You need more than one DRBD, for example:
>> DRBD0 for VM-1 & VM-2, Primary on NODE-1, Secondary on NODE-2
>> DRBD1 for VM-3 & VM-4, Primary on NODE-2, Secondary on NODE-1 or use 
>> one DRBD per VM as suggested before.
>> 
>> You only need dual primary if you want to do live migration between
>> NODE-1 and NODE-2 and in that case the classic 3-way setup doesn't 
>> work.
>> If you don't need live migration, do classic 3-way setups.
>> 
>> Hope that help,
>> Matt.
>> 
>> --
>> Matthieu Labbé
>> http://mattlabbe.com/
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
>> 
>> 
> 
> 

--
View this message in context: http://old.nabble.com/Enabling-a-stacked-resource---HELP%21-tp32423513p32471169.html
Sent from the DRBD - User mailing list archive at Nabble.com.

_______________________________________________
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