Bug 536307 (RHQ-671) - agent failover mechanism
Summary: agent failover mechanism
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-671
Product: RHQ Project
Classification: Other
Component: Agent
Version: unspecified
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact: Corey Welton
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: RHQ-644
TreeView+ depends on / blocked
 
Reported: 2008-07-14 19:44 UTC by Joseph Marques
Modified: 2009-11-10 21:22 UTC (History)
0 users

Fixed In Version: 1.1
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Joseph Marques 2008-07-14 19:44:00 UTC
* agent must receive and store an ordered list of servers to connect to
* agent needs to be able to detect when it's currently connect server goes down, and switch to one of its backups
* after switch to backup server happens, agent needs to sit and wait for a green light from the server, because the server needs to perform some work on its side to get ready for this agent, notably warning up the alerts cache (but potentially others)

Comment 1 Joseph Marques 2008-08-10 02:30:10 UTC
rev1207 - implement a value object / transfer object pattern with FailoverListComposite; 
added FailoverListManager to act as a centralized interface for manipulating these objects (with LookupUtil piece to expose it); 
agent registration (found in CoreServerServiceImpl) now generates a FailoverListComposite and adds it to the AgentRegistrationResults;
the agent takes the results (found in AgentMain) and adds the FailoverListComposite to its agent configuration, which persists it through restarts; 
wrote new FailoverPromptCommand to display the results of the most recent failover list received from the server cloud (and added necessary i18n tokens for it); 

Comment 2 John Mazzitelli 2008-09-12 00:32:38 UTC
rev1435 is the first attempt at this

Comment 3 John Mazzitelli 2008-09-13 03:04:35 UTC
rev1447 completes the initial HA implementation.  let the testing begin!

Comment 4 Red Hat Bugzilla 2009-11-10 21:14:27 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-671



Note You need to log in before you can comment on or make changes to this bug.