<commit_before>---
title: rabbitmq 高可用相关
date:   2017-04-26 16:08:23
categories: [infox]
tags:rabbit, markdown
---

### 一，安装
双节点主机信息
rabbitmq01 192.168.201.21
rabbitmq02 192.168.201.22
Centos rabbitmq-server 安装教程 http://www.rabbitmq.com/install-rpm.html

### 二，配置
在 rabbitmq01上配置
将/var/lib/rabbitmq/.erlang.cookie复制到rabbitmq02 的/var/lib/rabbitmq下<commit_msg>create new file1<commit_after>---
title: "rabbitmq 高可用相关"
date:   2017-04-26 16:08:23
categories: [infox]
tags: [infox]
---

### 一，安装
双节点主机信息
rabbitmq01 192.168.201.21
rabbitmq02 192.168.201.22
Centos rabbitmq-server 安装教程 http://www.rabbitmq.com/install-rpm.html

### 二，配置
在 rabbitmq01上配置
将/var/lib/rabbitmq/.erlang.cookie复制到rabbitmq02 的/var/lib/rabbitmq下
{'fraction_non_alphanumeric': 0.15007012622720897, 'fraction_numerical': 0.12482468443197756, 'mean_word_length': 4.534883720930233, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6182767', 'n_tokens_mistral': 405, 'n_tokens_neox': 337, 'n_words': 53}