®
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
配置
®
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
部署FMS
部署FMS集群工作流程
在均衡负载器(LVS)之后部署多个FMS服务器
目的:处理更多的用户端请求,消除单一服务器灾难失效现象
首先,安装FMS,参考前面教程
建议:多FMS尽量采用同一操作系统,避免命名冲突
配置LVS,观测多个FMSS或FMIS服务器
在LVS策略配置后运行集群FMS服务器
添加所有FMS服务器集群(server farm)进入LVS
LVS实现集群间负载均衡
配置LVS分发(distribute)负载模式为round-robin模式
打开1935端口监控
服务器没有可见IP地址形态,则开放HTTP通道(http tunneling)工作方式,在LVS后部署
FMS时允许cookies记录功能
通过LVS设定Cookies为允许状态
在FMS的Adaptor.xml配置文件中修改Adaptor/HTTPTunnel/SetCookie节点值为true
连接通道,Cookies设定生效在Windows系统中仅支持Flash Player 9.0.28或更高版本
®
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
部署FMS
部署FMS集群工作流程(二)
外部教程
Eliminating the single point of failure with origin redundancy in Flash Media
Server
Clustering Flash Communication Server for Live Webcasts
Deploy scalable FMS applications
®
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
部署FMS
部署Edge服务器(一)
仅FMIS和FMDS支持
超过2个层级的Origin/Edge连接测试不能使用产品自带的VOD示例
工作步骤
安装并验证FMS
配置edge服务器(
参见后续讲解
)
验证edge可以连接至origin(
参见后续讲解
)
安装多个edge服务器,拷贝已经配置好的edge服务器的Vhost.xml到其他edge服务器
验证每一个edge能否连接origin
将origin和与其连通的edge服务器尽可能部署在同一个节点网络中
配置多个edge服务器,需要同时配置Load Balancer
将LB放置于客户端与edge服务器间的链路上
配置LB为round-robin模式
监控1935端口
使用虚拟IP地址池作为edge服务器Vhost.xml中的RouteEntry的IP地址值
细节配置,参见
Vhost.xml
中
RouteEntry
字段的注释
®
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
部署FMS
部署Edge服务器(二)
配置edge服务,需修改Vhost.xml
可以配置某些应用为origin,某些为edge,这种模式称为Hybrid
配置一个virtual host运行为edge服务器
Vhost.xml默认在<
RootInstall>/conf/_defaultRoot_/
_defaultVHost_