Versions Compared

Key

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

...

Section

 

Column

An agent is a program designed to manage the resources.
Each resource type has a corresponding agent. Agents control resources according to its state. The agent aware the resource state and communicates them to MCCS.
A resource cannot be brought online or taken offline without an agent, and the actions required to do either differ from resource to resource. 
For an example, filesystem will be mounted, unlocked, and have the write access to make a disk resource online. However, to make a process resource online is to execute the program.
MCCS agents are multithreaded which means a single agent manages multiple resources of the same resource type on a node
MCCS provides the following agents.

 

Column
width350px

 

Panel

Table Of Contents

Table of Contents
maxLevel4

 

 

Agent State Change

Agent State

Agent state can be checked from agent state value from resource state view of detailed information panel.

Agent State

State Description

Detached

It is in disabled state where agent thread hasn't started yet, therefore resource is not monitored yet.
In this case, Enabled value is false in the resource attribute.

Opening

It is preparing to monitor where resource is enabled. 
Enabled value has been changed to true in the resource attribute.

Probing

It is probing and verifying stage where the resource is ready to be used.

Online

Resource is in Online state and is being monitored.

Offline

Resource is in Offline state and is being monitored.
When resource is taken offline for failure, agent considers its state as Offline.

GoingOffline

Agent is taking offline a resource which it is online state.

GoingOfflineWait

It is a state command which agent takes online a resource was completed and resource is ready to offline state.

GoingOnline

Agent is bringing online a resource which it is offline state.

GoingOnlineWait

It is a state command which agent brings online a resource is completed and resource is ready to online.


Agent State Change

When a resource has been enabled, an agent will start monitor a resource after probing. 
After determining the state based on the results of the monitoring, agent gets the command and its state will be changed. 
Below is the flow of the change of agent state. 

...