You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by pclovec <pc...@gmail.com> on 2009/01/06 17:57:27 UTC

some qpid and MRG question.


now i working redhat MRG project. but i met so many issue when i test this
system . and i have confused more things for MRG and AMQP. i hope you guys
can help me.

2. when boker send out the message , i want to  store the messages data 
into disk.  and there is have any tools can check it .such as how many
message in the queue. and can search .who send out these message.

   --i try to configre qpidd.conf file  and setup up the data-dir and
store-dir  but when i finish ,and check the folder .it seems no change

   qpidd.conf in /etc/qpidd.conf. and using service qpidd restart


1. i want to know how many max memory(RAM)  for MRG . because MSMQ  can used
2G RAM .  i search a website told me that MRG can uses 8G  RAM. it's truh?



3. actually i don't know how to using MRG to create notifcation framework. 
currenty i only using qpidd  code to test . i don't using
mrg_grid..umin..condor...
i have install them on my test machine.,but i don't how to it work? could
you give me some suggdest?

Many thanks 
-- 
View this message in context: http://www.nabble.com/some-qpid-and-MRG-question.-tp21314319p21314319.html
Sent from the Qpid Developers mailing list archive at Nabble.com.


Re: some qpid and MRG question.

Posted by pclovec <pc...@gmail.com>.
thanks again. i understand , i got it . now i can saw the store file in my
disk. i will continue fix anohter issue. 

--------------------------------------------------------------------------------------------------------------------------------------------------------------




Ted Ross wrote:
> 
> pclovec wrote:
>> thanks. i got it .  for this issue i try to do it. but seems doens't work
>>
>> 1. first i stop qpidd service on my linux machine.
>> 2. i running this 
>> qpidd -p 60012 --load-module /usr/lib/qpidd/libbdbstore.so --config
>> /etc/qpidd.conf  --data-dir /mrgdata/data/ --store-dir /mrgdata/store/
>>
>>   
> Which distribution are you using?  Do you have a MRG subscription, are 
> you using the free packages in Fedora, or are you building from source?
> 
> You can add the --trace option to the command line and get detailed 
> logging and tracing.  This will tell you whether the store was loaded 
> properly and where it is storing data.
> 
> Also, messages are only stored to the disk if the queue is declared as 
> "durable" and the messages have a delivery-mode of "persistent".
> 
> -Ted
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/some-qpid-and-MRG-question.-tp21314319p21320489.html
Sent from the Qpid Developers mailing list archive at Nabble.com.


Re: some qpid and MRG question.

Posted by Ted Ross <tr...@redhat.com>.
pclovec wrote:
> thanks. i got it .  for this issue i try to do it. but seems doens't work
>
> 1. first i stop qpidd service on my linux machine.
> 2. i running this 
> qpidd -p 60012 --load-module /usr/lib/qpidd/libbdbstore.so --config
> /etc/qpidd.conf  --data-dir /mrgdata/data/ --store-dir /mrgdata/store/
>
>   
Which distribution are you using?  Do you have a MRG subscription, are 
you using the free packages in Fedora, or are you building from source?

You can add the --trace option to the command line and get detailed 
logging and tracing.  This will tell you whether the store was loaded 
properly and where it is storing data.

Also, messages are only stored to the disk if the queue is declared as 
"durable" and the messages have a delivery-mode of "persistent".

-Ted


Re: some qpid and MRG question.

Posted by pclovec <pc...@gmail.com>.
thanks. i got it .  for this issue i try to do it. but seems doens't work

1. first i stop qpidd service on my linux machine.
2. i running this 
qpidd -p 60012 --load-module /usr/lib/qpidd/libbdbstore.so --config
/etc/qpidd.conf  --data-dir /mrgdata/data/ --store-dir /mrgdata/store/

open qpidd service . and using 60012 port

3. i running c++ borker  .
./fanout_producer
./listener

it can post message and get message .  but i alos can't find any store data
file in my desk such as "/mrgdata/store/" this folder not changed. so i'm
not sure these message have saved in the disk?

thanks for you help .


-----------------------------------------------------------------------------------------------------------------------------

>    --i try to configre qpidd.conf file  and setup up the data-dir and
> store-dir  but when i finish ,and check the folder .it seems no change
>
>    qpidd.conf in /etc/qpidd.conf. and using service qpidd restart
>   

Data dir and store dir will only be populated with contents when used, 
and if the store module
is loaded. make sure you have the store.so installed on the module-dir 
or do a group install
for messaging.


-- 
View this message in context: http://www.nabble.com/some-qpid-and-MRG-question.-tp21314319p21318333.html
Sent from the Qpid Developers mailing list archive at Nabble.com.


Re: some qpid and MRG question.

Posted by Carl Trieloff <cc...@redhat.com>.
pclovec wrote:
> now i working redhat MRG project. but i met so many issue when i test this
> system . and i have confused more things for MRG and AMQP. i hope you guys
> can help me.
>
> 2. when boker send out the message , i want to  store the messages data 
> into disk.  and there is have any tools can check it .such as how many
> message in the queue. and can search .who send out these message.
>   

yes, you can use
qpid-tool see: http://qpid.apache.org/mgmtc.html
or the console shipped with MRG see www.redhat.com/mrg/resources

>    --i try to configre qpidd.conf file  and setup up the data-dir and
> store-dir  but when i finish ,and check the folder .it seems no change
>
>    qpidd.conf in /etc/qpidd.conf. and using service qpidd restart
>   

Data dir and store dir will only be populated with contents when used, 
and if the store module
is loaded. make sure you have the store.so installed on the module-dir 
or do a group install
for messaging.

>
> 1. i want to know how many max memory(RAM)  for MRG . because MSMQ  can used
> 2G RAM .  i search a website told me that MRG can uses 8G  RAM. it's truh?
>
>   

You can limit this to anything you want via the --default-queue-limit or 
via queue policies from
code. see: 
http://qpid.apache.org/cheat-sheet-for-configuring-queue-options.html

>
> 3. actually i don't know how to using MRG to create notifcation framework. 
> currenty i only using qpidd  code to test . i don't using
> mrg_grid..umin..condor...
>   

not sure what is being asked here.
Carl.