Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

« Previous Version 23 Next »

 

This is managed Windows services
Window Services is a process that is managed by SCM(Service Control Management) of Windows O.S. The service managed by SCM includes kernel driver but those are not managed by MCCS agent.
Commonly, it can be used when dealing with package software like MS-SQL or Oracle DB.
Most of the setting values of Window Services are defined by the user are maintained except two values when these are managed by MCCS windows service agent.
Startup of service will be changed manually and will be changed not to do any action after failing from recovery.This delegates service start/stop/restart to MCCS.

이 페이지의 주요 내용

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. hen add a resource from a group name, select a group -> right click -> 'Add Resource'.
     
    [Figure] Adding Resource in a group

  2. Select 'Service' from Resource Type lists and click 'Next' button. 
     
    [Figure] Select resource wizard View

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

Adding in Resource Type

  1. ResourceType - Right Click - Click Add Resource

    [Figure] Adding Resource in a resource type

  2. This is initial screen for adding service resource.

    [Figure] Adding Service resource view

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

    [Figure] Search service resource and suggest name view

  4. Click "Finish" and service resource is added.

    [Figure] Adding service resource is completed



Deleting

Select resource type - right click - delete resource

서비스 리소스 삭제 시 리소스를 추가하면서 변경된 상태 값 및 시작유형은 기존 값으로 돌아오지 않습니다.
삭제 후 서비스창(services.msc)에서 기존 설정 값으로 변경하시기 바랍니다
(ex: 시작 유형 '수동'에서 '자동'으로, 상태 값은 '중지됨'에서 '시작됨'으로 변경)

 
[Figure] Delete resource view 



State

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

윈도우 서비스 에이전트: Windows SCM (Service Control Manager)에 등록된 서비스를 직접 관리합니다.

상태Agent 가능 명령설명비고

온라인

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

오프라인

윈도우 서비스를 중지합니다. 다음 명령과 동일한 효과를 갖습니다.
C:\> SC STOP SERVICE_NAME EX) SC STOP SQLSERVER

 
모니터링

윈도우 서비스 상태를 파악합니다. 다음 명령으로 인한 결과 값을 참조합니다.
C:W> SC STATUS SERVICE_NAME EX) SC STATUS SQLSERVER

 

오프라인

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

온라인

윈도우 서비스를 시작합니다. 다음 명령과 동일한 효과를 갖습니다.
C:\> SC START SERVICE_NAME EX) SC START SQLSERVER

 
모니터링

윈도우 서비스 상태를 파악합니다. 다음 명령으로 인한 결과 값을 참조합니다.
C:W> SC STATUS SERVICE_NAME EX) SC STATUS SQLSERVER

 

장애

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

온라인윈도우 서비스를 시작합니다. 다음 명령과 동일한 효과를 갖습니다.
C:\> SC START SERVICE_NAME EX) SC START SQLSERVER
 
오프라인윈도우 서비스를 중지합니다. 다음 명령과 동일한 효과를 갖습니다.
C:\> SC STOP SERVICE_NAME EX) SC STOP SQLSERVER
 

 

 

Attribute

[Figure] Window Service Attribute


Attribute

Description

Type

DefaultEditNote

ServiceName

It is a name of the window service to be monitored.

STRING

 X 

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.

 

윈도우 서비스 리소스를 등록할 경우, 해당 서비스는 자동시작이 중지됩니다.

  • No labels