Versions Compared

Key

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

 

Section


Column

An application is similar to Process resource,  but 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 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.복합 응용 리소스는 MCCS가 프로그램을 시작, 종료하고 그 상태를 감시할 수 있는 리소스입니다.

기본 응용 리소스와 비슷하지만, 일반적인 프로세스 실행뿐만 아니라 스크립트를 사용하여 보다 복잡한 처리와 조합이 가능합니다.
그리고 복합 응용 리소스는 시작, 종료, 모니터링을 위한 실행경로를 각각 지정해 줄 수 있습니다.

배치 스크립트를 사용하여 프로그램을 실행하는 이유는 서비스 응용프로그램처럼 시작하는 프로그램과 실행중인 프로세스 이름이 다른 경우라도 모두 처리가 가능하도록 하기 위해서 입니다.
경우에 따라 실행 중인 프로세스 목록에서 프로세스 존재를 감시(existence test)하는 것뿐만 아니라 프로세스가 제대로 서비스를 하고 있는지도 감시(response test)해야 합니다.
이러한 일을 유연하게 처리하기 위해서 배치 스크립트를 활용할 수 있으며 복합 응용 리소스에서는 스크립트를 입력할 수 있습니다.
기본 응용과 마찬가지로 복합 응용에서도 기본적으로 시스템 계정으로 실행이 되지만 User, Password, Domain 속성을 이용하여 특정 사용자계정으로도 실행이 가능합니다. 


Column
width350px


Panel

Table of Contents

Table of Contents
maxLevel4



...

  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.
  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.
  3. Enter the resource name and the pre-scripted file name for start, stop and monitoring with full path or click the  to browse the file, or click the  to create user defined script file.
  4. Enter the process name where listed in task manager of Windows O.S for monitoring target into MonitorProcesses box.

    Info
    1. 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.
    2. 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.
    3. The default Execution Account of the process is Account running MCCS. If the resource runs specified account, you can select Specify Account and enter account informations such as domain, user account and password.


    [Figure] Adding application resource

  5. Click 'the "Finish' " to add the application resource.

Deleting

Select resource "Resource type" → right click → delete resource.

...

The following table explains the state of application resource.복합 응용 에이전트: 일반적인 어플리케이션 항목을 관리합니다.
기본 응용보다 복잡하고, 더 많은 확장성을 제공하여 애플리케이션, 서비스 등을 관리합니다

Applications 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.


위에 모니터링 명령 설명 참조
StateAgent commandDescriptionNote

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 속성에 등록된 스크립트를 실행합니다.
스크립트로 감시할 경우에는 종료값이 0 일 경우 성공, 그 외의 경우에는 실패를 의미합니다.
MonitorProcesses 속성에 등록된 프로세스 목록으로 감시할 경우 리스트에 등록한
모든 프로세스가 구동 중일 경우 성공, 그렇지 않으면 실패를 의미합니다.
프로세스 목록과 스크립트를 모두 등록할 경우에는 2 가지 조건을 모두 만족해야만 성공을 의미합니다.
프로세스 목록이 없거나 스크립트가 성공이 아니라면 실패로 간주하게 됩니다Runs a script registered for the MonitorProgram attribute. In the case of monitoring with a script, the "0" results indicates success and the others means failure. 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 속성은 배치 스크립트를 사용하여 기본 응용 리소스보다 유연하게 프로그램을 실행할 수 있습니다.
잘못된 경로를 입력한 경우에는 MCCS가 에러 로그를 출력하고 리소스를 사용할 수 없게 합니다.

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

DefaultEditNote

Domain

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

STRING


O

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 : e.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'.

 MonitorProcesses 속성값과 MonitorProgram 속성값 중 하나는 반드시 필수로 입력해야 합니다.
두 속성을 모두 입력할 수 있으며, 두 속성 모두 만족해야 온라인 할 수 있습니다.

MonitorProgram

At least either MonitorProcesses or MonitorProgram should be input.

It is available to input values of both attributes all; and it is essential to satisfy with both attributes in order to online.

MonitorProgram

It is program or script based file for monitoring an object.

FILE


O

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

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. 
It is MCCS service account if there is no value. 

STRING

System AccountO

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.