Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This is managed Linux services. Linux service is a process that is 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, the two values
are changed.
Service start type is changed manually.(RunLevel 3, 4, 5 OFF) It intends to manage starting and stopping in MCCS.
Even if you delete the resource, RunLevel is not reverted to the default value previous to adding as resource of MCCS.

Table of Contents




Adding

Add the service resource to a group.

서비스 에이전트는 서비스 상태를 모니터링 합니다.
서비스가 동작 중이라면 모니터링 결과로 0이 반환되고, 서비스가 정지되었다면 3이 반환됩니다.
만약 서비스 스크립트의 리턴 값이 기본값과 다르게 설정되어 있을 경우 모니터링 결과를 신뢰할 수 없습니다.

  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 'Service' from Resource Type lists and click 'Next' button. When add a resource from the Service resource type name, this step will be skipped.
  3. Enter the service resource name.
  4. Enter the service name and it will automatically search and list up proper service name, and then select the service to be managed.

    [Figure] Adding service resource

  5. Click 'Finish' button to add the basic application resource.


Deleting

Select resource type → right click → delete resource.

The service added as resource in MCCS will be automatically switched to "Manual Start" of service start type.
After deleting the resource, the user needs to change the RunLevel to revert to default value.



State

The following table explains the status switching of the MCCS resource caused by a user's command and the status.

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

StateAgent commandDescriptionNote

Online

Service is running properly.

Offline

MCCS stops service.


Monitoring

It monitors status of service.

If the service is running properly, the '0' value is returned. If it is stopped, '3' value is returned. If the service script's return value is different to the default setting, the result is untrustable.


Offline

Service is stopped.

Online

MCCS starts service.


Monitoring

It monitors status of service.

If the service is running properly, the '0' value is returned. If it is stopped, '3' value is returned. If the service script's return value is different to the default setting, the result is untrustable.


Fault

Service is not running properly.

OnlineMCCS starts service.
OfflineMCCS stops service.



Attribute

Show the specified attribute of process resource.

Attribute

Description

Type

DefaultEditNote

ServiceName

It is a name of the Linux service managed by MCCS.

STRING


X
Arguments

It is the program argument. \r\nMore than one factor must use at least one space as an identifier.

When spaces are included in the factor, double quotation marks(" ") must be used. \r\nThe factor may not be longer than 80 characters.

STRING
O
KillProcessNameProcess should be killed at offline-timeoutSTRING
O

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.




  • No labels