๋ฉ”์‹œ์ง€ํ 3

[RabbitMQ] rabbitmq-server start ํ›„ ํ”Œ๋Ÿฌ๊ทธ์ธ ์„ค์น˜ ์‹œ server ์ค‘๋‹จ์˜ค๋ฅ˜ / window ๋ฐฉํ™”๋ฒฝ / rabbitmq-plugins enable rabbitmq_management ํ”Œ๋Ÿฌ๊ทธ์ธ ์„ค์น˜ / Offline change; changes will take effect at broker restart.

rabbitMq ์„œ๋ฒ„๋ฅผ ์ •์ƒ์ ์œผ๋กœ ์‹คํ–‰์‹œํ‚ค๊ณ  ํ”Œ๋Ÿฌ๊ทธ์ธ ํ†ตํ•ด manager UI ์ฝ˜์†”์— ์ ‘๊ทผํ•˜๊ธฐ ์œ„ํ•ด ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ๋‹ค์šด๋ฐ›์•„ enable ์‹œ์ผฐ๋‹ค. ์ด๋•Œ, ์‹คํ–‰ ์ค‘์ด๋˜ ์„œ๋ฒ„๊ฐ€ ๊ฐ‘์ž๊ธฐ ์ฃฝ๋Š” ํ˜„์ƒ์„ ๋งŒ๋“ค์–ด๋ƒˆ๋‹ค ^^...;;; ์ผ๋ฐ˜์ ์œผ๋กœ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ๋‹ค์šด๋ฐ›๊ณ  ์„œ๋ฒ„๋ฅผ ์žฌ์‹œ์ž‘ ํ•ด์•ผ ๋‹ค์šด๋ฐ›์€ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ enable ํ•  ์ˆ˜ ์žˆ๋‹ค. ์žฌ์‹œ์ž‘ ํ•˜์ง€ ์•Š์„ ์‹œ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์˜ค๋ฅ˜๋ฅผ ๋งˆ์ฃผํ•˜๊ฒŒ ๋œ๋‹ค. Enabling plugins on node rabbit@xxxxxxx: rabbitmq_management The following plugins have been configured: rabbitmq_management rabbitmq_management_agent rabbitmq_web_dispatch Applying plugin con..

[RabbitMQ] TCP connection succeeded but Erlang distribution failed / Erlang ์˜ค๋ฅ˜ / Rabbitmq + Erlang ํ†ต์‹  ์˜ค๋ฅ˜

rabbitMq๋ฅผ ์„ค์น˜ํ•˜๊ณ  ๊ธฐ๋ณธ์œผ๋กœ ์ƒ์„ฑ๋˜๋Š” ๋…ธ๋“œ๋ฅผ ์‚ฌ์šฉํ•ด localhost๋กœ manager UI๋ฅผ ํ™•์ธํ•˜๋Š”๊ฒŒ ๋ชฉํ‘œ์˜€๋‹ค. ํ•˜์ง€๋งŒ ์ด๊ฒŒ ์ด๋ ‡๊ฒŒ ๋งŽ์€ ์˜ค๋ฅ˜๋ฅผ ๋งˆ์ฃผํ•  ์ผ์ธ๊ฐ€ ์‹ถ์—ˆ๋‹ค. TCP connection succeeded but Erlang distribution failed ์ด ์—๋Ÿฌ ๋ฉ”์‹œ์ง€๋Š” Erlang ๋ถ„์‚ฐ ํ”„๋กœํ† ์ฝœ์„ ์‚ฌ์šฉํ•˜์—ฌ RabbitMQ์™€ ํ†ต์‹ ํ•  ๋•Œ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋‹ค. ์ด ์—๋Ÿฌ๋Š” TCP ์—ฐ๊ฒฐ์ด ์„ฑ๊ณตํ–ˆ์ง€๋งŒ, Erlang ๋ถ„์‚ฐ ํ”„๋กœํ† ์ฝœ์— ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค๋Š” ๊ฒƒ์„ ์˜๋ฏธํ•œ๋‹ค. ์ด ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜๋Š” ์ด์œ ๋Š” ๋‹ค์–‘ํ•˜๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ๋…ธ๋“œ ์ด๋ฆ„์ด ์ž˜๋ชป ์„ค์ •๋˜์—ˆ๊ฑฐ๋‚˜, ์„œ๋กœ ๋‹ค๋ฅธ Erlang ๋ฒ„์ „์ด ์‚ฌ์šฉ๋˜์—ˆ์„ ๋•Œ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋‹ค. ๋˜๋Š” ๋ฐฉํ™”๋ฒฝ ๋“ฑ ๋‹ค๋ฅธ ๋„คํŠธ์›Œํฌ ๊ตฌ์„ฑ ์š”์†Œ๋กœ ์ธํ•ด ๋ฐœ์ƒํ•  ์ˆ˜๋„ ์žˆ๋‹ค. ํ•˜์ง€๋งŒ ๋‚˜๋Š” ๋…ธ๋“œ๋ฅผ ์ถ”..

[RabbitMQ] rabbitmq ๊ตฌ์„ฑ ํŒŒ์ผ / rabbitmq.config ์™€ rabbitmq.conf ์ฐจ์ด / ๊ตฌ์„ฑ ํŒŒ์ผ ์˜ค๋ฅ˜ / advanced.config

rabbitMq๋ฅผ ์„ค์น˜ํ•˜์˜€์œผ๋‚˜ manager ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์„ค์น˜ํ•˜๋ฉด server๊ฐ€ ์ค‘๋‹จ๋˜๊ณ , server๋ฅผ ์‹คํ–‰์‹œํ‚ค๋ฉด ํ”Œ๋Ÿฌ๊ทธ์ธ์ด ๋™์ž‘ํ•˜์ง€ ์•Š๋Š” ์‹ ๊ธฐํ•œ ํ˜„์ƒ์„ ๋งŒ๋“ค์–ด๋‚ด๋ฉฐ ์‚ฝ์งˆํ•˜๊ณ  ์žˆ๋‹ค.. ์ œ๋ฐœ ์ด์ƒํ•œ ๊ฒƒ ์ข€ ๊ทธ๋งŒ ๋งŒ๋“ค์–ด๋‚ด๊ณ  ์ด์ œ ์‹คํ–‰ ์ข€ ๋˜์—ˆ์œผ๋ฉด ์ข‹๊ฒ ๋‹ค. ๋‹ค๋ฅธ ํฌ์ŠคํŒ…์„ ๋ณด๋ฉด ํ•œ๋ฒˆ์— ์ž˜ ๋˜๋Š” ๊ณผ์ •๋งŒ ๋‚˜์™€์žˆ๊ณ  ์‚ฝ์งˆํ•œ ๊ณผ์ •์€ ์ฐพ์„ ์ˆ˜๊ฐ€ ์—†์—ˆ๋‹ค. ๋˜ ์˜๋ฌธ์œผ๋กœ ๋œ ํฌ์ŠคํŒ…์ด ๊ทธ๋‚˜๋งˆ ์žˆ์—ˆ์ง€๋งŒ ๊ทธ ๋˜ํ•œ ๋ช…์พŒํ•œ ํ•ด๋‹ต์ด ๋˜์ง„ ๋ชปํ–ˆ๋‹ค. ๋”ฐ๋ผ์„œ ์ด๋ฒˆ์—๋„ rabbitMq ์ดˆ์‹ฌ์ž๋กœ์„œ ์‚ฝ์งˆ ํ–ˆ๋˜ ๊ณผ์ •์„ ๋‚จ๊ฒจ๋ณด๊ณ ์ž ํ•œ๋‹ค. rabbitMq๋ฅผ ๋ง‰์—ฐํžˆ ๊ณต๋ถ€ํ•˜๋ฉด์„œ ์‚ฌ์šฉํ•˜๋ ค๊ณ  ํ•˜๋‹ˆ ์ด๊ฒƒ์ €๊ฒƒ ์•Œ์•„๊ฐ€๋Š”๊ฒŒ ์‰ฝ์ง„ ์•Š์€๊ณผ์ •์ธ ๊ฒƒ ๊ฐ™๋‹ค. ๋”ฐ๋ผ์„œ ํฌ์ŠคํŒ… ๊ณผ์ •์—์„œ ์ž˜๋ชป๋œ ์ •๋ณด๊ฐ€ ์žˆ์„ ์ˆ˜๋„ ์žˆ์œผ๋‹ˆ ์–ธ์ œ๋“  ๋Œ“๊ธ€๋กœ ๋‚จ๊ฒจ์ฃผ์‹œ๋ฉด ๋ฐฐ์›Œ๊ฐ€๊ฒ ์Šต๋‹ˆ๋‹ค :) *rabbitMq ๊ธฐ..