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.
Table of Contents
Adding
Add the Windows service resource to a group.
- 그룹 선택 - 마우스 우 클릭 - 리소스 추가를 선택합니다.
- 리소스 위자드에서 서비스를 선택하고 Next 버튼을 클릭합니다.
- 서비스 이름을 입력하면 해당 문자로 시작하는 서비스를 검색해 주고 리소스 이름도 추천해 줍니다.
[Figure] Adding service resource - Click 'Finish' button to add the basic application resource.
Deleting
Select resource type → right click → delete resource.
After deleting the service resource, service start type isn't reverted to the default value previous to adding as resource of MCCS.
After deleting it. go to the service tab (services.msc) and reset the setting.
(ex: Change the Start Type from 'Manual' to 'Auto'. Change the Status value from 'Stopped' to 'Started'.)
State
The following table explains the state of service resource.
윈도우 서비스 에이전트: Windows SCM (Service Control Manager)에 등록된 서비스를 직접 관리합니다.
State | Agent command | Description | Note |
---|---|---|---|
Online Windows service is running properly. | Offline | MCCS stops windows service. It has the same results as the following command line from CLI. | |
Monitoring | It monitors status of Windows service. It has the same results as the following command line for CLI. | ||
Offline Windows service is stopped | Online | MCCS starts Windows service. It has the same results as the following command. | |
Monitoring | It monitors status of Windows service. It has the same results as the following command line for CLI. | ||
Fault Windows service is not running properly. | Online | MCCS starts Windows service. It has the same results as the following command. C:\> SC START SERVICE_NAME EX) SC START SQLSERVER | |
Offline | MCCS stops windows service. It has the same results as the following command line from CLI. C:\> SC STOP SERVICE_NAME EX) SC STOP SQLSERVER |
Attribute
Show the specified attribute of process resource.
Attribute | Description | Type | Default | Edit | Note |
ServiceName | It is a name of the window 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 | ||
KillProcessName | Process should be killed at offline-timeout | STRING | O | ||
KillProcessTimeout | 지정된 프로세스가 강제종료될 때까지의 타임아웃을 나타냅니다. | INTEGER | 10 | 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.
윈도우 서비스 리소스를 등록할 경우, 해당 서비스는 자동시작이 중지됩니다.