下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、iPanel.TViPanel.TV( 版本:1.0.1 目录1、部署步骤概2、系统环境准3目录1、部署步骤概2、系统环境准3环及驱动安 、ipsender驱动安安3.6SIG4、系统安装目录及配置文件说、系统安装目、系统配置文件说5、部署方案示、单机部署方案示、单机部署方案示例、单机部署方案示例、双机部署方案示、双机部署方案示例、双机部署方案示例、双机部署方案示例6、服务自启动设7配8、NTP设、NTP服务端的设、NTP服务的开启与关、NTP服务端配置文件的设、NTP自启动设、NTP客户端的设(附)文档更文1、部署步骤概SIG1.0 安装Linux(特别注意要安装文1、部署步骤概SIG1.0
2、 安装Linux(特别注意要安装安装SIG1.0获取License启动SIG1.0配置(管理服务器、播发服务器1iPanel.TV文2、系统环境准elX86架构(及兼容)CPU,PentiumIII 512MB文2、系统环境准elX86架构(及兼容)CPU,PentiumIII 512MB 50MB 卡任一(组合(Ethernet)接口(UDP网卡Linuxi386,x86_64)RedHat:RHELAS4,RHEL5.2、5.3、5.5、5.8 Linux内核版本:2.6.9、2.6.18 GLIB库版本:2.4.7及以上(DekTec卡驱动、IPSENDER驱动时使用GCC版本:3.4.
3、3及以上版本(DekTec卡驱动、IPSENDER驱动时使用unison(2iPanel.TV文3、服务及驱动安包 #cd /usr/local #mkdir tempSecureCRT 或 FileZillaWinSCP/usr/local/temp -DekTecUDP(IP)SIG1.0文3、服务及驱动安包 #cd /usr/local #mkdir tempSecureCRT 或 FileZillaWinSCP/usr/local/temp -DekTecUDP(IP)SIG1.01ASI ipsender 。 2UDP Dta1xx 。 3、ipsenderDta1xx至少必须安装其
4、中的一个。3.2、DekTec 适配卡驱动安包#cd /usr/local/temp #tar-zxvfDta1xx.tar.gz#cd Dta1xx +Start to install dektecdrive,please wait a sfull!Installation directory is 安装完成,安装目录为#cd/usr/local/Dta1xx Loading Dta1xx # lsmod|grep 3iPanel.TV文 包#cd #tar -zxvf#cdipsender113 +Start to install ipsenderdrive,please wait for
5、 asfull!Installationdirectory is 安装完成,安装目录为#cd/usr/local/ipsender113 0Major node for ipsenderdrv文 包#cd #tar -zxvf#cdipsender113 +Start to install ipsenderdrive,please wait for asfull!Installationdirectory is 安装完成,安装目录为#cd/usr/local/ipsender113 0Major node for ipsenderdrv#lsmod|gr 0安装SIG #cd /usr/loc
6、al/temp#tar-zxvfSIGM10_20120928_R10109.tar.gz #mv sigm ./管理服务器安装于/usr/local/sigm安装SIG #cd /usr/local/temp#tar-zxvfSIGP10_20120928_R10102.tar.gz #mv sigp ./播发服务器安装于/usr/local/sigp安装完毕还需要LicenseSIG。获取#cd/usr/local/sigm Authorized.sn申请文件(mvAuthorized.sn别#cd 4iPanel.TV文Authorized.sn申请文件(mvAuthorized.sn别
7、申请将上述步骤生成的 License 。上传申请文件以邮件方式发送给 iPanel 公司相关商务,申请将收到的管理服务器License(ipanelSIGM.license)SecureCRTFileZilla、 文Authorized.sn申请文件(mvAuthorized.sn别申请将上述步骤生成的 License 。上传申请文件以邮件方式发送给 iPanel 公司相关商务,申请将收到的管理服务器License(ipanelSIGM.license)SecureCRTFileZilla、 WinSCP/usr/local/sigm将收到的播发服务器License(ipanelSIGP.li
8、cense)SecureCRTFileZilla、 WinSCP/usr/local/sigp#cd /usr/local/sigp:#cd /usr/local/sigp1 84 17:1900:00:15 ./sigp10#cd /usr/local/sigp#./sigp10 -播发服务器应比管理服务器先行启动,否则会有一段时间(30 秒内)#cd /usr/local/sigm:#cd /usr/local/sigm1 84 17:1900:00:15 ./sigm10#cd /usr/local/sigm#./sigm10 -5iPanel.TV文4、系统安装目录及配置文件说DekT
9、ec:/usr/local/Dta1xx ipsenderSIG(默认)(默认)SIG-文4、系统安装目录及配置文件说DekTec:/usr/local/Dta1xx ipsenderSIG(默认)(默认)SIG-SIG-SIG-SIG-SIG-SIG-SIG播发服务器配置文件为/usr/local/sigp/cfg/sigp.xml,?xml =1.0encoding=UTF-d_port=5002http_port=902output_niclogtdt_tot_adjvalue=10d_port:指定供SIG6iPanel.TV文http_port:指定供SIG rootdir 指定 S
10、IGip:UDP(IPip:指定主管理服务器的IP(供连接鉴权ip:指定备份管理服务器的IP(供连接鉴权(若为独立模式,则为空ip:发服务器的IP(供数据同步文http_port:指定供SIG rootdir 指定 SIGip:UDP(IPip:指定主管理服务器的IP(供连接鉴权ip:指定备份管理服务器的IP(供连接鉴权(若为独立模式,则为空ip:发服务器的IP(供数据同步(若为独立模式,则为空ip:指定备份播发服务器的IP(供数据同步(若为独立模式,则为空role:角色,取值分别为:alone - 独立模式,master -热备主服务器 slaver -IP( slaver_sigp_ip:
11、热备备份播发服务器的IP(通常以网线直连方式,配置为网线直连网卡的IP)lever:配置LOG(为毫秒,用以微调网络时间(暂未启用管理服务器配置文件为/usr/local/sigp/cfg/sigm.xml, d_port=5002d_port=5002epgcarea_code=518001epgcarea_code=518002d_port=5003d_port=50037iPanel.TV文logcountrytime_zonecharacter_setcenterd_port:指定供SIGhttp_port:指定供SIG rootdir 指定 SIG文logcountrytime_zo
12、necharacter_setcenterd_port:指定供SIGhttp_port:指定供SIG rootdir 指定 SIGip:指定主管理服务器的IP(供数据同步ip:指定备份管理服务器的IP(供数据同步(若为独立模式,则为空ip:发服务器的IPip:指定备份播发服务器的IProle:角色,取值分别为:alone - 独立模式,master -热备主服务器 slaver -IP(slaver_sigm_ip:热备备份管理服务器的IP(通常以网线直连方式,配置为网线直连网卡的lever:配置LOG(name:国家地区名称代码(ISO3166-8iPanel.TV文name:配置PSI/S
13、I(字符集mode:配置PSI/SIauto-文name:配置PSI/SI(字符集mode:配置PSI/SIauto-配置时,各主/9iPanel.TV文5、部署方案示1 单机部署方案示例该部署方案最为简单,SIGSIGsigm.xmlsigp.xml1)SIG文5、部署方案示1 单机部署方案示例该部署方案最为简单,SIGSIGsigm.xmlsigp.xml1)SIG#cat d_port=http_port=/ 暂未启用,忽略 d_port= http_port=/ heartbeat_time=5 epgcarea_code= epgcarea_code= backup slaver_s
14、igm_ip= log country iPanel.TV文time_zone character_set center2)SIG#cat ?xml =1.0 encoding=UTF-d_port=5002 文time_zone character_set center2)SIG#cat ?xml =1.0 encoding=UTF-d_port=5002 output_nic log tdt_tot_adj 2 单机部署方案示例该部署方案较为简单,SIGiPanel.TV文SIGsigm.xmlsigp.xml1)SIG#cat d_port=http_port=/文SIGsigm.xml
15、sigp.xml1)SIG#cat d_port=http_port=/ 暂未启用,忽略 d_port= http_port=/ heartbeat_time=5 epgcarea_code= epgcarea_code= backup slaver_sigm_ip= log country time_zone character_set center2)SIG#cat ?xml =1.0 encoding=UTF-d_port=5002 output_nic log tdt_tot_adj value=10 iPanel.TV文3 双机部署方案示例SIG中,有一定的局限性,其中服务器的网口必
16、须至少有三个,SIGIPSIG务器同时输出数据至两条不同物理链路的网络中。SIGsigm.xml文3 双机部署方案示例SIG中,有一定的局限性,其中服务器的网口必须至少有三个,SIGIPSIG务器同时输出数据至两条不同物理链路的网络中。SIGsigm.xmlsigp.xmlkeepalivedIP包SecureCRTFileZillaWinSCPkeepalived- keepalived2)包#cd #tar zxvf keepalived-3)#cdkeepalived-1.2.2 -with-kernel-#make&make installiPanel.TV文注: 在运行 make 命
17、令的时候, 如果报错, 可以修改当前目录下的 vs-2.6/ip_vs.h 文件, 将其中的#include 位置改到sys/types.h./etc/sysconfig/keepalived./etc/rc.d/init.d/keepalived ./etc/keepalived/keepalived.conf ./sbin/keepalived4)SIGkeepalived文注: 在运行 make 命令的时候, 如果报错, 可以修改当前目录下的 vs-2.6/ip_vs.h 文件, 将其中的#include 位置改到sys/types.h./etc/sysconfig/keepalived
18、./etc/rc.d/init.d/keepalived ./etc/keepalived/keepalived.conf ./sbin/keepalived4)SIGkeepalived/etc/keepalived/keepalived.conf,! Configuration File global_defs router_idSIGMvrrp_instanceVI_1 e MASTERerface eth0 virtual_router_id60priority 1authentication auth_type PASS auth_pass123456virtual_ipaddres
19、s virtual_server 05001 delay_loop6 lb_algo wrr lb_kind DRpersistence_timeout 5 protocol TCP real_server0weight 5001 notify_down/usr/local/ipanel/sigm_master.sh TCP_CHECK connect_timeout nb_get_retry iPanel.TV文delay_before_retry connect_port 当监测到 SIG 管理服务器-主的进程未启动时,则会自动运行 keepalived/etc/rc.d/init.d/k
20、eepalivedstop exit 0sigm_master.sh5)SIGkeepalived/etc/keepalived/keepalived.conf,! Configuration File global_defs router_idSIGMvrrp_instanceVI_1文delay_before_retry connect_port 当监测到 SIG 管理服务器-主的进程未启动时,则会自动运行 keepalived/etc/rc.d/init.d/keepalivedstop exit 0sigm_master.sh5)SIGkeepalived/etc/keepalived
21、/keepalived.conf,! Configuration File global_defs router_idSIGMvrrp_instanceVI_1 e BACKUPerface eth0 virtual_router_id60priority 1authentication auth_type PASS auth_pass123456virtual_ipaddress 6)SIG#cat ?xml =1.0 encoding=UTF-iPanel.TV文epgcarea_code= epgcarea_code= backuprole=master log 暂未启用,忽略 d_po
22、rt= http_port=/ 暂未启用,忽略 heartbeat_time=5master_sigm_ip=0time_zone character_set center7)SIG#cat ?xml 文epgcarea_code= epgcarea_code= backuprole=master log 暂未启用,忽略 d_port= http_port=/ 暂未启用,忽略 heartbeat_time=5master_sigm_ip=0time_zone character_set center7)SIG#cat ?xml =1.0 encoding=UTF-d_port=5002 out
23、put_nic log tdt_tot_adj value=10 8)SIG #cat/usr/local/sigm/cfg/sigm.xml?xml =1.0 encoding=UTF-d_port=5001 epgcarea_code= epgcarea_code= backuprole=slaver log heartbeat_time=5master_sigm_ip=0 iPanel.TV文country time_zone character_set center9)SIG#cat ?xml =1.0 encoding=UTF-文country time_zone character
24、_set center9)SIG#cat ?xml =1.0 encoding=UTF-d_port=5002 output_nic log tdt_tot_adj 4例iPanel.TV文5.2.1包SecureCRTFileZillaWinSCPkeepalived- keepalived2)包#cd #tar zxvf keepalived-3)#cdkeepalived-1.2.2 文5.2.1包SecureCRTFileZillaWinSCPkeepalived- keepalived2)包#cd #tar zxvf keepalived-3)#cdkeepalived-1.2.2
25、-with-kernel-#make&make install注: 在运行 make 命令的时候, 如果报错, 可以修改当前目录下的 vs-2.6/ip_vs.h 文件, 将其中的#include 位置改到sys/types.h./etc/sysconfig/keepalived./etc/rc.d/init.d/keepalived ./etc/keepalived/keepalived.conf ./sbin/keepalived4)SIGkeepalived/etc/keepalived/keepalived.conf,! Configuration File forglobal_def
26、s router_idSIGMvrrp_instanceVI_1 e MASTERerface eth0 virtual_router_id60priority 1authentication iPanel.TVauth_type PASS auth_pass123456virtual_ipaddress virtual_server 05001 delay_loopauth_type PASS auth_pass123456virtual_ipaddress virtual_server 05001 delay_loop6 lb_algo wrr lb_kind DRpersistence_
27、timeout5 protocol TCPreal_server 0 5001 weight notify_down/usr/local/ipanel/sigm_master.sh TCP_CHECK connect_timeout nb_get_retry delay_before_retry connect_port 当监测到 SIG 管理服务器-主的进程未启动时,则会自动运行 keepalivedsigm_master.sh/etc/rc.d/init.d/keepalivedstop exit 05)SIGkeepalived/etc/keepalived/keepalived.con
28、f,! Configuration File forglobal_defs router_idSIGMvrrp_instanceVI_1 e BACKUPerface eth0 virtual_router_id60priority iPanel.TV文1authentication auth_type PASS auth_pass123456virtual_ipaddress 6)SIG#cat ?xml =1.0 encoding=UTF-d_port=5001 epgcarea_code= epgcarea_code= 文1authentication auth_type PASS au
29、th_pass123456virtual_ipaddress 6)SIG#cat ?xml =1.0 encoding=UTF-d_port=5001 epgcarea_code= epgcarea_code= backuprole=master log country heartbeat_time=5master_sigm_ip=0 time_zone character_set center7)SIG#cat ?xml =1.0 encoding=UTF-d_port=5002 output_nic backup role=masteriPanel.TV文slaver_sigp_ip=3
30、log tdt_tot_adj value=10 8)SIG #cat/usr/local/sigm/cfg/sigm.xml?xml =1.0 encoding=UTF-d_port=5001 epgcarea_code= epgc文slaver_sigp_ip=3 log tdt_tot_adj value=10 8)SIG #cat/usr/local/sigm/cfg/sigm.xml?xml =1.0 encoding=UTF-d_port=5001 epgcarea_code= epgcarea_code= backuprole=slaver log country heartbe
31、at_time=5master_sigm_ip=0 time_zone character_set center9)SIG#cat ?xml =1.0 encoding=UTF-d_port=5002 output_nic log tdt_tot_adj value=10 iPanel.TV文5 双机部署方案示例 务器-主宕机时,SIG 播发服务器-备的输出才开始输出数据。SIGunison文5 双机部署方案示例 务器-主宕机时,SIG 播发服务器-备的输出才开始输出数据。SIGunisonSIGSIG包SecureCRTFileZillaWinSCPkeepalived- keepalive
32、d2)包#cd #tar zxvf keepalived-3)#cdkeepalived-1.2.2 -with-kernel-#make&make install注: 在运行 make 命令的时候, 如果报错, 可以修改当前目录下的 vs-2.6/ip_vs.h 文件, 将其中的#include 位置改到sys/types.hiPanel.TV文./etc/sysconfig/keepalived./etc/rc.d/init.d/keepalived ./etc/keepalived/keepalived.conf ./sbin/keepalived4)SIGkeepalived/etc/
33、keepalived/keepalived.conf,! Configuration File global_defs router_id文./etc/sysconfig/keepalived./etc/rc.d/init.d/keepalived ./etc/keepalived/keepalived.conf ./sbin/keepalived4)SIGkeepalived/etc/keepalived/keepalived.conf,! Configuration File global_defs router_idSIGMvrrp_instanceVI_1 e MASTERerface
34、 eth0 virtual_router_id60priority 1authentication auth_type PASS auth_pass123456virtual_ipaddress virtual_server 05001 delay_loop6 lb_algo wrr lb_kind DRpersistence_timeout 5 protocol TCP real_server0weight 5001 notify_down/usr/local/ipanel/sigm_master.sh TCP_CHECK connect_timeout nb_get_retry delay
35、_before_retry connect_port iPanel.TV文当监测到 SIG 管理服务器-主的进程未启动时,则会自动运行 keepalived/etc/rc.d/init.d/keepalivedstop exit 0sigm_master.sh5)SIGkeepalived/etc/keepalived/keepalived.conf,! Configuration File global_defs router_idSIGMvrrp_instanceVI_1 e BACKUPerface eth0 virtual_router_id文当监测到 SIG 管理服务器-主的进程未启
36、动时,则会自动运行 keepalived/etc/rc.d/init.d/keepalivedstop exit 0sigm_master.sh5)SIGkeepalived/etc/keepalived/keepalived.conf,! Configuration File global_defs router_idSIGMvrrp_instanceVI_1 e BACKUPerface eth0 virtual_router_id60priority 1authentication auth_type PASS auth_pass123456virtual_ipaddress 6)SIG
37、#cat d_port=http_port=/ 暂未启用,忽略 d_port= http_port=/ 暂未启用,忽略heartbeat_time=5 epgcarea_code= epgcarea_code= backup iPanel.TV文slaver_sigm_ip=1 log country time_zone character_set center7)SIG#cat ?xml =1.0 encoding=UTF-d_port=5002 output_nic 文slaver_sigm_ip=1 log country time_zone character_set center7)
38、SIG#cat ?xml =1.0 encoding=UTF-d_port=5002 output_nic log tdt_tot_adj value=10 8)SIG #cat/usr/local/sigm/cfg/sigm.xml d_port=http_port=/ 暂未启用,忽略 d_port= http_port=/ 暂未启用,忽略heartbeat_time=5master_sigm_ip=0 epgcarea_code= epgcarea_code= backuprole=slaver log country time_zone character_set iPanel.TV文c
39、enter9)SIG#cat ?xml =1.0 encoding=UTF-d_port=5002 output_nic log tdt_tot_adj value=10 文center9)SIG#cat ?xml =1.0 encoding=UTF-d_port=5002 output_nic log authorized_keys 1cat/root/.ssh/id_rsa.pubauthorized_keys authorized_keys 1:/root/.ssh/#od 600 SIG#od 600 ssh#ssh 1 #ssh 0 文#cd 0cat/root/.ssh/id_rs
40、a.pubauthorized_keys 1cat/root/.ssh/id_rsa.pubauthorized_keys authorized_keys 1:/root/.ssh/#od 600 SIG#od 600 ssh#ssh 1 #ssh 0 18)配置SIGunison # vim /root/.unison/default.prf#Unison root= root =batch= = #retry = =-fastcheck=false rsync = falsesshargs = -C xferbycopying=true log = truelogfile = SIGuni
41、son # vim /root/.unison/default.prf#Unison root =root =iPanel.TV文#force batch= = #retry = =-fastcheck=文#force batch= = #retry = =-fastcheck=false rsync = falsesshargs = -C xferbycopying=true log = truelogfile = 19)SIGunison#crontab -*/1*/sbin/unisonunisoniPanel.TV文6、服务自启动设rc.local #Thisscriptwillbee
42、xecuted*after*文6、服务自启动设rc.local #Thisscriptwillbeexecuted*after*allthe Youcan put your owninitialization stuff otherinit wantto do the fullSys V touch sleep #cd/usr/local/Dta1xx sleep cd sleep cd sleep cd sleep exit iPanel.TV文配iptables#mkdir#vim/home/ipanel/iptables.shexport PATHecho+Starting to setup -s文配iptables#mkdir#vim/home/ipanel/iptables.shexport PATHecho+Starting to setup -s-lo-j e-e RELATED,ESTABLISHED-j -dport 123 -j -m multiport -dport 20:22 -j
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024版厂房物业管理合同
- 2024版劳务安全协议书
- 二零二五年度航空机票代理业务合同范本6篇
- 2024短期借款合同
- 2025年度跨区域电力传输工程:塔吊运输与安装服务合同3篇
- 小学汉字书写评价标准研究
- 营销总结报告模板
- 小学教育中信息素养与口才表达的结合应用
- 2025投资合作协议书合同
- 2025标准的贷款合同范本
- 主体结构验收汇报材料T图文并茂
- 过一个有意义的寒假课件
- 施工现场装配式集装箱活动板房验收表
- 电力业扩工程竣工验收单
- 三年级上册口算题(1000道打印版)
- 安全保护区巡查管理规定
- 药物性肝损伤药物治疗
- 2021年12月医院临床药师培训理论考核试题(心血管专业)
- 科目一考试成绩表
- 喷塑特殊过程能力确认记录1
- 内蒙古自治区建设工程费用定额2009年版
评论
0/150
提交评论