Versions Compared

Key

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

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. 

Column
width350px
Panel

Table of Contents

Table of Contents
maxLevel4

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.

...

Add the Windows service resource to a group.

  1. When add a resource from a group name, select a group → right click → 'Add Resource'.
    Image Removed 
    [Figure] Adding Resource in a group

  2. Select 'Service' from Resource Type lists and click 'Next' button. 
     Image Removed
    [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
    Image Removed
    [Figure] Adding Resource in a resource type
    This is initial screen for adding service resource.
    Image Removed
    [Figure] Adding Service resource view
    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 viewService Resource Added


  2. Click "Finish" and service resource is added.
    Image Removed
    [Figure] Adding service resource is completedthe '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'.)

...

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

 

TroubleFault

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
 

 

 

Attribute

Image Removed

[Figure] Window Service AttributeDisplay 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 

...