7-3 Process
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
Add the basic application resource to a group.
Select a group → right click → 'Add Resource'.
- Select 'Process' from Resource Type lists and click 'Next' button.
Enter the resource name and then the process name.
You can add a process to the dialogue by pressing the
'File' button on the right.The default user for running the basic app is the user that runs the MCCS process.
If the process needs to run for another user other than the default user, then you must designate an execution account as follows.
[Figure] Basic Application Resource Added- As an additional setting, you can select forced to terminate option.
[Figure] Additional Settings of process resouce view - Click the 'Finish' button to add the basic application resource.
You can immediately check the result in the management web console.
Deleting
Select resource type → right click → delete resource.
The deleted resource will immediately disappear from the management web console.
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
Show the unique attribute of process resource.
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'.