Adding IPVS to the kernel

7,584

To solve this problem, install ipvs, by running

yum install ipvsadm

Once done, run,

  modprobe ip_vs 

on your host machine, or the machine keepalived is to be installed on. This should solve the problem.

Share:
7,584

Related videos on Youtube

henry.oswald
Author by

henry.oswald

I am the founder/creator of ShareLaTeX an online LaTeX editor and DataJoy and online python and R editor for beginners.

Updated on September 18, 2022

Comments

  • henry.oswald
    henry.oswald over 1 year

    I am trying to setup keepalived on a pair of VPS load balancer servers. I have hit the road block of IPVS not being included with the kernal.

    IPVS: Can't initialize ipvs: Protocol not available
    

    I am not familiar on the best way to add support for this, I believe it may be possible with a kernel module but I am unclear how to proceed.

    • Panther
      Panther almost 10 years
      I can not tell from your question if you need to build the kernel module or if the kernel module will not load or if there is a bug. Can you please tell us , what distro ? What kernel version ?
    • agend
      agend over 9 years
      have u found a solution?