7.3 Process
It is managed user defined process which is a program of single process(e.g. notepad.exe, cal.exe).
Name of an executable binary and process resides memory should be identical. Executable Process should be resided in all the nodes with the same path, and does not need to be resided in the same path as the mirror disk or shared disk.
Process basically is executed with the system account, but is can be executed with particular user by using attributes of User, Password, Domain.
Table of Contents
Adding
Add the basic application resource to a group.
When add a resource from a group name, select a group → right click → 'Add Resource'. Or select Edit(E) from the main menu bar → select 'Add Resource'. Or select 'Add Resource' icon from the tool bar.
- Select 'Process' from Resource Type lists and click 'Next' button. When add a resource from the Process resource type name, this step will be skipped.
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 desktop option and forced to terminate option.
[Figure] Additional Settings of process resource 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 | Description | 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 process, run the program designated in the Path. For instance, if you configure the program that uses the 'notepad.exe readme.txt' command as a process agent, you can express it as follows. | |
Monitoring | It periodically monitors whether the process runs in the memory. | ||
Fault 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 process, run the program designated in the Path. For instance, if you configure the program that uses the 'notepad.exe readme.txt' command as a process agent, you can express it as follows. | |
Offline | Terminate an ongoing process by sending the termination signal (TerminateProcess) to it. |
Attribute
Show the unique attribute of basic application resource.
Attribute | Description | Type | Default | Edit | Note |
Arguments | It is the program argument. | STRING | O | longer than 80 characters. | |
Domain | It specifies the domain of user. It will be ignored if user name is not specified. | STRING | O | ||
ForcibleTermination | When this value is inserted as True, process is terminated forcibly. if this value is inserted as True, it will try normal termination. If termination did not executed, it will be terminated forcibly after the time set in offlinetimeout. Note that application has no limit in standby. | BOOLEAN
| false | O | |
InteractiveWithDesktop | It permits reciprocal action with desktop. (It determines whether GUI to appear or hide) It determines to execute by background or foreground. | BOOLEAN
| false | O | |
Password | It is the password defined by the user. | PASSWORD | O | ||
Path | It defines the path name of the program file. If this value is invalid, resource cannot be used. | O | |||
StartupDirectory | It is a work directory. it means %MCCS_HOME% if it does not have a input value. | DIRECTORY | (.) | O | |
User | It is the user name which has received the permission to use the application. | STRING | O |
Attribute value of ArgList arguments are the values that are added resources and the value can be changed or viewed through ’Specified Attribute’ list on the detailed information panel.