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.
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.
[Figure] Adding Resource in a group- 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.
[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 Resource in a resource type
Enter process name and full path.
[Figure] Enter process path view
Enter resource name.
If you skip enter this, name will be given same value with process name when process path is defined.
[Figure] Enter process path view
Another way Click file selection icon and you can choose the file as shown below.
[Figure] File Selection View
Default value of user executing process resource is the user that execute process.
If you wish to use other user account, you can define in 'Execution Account' as shown belowEnter the resource name and then the process name.
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.
Specify account view
[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.
Select delete resource and resource will be deleted.
[Figure] Deleting process resource viewThe 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. | ||
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 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
[Figure] Process Attribute viewShow 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.