Process agent is an agent that starts, terminates or monitors the process designated by a user.
Process means that an application achieves a single process.
The execution binary should have the same name as the process residing in the memory.
The execution binary program should be installed in the same directory on every node. It cannot be installed in the data areas such as mirror disks or shared disks.
Table of Contents
Adding
There are two way to add a resource which one is select this from a group name and another is select this from a resource type.
Adding in Group
Select a group → right click → 'Add Resource'.
[Figure] Adding Resource in a group- Select 'Process' from Resource Type lists and click 'Next' button.
[Figure] Select Resource Wizard View - Next steps are same as adding in resource type.
Adding in Resource Type
- ResourceType → Right Click → Click Add Resource
[Figure] Adding Process Resource in a resource type - Enter the resource name and then the process name.
[Figure] Adding process resource view - Name will be given same value with process name when process path is defined.
[Figure] Enter process path view - Another way is to click on the file selection icon and add processes.
[Figure] File Selection View - Default value of user executing process resource is the user that execute process.
If you wish to use other user, you can specify execution user as shown below.
[Figure] Specify account view - As an additional setting, you can select forced to terminate option.
[Figure] Additional Settings of process resouce view
Deleting
Select resource type → right click → delete resource.
Select delete resource.
[Figure] Deleting process resource view
Status
The following table explains the status switching of the MCCS resource caused by a user's command and the status.
The command assumes that it is generated by a user.
Process agent: Manages the general processes.
Status | Agent command | Desctription | Note |
---|---|---|---|
Online The registered process is running. | Offline | Terminate an ongoing process by sending the termination signal (TerminateProcess) to it. | |
Monitoring | It periodically monitors whether the process runs in the memory. | ||
Offline The registered process is terminated. | Online | In the attributes of basic application, run the program designated in the Path. | |
Monitoring | It periodically monitors whether the process runs in the memory. | ||
Trouble
When the online process is switched to offline without using the agent termination command, it is defined as the trouble state. | Online | In the attributes of basic application, run the program designated in the Path. | |
Offline | Terminate an ongoing process by sending the termination signal (TerminateProcess) to it. |
Attribute
[Figure] Process Attribute
Attribute | Description | Type | Default | Edit | Note |
Arguments | It is a program argument. | STRING | O | longer than 80 characters | |
ForcibleTermination | If the value is set to true, the process is forced to terminate. | BOOLEAN
| false | O | |
Path | It is the absolute path for the program execution file. If the value is not valid, you cannot use the resource. | FILE | O | ||
StartupDirectory | It is the path for running the registered program. If there is no input, it means %MCCS_HOME. | DIRECTORY | (.) | O | |
User | It is a user account having the rights to use the program. | STRING | O |
The attribute value is entered to register the resource, and you can change or check it in the 'Specified Attribute'.