Page tree

This task describes how to set up the Filesystem Cleanup recovery action, which removes files after the percentage of the filesystem currently in use, measured by the FSCapacity parameter, exceeds the threshold established in either Alarm1 or Alarm2. This recovery action attempts to remove core dump files, and if the filesystem /tmp, is mounted off this filesystem, the action attempts to remove from /tmp files that are 30 days or older.

Before you begin

  • You must be root to run this command.
  • For a given FILESYSTEM instance, the FSCapacity parameter must be active.
  • This recovery action applies to all filesystem types except NFS, CD-ROM, and proc.

To set up automatic filesystem cleanup

  1. Access the Computer application menu as described in Accessing KM Commands and InfoBoxes.
  2. Select Configure Recovery Actions.
    BMC PATROL displays the Register Recovery Actions dialog box, which lists all available recovery action.
  3. Select the FilesystemCleanup recovery action and click Accept.
    BMC PATROL displays the Recovery Actions Instance dialog box. This recovery action applies to all FILESYSTEM instances.
  4. Select the only item in the list and click Edit.
    BMC PATROL displays the Edit Recovery Action dialog box.

    Edit Recovery Action Dialog Box
  5. Select the mode of the recovery action by clicking the corresponding radio button.
    • Run Unattended --runs the recovery action automatically, without prompting you
    • Run Attended --prompts you before running the recovery action, and does nothing if you do not respond within the user-defined time-out period
    • Do Not Execute--does not perform the recovery action; this mode is the default setting

      Note

      If you select Run Attended, use the slide bar to set the amount of time PATROL waits for user input before it cancels the recovery action.

  6. Click ACCEPT.
    BMC PATROL closes the Edit Recovery Actions dialog box and displays the Recovery Action Instances dialog box.
  7. Click Close.
    BMC PATROL closes the Recovery Action Instances dialog box and displays the Registered Recovery Actions dialog box.
  8. Click Close.
    BMC PATROL closes the Registered Recovery Actions dialog box and enables the recovery action based on the options that you chose.
  • No labels