Github user remibergsma commented on the pull request:
https://github.com/apache/cloudstack/pull/1231#issuecomment-164172595
First test results:
keepalived.conf looks as expected:
```
vrrp_instance inside_network {
state EQUAL
interface eth2
virtual_router_id 51
nopreempt
```
Service is running:
```
root@r-11-VM:/etc/keepalived# ps aux | grep keepalived
root 4058 0.1 0.4 47040 1032 ? Ss 17:56 0:00
/usr/sbin/keepalived
root 4059 0.1 0.9 53308 2368 ? S 17:56 0:00
/usr/sbin/keepalived
root 4060 0.2 0.7 53308 1768 ? S 17:56 0:00
/usr/sbin/keepalived
root 5994 0.0 0.3 8076 852 pts/1 S+ 18:00 0:00 grep
keepalived
```
Logs:
```
Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Registering Kernel netlink
reflector
Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Registering Kernel netlink
command channel
Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Registering gratuitous ARP
shared channel
Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Opening file
'/etc/keepalived/keepalived.conf'.
Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Truncating auth_pass to 8
characters
Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Configuration is using :
64669 Bytes
Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Using LinkWatch kernel
netlink reflector...
Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]:
VRRP_Instance(inside_network) Entering BACKUP STATE
Dec 12 17:56:13 r-11-VM Keepalived_vrrp[4060]: VRRP_Script(heartbeat)
succeeded
Dec 12 17:56:16 r-11-VM Keepalived_vrrp[4060]:
VRRP_Instance(inside_network) Transition to MASTER STATE
Dec 12 17:56:17 r-11-VM Keepalived_vrrp[4060]:
VRRP_Instance(inside_network) Entering MASTER STATE
```
<img width="413" alt="screen shot 2015-12-12 at 19 01 24"
src="https://cloud.githubusercontent.com/assets/1630096/11763223/ea78f8a0-a102-11e5-87dc-eb5f8fdaecd3.png">
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---