ipvsadm

ipvsadmipvsadm
  1. For more information about the various schedulers , consult the man page for ipvsadm .

    有关各种调度程序的更多信息,请查询ipvsadm手册。

  2. Once completed , install ipvsadm , Heartbeat , and mon from the native package management tools on the server .

    完成此操作后,从服务器中的本地包管理工具中安装ipvsadm、Heartbeat和mon。

  3. Both of those scripts use of the ipvsadm command-line tool to dynamically add and remove realservers from the LVS tables .

    这两组脚本都使用ipvsadm命令行工具动态地将realserver添加到LVS表中或从中删除。

  4. Next , create a script to enable ipvsadm service forwarding to the realservers , and place a copy on each LVS director .

    接下来,创建脚本以启用转发至realserver的ipvsadm服务,并且在每个LVS控制器中放置一个副本。

  5. Next , to tell the directors to relay incoming HTTP requests to the HA floating IP address on to the realservers , use the ipvsadm command .

    接下来,要通知控制器将引入的HTTP请求传递给HA浮动IP地址,接着再传给realserver,使用ipvsadm命令。

  6. This script will not be necessary when the later configuration of mon is done to automatically monitor for active realservers , but it aids in testing the ipvsadm component until then .

    当完成mon的后续配置以自动监控活动的realserver后,就不需要再使用这个脚本,但在此之前它会有助于测试ipvsadm组件。

  7. The alerts are responsible for telling LVS to add or remove Apache servers from the eligibility list ( by invoking the ipvsadm command , as we shall see in a moment ) .

    警报负责告知LVS将Apache服务器添加到合格的列表中或从中删除(方法是调用ipvsadm命令,我们很快就要介绍到)。