7.3 Process

7.3 Process

 

Adding

Add the basic application resource to a group.

  1. 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.

     

  2. 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.

  3. 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.



    [Figure] Basic Application Resource Added

  4. As an additional setting, you can select desktop option and forced to terminate option.


    [Figure] Additional Settings of process resource view

  5. 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

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.
It does not check the internal operation status of the process or whether a normal response is received.
For the monitoring purpose, the operational status is checked by using the process name that includes the absolute path and the process ID (PID).

 

Offline

The registered process is terminated.

Online

In the attributes of process, run the program designated in the Path.
Path attribute is the absolute path for a program existing on the system.

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.
"Path": "c: \windows\system32\notepad.exe" "Arguments": "readme.txt"

 

Monitoring

It periodically monitors whether the process runs in the memory.
It does not check the internal operation status of the process or whether a normal response is received. For the monitoring purpose, the operational status is checked by using the process name that includes the absolute path and the process ID (PID).

 

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.
Path attribute is the absolute path for a program existing on the system.

 

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.
"Path": "c: \windows\system32\notepad.exe" "Arguments": "readme.txt"

 

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. 
More than one factor must use at least one space as an identifier. When spaces are included in the factor, double quotation marks(" ") must be used. 

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.
If user name is no specified, it is ignored.

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. 
It is MCCS service account if there is no input value. 

STRING

 

O