Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
정의
기본 응용 에이전트는 사용자가 지정한 프로세스를 시작, 종료, 감시하는 에이전트입니다. 기본 응용이란 응용프로그램이 단일 프로세스를 이루는 것을 의미합니다.
실행 바이너리와 메모리에 상주하는 프로세스의 이름은 동일해야 합니다.
실행 바이너리 프로그램은 모든 노드 상에서 같은 경로에 설치되어야 하며, 미러 디스크나 공유 디스크와 같은 데이터 영역에 설치될 수 없습니다.
추가
리소스를 추가하는 두 가지 방법이 있습니다.
하나는 그룹 이름에서 리소스를 추가하는 것이고, 또 하나는 리소스타입에서 리소스를 추가하는 것입니다
그룹에서 추가 할 경우
그룹 - 마우스 우 클릭 - 리소스 추가를 선택합니다.
...
리소스 타입에서 추가 할 경우
...
삭제
리소스타입 - 마우스 우 클릭 - 리소스 삭제를 선택합니다.
삭제 메뉴를 선택합니다.
[그림] 기본응용 리소스 삭제 화면
상태
다음 테이블은 상태와 사용자 명령에 의해 발생되는 MCCS 리소스의 상태 이동에 대해 설명합니다.
명령은 사용자 명령에 의해 발생되는 것을 전제로 합니다.
기본응용 에이전트: 일반적인 프로세스를 관리합니다.
상태 | Agent 가능 명령 | 설명 | 비고 |
---|---|---|---|
온라인 등록된 프로세스가 실행중인 상태입니다. | 오프라인 | 실행중인 프로세스에 종료 신호(TerminateProcess)를 보내어 해당 프로세스를 종료합니다. | |
모니터링 | 프로세스가 메모리에서 현재 실행 중인지 주기적으로 감시합니다. | ||
오프라인 등록된 프로세스가 종료된 상태입니다. | 온라인 | 기본 응용의 속성 중 Path에 지정된 프로그램을 실행합니다. 예를 들면 gedit readme.txt' 라는 명령을 사용하는 프로그램을 | |
모니터링 | 프로세스가 메모리에서 현재 실행 중인지 주기적으로 감시합니다. | ||
장애 온라인 상태인 프로세스가 에이전트의 종료 명령을 거치지 않고 | 온라인 | 기본 응용의 속성 중 Path에 지정된 프로그램을 실행합니다. 예를 들면 gedit readme.txt' 라는 명령을 사용하는 프로그램을 | |
오프라인 | 실행중인 프로세스에 종료 신호(TerminateProcess)를 보내어 해당 프로세스를 종료합니다. |
속성
[그림] 기본 응용 속성 화면
...
ArgList 인수
...
설명
...
타입
...
Arguments
...
프로그램 인수입니다.
여러 개의 인수는 하나 이상의 공백을 식별자로 사용해야 합니다.
하나의 인수 내에 공백이 들어갈 경우에는 인수를 큰 따옴표(" ")를 사용해야 합니다.
...
STRING
...
ForcibleTermination
이 값이 True 로 설정되면 프로세스를 강제로 종료 시킵니다.
이 값이 False로 설정되면 정상종료 시도를 합니다.
정상종료가 실행되지 않으면 오프라인타임아웃 값에 설정된 시간이 지난 후 강제로 종료 시킵니다.
...
Adding
Add the basic application resource to a group.
Select a group → right click → 'Add Resource'.
- Select 'Process' from Resource Type lists and click 'Next' button.
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.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.
[Figure] Basic Application Resource Added- As an additional setting, you can select forced to terminate option.
[Figure] Additional Settings of process resouce 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 | Desctription | 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 basic application, run the program designated in the Path. | |
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 basic application, run the program designated in the Path. | |
Offline | Terminate an ongoing process by sending the termination signal (TerminateProcess) to it. |
Attribute
Show the unique attribute of process resource.
Attribute | Description | Type | Default | Edit | Note |
Arguments | It is a program argument. | STRING | O | longer than 80 characters | |
ForcibleTermination | If the value is set to true, the process is forced to terminate. | BOOLEAN
| false | O | |
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 | 등록된 프로그램이 실행될 경로입니다. 입력값이 없으면 $MCCS_HOME을 의미합니다It is the path for running the registered program. If there is no input, it means %MCCS_HOME. | DIRECTORY | (.) | O | |
User | 프로그램을 사용할 수 있는 권한을 부여 받은 사용자 계정입니다. 입력 값이 없으면 MCCS 서비스 실행 계정입니다It is a user account having the rights to use the program. | STRING | O |
속성값은 해당 리소스를 등록할 때에 입력된 값이며, '리소스 고유 속성'에서 값을 변경하거나 확인할 수 있습니다.The attribute value is entered to register the resource, and you can change or check it in the 'Specified Attribute'.