I am testing ctdb with 2 nodes on one computer with 2 IP addresses. I get this message in the ctdb log file:
2008/03/23 19:56:23.473155 [ 3646]: Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *).
I made a copy of my /etc/sysconfig/networking/devices/ifcfg-eth0 file and named it , /etc/sysconfig/networking/devices/ifcfg-eth0:0
I only changed the device name in it from DEVICE=eth0 to DEVICE=eth0:0.
I then ran ifconfig to bring it up:
ifconfig eth0:0 192.168.2.200 netmask 255.255.255.0 broadcast 192.168.2.255
I then was able to ping 192.168.2.200 successfully, but got the above warning when trying to run ctdb with 2 nodes: my localhost(192.168.2.6) and the other one.
Here is the list of messages relevant to it in my ctdb log file:
008/03/23 19:56:23.524077 [ 3650]: Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *).
2008/03/23 19:56:23.545895 [ 3650]: RTNETLINK answers: Cannot assign requested address
2008/03/23 19:56:23.546844 [ 3650]: Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *).
2008/03/23 19:56:23.547051 [ 3650]: Failed to del 192.168.2.200 on dev eth0:0
2008/03/23 19:56:23.547214 [ 3655]: Event script /usr/local/etc/ctdb/events.d/10.interface releaseip eth0:0 192.168.2.200 24 failed with error 1
cannot use same ethernet card in clustered samba for more than 1 IP