Adds a notify method definition to the Notify object class.
The mknotify command adds a notify method definition to the Notify object class. When a notify method is defined for both a subsystem name and a group name, the subsystem name takes precedence. For example, if the subsystem notify method is executed by the System Resources Controller (SRC), the group notify method is not performed.
The SRC places the name of the unsuccessful subsystem as the first argument to the method and the name of the unsuccessful subsystem group as the second argument.
Item | Description |
---|---|
-m NotifyMethod | Specifies an absolute path to an executable program that starts when the subsystem stops abnormally. |
-n NotifyName | Specifies the subsystem or group name to which the notify method belongs. The NotifyName variable must exist as either a valid subsystem name or a valid group name in the Subsystem object class. The mknotify command is unsuccessful if the NotifyName variable already exists in the Notify object class. |
Item | Description |
---|---|
/etc/objrepos/SRCsubsys | Specifies the SRC Subsystem Configuration object class. |
/etc/objrepos/SRCnotify | Specifies the SRC Notify Method object class. |