SonicMQ7.6集群部署
软件简介
SonicMQ offers a highly available, secure and reliable extension of the messaging backbone to remote offices and business partners. Communications are transparently routed and load balanced across the brokers in the cluster, facilitating the fastest possible communication across the most effective path.
SonicMQ’s advanced distributed management and deployment infrastructure dramatically simplifies operations and lowers the total cost of ownership for business-critical communication across the enterprise. Superior authentication, authorization, and encryption support ensures that messages and systems are protected inside and outside the firewall.
With its guaranteed message delivery system that ensures messages are never lost due to software, network, or hardware failure, industry-leading companies depend on SonicMQ for their most complex business transactions and mission-critical communications across the enterprise.
这套软件非常复杂,据研发的哥们讲鼓捣了一个月也就明白了40%。
安装非常麻烦,我研究了一天才弄好。最高可以使用jdk1.5来部署。本文主要介绍在linux中的部署方式,更详细的可以参考下官方文档(3000来页,比较恐怖)
一.java环境准备
jdk1.5下载地址
http://java.sun.com/javase/downloads/5/jdk
将*.bin下载,chmod +x执行命令 ./*.bin 这时会出现一段协议,连继敲回车,当询问是否同意的时候,输入yes,回车。之后会在当前目录下生成一个jdk1.5.0_19目录,你可以将它复制到任何一个目录下。
mv jdk1.5.0_19 /opt/jdk5
在profile文件末尾加入:
export JAVA_HOME=/opt/jdk5
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
二.安装SonicMQ7.6 (Master)
这里我只把关键部位贴出来
启动容器
安装Slave