기본 응용 에이전트는 사용자가 지정한 프로세스를 시작, 종료, 감시하는 에이전트입니다.
기본 응용이란 응용프로그램이 단일 프로세스를 이루는 것을 의미합니다.
실행 바이너리와 메모리에 상주하는 프로세스의 이름은 동일해야 합니다.
실행 바이너리 프로그램은 모든 노드 상에서 같은 경로에 설치되어야 하며, 미러 디스크나 공유 디스크와 같은 데이터 영역에 설치될 수 없습니다.
이 페이지의 주요 내용
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
select a group -> right click -> 'Add Resource'.
[Figure] Adding Resource in a group- Select 'Process' from Resource Type lists and click 'Next' button.
[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 Process Resource in a resource type - 리소스 이름을 입력하고 프로세스 이름을 입력합니다.
[Figure] Adding process resource view - Name will be given same value with process name when process path is defined.
[Figure] Enter process path view - 또 다른 방법은 파일 선택 아이콘을 클릭하여 기본응용을 추가하는 방법입니다.
[Figure] File Selection View - Default value of user executing process resource is the user that execute process.
If you wish to use other user, you can specify execution user as shown below.
[Figure] Specify account view - As an additional setting, you can select forced to terminate option.
[Figure] Additional Settings of process resouce view
Deleting
Select resource type - right click - delete resource
Select delete resource.
[Figure] Deleting process resource view
State
다음 테이블은 상태와 사용자 명령에 의해 발생되는 MCCS 리소스의 상태 변화에 대한 설명입니다.
명령은 사용자에 의해 발생되는 것을 전제로 합니다.
기본응용 에이전트: 일반적인 프로세스를 관리합니다.
상태 | Agent 가능 명령 | 설명 | 비고 |
---|---|---|---|
온라인 등록된 프로세스가 실행중인 상태입니다. | 오프라인 | 실행 중인 프로세스에 종료 신호(TerminateProcess)를 보내어 해당 프로세스를 종료합니다. | |
모니터링 | 메모리에서 프로세스가 실행 중인지 주기적으로 감시합니다. | ||
오프라인 등록된 프로세스가 종료된 상태입니다. | 온라인 | 기본 응용의 속성 중 Path에 지정된 프로그램을 실행합니다. | |
모니터링 | 메모리에서 프로세스가 실행 중인지 주기적으로 감시합니다. | ||
장애 온라인 상태인 프로세스가 에이전트의 종료 명령을 거치지 않고 오프라인 상태로 변경되었을 경우에 장애 상태로 정의합니다. | 온라인 | 기본 응용의 속성 중 Path에 지정된 프로그램을 실행합니다. | |
오프라인 | 실행중인 프로세스에 종료 신호(TerminateProcess)를 보내어 해당 프로세스를 종료합니다. |
Attribute
[Figure] Process Attribute
Attribute | Description | Type | Default | Edit | Note |
Arguments | 프로그램 인수입니다. | STRING | O | 최대 80자 | |
ForcibleTermination | 이 값이 True로 설정되면 프로세스를 강제로 종료시킵니다. | BOOLEAN
| false | O | |
Path | 프로그램 실행 파일의 절대 경로명입니다. 이 값이 유효하지 않으면 리소스를 사용할 수 없습니다. | FILE | O | ||
StartupDirectory | 등록된 프로그램이 실행될 경로입니다. 입력 값이 없으면 %MCCS_HOME 을 의미합니다. | DIRECTORY | (.) | O | |
User | 프로그램을 사용할 수 있는 권한을 부여받은 사용자 계정입니다. | STRING | O |
속성 값은 해당 리소스를 등록할 때에 입력된 값이며, '리소스 고유 속성'에서 값을 변경하거나 확인할 수 있습니다.