Page tree
Skip to end of metadata
Go to start of metadata

The product enables you to monitor the Solaris non-global zone processes from a Solaris global zone. You can do this before creating a process instance, and from the Solaris Zone list. The Solaris Zone list contains the following options:

  • global - processes running in the global zone
  • all non-global zones - processes running inside the non-global zone only
  • SystemWide - processes running in the global and non-global zone

You can isolate the process monitoring for processes running in the global zone, non-global zone, and across the global and non-global zones (system-wide). After you create a process instance, the process instance label is displayed as a zone name concatenated with the process instance label and separated by a colon such as:

zone_name : Process_Inst_label

This naming convention is not applicable to process instances in the global zone.

Note

  • This functionality is supported only on the Solaris 10 and later versions of Solaris, and on the Solaris global zone. The Zone list does not appear if the zones are not present on a Solaris system; the list resumes with the next dialog box, Add New Process.
  • Before configuring the process instance, ensure that the ZONE application class is discovered under the SOLARIS_VIRTUALIZATION container application class for that managed node in the console.

To Configure Process Monitoring for a Solaris Non-global Zone

  1. Double-click the PROCESS application container.
  2. Access the PROCESS_PRESENCE application menu as described in Accessing KM Commands and InfoBoxes.
  3. Select Manage List of Monitored Processes from the pop-up menu.
  4. In the Manage List of Monitored Processes dialog box, in the Actions group box, select Add New Process, and click OK.
  5. In the Configure Process Monitoring dialog box, select non-global zone from the Select Zone list and click Accept.
  6. In the Add New Process dialog box for the selected non-global zone, in the Process Instance Label field, type a name for the monitored process icon. You can specify a name with a maximum of 100 characters.
  7. In the Monitored Process Stringfield, type the command or a unique command string for the process that is being monitored.

    Note

    • BMC PATROL monitors all processes that match the string you type in this field. When you enter text in this field, you might end up monitoring multiple processes. For example, if you type vi in this field, BMC PATROL monitors processes named vi, view, and previous.
    • You must specify a single process if you want to use the BMC PATROL feature that allows you to restart a process automatically.
  8. In the Minimum Count field, type a value to set the minimum number of process instances that must be running on the local computer or in the host group. To monitor multiple instances of the same process, this value must be set to 2 or above. If the number of running process instances falls below the value set in this field, BMC PATROL issues an alert.
  9. In the Maximum Count field, type a value to set the maximum number of process instances that might be running on the local computer or in the host group. If the number of running process instances exceeds this value, BMC PATROL issues an alert. The value of the Maximum Count field must be greater than the value of the Minimum Count field.
  10. In the Acceptable Process Owners field, type the user IDs for the accounts that might own the process. Separate multiple user IDs with spaces.
  11. Select the Use Process Owners for Filteringcheck box.

    Note

    Because the process filtering for the processes is based on owners, the owner of the processes is always a subset of the provided owner set. Therefore, the PROCPPOwnerCheck parameter is deactivated when the Use Process Owners for Filtering check box is selected.

  12. Select the Parent Process ID Must Be 1 option if the parent process ID (PPID) is 1. A process with a PPID of 1 is owned by init, or the UNIX scheduler.
  13. Select the Filter Processes with Parent Process ID 1check box if you want to filter the processes by Parent Process ID 1.

    Note

    • If you select the Filter Processes with Parent Process ID 1 check box, only the processes having parent process ID 1 are filtered.
    • If you do not select the Filter Processes with Parent Process ID 1 check box, the processes are filtered irrespective of their parent process ID.
    • If you select Yes for the Parent Process ID Must Be 1 field, and if you filter processes with parent process ID 1, the PROCPPParentPID1 parameter will be deactivated.
    • If you select No for the Parent Process ID Must Be 1 field, the processes are not filtered by parent process ID 1.
  14. Select the Restart Automatically option if you want the product to automatically restart a process when it detects that the process count is less than the set minimum.
    If you select this option, the product attempts to restart the process when it detects that the process instance count has fallen below the specified minimum threshold. The product uses the value in the Command Execution Attemptsfield to determine how many times it will try to restart a process.

    Note

    You must specify a start command and a command execution user name in the appropriate fields on this dialog box if you want BMC PATROL to automatically restart a process.

  15. In the Command Execution Attempts field, type a value to set the number of times that you want the host to attempt to run a Start Process or Stop Process command before it stops trying to run the command.
  16. In the Start Commandfield, type the command string that starts the process instance.

    Note

    You must specify a command execution user account and password if you want to use the Start command.

  17. In the Stop Commandfield, type the command string that stops the process instance.

    Note

    You must specify a command execution user account and password if you want to use the Stop command.

  18. In the Command Execution User Namefield, type the user ID under which the command is executed.

    Note

    You must specify a command execution user account and password if you want to use the Start and Stop commands.

  19. In the Command Execution Passwordfield, type the password for the user ID under which the command will be executed. You can leave this field blank. The KM accepts a NULL value.

    Note

    You must specify a command execution user account and password if you want to use the Start and Stop commands.

  20. In the Alert Delay Count field, type a value to set the number of collection intervals for which this host defers an alert while it waits for the process count to be re-established on a host or across a group of hosts.
    If you delay the alert, the system has time to detect that a process has died and restart it automatically before BMC PATROL issues an alarm.
  21. In the Alert State list, select the state change that must occur when the process count either falls below the minimum threshold or exceeds the maximum threshold and the alert delay count reaches 0. The state change applies to the following parameters:
  22. Select one of the following options to indicate the monitoring scope for BMC PATROL:

    Option

    Description

    Only On This Host

    PATROL will monitor the process only on the selected local host computer.

    Across Host Group

    PATROL will monitor the process across a group of host computers. Select this option if you want to monitor a process in a clustered environment.

  23. In the Blackout field, enter a blackout beginning and ending time (use 24-hour time).
  24. Click OK. The dialog box closes, and the Manage List of Monitored Processes dialog box is displayed. The Process List group box lists the process that you just added to the monitored queue.

Related topics

Using the PATROL KM for UNIX for Process Monitoring

  • No labels

4 Comments

  1.  

    1.  

    1. Hi Ritika,

      The procedure is documented here: Unix Processes (Unix Processes)

      Thanks,
      Shweta