Construction of High Availability HA
Configure High Availability
1. Install zookeeper
2. Edit zoo_cfg in the conf folder under the installation zookeeper directory
If not, copy zoo_ (add to the ip address of the three machines, create a directory, create myid under the directory, ...
Added by EviL_CodE on Thu, 29 Aug 2019 15:35:47 +0300
Distributed RPC Framework
Distributed RPC Framework Apache Dubbo
Learning objectives
Understanding the evolution of software architecture
Grasp the architecture of Dubbo framework
Ability to start and stop Zookeeper with commands
Mastering Dubbo Service Providers ...
Added by bob_dole on Tue, 27 Aug 2019 08:56:01 +0300
Dubbo: The Operation Principle of Dubbo
Preface:
At the beginning of introducing Java web, the basic learning is MVC development mode, a project is basically model, view, controller three layers. However, with the increasing number of services in the system, the SOA model is more suitable for current project development. The SOA model is basically Dubbo and Spring Cloud in the Java ...
Added by doobster on Sun, 25 Aug 2019 15:52:34 +0300
Dubbo Details: Dubbo Introduction and SpringBook Integration Dubbo+ZooKeeper
Introduction to Dubbo
1. What is Dubbo?
Dubbo is an open source Java-based high-performance RPC (a remote invocation) distributed service framework (SOA) for Alibaba, dedicated to providing high-performance and transparent RPC remote service invo ...
Added by Nightseer on Fri, 23 Aug 2019 11:10:10 +0300
zookeeper-3.4.14 Installation Document
zookeeper installation
1. Upload installation package to / opt directory
2. Decompression:
tar -zxf /opt/zookeeper-3.4.14.tar.gz -C ./
3. Configure environment variables:
vim /etc/profile
export ZK_HOME=/opt/zookeeper-3.4.14
export PATH=$Z ...
Added by cage on Wed, 21 Aug 2019 09:48:25 +0300
Dubbo - Deep Configuration
Attribute configuration override rule: consumer side takes precedence over provider side, method takes precedence over interface configuration, and interface takes precedence over global configuration
Load balancing, service downgrade, console dynamic control is generally used.
1. Start check: check="false"
Normally, there are chec ...
Added by tsg on Fri, 19 Jul 2019 22:39:27 +0300
Local mode, pseudo-distributed cluster, distributed cluster and high-availability environment for HDFS systems for Hadoop 2.5.2
1. Prepare the environment (JDK and Hadoop)
$ tar -zxf hadoop-2.5.2.tar.gz -C /opt/app/
// Uninstall java from Linux, install jdk1.8, hive only supports version 1.7 or above
$ rpm -qa|grep java
$ rpm -e --nodeps java Various documents
2. Environment Configuration
Configure your environment with etc/hadoop/hadoop-env.sh in ...
Added by jeethau on Wed, 17 Jul 2019 20:20:54 +0300
Docker Debugging Skills
Reuse container name
But when we write / debug Dockerfile, we often repeat previous command s, such as docker run --name jstorm-zookeeper zookeeper:3.4, and then the container name conflicts.
$ docker run --name jstorm-zookeeper zookeeper:3.4
...
$ docker run --name jstorm-zookeeper zookeeper:3.4
docker: Error response from daemon: Conflict. Th ...
Added by Fsoft on Mon, 15 Jul 2019 22:22:52 +0300
ActiveMQ-3. ActiveMQ High Availability and Cluster Construction
1. High Availability Principle of ActiveMQ Register all ActiveMQ Broker s using ZooKeeper (Cluster). Only one of the brokers can provide services, which are considered Master, while the others are standby and considered Slave. If Master fails to provide services, Zookeeper elects a Broker from Slave to act as Master. Slave connects Master and s ...
Added by Snorkel on Tue, 25 Jun 2019 01:01:12 +0300
ActiveMQ Based on zookeeper Cluster
Implementation with zookeeper
It is an effective solution for high availability of ActiveMQ. The principle of high availability is to register all ActiveMQ Broker s using ZooKeeper (cluster). Only one of the brokers can provide services (i.e. Master nodes) to the outside world, while the other brokers are standby and are considered Slave. If ...
Added by altis88 on Fri, 21 Jun 2019 02:00:36 +0300