[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new to pacemaker and heartbeat on debian...getting error..



>
> Here we are :
>
>> Oct 24 16:58:54 deb1 lrmd: [4804]: info: RA output:
>> (failover-ip:start:stderr) ERROR: Cannot use default route w/o netmask
>> [192.168.2.113]
>> Oct 24 16:58:54 deb1 IPaddr[5292]: ERROR: /usr/lib/heartbeat/findif
>> failed [rc=1].
>> Oct 24 16:58:54 deb1 lrmd: [4804]: WARN: Managed failover-ip:start
>> process 5292 exited with return code 1.
> [...]
>
>> I have a very small network --- this ip is not being used at all.
>> all i did was clone a vbox vm machine to another machine and installed.
>> after installing - i realized the nic hardwares are the same do i did
>> a refersh and restarted the machines.
>>
>> Do i have to stop network manager ? or do i have to do anything
>> special for pacemaker and corosync ???
>
> I hope you don't use network manager for a cluster !
>
> You really should use static IP.


I have my interfaces set for a static ip addresses in network manager
-- should i stop it from running ?
how do i bring up the interfaces automatically when i reboot the machine ?


>
> Here we can see in the logs that the resource agent for the IP resource can
> not finc the network interface on which to add the faliover IP.
>
> Show us the output of "ifconfig".


I do see an error in the log about a netmask not being set - did not
understand that because i have it set in network manager - no place to
set in corosync config.


>
> Your two clusteres nodes are vbox VM ? How is the network configured ? Bridge
> or NAT ?
> I think it must be a bridge to work, I'm not sure.
>
I do have it set as bridges and different hardware addresses.
They can ping each other and i can transfer files via ssh.

my ifconfig :

root@deb1:/home/mjh# ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:fb:85:98
          inet addr:192.168.2.110  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fefb:8598/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36765 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59129 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5800366 (5.5 MiB)  TX bytes:7756410 (7.3 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1254 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1254 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:122112 (119.2 KiB)  TX bytes:122112 (119.2 KiB)


and :


root@deb2:/home/mjh# ifconfig
eth1      Link encap:Ethernet  HWaddr 08:00:27:50:ac:f6
          inet addr:192.168.2.111  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe50:acf6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:54669 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30001 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7328413 (6.9 MiB)  TX bytes:4064625 (3.8 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:919 errors:0 dropped:0 overruns:0 frame:0
          TX packets:919 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:89910 (87.8 KiB)  TX bytes:89910 (87.8 KiB)


thanks again.


Reply to: