Watched Services
In contrast to the section Service Watcher, this section addresses the settings that the xSuite Bus show as it is to monitor the Windows Service installed. Settings relating to time and errors are made here. The following sections indicate the degree to which an xSuite Bus Windows Service can be monitored, and how to set this up.
Watched Service Settings
In this section, settings are made determining whether the service selected is to be monitored by the xSuite Bus Service Watcher and which settings are to apply during monitoring.
Tab "General"
This tab contains general settings for the Service Watcher, as follows:
Service Type: Type of service (Windows or IIS web service)
Name: Name of the xSuite Bus Service
Watch Enabled: Check box for setting whether the service is to be monitored by the xSuite Bus Service Watcher.
Kill Wait Timeout: Time in hours, minutes and seconds after which a service is restarted if the Service Watcher does not receive a response.
Notice
At delivery only the xFlowBusWindowsService is installed and set to Watch Enabled. All other services must be installed manually and set to Watch Enabled.
Only set a service to Watch Enabled if the service is installed.
Tab "Times"
Here you can make settings regarding the behavior of the selected xSuite Bus service as relates to time. You can set when the service is to be active and watched by the Service Watcher.
Processing Enabled: Check box that controls whether the service should be monitored in time.
Referenced Time: Schedules can be set up here. A preset schedule is delivered but individual schedules can be created too.
Timetable: Schedule in which the service is to be active. Twenty-four different times can be planned seven days a week. The standard setting for the service is 24 hours a day, seven days a week.
Action Details:
Expected State: Expected state of the service that is to be monitored (
None,Start,Running,Stop,Stopped, andError).Action: Action that is executed by the Service Watcher when the Status of the service differs. (
None,Start,ForceStart,Stop,ForceStop,Restart,ForceRestartandForceRestartGroup) .Watch Level: In this version of xSuite Bus Prism, this does not contain a function. It is reserved for future use.
Action Timeout: Time in hours, minutes, and seconds after a service has proven not reachable, triggering an action.
IIS Web Service Specific: Special settings that only apply to the IIS Web service. Windows Services are not affected by these settings.
Watched WebObject Type: Defines which level of the Web object in the IIS Web is to be monitored (
None,AppPool,SiteandAppPoolAndSite).
Tab "Refresh Times"
This tab is for setting whether and when a service is to be refreshed.
Processing Enabled: Check box that controls whether the service should be monitored and restarted.
Min Time Between Start Actions: Minimal amount of time in hours, minutes, and seconds permitted between two restarts. The default setting is 15 minutes.
Referenced Refresh Time: Reference value for the restart time. This refers to the schedule.
Timetable: Schedule for restarting a service.
Action Details: Details of an action that is to be performed when a designated point in time has been arrived at.
Action: Action that is executed by the Service Watcher when the Status of the service differs. (
None,Start,ForceStart,Stop,ForceStop,Restart,ForceRestartandForceRestartGroup)Watch Level: In this version of xSuite Bus Prism, this does not contain a function. It is reserved for future use.
Action Timeout: Time in hours, minutes, and seconds after a service has proven not reachable, triggering an action.
IIS Web Service Specific: Special settings that only apply to the IIS Web service. Windows Services are not affected by these settings.
Watched WebObject Type: Defines which level of the Web object in the IIS Web is to be monitored (
None,AppPool,SiteandAppPoolAndSite).
Tab "Memory Thresholds"
In this section, you can set which combination of CPU utilization and RAM a service may have. When this threshold value is surpassed, an action that has been set can be executed.
Processing Enabled: Check box that controls whether the service should be monitored and restarted.
Measure Time: Time during which the CPU and memory usage of the service is to be measured, in hours, minutes and seconds. This interval should not go beyond 10 seconds as the measurement uses so much disc space and other processes suffer.
Limits: This sets a threshold. The CPU may exceed the threshold and will not encounter an error as long as the RAM remains within it.
CPU Usage Percentage: CPU consumption expressed as a percentage. The service may not exceed this when CPU usage goes beyond the number of KBs set.
Working Set KB Size: Number of kilobytes in CPU utilization that the service may not exceed.
Action: Action that is executed by the Service Watcher when the Status of the service differs. (
None,Start,ForceStart,Stop,ForceStop,Restart,ForceRestartandForceRestartGroup).Action Timeout: Amount of time in hours, seconds and minutes, that the action is permitted to last before the action is seen as failed and the entire group of services is restarted.
Watch Level: In this version of xSuite Bus Prism, this does not contain a function. It is reserved for future use.
Tab "Message Queues"
Message queuing (MSMQ) is an application protocol provided by Microsoft within Windows by the Microsoft Message Queue Server. This message queue is used by the xSuite Bus Windows Services to register the capacity of the services in order to send a “sign of life” to the server. The xSuite Bus Service Watcher, in turn, accesses the message queue to find out whether the services to be monitored show a “sign of life,” i.e., an indication that the system is functioning properly. These settings must be made for the service and for the Watcher service so that the requests meet with this indication and affect the correct service.
This is where the Watcher settings are made for making requests to the Message Queue. If no response is sent back that the service is still active, the Watcher will execute an action.
You can select your settings from the following options:
Processing Enabled: Check box that activates the message queuing function of a service.
Name: Unique name of the service consistent with that of its message queue. This name must also be registered with the xSuite Bus Service Watcher.
Type: Here, you can specify whether the signal is an incoming message or an outgoing request.
In: Indicates that the Service Watcher is expecting a message from the MS Message Queue.Out/InOutandNone: The function exists but will not be made available until a later version of xSuite Bus Prism.
Enabled: Activates the connection to the message queue.
Max Fetch Count: Maximum number of messages allowed to be loaded simultaneously.
Messages: Use this section to determine the interval after which a service is considered no longer active and which action is then to be executed.
Message Type: At the moment, the only message type available is “Heartbeat.” The other message types will be activated in a later version of xSuite Bus Prism.
Timeout: If a message has not been received during this interval, the service will be designated as no longer active and the next action in the sequence will be executed.
Service Action: An action that is executed when it does not receive a sign of life. (
None,Start,ForceStart,Stop,ForceStop,Restart,ForceRestartandForceRestartGroup).Action Timeout: Time span in hours, seconds and minutes, that the action is permitted to last before the action is seen as failed and the entire group of services is restarted.
Watch Level: In this version of xSuite Bus Prism, this does not contain a function. It is reserved for future use.
Expiration Time: The function exists but will not be made available until a later version of xSuite Bus Prism.
Watched Service Client Settings
After the settings required for the communication between the xSuite Bus Service Watcher and the Microsoft Message Queue, the settings of the Service Queue service are described below.
Tab "General"
In this tab, the monitoring for writing to the message queue is activated.
Processing Enabled: Activates the function for writing in the Microsoft Messaging Queue.
Tab "Message Queues"
Message queueing (MSMQ) is an application protocol from Microsoft that provides message queues. It is provided in Windows by the Microsoft Message Queue Server. This message queue is used by the xSuite Bus Windows Services to register their capacity in order to inform the server that they are still active. The xSuite Bus Service Watcher, for its part, accesses the message queue to find out whether the services to be monitored still react. These settings must be made for the service and for the Watcher service so that the requests meet with this indication of working order and trigger the correct service.
The following settings can be made for the service to be configured:
Processing Enabled: Activates the function for writing in the Microsoft Messaging Queue.
Name: Unique name of the service consistent with that of its message queue. This name must also be registered with the xSuite Bus Service Watcher.
Type: Here, you specify whether the signal is an incoming message or an outgoing request.
Out: Service-Watcher writes a message to the service queue.In/InOutandNone: The function exists but will not be made available until a later version of xSuite Bus Prism.
Enabled: Activates the connection to the message queue.
Messages: Configures the messages to the message queue.
Message Type: Type of message that is sent to the message queue. At the moment, the only message type that is supported is Heartbeat.
Timeout: When a message is not sent to the message queue, the defined interval after which it will time out; expressed in hours, minutes, and seconds.
Expiration Time: Gap between two notifications, interval expressed in hours, minutes, and seconds.