工程中心頭端考核_第1頁
工程中心頭端考核_第2頁
工程中心頭端考核_第3頁
工程中心頭端考核_第4頁
工程中心頭端考核_第5頁
已閱讀5頁,還剩34頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、iPanel.TViPanel.TV( 版本:1.0.1 目錄1、部署步驟概2、系統(tǒng)環(huán)境準(zhǔn)3目錄1、部署步驟概2、系統(tǒng)環(huán)境準(zhǔn)3環(huán)及驅(qū)動安 、ipsender驅(qū)動安安3.6SIG4、系統(tǒng)安裝目錄及配置文件說、系統(tǒng)安裝目、系統(tǒng)配置文件說5、部署方案示、單機(jī)部署方案示、單機(jī)部署方案示例、單機(jī)部署方案示例、雙機(jī)部署方案示、雙機(jī)部署方案示例、雙機(jī)部署方案示例、雙機(jī)部署方案示例6、服務(wù)自啟動設(shè)7配8、NTP設(shè)、NTP服務(wù)端的設(shè)、NTP服務(wù)的開啟與關(guān)、NTP服務(wù)端配置文件的設(shè)、NTP自啟動設(shè)、NTP客戶端的設(shè)(附)文檔更文1、部署步驟概SIG1.0 安裝Linux(特別注意要安裝文1、部署步驟概SIG1.0

2、 安裝Linux(特別注意要安裝安裝SIG1.0獲取License啟動SIG1.0配置(管理服務(wù)器、播發(fā)服務(wù)器1iPanel.TV文2、系統(tǒng)環(huán)境準(zhǔn)elX86架構(gòu)(及兼容)CPU,PentiumIII 512MB文2、系統(tǒng)環(huán)境準(zhǔn)elX86架構(gòu)(及兼容)CPU,PentiumIII 512MB 50MB 卡任一(組合(Ethernet)接口(UDP網(wǎng)卡Linuxi386,x86_64)RedHat:RHELAS4,RHEL5.2、5.3、5.5、5.8 Linux內(nèi)核版本:2.6.9、2.6.18 GLIB庫版本:2.4.7及以上(DekTec卡驅(qū)動、IPSENDER驅(qū)動時(shí)使用GCC版本:3.4.

3、3及以上版本(DekTec卡驅(qū)動、IPSENDER驅(qū)動時(shí)使用unison(2iPanel.TV文3、服務(wù)及驅(qū)動安包 #cd /usr/local #mkdir tempSecureCRT 或 FileZillaWinSCP/usr/local/temp -DekTecUDP(IP)SIG1.0文3、服務(wù)及驅(qū)動安包 #cd /usr/local #mkdir tempSecureCRT 或 FileZillaWinSCP/usr/local/temp -DekTecUDP(IP)SIG1.01ASI ipsender 。 2UDP Dta1xx 。 3、ipsenderDta1xx至少必須安裝其

4、中的一個(gè)。3.2、DekTec 適配卡驅(qū)動安包#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 ./管理服務(wù)器安裝于/usr/local/sigm安裝SIG #cd /usr/local/temp#tar-zxvfSIGP10_20120928_R10102.tar.gz #mv sigp ./播發(fā)服務(wù)器安裝于/usr/local/sigp安裝完畢還需要LicenseSIG。獲取#cd/usr/local/sigm Authorized.sn申請文件(mvAuthorized.sn別#cd 4iPanel.TV文Authorized.sn申請文件(mvAuthorized.sn別

7、申請將上述步驟生成的 License 。上傳申請文件以郵件方式發(fā)送給 iPanel 公司相關(guān)商務(wù),申請將收到的管理服務(wù)器License(ipanelSIGM.license)SecureCRTFileZilla、 文Authorized.sn申請文件(mvAuthorized.sn別申請將上述步驟生成的 License 。上傳申請文件以郵件方式發(fā)送給 iPanel 公司相關(guān)商務(wù),申請將收到的管理服務(wù)器License(ipanelSIGM.license)SecureCRTFileZilla、 WinSCP/usr/local/sigm將收到的播發(fā)服務(wù)器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 -播發(fā)服務(wù)器應(yīng)比管理服務(wù)器先行啟動,否則會有一段時(shí)間(30 秒內(nèi))#cd /usr/local/sigm:#cd /usr/local/sigm1 84 17:1900:00:15 ./sigm10#cd /usr/local/sigm#./sigm10 -5iPanel.TV文4、系統(tǒng)安裝目錄及配置文件說DekT

9、ec:/usr/local/Dta1xx ipsenderSIG(默認(rèn))(默認(rèn))SIG-文4、系統(tǒng)安裝目錄及配置文件說DekTec:/usr/local/Dta1xx ipsenderSIG(默認(rèn))(默認(rèn))SIG-SIG-SIG-SIG-SIG-SIG-SIG播發(fā)服務(wù)器配置文件為/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:指定主管理服務(wù)器的IP(供連接鑒權(quán)ip:指定備份管理服務(wù)器的IP(供連接鑒權(quán)(若為獨(dú)立模式,則為空ip:發(fā)服務(wù)器的IP(供數(shù)據(jù)同步文http_port:指定供SIG rootdir 指定 SIGip:UDP(IPip:指定主管理服務(wù)器的IP(供連接鑒權(quán)ip:指定備份管理服務(wù)器的IP(供連接鑒權(quán)(若為獨(dú)立模式,則為空ip:發(fā)服務(wù)器的IP(供數(shù)據(jù)同步(若為獨(dú)立模式,則為空ip:指定備份播發(fā)服務(wù)器的IP(供數(shù)據(jù)同步(若為獨(dú)立模式,則為空role:角色,取值分別為:alone - 獨(dú)立模式,master -熱備主服務(wù)器 slaver -IP( slaver_sigp_ip:

11、熱備備份播發(fā)服務(wù)器的IP(通常以網(wǎng)線直連方式,配置為網(wǎng)線直連網(wǎng)卡的IP)lever:配置LOG(為毫秒,用以微調(diào)網(wǎng)絡(luò)時(shí)間(暫未啟用管理服務(wù)器配置文件為/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:指定主管理服務(wù)器的IP(供數(shù)據(jù)同步ip:指定備份管理服務(wù)器的IP(供數(shù)據(jù)同步(若為獨(dú)立模式,則為空ip:發(fā)服務(wù)器的IPip:指定備份播發(fā)服務(wù)器的IProle:角色,取值分別為:alone - 獨(dú)立模式,master -熱備主服務(wù)器 slaver -IP(slaver_sigm_ip:熱備備份管理服務(wù)器的IP(通常以網(wǎng)線直連方式,配置為網(wǎng)線直連網(wǎng)卡的lever:配置LOG(name:國家地區(qū)名稱代碼(ISO3166-8iPanel.TV文name:配置PSI/S

13、I(字符集mode:配置PSI/SIauto-文name:配置PSI/SI(字符集mode:配置PSI/SIauto-配置時(shí),各主/9iPanel.TV文5、部署方案示1 單機(jī)部署方案示例該部署方案最為簡單,SIGSIGsigm.xmlsigp.xml1)SIG文5、部署方案示1 單機(jī)部署方案示例該部署方案最為簡單,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 單機(jī)部署方案示例該部署方案較為簡單,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 雙機(jī)部署方案示例SIG中,有一定的局限性,其中服務(wù)器的網(wǎng)口必

16、須至少有三個(gè),SIGIPSIG務(wù)器同時(shí)輸出數(shù)據(jù)至兩條不同物理鏈路的網(wǎng)絡(luò)中。SIGsigm.xml文3 雙機(jī)部署方案示例SIG中,有一定的局限性,其中服務(wù)器的網(wǎng)口必須至少有三個(gè),SIGIPSIG務(wù)器同時(shí)輸出數(shù)據(jù)至兩條不同物理鏈路的網(wǎng)絡(luò)中。SIGsigm.xmlsigp.xmlkeepalivedIP包SecureCRTFileZillaWinSCPkeepalived- keepalived2)包#cd #tar zxvf keepalived-3)#cdkeepalived-1.2.2 -with-kernel-#make&make installiPanel.TV文注: 在運(yùn)行 make 命

17、令的時(shí)候, 如果報(bào)錯(cuò), 可以修改當(dāng)前目錄下的 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文注: 在運(yùn)行 make 命令的時(shí)候, 如果報(bào)錯(cuò), 可以修改當(dāng)前目錄下的 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 當(dāng)監(jiān)測到 SIG 管理服務(wù)器-主的進(jìn)程未啟動時(shí),則會自動運(yùn)行 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 當(dāng)監(jiān)測到 SIG 管理服務(wù)器-主的進(jìn)程未啟動時(shí),則會自動運(yùn)行 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注: 在運(yùn)行 make 命令的時(shí)候, 如果報(bào)錯(cuò), 可以修改當(dāng)前目錄下的 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 當(dāng)監(jiān)測到 SIG 管理服務(wù)器-主的進(jìn)程未啟動時(shí),則會自動運(yùn)行 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 雙機(jī)部署方案示例 務(wù)器-主宕機(jī)時(shí),SIG 播發(fā)服務(wù)器-備的輸出才開始輸出數(shù)據(jù)。SIGunison文5 雙機(jī)部署方案示例 務(wù)器-主宕機(jī)時(shí),SIG 播發(fā)服務(wù)器-備的輸出才開始輸出數(shù)據(jù)。SIGunisonSIGSIG包SecureCRTFileZillaWinSCPkeepalived- keepalive

32、d2)包#cd #tar zxvf keepalived-3)#cdkeepalived-1.2.2 -with-kernel-#make&make install注: 在運(yùn)行 make 命令的時(shí)候, 如果報(bào)錯(cuò), 可以修改當(dāng)前目錄下的 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文當(dāng)監(jiān)測到 SIG 管理服務(wù)器-主的進(jìn)程未啟動時(shí),則會自動運(yùn)行 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文當(dāng)監(jiān)測到 SIG 管理服務(wù)器-主的進(jìn)程未啟

36、動時(shí),則會自動運(yùn)行 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、服務(wù)自啟動設(shè)rc.local #Thisscriptwillbee

42、xecuted*after*文6、服務(wù)自啟動設(shè)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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論