Bug 895686 - [RFE] Generate a partition event when server goes down
Summary: [RFE] Generate a partition event when server goes down
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server, High Availability
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-15 19:14 UTC by Jirka Kremser
Modified: 2022-03-31 04:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Jirka Kremser 2013-01-15 19:14:53 UTC
Description of problem:
When RHQ server is starting the partition event of type OPERATION_MODE_CHANGE (DOWN -> NORMAL) is invoked. However, there is no dual event generated, when server goes down, so if user displays all partition events it is quite counterintuitive, because there is a lot of DOWN -> NORMAL events and no NORMAL -> DOWN event.

Method TopologyManagerBean.updateServerMode() or even better ServerManagerBean.establishCurrentServerMode() should be called in some AS shutwdown hook or registered an MBean implementing the StartupServiceMBean.stopService() could do the work. 

Version-Release number of selected component (if applicable):
4.6.0-SNAPSHOT

How reproducible:
always


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