《TONGLQ安装(3页).doc》由会员分享,可在线阅读,更多相关《TONGLQ安装(3页).doc(3页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、-TONGLQ安装-第 3 页用ATSMNG登陆站服务器解压缩到/TLQ6.3tar xvf R_TLQ6.3.14.7_RedHat5.5_X86_32.tar -C /复制许可文件TlqLicense 到 /TLQ63/etc 下设置ATSMNG环境变量vi .bash_profile添加如下内容到文件尾部TLQHOMEDIR=/TLQ63export TLQHOMEDIRTLQCONFDIR=$TLQHOMEDIR/etcTLQLOGDIR=$TLQHOMEDIR/logTLQFILESDIR=$TLQHOMEDIR/filesTLQSNDFILESDIR=$TLQHOMEDIR/snd
2、filesTLQRCVFILESDIR=$TLQHOMEDIR/rcvfilesTLQMSGDIR=$TLQHOMEDIR/msgPATH=$PATH:$TLQHOMEDIR/binexport TLQCONFDIR TLQLOGDIR TLQFILESDIR TLQSNDFILESDIR TLQRCVFILESDIR TLQMSGDIR PATHexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TLQHOMEDIR/libPATH=$PATH:/var/oracle/product/10.2.0/db_1/jdk/bin:$TLQHOMEDIR/java/bi
3、nexport PATHCLASSPATH=$TLQHOMEDIR/java/lib/log4j.properties:$TLQHOMEDIR/java/lib/tlclient.jar:$TLQHOMEDIR/java/lib/tlqadapter.jar:$TLQHOMEDIR/java/lib/commons-logging-1.0.4.jar:$TLQHOMEDIR/java/lib/log4j-1.2.11.jar:$TLQHOMEDIR/java/lib/TLQRmtMng.jar:$TLQHOMEDIR/java/lib:$TLQHOMEDIR/samples/Jni:.:$CL
4、ASSPATHexport CLASSPATH重新登录ATSMNG执行 tlq 即可启动tonglinkq,应该显示如下信息:ATSMNGSRV0540-100 $ tlqBecause of the large size queues,Start Kernel process maybe take a few minutes.ATSMNGSRV0540-100 $ TongLink/Q start OK !执行export DISPLAY=133.1.1.151:0.0tlqmng进行配置,需要133.1.1.151上执行 Xmanager-Passive,节点名称为Station05480
5、1; 0548为收费站站号,01为序号,默认为01Station045801Station:固定,收费站为Station0458:收费站站号01:序号上级节点固定位ETCCenter01(133.1.1.33)和ETCCenter02(133.1.1.34)发送队列为 StationSND接收队列为 StationRCV确定后,需要重新启动tlqtlq cstop 停止服务tlq 启动服务切换至 root用户,修改 /etc/init.d/atsserver 启动脚本,添加tlq启动脚本start)echo Starting Spy for ATSServer . echo - /var/lo
6、g/Spydate + %T %a %D : Starting Spy for ATS server as part of system up. /var/log/Spyecho - /var/log/Spysu - ATSMNG -c nohup /TLQ63/bin/tlq & /var/log/Spysu - ATSMNG -c nohup /ATSSERVER/BIN/Spy/dev/null & /var/log/Spyecho Done./ATSSERVER/CONFIG/config.ini 尾部增加如下内容MsgETCDEFDB = #文法表XMLDB = #临时队列名称INQUEUE = #输入队列 fmqTLQSEND = #输出队列 tonglink/qTLQRECV = #输入队列 tonglink/qMSGMAX = #每次最大放入的消息数量,然后等应答或超时后重放MSGVTIME = #消息有效期 单位sMSGRTIME = #等待消息应答时间,超过后将重发 单位sMSGDTIME = #已经上传的消息保留时间,超过后将从数据库删除。单位天XMLCODE = #输出 XML 编码方式拷贝 更新目录文件到 ATSSERVER目录