CentOS4.5へのインストールメモ

  • インストール

DAG's repository からインストールする。

/etc/keepalived/keepalived.conf

global_defs {
   notification_email {
     foo@example.com
   }
   notification_email_from foo@example.com
   smtp_server 10.0.0.10
   smtp_connect_timeout 30
   router_id LVS_DEVEL
}

vrrp_instance VE {
    state BACKUP
    interface eth1
    garp_master_delay 5
    virtual_router_id 1
    priority 100
    nopreempt
    advert_int 1
    authentication {
        auth_type PASS
        auth_pass tigers
    }
    virtual_ipaddress {
        192.168.200.18 label eth0:3
        172.16.0.100/16 label eth1:100 dev eth1
    }
}