Versions Compared

Key

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

 

Column
width350px
Panel

이 페이지의 주요 내용

Table of Contents
maxLevel4

 

정의

리눅스 서비스를 관리하는 에이전트입니다.

리눅스 서비스는 cron이나 iptables 같이 시스템 서비스 관리자(chkconfig)에 의해 관리되는 프로세스입니다.

리눅스 서비스의 몇몇 설정 값들은 대부분 유저가 정의한 값 그대로 사용하지만 MCCS 에이전트에 등록되면 2가지 값이 변경됩니다.

...

This agent manages Linux services. Linux service is a process managed by the system service manager (chkconfig) such as cron or iptables.
Several settings are the values defined by a user. But once it is registered in the MCCS agent, the two values
are changed.
Service start type is changed manually.(RunLevel 3, 4, 5 OFF)

...

리소스를 삭제해도 RunLevel 은 리소스 등록 전의 값으로 복구 되지 않습니다. 

Warning

서비스 에이전트는 서비스 상태를 모니터링 합니다.

서비스가 동작 중이라면 모니터링 결과로 0이 반환되고, 서비스가 정지되었다면 3이 반환됩니다.

만약 서비스 스크립트의 리턴 값이 기본값과 다르게 설정되어 있을 경우 모니터링 결과를 신뢰할 수 없습니다.

 

 

추가

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

그룹에서 추가 할 경우

...

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

...

삭제

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

  1. 삭제 메뉴를 선택합니다.
    Image Removed
    [그림] 리소스 삭제 화면

상태

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

서비스 에이전트: 리눅스 서비스들을 관리합니다. 서비스는 일반적으로 데몬으로 구동하는 프로세스입니다.

...

온라인

서비스가 정상 작동 중입니다.

...

서비스를 중지합니다.

...

서비스 상태를 파악합니다.

...

오프라인

서비스가 중지된 상태입니다.

...

서비스를 시작합니다.

...

서비스 상태를 파악합니다.

...

장애

서비스가 정상적으로 작동하지 않는 상태입니다.

...

It intends to manage starting and stopping in MCCS.
Even if you delete the resource, RunLevel is not reverted to the value previous to registration.

Column
width350px
Panel

Table of Contents

Table of Contents
maxLevel4

 

 

 

Adding

Add the service resource to a group.

Warning

A service agent monitors the service status.
If the service is operating, the monitoring results returned to 0. If the service is stopped, 3 is returned.
If the service script's return value is different from the default setting, you cannot trust the monitoring results.


 

  1. Select a group → right click → 'Add Resource'.

  2. Select 'Service' from Resource Type lists and click 'Next' button. When you add a resource from the service resource type name, this step will be skipped.

  3. Enter a service name and it will automatically search and suggest proper service name. 
    Select the service to be managed.

    Image Added
    [Figure] Search service resource and suggest name view

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

Warning

The service registered in MCCS will be automatically switched to "Manual Start".
After deleting the resource, the user needs to switch to "Manual Start".

 

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. 

Service agent: Manages the Linux services. In general, service is a process operated by daemon.

StatusAgent commandDescriptionNote

Online

Service is operating properly.

Offline

Terminate the service.

 
Monitoring

The status of service is assessed.

 

Offline

Service is terminated.

Online

Service is started.

 
Monitoring

The status of service is assessed.

 

Trouble

Service is not operating properly.

OnlineService is started. 
OfflineTerminate the service. 

 

 

속성

Image Removed

[그림] 서비스 속성 화면

...

ArgList 인수

...

설명

...

타입

...

ServiceName

...

Attribute

Display the unique attribute of service resource.

Attribute

Description

Type

DefaultEditNote

ServiceName

It is a name of the window service to be monitored.
If the service is operating, the monitoring results returned to 0. If the service is stopped, 3 is returned.
If the service script's return value is different from the default setting, you cannot trust the monitoring results.

STRING

 

Xfalse

 

속성값은 해당 리소스를 등록할 때에 입력된 값이며, '리소스 고유 속성'에서 값을 변경하거나 확인할 수 있습니다Attribute values 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.