/
7-3 Process

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.

  1. Select a group → right click → 'Add Resource'.


  2. Select 'Process' from Resource Type lists and click 'Next' button.

  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.

    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

  4. As an additional setting, you can select forced to terminate option.
     
    [Figure] Additional Settings of process resouce 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.

StatusAgent commandDesctriptionNote

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.
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 basic application, run the program designated in the Path.
Path attribute is the absolute path for a program existing on the system.

 
Monitoring

 It periodically monitors whether the process runs in the memory.
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 basic application, run the program designated in the Path.
Path attribute is the absolute path for a program existing on the system.

 
OfflineTerminate an ongoing process by sending the termination signal (TerminateProcess) to it. 

 

 

Attribute

Show the unique attribute of process resource.

 

Attribute

Description

Type

DefaultEditNote

Arguments

It is a program argument.
Multiple arguments must use at least one space as an identifier.
If an argument has a space in it, you should wrap this argument with quotation marks(" ").

STRING

 Olonger than 80 characters

ForcibleTermination

If the value is set to true, the process is forced to terminate.
If the value is set to false, it will be terminated normally.
If it is not terminated properly, it will be forcefully terminated after passing the offline timeout.
An application waiting for a user's response can go into infinite standby, so please consider it when you set the option

BOOLEAN

 

falseO 

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.
If there is no input, it uses the MCCS service execution account.

STRING

 O 

The attribute value is entered to register the resource, and you can change or check it in the 'Specified Attribute'.

 

 

 

 

Related content