|
ldirectord ldirectord is a daemon to monitor and administer real servers in a LVS cluster of load balanced virtual servers.
Ldirectord是一个监控和管理LVS集群的负载均衡模式下real rerver的后台程序。
ldirectord typically used as a resource for heartbeat , but can also be run from the command line.
Ldirectord的特色是使用和heartbeat相同的资源,但是也可以从命令行运行。
A LVS cluster consists or one or more virtual services each of which may have zero or more real servers.
一个LVS集群是由运行在零个或者多个real servers上的一个或者多个服务组成的。
The IP address of a virtual service is what end-users connect to and is typically advertised over DNS.
最终用户连接和什么DNS的是一个虚拟服务的ip地址(这句不太明白)
When a connection is made to a virtual service, it is allocated a real server, and all packets for this connection are forwarded to this real server.
当建立一个连接到虚拟服务,它被分配到一台real server,并且这个连接的所有包都被转发到这台real server.
A more detailed overview of LVS can be found here.
更多的详细介绍可以在LVS上找到
ldirectord has a configuration file which specifies the virtual services and their associated real servers.
ldirectord存在一个指定虚拟服务和这些服务关联的real servers的配置文件.
When ldirectord is initialised it creates the virtual services for the clutster.
当ldirectord被初始化的时候它为集群创建虚拟服务.
ldirectord monitors the health of the real servers by periodically requesting a known URL and checking that the response contains an expected response.
ldirectord 监视real server的健康状态......
If a real server fails then the server is removed and will be reactivated once it comes back on line. If all the real servers are down then a fall-back server is inserted into the pool, which will made quiescent one of the real web servers comes back on line. Typically, the fall-back server is localhost. If an HTTP virtual service is being provided then it is useful to run an Apache HTTP server that returns a page indicating that the service is temporarily inaccessible.
我能翻译的已经尽量翻译了,剩下的实在不太明白了。
希望高手帮忙翻译下,多谢 |
|