10

I have a RabbitMQ node on windows operating system. I want to create vhost on that node from command line of using a script with minimal pre-requisites.

EDIT: I tried to use the rabbitmqctl add_vhost but I always get an error.

enter image description here

Ebeid ElSayed
  • 1,126
  • 2
  • 15
  • 32

1 Answers1

26
rabbitmqctl add_vhost my_vhost

and

rabbitmqctl set_permissions -p my_vhost guest ".*" ".*" ".*"

I suggest to read this: https://www.rabbitmq.com/man/rabbitmqctl.1.man.html

So you have another error, about the node down read here RabbitMQ has Nodedown Error

Community
  • 1
  • 1
Gabriele Santomaggio
  • 21,656
  • 4
  • 52
  • 52