Versions Compared

Key

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

...

Section

이 페이지의 주요 내용

Column

 

Column
width350px
Panel
Table of Contents
maxLevel4

 

정의

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

This is managed Windows services
Window Services is a process that is managed by SCM(Service Control Management)

...

SCM에 의해 관리되는 서비스로는 커널 드라이버까지 포함되어 있지만 MCCS 에이전트에서는 드라이버를 다루지 않습니다.

흔히, MS-SQL이나 Oracle 같은 소프트웨어를 다룰 때에 사용할 수 있습니다.

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

서비스의 시작 유형이 수동으로 변경되며 복구 방식에서 실패 이후 동작하지 않도록 변경됩니다. 이것은 MCCS에서 시작/중지 및 재시작을 관리할 수 있도록 하기 위함입니다.

 

 

추가

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

그룹에서 추가 할 경우

...

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

...

삭제

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

Warning

서비스 리소스 삭제 시 리소스를 추가하면서 변경 된 상태값 및 시작유형은 기존 값으로 돌아 오지않습니다.

삭제 후 서비스창(services.msc)에서 기존 설정값으로 변경하시기 바랍니다

(ex: 시작유형 '수동'에서 '자동'으로, 상태값은 '중지됨'에서 '시작됨')

Image Removed 
[그림] 리소스 삭제 화면

상태

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

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

...

온라인

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

...

윈도우 서비스를 중지합니다. 다음 명령과 동일한 효과를 갖습니다.

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

...

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. 

Column
width350px
Panel

Table of Contents

Table of Contents
maxLevel4

Adding

Add the Windows service resource to a group.

  1. When add a resource from a group name, select a group → right click → 'Add Resource'.

  2. Select 'Service' from Resource Type lists and click 'Next' button. 

  3. Enter service name and it will automatically search and suggest proper service name.
    Select the service to be managed.
    Image Added
    [Figure] Service Resource Added


  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

After deleting the service resource, if another resource is added, the changed status values and start type will not revert to the original.
After deleting it. go to the service windows (services.msc) and reset the setting.
(ex: Change the Start Type from 'Manual' to 'Auto'. Change the Status value from 'Stopped' to 'Started'.)

Image Added 
[Figure] Delete resource view 



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.

Windows service agent: Directly manages the service registered in Windows SCM (Service Control Manager).

윈도우 서비스를 시작합니다. 다음 명령과 동일한 효과를 갖습니다
StatusAgent commandDescriptionNote

Online

Windows service is operating properly.

Offline

Terminates windows service. It has the same effects as the following command.
C:\> SC STOP SERVICE_NAME EX) SC STOP SQLSERVER

 
Monitoring

The status of Windows service is assessed. Refer to the results from running the following command.
C:W> SC STATUS SERVICE_NAME EX) SC STATUS SQLSERVER

 

Offline

Windows service is terminated.

Online

Windows service is started. It has the same effects as the following command.
C:\> SC START SERVICE_NAME EX) SC START SQLSERVER

 
Monitoring

The status of Windows service is assessed. Refer to the results from running the following command.
C:W> SC STATUS SERVICE_NAME EX) SC STATUS SQLSERVER

 

장애

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

온라인

Fault

Windows service is not operating properly.

OnlineWindows service is started. It has the same effects as the following command.
C:\>
SC START SERVICE_NAME EX) SC START SQLSERVER
 
오프라인 윈도우 서비스를 중지합니다. 다음 명령과 동일한 효과를 갖습니다OfflineTerminates windows service. It has the same effects as the following command.
C:\>
SC STOP SERVICE_NAME EX) SC STOP SQLSERVER
 

 

 

속성

Image Removed

[그림] 윈도우 서비스 속성 화면

...

ArgList 인수

...

설명

...

타입

...

ServiceName

...

Attribute

Display the unique attribute of Windows service resource.

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.

 

Info

If you register the Windows service resource, the service will not be automatically started.