Hi,
In my two-node cluster the ip specified in haresources
is getting masqueraded in both machines.

Configuration files are as follows:-
---------------------------------------------
1.haresources:

master  192.168.184.69  rsyncserver
slave_mac rsynclient

2.ha.cf

logfile /var/log/ha-log
keepalive 2
deadtime 10
warntime 4
initdead 30
node master
node slave_mac
bcast neoeth0
udpport 694
auto_failback on
coredumps true
debug   0
realtime on
use_logd off



As shown below the , IP written in haresources is on
both machine
-----------------------------------------
[EMAIL PROTECTED] 2008]# uname -n
master
[EMAIL PROTECTED] 2008]# ifconfig
eth0      Link encap:Ethernet  HWaddr
00:0C:29:8D:3F:C2
         UP BROADCAST RUNNING PROMISC MULTICAST
MTU:1500  Metric:1
         RX packets:3317 errors:0 dropped:0
overruns:0 frame:0
         TX packets:1661 errors:0 dropped:0
overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:380532 (371.6 Kb)  TX bytes:333306
(325.4 Kb)
         Interrupt:10 Base address:0x1400

eth1      Link encap:Ethernet  HWaddr
00:0C:29:8D:3F:CC
         inet addr:192.168.11.129
Bcast:192.168.11.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500
Metric:1
         RX packets:909 errors:0 dropped:0 overruns:0
frame:0
         TX packets:14 errors:0 dropped:0 overruns:0
carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:208698 (203.8 Kb)  TX bytes:588
(588.0 b)
         Interrupt:9 Base address:0x1480
lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:16 errors:0 dropped:0 overruns:0
frame:0
         TX packets:16 errors:0 dropped:0 overruns:0
carrier:0
         collisions:0 txqueuelen:0
         RX bytes:1000 (1000.0 b)  TX bytes:1000
(1000.0 b)


neoeth0   Link encap:Ethernet  HWaddr
00:0C:29:8D:3F:C2
         inet addr:192.168.184.129
Bcast:192.168.184.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500
Metric:1
         RX packets:2847 errors:0 dropped:0
overruns:0 frame:0
         TX packets:1668 errors:0 dropped:0
overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:293663 (286.7 Kb)  TX bytes:336180
(328.3 Kb)

neoeth0:0 Link encap:Ethernet  HWaddr
00:0C:29:8D:3F:C2
         inet addr:192.168.184.69
Bcast:192.168.184.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500
Metric:1


[EMAIL PROTECTED] root]# uname -n
slave_mac
[EMAIL PROTECTED] root]# ifconfig
eth0      Link encap:Ethernet  HWaddr
00:0C:29:F2:01:F3
         UP BROADCAST RUNNING PROMISC MULTICAST
MTU:1500  Metric:1
         RX packets:118285 errors:0 dropped:0
overruns:0 frame:0
         TX packets:85694 errors:0 dropped:0
overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:28751827 (27.4 Mb)  TX
bytes:8001939 (7.6 Mb)
         Interrupt:10 Base address:0x1400

eth1      Link encap:Ethernet  HWaddr
00:0C:29:F2:01:FD
         inet addr:192.168.11.130
Bcast:192.168.11.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500
Metric:1
         RX packets:36083 errors:0 dropped:0
overruns:0 frame:0
         TX packets:2772 errors:0 dropped:0
overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:24052810 (22.9 Mb)  TX bytes:223247
(218.0 Kb)
         Interrupt:9 Base address:0x1480

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:36 errors:0 dropped:0 overruns:0
frame:0
         TX packets:36 errors:0 dropped:0 overruns:0
carrier:0
         collisions:0 txqueuelen:0
         RX bytes:3614 (3.5 Kb)  TX bytes:3614 (3.5
Kb)

neoeth0   Link encap:Ethernet  HWaddr
00:0C:29:F2:01:F3
         inet addr:192.168.184.130
Bcast:192.168.184.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500
Metric:1
         RX packets:77279 errors:0 dropped:0
overruns:0 frame:0
         TX packets:85692 errors:0 dropped:0
overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:4989385 (4.7 Mb)  TX bytes:8002641
(7.6 Mb)

neoeth0:0 Link encap:Ethernet  HWaddr
00:0C:29:F2:01:F3
         inet addr:192.168.184.69
Bcast:192.168.184.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500
Metric:1



I am most probably using 1.31 as shown by this
ResourceManager script
($Id: ResourceManager.in,v 1.31 2005/08/31 16:03:02
alan Exp $)
I am not using crm. I am using very basic setup of
heartbeat with SPOF ;both nodes are on the same
ethernet LAN.

NOTE: My rsynclient resource script takes a while to
complete, is that a problem?
Also timings in various timers is too short in here ?
or it will work smoothly ??

Thanks for your patience
Nish
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to