17.08.2015 Views

Veritas Cluster Server Bundled Agents Reference Guide

Veritas™ Cluster Server Bundled Agents Reference Guide - Symantec

Veritas™ Cluster Server Bundled Agents Reference Guide - Symantec

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

112<br />

Services and applications agents<br />

GenericService agent<br />

Services are defined as resources of type GenericService. You can configure the<br />

GenericService agent to monitor multiple services by defining a resource for each<br />

service to be monitored. You can monitor a service in a user-context by specifying<br />

the user name, password, and domain. You can start and monitor services in the<br />

virtual computer context by enabling the UseVirtualName attribute.<br />

Configure a service group for GenericService agent using the Application<br />

Configuration wizard, described in the <strong>Veritas</strong> <strong>Cluster</strong> <strong>Server</strong> Administrator's<br />

<strong>Guide</strong>.<br />

This agent supports intelligent resource monitoring and uses Intelligent<br />

Monitoring Framework (IMF) for resource state change notifications. The agent<br />

traps the Windows service related events and takes appropriate action if a<br />

configured service stops or fails to respond.<br />

For more information about IMF, refer to the <strong>Veritas</strong> <strong>Cluster</strong> <strong>Server</strong> Administrator's<br />

<strong>Guide</strong>.<br />

Note: The service to be configured using the GenericService agent must have the<br />

status as Stopped and the startup type as Manual.<br />

Agent functions<br />

online<br />

offline<br />

monitor<br />

Starts the configured service.<br />

Stops the configured service.<br />

Retrieves the current state of the configured service. It also verifies the<br />

user context, if applicable.<br />

State definitions<br />

ONLINE<br />

OFFLINE<br />

UNKNOWN<br />

Indicates the service being monitored is online.<br />

Indicates the service being monitored is offline.<br />

Indicates the service operation is in a pending state, or that the agent<br />

could not determine the state of the resource.<br />

Resource type definition<br />

type GenericService (<br />

static i18nstr ArgList[] = {ServiceName, DelayAfterOnline,<br />

DelayAfterOffline, UserAccount, Password, Domain, service_arg,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!