Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Other Astaro Products > Astaro Command Center (ACC)

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-23-2009, 02:20 AM
Simon Shaw's Avatar
Aussie moderator.
 
Join Date: Jun 2001
Location: Perth, Western Australia
Posts: 2,628
Default ACC 2.00 Job cleanup.

Can we please have some way to cleanup and/or delete completed tasks/jobs on the ACC manager?

At the moment the only way I can see to get rid of older completed jobs is to manually delete them individually.
__________________
Simon Shaw
Systems Manager
Micromine PL

Intel 2.66GHz Quad Core, 4GB (2 x 2GB) PC-6400 800Mhz 4-4-4-12, WD 300GB 10K RPM VelociRaptor, Intel Pro/1000 Quad Port PCI-X
http://www.sputcorp.com/
Reply With Quote
  #2 (permalink)  
Old 04-23-2009, 07:47 AM
megaposer's Avatar
Scourge of Humanity
 
Join Date: May 2006
Location: Karlsruhe, Germany
Posts: 593
Default

Hi Simon,

geez - we might have some under-the-hood configuration for this which could auto-clean jobs older than N days ... need to verify this and will come back to you as soon as I know more.

Cheers,
Henning
Reply With Quote
  #3 (permalink)  
Old 04-27-2009, 02:48 AM
Simon Shaw's Avatar
Aussie moderator.
 
Join Date: Jun 2001
Location: Perth, Western Australia
Posts: 2,628
Default

Heh, thanks.

We have around 5-6 Astaro devices connected to ACC.
Jobs build up quite fast. It's nice to review them, however, even if we could, "tick all, then delete" or something would be nice, otherwise,it's delete, enter, delete, enter etc etc...
__________________
Simon Shaw
Systems Manager
Micromine PL

Intel 2.66GHz Quad Core, 4GB (2 x 2GB) PC-6400 800Mhz 4-4-4-12, WD 300GB 10K RPM VelociRaptor, Intel Pro/1000 Quad Port PCI-X
http://www.sputcorp.com/
Reply With Quote
  #4 (permalink)  
Old 04-29-2009, 09:31 AM
megaposer's Avatar
Scourge of Humanity
 
Join Date: May 2006
Location: Karlsruhe, Germany
Posts: 593
Default

Simon,

here is something you could do (dirty command line hack, unsupported of course).

Go to your ACC via SSH or console (root) and run the following commands or put them into a script of your liking:

Code:
/var/mdw/scripts accd stop
psql -U acc -c "delete from action_info where data like '%status%finished%';"
/var/mdw/scripts accd start
This will remove all finished one-shot jobs (not the recurring ones).

Just to be careful, you can first try a line like this to inspect the jobs to be deleted:

Code:
psql -U acc -c "select * from action_info where data like '%status%finished%';"
Hope that helps.

Cheers,
Henning
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:21 PM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.