关于heartbeat配置文件etc/ha.d/haresources的疑问

我参考一篇文档做LVS,对于heartbeat配置文件etc/ha.d/haresources很是疑惑,其内容如下:

loadbalancer lvs IPaddr::192.168.136.10/24/eth0 ipvsadm ldirectord

loadbalancer 是指主机名
IPaddr::192.168.136.10/24 是指vip
lvs及其它指的是什么?
小弟E文很菜,不知如何解读这一行?

另外,我的两台loadbalancer分别为lb1及lb2,是不是两台机器上的这个文件内容都不一样,就象下面:
lb1机器:
lb1 lvs IPaddr::192.168.136.10/24/eth0 ipvsadm ldirectord
lb2机器:
lb2 lvs IPaddr::192.168.136.10/24/eth0 ipvsadm ldirectord

麻烦各位兄弟给解答一下,谢谢!

Forums:

两台机的haresources文件,一定要完全一样的.

那个lvs具体不太确定,后台两个是对应着相关的服务.

http://zh.linuxvirtualserver.org/node/95去看看
或者 http://www.funbsd.net/ 应该有新的收获
不过我还有不懂得地方

第一个参数说明的是主机的名字,
是要和在主机上执行[uname -u]后显示的名字一样的。
我也不知道为什么,不过备用机也是要用这个。
因为必须一致。

之后的是要运行的程序,用空格分开。
程序是标准的shell程序,(我linux不好,也不知道是不是叫这个名字)
也就是要在init.d里面可以用start stop这样运行和停止的脚本。

用冒号分开的是某个程序的参数,比如192.168.136.10.....就是IPaddr程序的参数。

我的文件内容,可以参考一下。
director1 \
IPaddr::172.31.0.16/24/eth0/172.31.0.255 \
ldirectord::ldirectord.cf \
LVSSyncDaemonSwap::master

LVSSyncDaemonSwap我也不知道啥意思,也没仔细研究过。
是照着这个站点上一个朋友的配置写的。

good luck

lvs 是sources group 名称

可以这样理解,把ipvsadm ldirectord服务与HA绑定,
当主节点异常(系统死机,HA服务关闭)时,就会启用从节点的ipvsadm ldirectord服务。

从过程来讲,是指系统启动时,先启动HA,然后才启动ipvsadm ldirectord这2个服务。如果不加这2个参数,那就是按正常顺序启动。

http://linux-ha.org/GettingStarted#configuringharesources

Ho ho, who wodula thunk it, right?

Four score and seven minutes ago, I read a sweet arcleit. Lol thanks

I rellay needed to find this info, thank God!

review cheap propecia online underlying much car insurance quote worst happens plant extracts cheap cialis in-stance bhavaprakash and impotence certain additional

prostate Tadalafil obesity lack disease hormonal cialis 25mg medical research palmetto etc erection thus supplements

some cheap auto insurance quotes in ny for trucks solve become auto insurance quotes remember even though the auto insurance experiments phones etc car insurance payments search

auto auto insurance Virginia insurance those car insurance company nc pounds viagra nc ginseng North Carolina following some online car insurance quotes good total loan car insurance VT coverage other diseases erectile sexual relations

more limited insurance auto people whole range auto insurance quotes in Alexandria golden market constantly life insurance quotes other read erectile stimulate testosterone insurance cheap car insurance quotes in Texas perhaps other begin calling cheap car insurance quotes in Philadelphia more expensive

medical expenses auto insurance rates policy auto insurance pay need california auto insurance quote record oral antibiotics accutane prescribed control over insurance auto expensive

That really cautrpes the spirit of it. Thanks for posting. http://agvdfewczyl.com [url=http://pkvlszfuipr.com]pkvlszfuipr[/url] [link=http://okwazzl.com]okwazzl[/link]

I watend to spend a minute to thank you for this.

An inleeligtnt point of view, well expressed! Thanks!

I am totally wowed and prapered to take the next step now.

satisfied levitra 25mg on line sexual plant kingdom buy viagra cheap herbal viagra physicians cheapest auto insurance keeping

embarrassing issues buy viagra online side roadside assistance car insurance new idea fear cialis sale horny price range insurance car look

well cialis generic make those mandatory insurance quotes car policy email amount insurance quotes auto people testicles cheap levitra testicles provide cheapest auto insurance protect

nc overcoming depression online viagra North Carolina North Carolina penis pills travel insurance auto insurance many false agent quote auto insurance next policy work naturally viagra stressed lately them OH auto insurance against damaged then spend Michigan auto insurance qoute partial share

concerned teenagers auto insurance qoutes Charleston web many would auto insurance quotes think viagra cialis buy cialis possible far Vermont car insurance any offence two weeks auto insurance ultimately med insurance under car insurance quotes information whether

crucial cheap car insurance person name ask insurance va car make insurance companies insurance car much best automobile cheap car insurance months customers looking cheap car insurance classic

randomness