rabbitmq on smartos zone

Hi,

I was in trouble with rabbitmq-server ūüôĀ

I’m working on a cluster rabbitmq on SmartOS zone ¬†and I need to install it and I found three¬†post to solve my problem:

    1.  SMLLR
    2.  justinrainbow
    3.  ArchWiki

on first post the trick ¬†has been to reinstall rabbitmq ¬†as binary and start if as “root”

The second post show me that I need to add two variable if rabbitmq has been installed from pkgin

RABBITMQ_NODENAME=rabbit
RABBITMQ_HOME=/var/db/rabbitmq

The last show me that  the correct home variable is

HOME=/var/db/rabbitmq

so I have rabbitmqctl status  working on node.

 

My route:

pkgin in rabbitmq-3.6.10 

add into /opt/local/etc/rabbitmq/rabbitmq-env.conf

RABBITMQ_NODENAME=rabbit

HOME=/var/db/rabbitmq

and enable epmd an then rabbitmq

svcadm enable svc:/pkgsrc/epmd:default

svcadm enable svc:/pkgsrc/rabbitmq:default
[root@d60bf003-ad93-6262-82d4-d61c0f7ec4ad ~]# rabbitmqctl status 

Status of node 'rabbit@d60bf003-ad93-6262-82d4-d61c0f7ec4ad'

[{pid,36547},

 {running_applications,

     [{rabbit,"RabbitMQ","3.6.10"},

      {ranch,"Socket acceptor pool for TCP protocols.","1.3.0"},

      {ssl,"Erlang/OTP SSL application","8.1.1"},

      {public_key,"Public key infrastructure","1.4"},

      {crypto,"CRYPTO","3.7.3"},

      {rabbit_common,

          "Modules shared by rabbitmq-server and rabbitmq-erlang-client",

          "3.6.10"},

      {xmerl,"XML parser","1.3.13"},

      {os_mon,"CPO  CXC 138 46","2.4.2"},

      {mnesia,"MNESIA  CXC 138 12","4.14.3"},

      {asn1,"The Erlang ASN1 compiler version 4.0.4","4.0.4"},

      {compiler,"ERTS  CXC 138 10","7.0.4"},

      {syntax_tools,"Syntax tools","2.1.1"},

      {sasl,"SASL  CXC 138 11","3.0.3"},

      {stdlib,"ERTS  CXC 138 10","3.3"},

      {kernel,"ERTS  CXC 138 10","5.2"}]},

 {os,{unix,sunos}},

 {erlang_version,

     "Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:8:8] [async-threads:128] [kernel-poll:true] [dtrace]\n"},

 {memory,

     [{total,58882568},

      {connection_readers,0},

      {connection_writers,0},

      {connection_channels,0},

      {connection_other,0},

      {queue_procs,2752},

      {queue_slave_procs,0},

      {plugins,0},

      {other_proc,22384032},

      {mnesia,60416},

      {metrics,114160},

      {mgmt_db,0},

      {msg_index,39680},

      {other_ets,2123776},

      {binary,113504},

      {code,21340665},

      {atom,891849},

      {other_system,11923142}]},

 {alarms,[]},

 {listeners,[{clustering,25672,"::"},{amqp,5672,"::"},{amqp,5672,"0.0.0.0"}]},

 {vm_memory_high_watermark,0.4},

 {vm_memory_limit,214748364},

 {disk_free_limit,50000000},

 {disk_free,85748997120},

 {file_descriptors,

     [{total_limit,65436},

      {total_used,2},

      {sockets_limit,58890},

      {sockets_used,0}]},

 {processes,[{limit,1048576},{used,173}]},

 {run_queue,0},

 {uptime,195},

 {kernel,{net_ticktime,60}}]

[root@d60bf003-ad93-6262-82d4

Comments are closed.