Section | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
추가
리소스를 추가하는 두 가지 방법이 있습니다.
하나는 그룹 이름에서 리소스를 추가하는 것이고, 또 하나는 리소스타입에서 리소스를 추가하는 것입니다
그룹에서 추가 할 경우
...
리소스 타입에서 추가 할 경우
...
모두 입력을 완료한 화면입니다.
Info |
---|
감시 프로그램과 감시대상 프로세스 목록이 모두 입력이 될 경우 감시 프로그램의 성공여부와 감시대상 프로세스 목록의 여부까지 모두 확인합니다. |
[그림] 복합응용 리소스 필수 속성 입력 완료 화면
...
삭제
리소스타입 - 마우스 우 클릭 - 리소스 삭제를 선택합니다.
삭제 메뉴를 선택합니다.
[그림] 복합응용 리소스 삭제 화면
상태
다음 테이블은 상태와 사용자 명령에 의해 발생되는 MCCS 리소스의 상태 이동에 대해 설명합니다.
명령은 사용자에 의해 발생되는 것을 전제로 합니다.
복합 응용 에이전트: 일반적인 어플리케이션 항목을 관리합니다.
기본 응용보다 복잡하고, 더 많은 확장성을 제공하여 애플리케이션, 서비스 등을 관리합니다.
...
온라인
MonitorProcesses에 등록된 모든 프로세스들이 실행 중이고
MonitorProgram이 '0'을 반환하는 상태입니다.
...
StopProgram 속성에 등록된 스크립트를 실행합니다.
...
MonitorProgram 속성에 등록된 스크립트를 실행합니다.
스크립트로 감시할 경우에는 종료값이 0 일 경우 성공, 그 외의 경우에는 실패를 의미합니다.
MonitorProcesses 속성에 등록된 프로세스 목록으로 감시할 경우 리스트에 등록한
모든 프로세스가 구동 중일 경우 성공, 그렇지 않으면 실패를 의미합니다.
프로세스 목록과 스크립트를 모두 등록할 경우에는 2 가지 조건을 모두 만족해야만 성공을 의미합니다.
프로세스 목록이 없거나 스크립트가 성공이 아니라면 실패로 간주하게 됩니다.
...
오프라인
MonitorProcesses에 등록된 프로세스 중에서 하나라도 종료되었거나
감시 프로그램이 '0'이 아닌 값을 반환할 때는 오프라인 상태로 판단합니다.
...
StartProgram 속성에 등록된 스크립트를 실행합니다.
StartProgram 속성은 배치 스크립트를 사용하여 기본 응용 리소스보다 유연하게 프로그램을 실행할 수 있습니다.
잘못된 경로를 입력한 경우에는 MCCS가 에러 로그를 출력하고 리소스를 사용할 수 없게 합니다.
...
위에 모니터링 명령 참조
...
장애
리소스가 온라인 상태에서 에이전트의 종료 명령을 거치지 않고
오프라인 상태로 변경되었을 경우에 장애 상태로 판단합니다.
...
위에 온라인 명령 참조
...
Adding
Add the complex application resource to a group.
- 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 'Next' button. When add a resource from the Application resource type name, this step will be skipped.
Enter the name of resource and the program for start, termination and monitoring, or the process lists for monitoring target.
In the start, terminate or monitoring program, click 'File' button to select each script file
or, click the 'Edit' button to create a script file.Info - If all of the monitoring program and the process lists for monitoring target are entered, check whether the monitoring program is successful or whether there are process lists for monitoring target.
- 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] Complex Application Resource Added- Click the 'Finish' to see that the complex application resource is created as follows.
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
Application agent: It manages general application items.
It provides a more complex, wider expandability than processes to manage applications and services.
Status | Agent command | Description | Note |
---|---|---|---|
Online All the processes registered in MonitorProcesses are running and MonitorProgram returns '0'. | Offline | Runs the script registered in the StopProgram attributes. | |
Monitoring | Runs the scripts registered in the MonitorProgram attributes. | ||
Offline If any one of the processes registered in MonitorProcesses is terminated or the monitoring program returns a non-zero value, it is deemed as offline. | Online | Runs the script registered in the StartProgram attribute. | |
Monitoring | Refer to the description of monitoring as above. | ||
Trouble When the online resource is switched to offline without using the agent termination command, it is defined as the trouble state. | Online | Refer to the above online command. | |
Offline | Runs the script registered in the StopProgram attributes. |
속성
[그림] 복합 응용 속성 화면
...
ArgList 인수
...
설명
...
타입
...
Domain
...
Attribute
Show the unique attribute of complex application resource.
Attribute | Description | type | Default | Edit | Note | ||
Domain | It specifies domain of user account. | STRING | O | ||||
MonitorProcesses모니터링 해야 할 프로세스들의 목록입니다. | 프로세스 이름은 실행 파일의 이름이며 2개 이상일 경우에는 콤마It is the list of the process to be monitored. | STRING | O |
MonitorProgram이 없을 경우 필수로 이 속성을 입력해야 합니다. | MonitorProgram | 모니터링을 위해 실행할 프로그램 혹은 배치 스크립트의 경로명을 입력합니다. Both must be satisfying when insert both attributes. | |
MonitorProgram | It is a program that executes programs for monitoring or inserts the path name of the batch script. | FILE | O | Password | 사용자 계정의 비밀번호입니다. If MonitorProcesses does not exist, this is required and is able to insert both attributes Both must be satisfying when insert both attributes. | ||
Password | It is the password defined by the user. | PASSWORD | O | ||||
StartProgram | 리소스를 시작할 때에 실행할 프로그램 혹은 배치 스크립트 경로를 입력합니다It is a program to bring online the Application in each node. | FILE | O | ||||
StartupDirectory | 등록된 프로그램이 실행될 경로입니다. 입력 값이 없으면 %MCCS_HOME 을 의미합니다It is a work directory. it means %MCCS_HOME if it does not have a input value. | DIRECTORY | (.) | O | |||
StopProgram | 리소스를 종료할 때에 실행할 프로그램 혹은 배치 스크립트 경로입니다It is a program to take offline the Application of each node. | FILE | O | ||||
User | 응용프로그램을 사용할 수 있는 권한을 부여받은 사용자 계정입니다. | STRING | O |
...
It is a user name which has received the permission to use the application. | STRING | System Account | O |
Attribute value of ArgList arguments are the values that are added resources and the value can be changed or viewed through ’Specified Attribute’ list on the detailed information panel.