Configuring Recovery Actions

This task describes how to configure the PATROL for Linux built-in recovery actions, which are corrective actions taken by PATROL when a parameter reaches a set value or is in a warning or alarm state.

PATROL Native Recovery Actions 

The following recovery actions, associated with the specified parameter, are provided by default with PATROL for Linux.

PATROL for Linux Recovery Actions 

Recovery Action & Description

Parameter

Auto Run?

FilesystemCleanup Removes files once the percentage of the filesystem currently in use exceeds the threshold established in either Alarm1 or Alarm2 for the FSCapacity parameter. Also attempts to remove core dump files, and if the filesystem is /tmp or /tmp is mounted off this filesystem, attempts to remove from /tmp files that are 30 days or older.

FILESYSTEM\Capacity

Requires Configuration You must reboot to run this command.

Configuring PATROL Native Recovery Actions

This section describes how to configure the PATROL for Linux built-in recovery actions, which are corrective actions taken by PATROL when a parameter reaches a set value or is in a warning or alarm state.

Before you begin

The recovery actions that are available to be configured depend on the KMs that you have loaded.

To Configure Recovery Actions

  1. Access the host application class menu.
  2. From the list of recovery actions, select the desired recovery action and click Accept.
  3. From the list of recovery action instances, select the instance and click Edit. For information about which instance to select, see following table.

     Selecting a Recovery Action Instance

    Purpose

    Recovery Action to Select

    Remove files once the percentage of the filesystem currently in use exceeds the threshold established in either Alarm1 or Alarm2 for the FSCapacity parameter. Also attempts to remove core dump files, and if the filesystem is /tmp or /tmp is mounted off this filesystem, attempts to remove from /tmp files that are 30 days or older.

    FilesystemCleanup

  4. From the Edit Recovery Action dialog box, choose from the settings described in the following table.

     Recovery Action Configuration Options

    Setting

    Description

    Configuration Result

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

    PATROL runs the recovery action automatically, without prompting you.

    This recovery action applies to all FILESYSTEM instances.

    Run Attended

    PATROL prompts you before running the recovery action.

    This recovery action applies to all FILESYSTEM instances.

    Do Not Execute

    PATROL does not perform the recovery action.

    This mode is the default setting.

    Note

    For more information about the recovery action and its configuration options, click Help.

  5. To save your changes, click Accept.

If a Problem Occurs

BMC Software offers several PATROL consoles from which you can view a PATROL Knowledge Module (KM). Because of the different environments in which these consoles run, each one uses a different method to display and access information in the KM. This appendix provides instructions for accessing the KM menu commands, InfoBoxes, and online Help on each of the PATROL consoles. See the online Help for specific PATROL for Linux components to view more detailed information about navigation in the PATROL Consoles.

Configuring recovery actions for file systems

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

Before you begin

  • You must be root to run this command.
  • For a given NUK_FileSystem instance, the Capacity parameter must be active.
  • This recovery action applies to all filesystems except NFS, CDROM and proc.

To set up automatic file system cleanup

  1. Access the Computer application menu.
  2. Select Configure Recovery Actions.

    PATROL displays the Register Recovery Actions dialog box, which lists all available recovery actions.

  3. Select the FilesystemCleanup recovery action and click Accept.
  4. PATROL displays the Recovery Actions Instance dialog box. This recovery action applies to all NUK_FileSystem instances.
  5. Select the only item in the list and click Edit.
    PATROL displays the Edit Recovery Action dialog box.
  6. Select the mode of the recovery action clicking the corresponding radio button.
      • Run Unattended—PATROL runs the recovery action automatically, without prompting you
      • Run Attended—PATROL prompts you before running the recovery action
      • Do Not Execute—PATROL does not perform the recovery action. This mode is the default setting.

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

  7. Click ACCEPTPATROL closes the Edit Recovery Actions dialog box and displays the Recovery Action Instances dialog box.
  8. Click ClosePATROL closes the Recovery Action Instances dialog box and displays the Registered Recovery Actions dialog box. 
  9. Click ClosePATROL closes the Registered Recovery Actions dialog box and enables the recovery action based on the options that you chose. 

Running recovery actions in attend mode

This task describes how to manage a recovery action when it is set to attend mode. This feature also allows you to turn off attend mode so that the recovery action will run without user input.

Before You Begin

You must have set up a recovery action.

To run recovery actions in attend mode

When the monitored resource meets or exceeds the criteria that you established, PATROL displays the Run Recovery Action dialog box

Select an option and click Accept to run the recovery action:

  • Do not ask me again—switches the recovery action to unattended mode, which allows the recovery action to run without any user interaction
  • Disable—prevents the recovery action from attempting to run and from producing this dialog box

If you click Cancel, PATROL does not run the recovery action or save any of the options that you selected. 

Was this page helpful? Yes No Submitting... Thank you

Comments