[DRBD-user] Question about heartbeat

Chuck Payne chuck.payne at vocalocity.com
Wed Aug 11 13:16:35 CEST 2010

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


I am currently working on creating my resource group for heart beat, I am using  bonded Ethernet on my box and I have a heartbeat set up  eth5.

bond0     Link encap:Ethernet  HWaddr 00:1B:21:43:EE:18
          inet addr 192.168.2.13  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fe80::21b:21ff:fe43:ee18/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:585853 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2584136 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:96045533 (91.5 MiB)  TX bytes:3777289385 (3.5 GiB)

eth5      Link encap:Ethernet  HWaddr 00:26:B9:3C:34:15
          inet addr:192.168.100.13  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::226:b9ff:fe3c:3415/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4944 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7028 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1398842 (1.3 MiB)  TX bytes:1989686 (1.8 MiB)
          Interrupt:130 Memory:d8000000-d8012800

I am wanting to do know this, I am going to have 6 resouces, do I need the following  for each resource group and do I need to have a unquie ip for each resource group, can I sent this for all? Do I need to assign to eth5?

>From hb_resource.xml from one of the groups

<primitive class="ocf" type="IPaddr2"
             provider="heartbeat" id="ip_mysql">
    <instance_attributes>
      <attributes>
        <nvpair name="ip" value="192.168.100.15"/>
        <nvpair name="cidr_netmask" value="24"/>
        <nvpair name="nic" value="eth5"/>
      </attributes>
    </instance_attributes>
  </primitive>

ha.conf

autojoin none
crm yes
logfacility local0
warntime 5
deadtime 15
initdead 60
keepalive 2
mcast bond0 237.0.0.13 694 1 0
bcast eth5
auto_failback on
node nfs03.atldc.vocalocity.com
node nfs04.atldc.vocalocity.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100811/cf2811d3/attachment.htm>


More information about the drbd-user mailing list