Installation Deployment documentation for METAQ

Source: Internet
Author: User
Tags documentation zookeeper

A Metaq Installation Deployment:

Place Ip Broker ID Master/slave Slave Id:group
Hefei 192.168.52.23 1 Slave 1:meta-slave-group-hf
Beijing 192.168.51.33 1 Master /
Guangzhou 192.168.70.157 1 Slave 2:meta-slave-group-gz

Two Metaq Installation

1. Premises

There are already zookeeper machines installed, and all three Metaq can be accessed, that is, three IP can ping the installed zookeeper machine. Zookeeper is used to register Metaq broker, topic, Pub, sub information, to do load balancing, play a coordinating role.

I have installed zookeeper in all three of the above, currently using Beijing 192.168.51.33:2181 as zookeeper server.

Zookeeper is installed using the Dpkg method of the Ubuntu Deb package.

Start Zookeeper:

Service Zookeeper Start

2. Download Metaqserver 1.4.6.2

Download link: https://meta-queue.googlecode.com/files/metaq-server-1.4.6.2.tar.gz, download metaq-server-1.4.6.2.tar.gz copied to the third place The Usr/lib directory.

3. Deployment

Unzip the tar zxvfmetaq-server-1.4.6.2.tar.gz, move the extracted Taobao/metamorphosis-server-wrapper folder under/usr/lib and rename it to Metaq.

METAQ File Structure:

L Bin:metaq Command folder./meteserver.sh Execute Metaq command

L Conf:metaq Configuration folder, async_slave.properties asynchronous replication configuration, Server.ini configuration broker,samsa_master.properties Synchronous replication configuration.

L Lib:metaq-dependent jar pack

L Provided: Developers ' own programs

This column more highlights: http://www.bianceng.cn/webkf/tools/

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.