Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:how_to_handle_a_bigger_and_bigger_oar_database [2016/06/29 14:08] – [Option 1: reset the database] neyronwiki:how_to_handle_a_bigger_and_bigger_oar_database [2016/06/29 14:16] neyron
Line 9: Line 9:
 However, some other installations (probably with a less powerful server) are known to have required some maintenance in order to keep OAR fully responsive. However, some other installations (probably with a less powerful server) are known to have required some maintenance in order to keep OAR fully responsive.
  
-Therefore, this page gathers some knowhow when it comes to shrink the OAR database becoming too big.+Therefore, this page gathers some know-how when it comes to shrink OAR database which is becoming too big.
  
 ====== Option 1: reset the database ====== ====== Option 1: reset the database ======
Line 27: Line 27:
     * admission rules: data (rows) of the admission_rules table     * admission rules: data (rows) of the admission_rules table
   * make sure the cluster is empty of running jobs (you may use oarnodesetting --drain command)   * make sure the cluster is empty of running jobs (you may use oarnodesetting --drain command)
-  * empty the queues (waiting jobs): ask users to wait for the new database to be in service before submitting new jobs)+  * empty the queues (waiting jobs): ask users to wait for the new database to be in service before submitting new jobs, an dedicated admission rule may help here)
   * stop the oar-server   * stop the oar-server
   * change the database in use, in oar.conf (server and frontend)   * change the database in use, in oar.conf (server and frontend)
wiki/how_to_handle_a_bigger_and_bigger_oar_database.txt · Last modified: 2016/06/29 20:54 by capitn
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki