Bug 536555 (RHQ-893)

Summary: Installer should check for existing, external db connections prior to commencing install.
Product: [Other] RHQ Project Reporter: Corey Welton <cwelton>
Component: InstallerAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WONTFIX QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.1preKeywords: FutureFeature, Improvement
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-893
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-07 16:01:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Welton 2008-09-25 15:11:00 UTC
1. Install RHQ, using HA, on two different servers, A and B
2. Attempt to reinstall an RHQ instance on server A.
3. View results:

Current results:
Installer hangs indefinitely due to the fact that another system (server B) is still using db.

Expected results
* This is mostly user error.  However, it would certainly be a nice addition to the installer to be able to determine if external db connections are being made to the db in question, and toss up a big ol' warning, telling the user that this is the case -- and perhaps reminding them to disable all other instances prior to continuing.

Something like
(!) Warning:  It appears that there are other active connections to this database.  Please assure that all other RHQ instances using this database have been shutdown, prior to continuing.


Other notes:
* I don't really expect this to be completed for 1.1.  I'm willing to lower priority, however, if RHQ-892 is implemented as a docs fix.




Comment 1 Jay Shaughnessy 2008-09-25 15:52:45 UTC
It would be easy, I think, to have the install fail if any registered server in the DB was in NORMAL operation mode. Throwing a decent exception reminding the user to shut down all instances.  Although, it's not clear to me why the install hangs.

Comment 2 Red Hat Bugzilla 2009-11-10 21:19:06 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-893


Comment 3 wes hayutin 2010-02-16 17:08:43 UTC
mass add of key word FutureFeature to help track

Comment 4 Corey Welton 2010-10-05 13:39:42 UTC
triaged 30-sep

Comment 5 Heiko W. Rupp 2013-12-07 16:01:42 UTC
Closing as outdated.