Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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
- When add a resource from a group name, select a group → right click → 'Add Resource'.
[Figure] Adding Resource in a group - Select 'Service' from Resource Type lists and click 'Next' button.
[Figure] Select resource wizard View - Next steps are same as adding in resource type.
Adding in Resource Type
- ResourceType → Right Click → Click Add Resource
[Figure] Adding Resource in a resource type - This is initial screen for adding service resource.
[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 view - Click "Finish" and service resource is added.
[Figure] Adding service resource is completed
Deleting
Select resource type → right click → delete resource.
Warning |
---|
After deleting the service resource, if another resource is added, the changed status values and start type will not revert to the original. |
[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).
Status | Agent command | Description | Note |
---|---|---|---|
Online Windows service is operating properly. | Offline | Terminates windows service. It has the same effects as the following command. | |
Monitoring | The status of Windows service is assessed. Refer to the results from running the following command. | ||
Offline Windows service is terminated. | Online | Windows service is started. It has the same effects as the following command. | |
Monitoring | The status of Windows service is assessed. Refer to the results from running the following command. | ||
Trouble Windows service is not operating properly. | Online | Windows service is started. It has the same effects as the following command. C:\> SC START SERVICE_NAME EX) SC START SQLSERVER | |
Offline | Terminates windows service. It has the same effects as the following command. C:\> SC STOP SERVICE_NAME EX) SC STOP SQLSERVER |
Attribute
[Figure] Window Service Attribute
Attribute | Description | Type | Default | Edit | Note |
ServiceName | It is a name of the window service to be monitored. | STRING | X |
...