Skip to main content

Posts

Showing posts with the label rabbitmq

Chef: Services

The  service-list  subcommand is used to display a list of all available services. A service that is enabled is labeled with an asterisk (*). This subcommand has the following syntax: $ chef-server-ctl service-list The output will be as follows: bookshelf* nginx* oc_bifrost* oc_id* opscode-chef-mover* opscode-erchef* opscode-expander* opscode-pushy-server* opscode-reporting* opscode-solr4* postgresql* rabbitmq* redis_lb* bifrost ¶ The  oc_bifrost  service ensures that every request to view or manage objects stored on the Chef server is authorized. status ¶ To view the status for the service: $ chef-server-ctl status bifrost to return something like: $ run: bifrost: ( pid 1234 ) 123456s ; run: log: ( pid 5678 ) 789012s start ¶ To start the service: $ chef-server-ctl start bifrost stop ¶ To stop the service: $ chef-server-ctl stop bifrost restart ¶ To restart the service: $ chef-server-ctl restart bifrost to return something like: $ ok: run: bifrost: ( pid 1234 ) 1234s kill ¶ To kill...

Rabbitmq standalone and cluster installation

Install rabbitMQ in the VM. Following are the installations steps. ·         Verify if the earlang package is installed rpm -q erlang-solutions-1.0-1.nonarch.rpm                wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm           sudo wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm     sudo yum update NOTE : use command "yum --releasever=6.7 update" if you want a specific version.                  su -c 'yum list rabbitmq'   Or use yum install rabbitmq-server                   sudo rpm -Uvh http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.0/rabbitmq-server-3.6.0-1.noarch.rpm                   sudo /etc/init.d/rabbitmq-server start·   ...

Rabbitmq standalone and cluster installation

Install rabbitMQ in the VM. Following are the installations steps. ·         Verify if the earlang package is installed rpm -q erlang-solutions-1.0-1.nonarch.rpm wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm sudo wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm sudo yum update NOTE : use command "yum --releasever=6.7 update" if you want a specific version. su -c 'yum list rabbitmq'   Or use yum install rabbitmq-server sudo rpm -Uvh http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.0/rabbitmq-server-3.6.0-1.noarch.rpm sudo /etc/init.d/rabbitmq-server start· Uncomment the loopback line in security section of rabbitMq.config :  {loopback_users, []}ss rabbitmq-plugins enable rabbitmq_management· Configure port firewall rule should be in place to accept the tcp connection. Use following command : lokkit –p <rabbitMQ port>:tcp , lokkit –p <rabbitMQ management port>:tcp· Defa...

Mid-proxy server installation and configuration

This document is helpful while setting up Jumphost server(mid-proxy) and configuring it with RabbitMQ. Each private network is (normally) dedicated to a single tenant. Within that private network, there is a jumphost that can access the other VMs within the private network. No network access is required to the jumphost from outside. This jumphost run an agent (the "AMP Jumphost" product). A clustered message broker (e.g. RabbitMQ) is used send requests to the jumphost, and to receive responses from it. Through this mechanism, commands are executed on VMs within the private network. The sequence for command execution (e.g. SSH or WinRM on a VM in the private network) is: 1. Manual pre-configuration: i. The message broker cluster is pre-installed. ii. For a new private network, the jumphost is manually set up within private network. On startup it automatically subscribes to the message broker to receive the relevant requests. 2. AMP subscribes to a response queue, ready t...