Openfire 3.8.2 cluster configuration

Source: Internet
Author: User
Tags hazelcast

Four Test Machines
1. openfire is installed on all four machines, and mysql is installed on one machine, and openfire_mysql. SQL script is executed.
2. All four machines are configured on the same mysql machine (the openfire embedded database cannot be used) and the same domain name is used.
3. install and add plug-ins for all four machines. Hazelcas is the cluster plug-in of openfire_3.8 and later versions (it is also an open-source cluster plug-in that discards the Oracle commercial toll cluster plug-in ), the broadcast plug-in is used for cluster broadcast notification port 5701 (if udp broadcast is used, you cannot install the plug-in using the TCP/IP mode), and enables four machines to open port 5701.
For specific open port commands, see http://www.blogjava.net/liuguly/archive/2013/07/18/401701.html
4. Edit openfire/plugins/hazelcast/classes/hazelcast-cache-config.xml files for all four machines

<Join>
<Multicast enabled = "false"/>
<TCP/IP enabled = "true">
<Hostname> ip: 5701 <Hostname> ip: 5701 <Hostname> ip: 5701 <Hostname> ip: 5701 </TCP/IP>
<Aws enabled = "false"/>
</Join>


5. Restart openfire on four machines and Enabled clustering. The cluster is successfully deployed.

Openfire details: click here
Openfire: click here

Detailed installation process of Openfire in CentOS

Openfire server configuration notes based on Jabber/XMPP protocol in CentOS 5.4

Install Openfire on Ubuntu 12.04

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.