Section | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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
Add the basic application resource to a 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 typeEnter 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
You can add a process to the dialogue by pressing the 'File' button on the right.Info 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.
Select delete resource.
[Figure] Deleting process resource view
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 It periodically monitors whether the process runs in the memory. | ||
Offline The registered process is terminated. | Online | In In the attributes of basic application, run the program designated in the Path. | |
Monitoring | It 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 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
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'.