action08 发表于 2013-12-05 09:52

确认一下,ubuntu/lvs是不是只要装一个包哈

要给系统装lvs服务,在centos5需要装ipvsadm+keepalived两个包

可是我在ubu1204下没有keepalived这个包哦,难道ubu/apt下只要装一个??

action08 发表于 2013-12-05 12:29

这个板块人气不行了,都没人来关心了

h101com 发表于 2013-12-05 17:33

sudo apt-get install keepalived ipvsadm即可!

action08 发表于 2013-12-06 10:55

回复 3# h101com


    谢谢,已经安装完成。可惜没有配置文件啊,默认服务还没启动,


我是个新人,问题真多

action08 发表于 2013-12-06 10:55

:lol:lol:lol:hug:

h101com 发表于 2013-12-06 11:02

安装后不建议用它官方提到的配置工具配置,这个工具并不好用.

action08 发表于 2013-12-06 13:34

本帖最后由 action08 于 2013-12-07 15:46 编辑

shell@ubuntu:~$ ps aux |grep ipv
root      10150.00.0      0   0 ?      S    13:16   0:00
shell   24650.00.013596   924 pts/0    S+   13:33   0:00 grep --color=auto ipv
shell@ubuntu:~$ 感觉没对ipv 服务做配置啊,对了么??shell@ubuntu:~$
shell@ubuntu:~$ ps aux |grep ipv
shell   24600.00.013592   920 pts/1    S+   15:45   0:00 grep --color=auto ipv
shell@ubuntu:~$ ^C
shell@ubuntu:~$
这个是卸载包后的。。。

action08 发表于 2013-12-06 13:36

感觉keepalived服务还不对啊shell@ubuntu:~$
shell@ubuntu:~$ sudo -s
password for shell:
root@ubuntu:~#
root@ubuntu:~#
root@ubuntu:~# service keepalived start
root@ubuntu:~#
root@ubuntu:~#
root@ubuntu:~# ps aux |grep keepa
root      25540.00.013592   920 pts/0    S+   13:35   0:00 grep --color=auto keepa
root@ubuntu:~#
root@ubuntu:~#

action08 发表于 2013-12-06 18:30

我是新手,问题比较的多

action08 发表于 2013-12-15 14:15

本帖最后由 action08 于 2013-12-15 14:26 编辑

action08 发表于 2013-12-06 13:34 static/image/common/back.gif
感觉没对ipv 服务做配置啊,对了么??这个是卸载包后的。。。

root@ubuntu:~#
root@ubuntu:~# ps aux |grep ipv
root      46100.00.013592   920 pts/2    S+   14:14   0:00 grep --color=auto ipv
root@ubuntu:~#
root@ubuntu:~#
root@ubuntu:~# ipvsadm -v
ipvsadm v1.25 2008/5/15 (compiled with popt and IPVS v1.2.1)
root@ubuntu:~#
root@ubuntu:~#
root@ubuntu:~# ps aux |grep ip
root      10450.00.0      0   0 ?      S<   12:03   0:00
shell   25460.00.1 3393885144 ?      Sl   12:04   0:00 /usr/lib/ubuntu-geoip/ubuntu-geoip-provider
shell   34940.30.2 3021929360 ?      S    12:51   0:15 /usr/lib/chromium-browser/chromium-browser --type=sandbox-ipc
root      46140.00.013596   924 pts/2    S+   14:14   0:00 grep --color=auto ip
root@ubuntu:~#




===
apt-install package msg:
* ipvsadm is not configured to run. Please run dpkg-reconfigure ipvsadm
页: [1]
查看完整版本: 确认一下,ubuntu/lvs是不是只要装一个包哈