Murali might help you with that as he developed the feature.

-Alena.

From: Min Chen <min.c...@citrix.com<mailto:min.c...@citrix.com>>
Date: Thursday, November 21, 2013 9:30 AM
To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" 
<dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>, Alena 
Prokharchyk <alena.prokharc...@citrix.com<mailto:alena.prokharc...@citrix.com>>
Cc: Darren Shepherd 
<darren.sheph...@citrix.com<mailto:darren.sheph...@citrix.com>>
Subject: Re: Enabling AMQP/RabbitMQ Events on master

CC Darren here, I am having the same question on current master.

Thanks
-min

On 11/21/13 5:00 AM, "David Grizzanti" 
<david.grizza...@sungard.com<mailto:david.grizza...@sungard.com>> wrote:

Alena,

Do you or anyone else on the list have any updated information about
enabling the events on master?

Thanks!

On Thursday, November 7, 2013, David Grizzanti wrote:

Alena,

I don't think these steps will work on master (not installing packages
of
cloudstack), I'm building from source.  The componentContext XML file
doesn't seem to exist anymore since some of the Spring refactoring was
done.

Thanks


On Thu, Nov 7, 2013 at 12:42 PM, Alena Prokharchyk <
alena.prokharc...@citrix.com<mailto:alena.prokharc...@citrix.com>> wrote:

  David,

  Here are the instructions that I've got from one of the CS QA
engineers,
hope it helps.

  FS -
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admi
n_Guide/events.html#event-framework



Test cases relating to this feature was covered as part of Regions
Feature
testing -
https://cwiki.apache.org/confluence/download/attachments/30757955/Regions
-Test-Execution-42.xlsx





Steps to set up RabbitMQ Server:



Have a RabbitMQ server set up.

Enable rabbitmq_management plugin

C:\Program Files\RabbitMQ
Server\rabbitmq_server-3.0.3\sbin>rabbitmq-plugins enable
rabbitmq_management

Restart RabbitMQ service.

In management server :
Added the following in
/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/component
Context.xml


         <bean id="eventNotificationBus"
class="org.apache.cloudstack.mom.rabbitmq.RabbitMQEventBus">
     <property name="name" value="eventNotificationBus"/>
     <property name="server" value="10.223.52.61"/>
     <property name="port" value="15672"/>

     <property name="username" value="guest"/>
     <property name="password" value="guest"/>
    <property name="exchange" value="cloudstack-events"/>
   </bean>

Restart management server.


  -Alena.

   From: David Grizzanti 
<david.grizza...@sungard.com<mailto:david.grizza...@sungard.com>>
Reply-To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" 
<dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>
Date: Thursday, November 7, 2013 5:04 AM
To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" 
<dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>
Subject: Enabling AMQP/RabbitMQ Events on master

   Hi,

  I was looking for some help in enabling the AMQP/RabbitMQ events in
CloudStack.  I'm familiar with enabling these events in 4.2, however,
I'm
not all the familiar with Spring and given the new modularized changes
I'm
not really sure where the XML snippet belongs for the
eventNotificationBus.
Previously I had been placing this in applicationContext.



--
David Grizzanti
Software Engineer
Sungard Availability Services

e: david.grizza...@sungard.com<mailto:david.grizza...@sungard.com>
w: 215.446.1431
c: 570.575.0315


Reply via email to