I want to use the keepalived vrrp function into a xenU domain, in order to have a robust failover system. But the keepalived vrrp program can''t bind the network device. Kernel : 2.6.10 (Debian Sarge) Network xen0 config: XDXEN1:~# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:12:79:3B:53:06 inet addr:1.2.3.1 Bcast:1.255.255.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2027941 errors:0 dropped:0 overruns:0 frame:0 TX packets:266771 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:539288103 (514.3 MiB) TX bytes:26706544 (25.4 MiB) Interrupt:25 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:18590 errors:0 dropped:0 overruns:0 frame:0 TX packets:18590 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1047398 (1022.8 KiB) TX bytes:1047398 (1022.8 KiB) vif7.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:367 errors:0 dropped:0 overruns:0 frame:0 TX packets:2950 errors:0 dropped:115 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:69535 (67.9 KiB) TX bytes:224834 (219.5 KiB) xen-br0 Link encap:Ethernet HWaddr 00:12:79:3B:53:06 inet addr:1.2.3.1 Bcast:1.255.255.255 Mask:255.255.255.255 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1947220 errors:0 dropped:0 overruns:0 frame:0 TX packets:196815 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:452601550 (431.6 MiB) TX bytes:13455939 (12.8 MiB) Network xenU config: XEN_XDDBP1:~# ifconfig -a eth0 Link encap:Ethernet HWaddr AA:00:00:11:32:B1 inet addr:1.2.3.2 Bcast:1.255.255.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2333 errors:0 dropped:0 overruns:0 frame:0 TX packets:363 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:179690 (175.4 KiB) TX bytes:68415 (66.8 KiB) 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) xenU config (xen-unstable 01 march 2003): kernel = "/boot/vmlinuz-2.6.10-xenU" memory = 1024 name = "XEN_XDDBP1" disk = [ ''file:/var/cache/xen/domainsU/XEN_XDDBP1.racine,sda1,w'', ''phy:cciss/c0d0p6,sda2,w'', ''phy:cciss/c0d0p9,sda3,w'' ] root = "/dev/sda1 ro" extra = "4" Keepalived config (1.1.11): # Definitions Globales global_defs { lvs_id XDDBP } # Instance VRRP vrrp_instance VI_1 { # VRRP Maitre --> Mettre une forte priorite state MASTER interface eth0 garp_master_delay 10 !smtp_alert virtual_router_id 1 priority 250 advert_int 1 notify_backup "/opt/lvs/admin/vrrp.sh backup" notify_master "/opt/lvs/admin/vrrp.sh master" notify_fault "/opt/lvs/admin/vrrp.sh fault" # Script de log dans la syslog, appele a la fin de chaque notification notify "/opt/lvs/admin/notifySyslog.sh" authentication { auth_type pass auth_pass XXXXXXXXXX } # Ensemble des adresses IP sur lesquelles on travaille virtual_ipaddress { 1.2.3.4 } } Keepalived logs: Keepalived: Starting Keepalived v1.1.11 (03/04,2005) Keepalived_healthcheckers: Using LinkWatch kernel netlink reflector... Keepalived_healthcheckers: Netlink reflector reports IP 1.2.3.2 added Keepalived_healthcheckers: Registering Kernel netlink reflector Keepalived_healthcheckers: Registering Kernel netlink command channel Keepalived: Starting Healthcheck child process, pid=3030 Keepalived: Remove a zombie pid file /var/run/vrrp.pid Keepalived_vrrp: Using LinkWatch kernel netlink reflector... Keepalived_vrrp: Netlink reflector reports IP 1.2.3.2 added Keepalived_vrrp: Registering Kernel netlink reflector Keepalived_vrrp: Registering Kernel netlink command channel Keepalived_vrrp: Registering gratutious ARP shared channel Keepalived_vrrp: Configuration is using : 34492 Bytes Keepalived: Starting VRRP child process, pid=3032 Keepalived_healthcheckers: Configuration is using : 4277 Bytes Keepalived_vrrp: cant bind to device eth0. errno=92. (try to run it as root) Keepalived_vrrp: cant bind to device eth0. errno=92. (try to run it as root) Keepalived_vrrp: cant set MULTICAST_LOOP IP option. errno=9. Keepalived_vrrp: VRRP sockpool: [ifindex(2), proto(112), fd(8,8)] Keepalived: VRRP child process(3032) died: Respawning Keepalived: Remove a zombie pid file /var/run/vrrp.pid Keepalived_vrrp: Using LinkWatch kernel netlink reflector... Keepalived_vrrp: Netlink reflector reports IP 1.2.3.2 added Keepalived_vrrp: Registering Kernel netlink reflector Keepalived_vrrp: Registering Kernel netlink command channel Keepalived_vrrp: Registering gratutious ARP shared channel Keepalived_vrrp: Configuration is using : 34492 Bytes Keepalived: Starting VRRP child process, pid=3032 Keepalived_healthcheckers: Configuration is using : 4277 Bytes Keepalived_vrrp: cant bind to device eth0. errno=92. (try to run it as root) Keepalived_vrrp: cant bind to device eth0. errno=92. (try to run it as root) Keepalived_vrrp: cant set MULTICAST_LOOP IP option. errno=9. Keepalived_vrrp: VRRP sockpool: [ifindex(2), proto(112), fd(8,8)] ... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel