[Netarchivesuite-users] Netarchive Suite 3.21.0 MessageQueue and backup questions

Meelis Mihhailov meelis at nlib.ee
Wed Apr 17 13:24:41 CEST 2013


Thank you Bjarne for the command.
After running it I can see the following result:

Listing all the destinations on the broker specified by:

-------------------------
Host         Primary Port
-------------------------
localhost    7676

------------------------------------------------------------------------------------------------------
        Name          Type    State      Producers        Consumers 
              Msgs
                                      Total  Wildcard  Total  Wildcard 
Count   Remote  UnAck  Avg Size
------------------------------------------------------------------------------------------------------
NLIB_A_ALL_BA_TOPIC  Topic  RUNNING  0      0         1      0         0 
       0       0      0.0
NLIB_A_ANY_BA        Queue  RUNNING  0      -         1      -         0 
       0       0      0.0
NLIB_A_THE_BAMON     Queue  RUNNING  1      -         0      - 
100000  0       0      683.0
mq.sys.dmq           Queue  RUNNING  0      -         0      -         0 
       0       0      0.0

Successfully listed destinations.

Our setup is done by QuickStart manual and everything is running in the 
same server and started/stopped with a start/stop script created after 
the install. How can I restart individual applications in my 
installation? In NAS administration interface I can see under 
"systemstate" that there are only "remove application" buttons and no 
"restart" or similar options.

Also when I restart IMQ I can see that bitarchive is the only 
application that actually sees the MQ working and connects to it. All 
other applications give connection errors.



Meelis Mihhailov
----------------
National Library Of Estonia
meelis at nlib.ee

On 17.04.2013 14:10, Bjarne Andersen wrote:
> Ah - yes. The broker is best to restart when all other applications is not running - otherwise they seem to hold all the messages they couldn't deliver. Everything but harvesters (running heritrix jobs) should be fine to restart - you could leave running harvesters and restart everything else.
> BUT I dont actually understand how more than 37.000 messages could be waiting for the BA_MON queue - do you have many Bitarchive Machines running ?
> There is a command for listing consumers, producers and number of messages on each queue
> /opt2/sun/mq/bin/imqcmd list dst -u admin -passfile /home/prod/.imq_passfile
> (imq_passfile is just a textfile with the password: imq.imqcmd.password=admin) (admin is the default password)
>
> Here you could also inspect how many aplications is generating messages for each queue and how many applications is "eating" messages from each queue. for the BA_MON queue there should be exactly one consumer (the BitarchiveMonitor Application) - if that is not running properly the number of messages on that queue will grow quite rapidly (but not to 37.000 in few seconds)
>
>
> best
> Bjarne


More information about the NetarchiveSuite-users mailing list