Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Orphaned Resources

$
0
0
I'm using Hyperic HQ 3.2.4.  I have a few question related to orphaned resources.

1) Are there any standard ways to remove orphaned resources and measurements from the db via the web UI? If not, is there a standard way of doing it via SQL commands?  I am currently purging a few of the db tables using SQL commands but want to be sure that these are all the tables that require cleanup.  I am basically using the SQL statements in org/hyperic/tools/ant/dbupgrade/SST_RemoveOrphanedResources.java.  This may be a desirable feature to add to the admin web UI if a lot of people require this.

2) I noticed that there is some code related to cleaning up orphaned measurements in using the findOrphanedMeasurements() method in org/hyperic/hq/measurement/server/session/MesasurementDAO.java.  What I find odd about this class is that it looks for orphaned measurements in the table named "Measurement" which does not exist in my db. Is this expected?  I only have a table called EAM_MEASUREMENT which I assume is the name for a table which has replaced the other one over time.  When I search through the HQ trunk soruce with the following grep command (i.e. "grep -i "FROM Measurement" * -R | grep -v .svn") I find several references to this table which makes me think this source hasn't been updated or I am missing something on my end. Also I see no reference to a table called "Measurement" in the documentation at this link http://support.hyperic.com/display/DOC/HQ+Database+Table+Schemas#HQDatabaseTableSchemas-EAMMEASUREMENT.

Any clarity on these issues would be appreciated.

Thanks,
Trevor

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>