Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeepAlived bundle issue #2539

Open
ngocannguyen02 opened this issue Feb 5, 2022 · 2 comments
Open

KeepAlived bundle issue #2539

ngocannguyen02 opened this issue Feb 5, 2022 · 2 comments

Comments

@ngocannguyen02
Copy link

Hello,

I'm trying to make it work keepalived on ClearLinux

These are the steps :

  • swupd bundle-add keepalived
  • since the services are not created in /etc/* I took it from an ubuntu installation (file: keepalived.service) to /usr/lib/systemd/system/keepalived.service
  • systemctl enable keepalived
  • systemctl start keepalived

root@node1/etc/systemd/system/multi-user.target.wants # systemctl status keepalived ○ keepalived.service - Keepalive Daemon (LVS and VRRP) Loaded: loaded (/usr/lib/systemd/system/keepalived.service; enabled; vendor preset: disabled) Active: inactive (dead) since Sat 2022-02-05 20:17:52 UTC; 35s ago Process: 11574 ExecStart=/usr/sbin/keepalived --dont-fork $DAEMON_ARGS (code=exited, status=0/SUCCESS) Main PID: 11574 (code=exited, status=0/SUCCESS)

I'm expecting to see a keepalived process in my ps command

On ubuntu I got this

`● keepalived.service - Keepalive Daemon (LVS and VRRP)
Loaded: loaded (/lib/systemd/system/keepalived.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2022-02-05 20:08:33 UTC; 18min ago
Main PID: 1355 (keepalived)
Tasks: 2 (limit: 1146)
Memory: 1.4M
CGroup: /system.slice/keepalived.service
├─1355 /usr/sbin/keepalived --dont-fork
└─1356 /usr/sbin/keepalived --dont-fork

Feb 05 20:08:33 ip-172-31-63-24 Keepalived[1355]: Running on Linux 5.11.0-1028-aws #31~20.04.1-Ubuntu SMP Fri Jan 14 14:37:50 UTC 2022 (built for Linux 5.4.151)
Feb 05 20:08:33 ip-172-31-63-24 Keepalived[1355]: Command line: '/usr/sbin/keepalived' '--dont-fork'
Feb 05 20:08:33 ip-172-31-63-24 Keepalived[1355]: Opening file '/etc/keepalived/keepalived.conf'.
Feb 05 20:08:33 ip-172-31-63-24 Keepalived[1355]: Remove a zombie pid file /run/keepalived.pid
Feb 05 20:08:33 ip-172-31-63-24 Keepalived[1355]: Starting VRRP child process, pid=1356
Feb 05 20:08:33 ip-172-31-63-24 Keepalived_vrrp[1356]: Registering Kernel netlink reflector
Feb 05 20:08:33 ip-172-31-63-24 Keepalived_vrrp[1356]: Registering Kernel netlink command channel
Feb 05 20:08:33 ip-172-31-63-24 Keepalived_vrrp[1356]: Opening file '/etc/keepalived/keepalived.conf'.
Feb 05 20:08:33 ip-172-31-63-24 Keepalived_vrrp[1356]: Registering gratuitous ARP shared channel
Feb 05 20:08:33 ip-172-31-63-24 Keepalived_vrrp[1356]: (VI_1) Entering MASTER STATE`

Wondering what am I missing ? Thanks

@fenrus75
Copy link
Contributor

fenrus75 commented Feb 5, 2022 via email

@ngocannguyen02
Copy link
Author

So you found the missing service file but didnt succeed to make it work the whole keepalived right ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants