...
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 '"Application' " from Resource Type lists and click 'the "Next' " button. When add a resource from the Application resource type name, this step will be skipped.
Enter the resource name and the pre-scripted file name for start, stop and monitoring with full path or click click to browse the file, or click the to create user defined script file.
Enter the process name where listed in task manager for monitoring target into MonitorProcesses box
..
Info - You can enter the value into MonitorProgram or MonitorProcess to monitor whether the application runs properly.
You should enter the value in at least one of them. - When all the value of MonitorProgram and MonitorProcesses are entered the process lists for monitoring target are entered,
MCCS checks whether the monitoring program is properly work and whether processes which is monitoring target are exist.
[Figure] Adding application Resource- You can enter the value into MonitorProgram or MonitorProcess to monitor whether the application runs properly.
Click 'the "Finish' " button to add the application resource.
Deleting
Select resource "Resource type" → right click → delete resource.
...
The following table explains the state of application resource.
복합 응용 에이전트: 일반적인 어플리케이션 항목을 관리합니다.
기본 응용보다 복잡하고, 더 많은 확장성을 제공하여 애플리케이션, 서비스 등을 관리합니다Multi-process agent: Manages applications. It is more complex than single-process one, and provides wider extensibility so that it can manage applications and services and others.
State | Agent command | Description | Note | ||
---|---|---|---|---|---|
Online All the processes into MonitorProcesses are running properly and MonitorProgram returns '0'. | Offline | StopProgram 속성에 등록된 스크립트를 실행합니다. Runs a script registered on the StopProgram attribute. | |||
Monitoring | MonitorProgram 속성에 등록된 스크립트를 실행합니다. In the case of monitoring with a list of processes registered for the MonitorProcesses attribute, the situation that all the processes in the list are operating indicates success, otherwise, means failure. In the case that both a processes' list and a script have been registered, it indicates success if both of each success case are satisfied, the others means failure. It is considered as failure if any process included in a list does not appear or a script does not run well. | ||||
Offline When one of the process into MonitorProcesses is at least offline or 'MonitorProgram' does not return in '0'. | Online | StartProgram 속성에 등록된 스크립트를 실행합니다Runs a script registered on the StartProgram attribute.StartProgram 속성은 배치 스크립트를 사용하여 기본 응용 리소스보다 유연하게 프로그램을 실행할 수 있습니다. | Monitoring | 위에 모니터링 명령 설명 참조The StartProgram attribute helps with more flexible running of a program than single-process resource by using a batch script. It limits to use of a resource with outputting an error log from MCCS if inputting a wrong path. | |
Monitoring | Refer to the Monitoring item above. | ||||
Fault When an onlined application has not taken offline through offline command, it is defined as fault. | Online | 위에 온라인 명령 설명 참조Refer to the Online item above. | |||
OfflineStopProgram 속성에 등록된 스크립트를 실행합니다. | Runs a script registered on the StopProgram attribute |
Attribute
Show the specified attribute of application resource.
Attribute | Description | Type | Default | Edit | Note |
MonitorProcesses | It is the list of the process to be monitored. Name of each process is simply the name of the executables. If there is more than one process, they are separated by ('“,'”). (ex : /usr/sbin/crond, cronde.g. c:\system\dfssvc.exe, calc) | STRING | O | If you enter the value on both attribute, MCCS determinds the resource is normal state when both of them returns '0'. | |
MonitorProgram | It is program or script based file for monitoring an object. | FILE | O | ||
StartProgram | It is a program to bring online the Application in each node. | FILE | O | ||
StartupDirectory | It is a work directory. it means %MCCS_HOME if it does not have a value. | DIRECTORY | (.) | O | |
StopProgram | It is a program to take offline the Application of each node. | FILE | O | ||
User | It is a user name which has received the permission to use the application. | STRING | root | O |
Specified attribute values are normally entered when add the resource, This value can be edited or viewed through 'Specified Attribute' table in the Resource Attributes tab on the detailed information panel.
Info |
---|
MCCS has function to limit input values against user's input field, and it provides function detects automatically data which is input wrong by user's mistake. |