Changing the Database Purging Threshold

You can set or change the threshold when data in the database tables are purged for emergency purposes. This is the emergency purging threshold.

Procedure

  1. Login to the command line interface.
  2. Create a file /loglogic/conf/sched.conf if it does not exist.
  3. Add the following line in the file /loglogic/conf/sched.conf:
    LxDiskUsagePercent=X

    The valid range for X is 0 ~ 100.

  4. Restart engine_lx_scheduler by running the following command:
    mtask -s engine_lx_scheduler restart (On an LogLogic ST Appliance the engine name is engine_st_scheduler.)
    Warning: Restarting engine_lx_scheduler triggers a failover. If it is fine in your setup, then change the threshold on the passive appliance first and then on the active appliance. Doing so causes only one failover.
    To avoid a failover in your setup, perform the following steps:
    1. Stop the engine_cluster_membership service on the passive appliance.
    2. Change the threshold on the active appliance and restart the scheduler.
    3. Apply the change on the passive appliance, restart the scheduler, and then start the engine_cluster_membership service.