Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Section

 

Column

복합 응용 리소스는 MCCS가 프로그램을 시작, 종료하고 그 상태를 감시할 수 있는 리소스입니다.
기본 응용 리소스와 비슷하지만, 일반적인 프로세스 실행뿐만 아니라 스크립트를 사용하여 보다 복잡한 처리와 조합이 가능합니다.
그리고 복합 응용 리소스는 시작, 종료, 모니터링을 위한 실행경로를 각각 지정해 줄 수 있습니다.
배치 스크립트를 사용하여 프로그램을 실행하는 이유는 서비스 응용프로그램처럼 시작하는 프로그램과 실행중인 프로세스 이름이 다른 경우라도 모두 처리가 가능하도록 하기 위해서 입니다.
때로는 실행 중인 프로세스 목록에서 프로세스 존재를 감시(existence test)하는 것뿐만 아니라 프로세스가 제대로 서비스를 하고 있는지도 감시(response test)해야 합니다.
이러한 일을 유연하게 처리하기 위해서 배치 스크립트를 활용할 수 있으며 복합 응용 리소스에서는 스크립트를 입력할 수 있습니다.
기본 응용과 마찬가지로 복합 응용에서도 기본적으로 시스템 계정으로 실행이 되지만 User, Password, Domain 속성을 이용하여 특정 사용자계정으로도 실행이 가능합니다. 
An application is similar to Process resource, but it is more flexible and can be managed by batch script which contains multiple processes.
The reason why program is executed using batch script is because it will make it possible managed by MCCS even when the name of starting program and running program is not the same. Besides this, it not only monitors the existence of process but also monitors the response of process with this.  
For these reasons, batch script will provide more detail monitoring and flexibility and an application agent manages this.
 Same as process, application is basically executed with the system account, but is can be executed with particular user by using attributes of User, Password, Domain.

 

Column
width350px

 

Panel

이 페이지의 주요 내용

Table of Contents
maxLevel4

 

 

추가

리소스를 추가하는 두 가지 방법이 있습니다. 
하나는 그룹 이름에서 리소스를 추가하는 것이고, 또 하나는 리소스타입에서 리소스를 추가하는 것입니다

그룹에서 추가 할 경우

...

리소스 타입에서 추가 할 경우

...

모두 입력을 완료한 화면입니다.

Info

감시 프로그램과 감시대상 프로세스 목록이 모두 입력이 될 경우 감시 프로그램의 성공여부와 감시대상 프로세스 목록의 여부까지 모두 확인합니다.

Image Removed
[그림] 복합응용 리소스 필수 속성 입력 완료 화면

...

삭제

리소스타입 - 마우스 우 클릭 - 리소스 삭제 선택합니다.

...

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

  1. 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.
    Image Added
     [Figure] Adding Resource in a group

  2. 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.
    Image Added
    [Figure] Resource Wizard Selection View

  3. Next steps are same as adding in resource type.

Adding in Resource Type

  1. ResourceType - Right Click - Click Add Resource
    Image Added
    [Figure] Adding Resource in a resource type

  2. Enter Resource name, pre-script file name in the StartProgram, StopProgram and MonitorProgram box.
    Image Added
    [Figure] Adding application resource view

  3. You can browse pre-scripted file when select the file selection icon.
    Image Added
    [Figure] Entering script file View

  4. You can browse pre-scripted file when select the file selection icon.
    Image Added
    [Figure] Script file selection View

  5. You can also write the script through selecting write script icon.
    Image Added
    [Figure] File Editor View

  6. After you have completed all of the input screen.

    Info

    MCCS checks the list of monitor process list and monitor program when all the value of MonitorProgram and MonitorProcesses is entered.

    Image Added
    [Figure] Enter the script files and path for each attribute


  7. f you have an account that can execute application resource, you can enter the account as below
    Image Added
    [Figure] Defining user account

  8. Click 'Finish' and resource is added
    Image Added
    [Figure] Adding Application resource is completed

     

Deleting

Select resource type - right click - delete resource

              Select delete menu. 
              
               [그림] 복합응용 리소스 삭제 화면

...

Figure] Deleting application resource view



State

다음 테이블은 상태와 사용자 명령에 의해 발생되는 MCCS 리소스의 상태 이동에 대해 설명합니다.
명령은 사용자에 의해 발생되는 것을 전제로 합니다.

...

상태Agent 가능 명령설명비고

온라인

MonitorProcesses에 등록된 모든 프로세스들이 실행 중이고
MonitorProgram이 '0'을 반환하는 상태입니다.

오프라인

StopProgram 속성에 등록된 스크립트를 실행합니다. 

 
모니터링

MonitorProgram 속성에 등록된 스크립트를 실행합니다.
스크립트로 감시할 경우에는 종료값이 0 일 경우 성공, 그 외의 경우에는 실패를 의미합니다.
MonitorProcesses 속성에 등록된 프로세스 목록으로 감시할 경우 리스트에 등록한
모든 프로세스가 구동 중일 경우 성공, 그렇지 않으면 실패를 의미합니다.
프로세스 목록과 스크립트를 모두 등록할 경우에는 2 가지 조건을 모두 만족해야만 성공을 의미합니다.
프로세스 목록이 없거나 스크립트가 성공이 아니라면 실패로 간주하게 됩니다.

 

오프라인

MonitorProcesses에 등록된 프로세스 중에서 하나라도 종료되었거나
감시 프로그램이 '0'이 아닌 값을 반환할 때는 오프라인 상태로 판단합니다.

온라인

StartProgram 속성에 등록된 스크립트를 실행합니다.
StartProgram 속성은 배치 스크립트를 사용하여 기본 응용 리소스보다 유연하게 프로그램을 실행할 수 있습니다.
잘못된 경로를 입력한 경우에는 MCCS가 에러 로그를 출력하고 리소스를 사용할 수 없게 합니다.

 
모니터링

위에 모니터링 명령 참조

 

장애

리소스가 온라인 상태에서 에이전트의 종료 명령을 거치지 않고
오프라인 상태로 변경되었을 경우에 장애 상태로 판단합니다.

온라인

위에 온라인 명령 참조

 
오프라인StopProgram 속성에 등록된 스크립트를 실행합니다.  

 

 

...

Attribute

...

[그림] 복합 응용 속성 화면

...

ArgList 인수

...

설명

...

타입

...

Domain

...

Figure] Application Attribute


 

사용자 계정의 비밀번호입니다.
사용자 계정이 지정되어 있지 않으면 무시됩니다

Attribute

Description

type

DefaultEditNote

Domain

It specifies domain of user account. 
It will be ignored if it is not specified by the user account.

STRING

 O 

MonitorProcesses모니터링 해야 할 프로세스들의 목록입니다.

프로세스 이름은 실행 파일의 이름이며 2개 이상일 경우에는 콤마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 (',')로 구분합니다.
MonitorProgram과 이 값 중에 하나는 반드시 입력되어야 합니다.
(예  
One of MonitorProcesses and MonitorProgram must be inserted. (ex : dfssvc.exe)

STRING

 O

 

MonitorProgram이 없을 경우 필수로 이 속성을 입력해야 합니다.
두 속성을 모두 입력할 수 있으며, 두 속성 입력 시 모두 만족해야 합니다.

MonitorProgram

모니터링을 위해 실행할 프로그램 혹은 배치 스크립트의 경로명을 입력합니다.
MonitorProcesses와 이 값 중에 하나는 반드시 입력되어야 합니다If Monitor Program does not exist, this is required and is able to insert both attributes

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.
One of the values of MonitorProgram and Monitor Processes must be inserted.

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.  
If user name is not specified, it is ignored.

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

응용프로그램을 사용할 수 있는 권한을 부여받은 사용자 계정입니다.
입력 값이 없으면 MCCS 서비스 실행 계정을 사용합니다. 
(기본=SYSTEM)

STRING

 O 

...

It is a user name which has received the permission to use the application. 
It is MCCS service account if there is no input value. 

STRING

System AccountO 

 

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.