Linux virtual server【LVS】
1. Two methods to construct the cluster of servers
(1). DNS based load balancing cluster
DNS load balancing is probably the simplest method to build network
service cluster. It uses Domain Name System to distribute requests to
different servers through resolving the domain name to different IP
addresses of servers. When a DNS request comes to the DNS server to
resolve the domain name, the DNS server gives out one of server IP
addresses based on scheduling strategies, such as in round-robin
manner, then subsequent requests from clients using the same local
caching name server are sent to the same server in the specified
time-to-live (TTL) of name resolving.
(2). Dispatcher based load balancing cluster
Dispatcher, also known as load balancer, can be used to distribute
load among servers in a cluster, so that the parallel services of
servers can appear as a virtual service on a single IP address, and
end users interact as if it were a single server without knowing all
servers in clusters. Compared to DNS based load balancing, dispatcher
can schedule requests at fine granularity, such as per connection, for
better load balancing among servers. Failure can be masked when one
server or more fail. Server management is becoming easy, and
administrator can take a server or more in and out of service at any
time, which won't interrupt services to end users.
2. What is virtual server?
Virtual server is a highly scalable and highly available server
built on a cluster of real servers. The architecture of server cluster
is fully transparent to end users, and the users interact with the
cluster system as if it were only a single high-performance virtual
server.(LVS集群采用IP负载均衡技术和基于内容请求分发技术。调度器具有很好的吞吐率,将请求均衡地转移到不同的服务器上执行,且调度器自动屏蔽掉服务器的故
障,从而将一组服务器构成一个高性能的、高可用的虚拟服务器。整个服务器集群的结构对客户是透明的,而且无需修改客户端和服务器端的程序。)
3. How virtual s
相关文档:
例一:发送Signaling Packet:
Signaling Command是2个Bluetooth实体之间的L2CAP层命令传输。所以得Signaling Command使用CID 0x0001.
多个Command可以在一个C-frame(control frame)中发送。
如果要直接发送Signaling Command.需要建立SOCK_RAW类型的L2CAP连接Socket。这样才有机会自己填充Command Code,Identi ......
一、关于lilo
1. 在出现 lilo: 提示时键入 linux single 画面显示 lilo: linux single
2. 回车可直接进入linux命令行
3. 用password命令修改密码
二、关于 grub
1. 在出现grub画面时,用上下键选中你平时启动linux的那一项,然后按e键 2. 再次用上下键选中你平时启动linux的那一项(类似于kernel ......
挂载文件系统:mount
格式:mount [-参数] [设备名称] [挂载点]
常用的参数:
-t 指定设备的文件系统类型,常见的有:
minix linux最早使用的文件系统
ext2 linux目前常用的文件系统
msdos MS ......
档案目录管理 ls
语法: ls [-alrtAFR] [name...]
说明: 显示指定工作目录下之内容(列出目前工作目录所含之档案及子目录)。
参数:
-a 显示所有档案及目录 (ls内定将档案名或目录名称开头为"."的视为隐藏档,不会列出)
-l 除档案名称外,亦将档案型态、权限、拥有者、档案大小等资讯详细列出
-r ......