LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Keepalived Director failover, LVS-TUN

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Keepalived Director failover, LVS-TUN
From: Matt Chan <engineuity@xxxxxxxxx>
Date: Mon, 13 Feb 2006 08:11:22 -0500
On 2/9/06, Graeme Fowler <graeme@xxxxxxxxxxx> wrote:
>
> Hmm. Is there a space between the end of track_interface and the
> opening brace? This looks for all the world like a syntax problem
> (albeit not a very obvious one). It might be worth you posting the
> whole block again as it is now.
>
## VRRP Instances Definitions
vrrp_sync_group VG1{
  group{
    VI_1
    VI_2
    VI_3
  }
  notify_master "/sbin/masterState.sh"
  notify_backup "/sbin/backupState.sh"
  notify_fault "/sbin/backupState.sh"
}
vrrp_instance VI_1{
  state MASTER
  interface eth1
  #lvs_sync_daemon_interface eth1
  track_interface{
    eth0
  }
  virtual_router_id 51
  priority 150
  smtp_alert
  advert_int 1
  virtual_ipaddress{
    165.230.111.208/32 dev eth1
  }
  notify_master "/sbin/masterState.sh"
  notify_backup "/sbin/backupState.sh"
  notify_fault "/sbin/backupState.sh"
}
vrrp_instance VI_2{
  state MASTER
  interface eth0
  lvs_sync_daemon_interface eth0
  virtual_router_id 52
  priority 150
  smtp_alert
  advert_int 1
  virtual_ipaddress{
    165.230.111.217/27 dev eth0
  }
}
vrrp_instance VI_3{
  state BACKUP
  interface eth0
  lvs_sync_daemon_interface eth0
  virtual_router_id 53
  priority 100
  smtp_alert
  advert_int 1
  virtual_ipaddress{
    165.230.111.218/27 dev eth0
  }
}

<Prev in Thread] Current Thread [Next in Thread>