- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: Duplicate entries in the R_ Tables
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 02:47 PM
10-07-2004 02:47 PM
Duplicate entries in the R_ Tables
This may have been covered before but I thought I'd tried the suggested fixes.
We've been running HPSIM 4.1 SP1 for quite a while.
Disabled WBEM as I'd seen this was contributing to duplicate reporting entries.
We added a new Server a few days ago.
Ran a report and found 8 entries for the new Server in the Inventory Report.
So, I queried the database directly using excel / msquery and selected all columns from the R_Inventory Table and just the Server I was interested in.
There's 10 entries, 8 of these have a SnapshotID of -1, the other two a 13 digit number. I can't see any difference in the remaining entries.
I've also seen comments about deleteing all Servers and re-adding them, well that is not appropriate here. We use the Historical Data and I stopped our old CIM 7 quite some time ago. The loss of Historical Data would be a real pain.
So, is there likely to be any improvement in the reporting from the Reports Tables in HPSIM 4.2?
Anything I can do in the meantime?
Any reason that there's multiple entries all over the place in the Reporting Tables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 08:21 AM
10-11-2004 08:21 AM
Re: Duplicate entries in the R_ Tables
I've been having similar problems -- I've been using the DB utilized by CIM/SIM in order to populate our own server DB (which we use to maintain inventory, among other things).
Part of the issue is the DB infrastructure between SIM 4.1 and CIM 7. In CIM 7, the R_ tables were exactly that -- tables. In SIM 4.1, the R tables are NOT actually tables -- they are VIEWS. The R_Inventory view in SIM 4.1 is derived from (I think it was) four tables, one of which is CIM_ComputerSystem.
I came across scenarios where this table seems to be picking up virtual server names and alternate names for machines. You might have multiple entries in the CIM_ComputerSystem table that are using the same NodeID (DeviceKey). Because the R_Inventory uses NodeID/DeviceKey to define its JOIN, you could have multiple R_Inventory entries but will see only one device name (because the R_Inventory view does not display the machine names in the CIM_ComputerSystem table).
I've been trying to find a workaround to this myself (so far, to no avail).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 08:25 AM
10-11-2004 08:25 AM
Re: Duplicate entries in the R_ Tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 08:38 AM
10-11-2004 08:38 AM
Re: Duplicate entries in the R_ Tables
Like I said earlier, one of the "slight" differences is that the CIM_ComputerSystem may have multiple name entries that have the same node ID. I've also noticed that these different entries (for the "same machine") may have different DeviceStatus, ProductType, or ServerRole entries -- just enough of a difference so that they're not unique entries.
I took the SQL code for the R_Inventory view and added the "distinct" keyword to it. Immediately, it dropped 100 rows. I also did a "group" and "order by" on the DeviceKey column, and added CIM_ComputerSystem.name next to the DeviceName column for sake of comparison; this was how I discovered it was picking up duplicate names for the same machine (including some names that I thought were long since dead).
I also read an earlier forum posting about how some net names are being picked up as IP addresses. I am getting some of these here as well, and in some cases, are contributing to this multiple line issue.
Like I said, I don't have a solution, but one of the ideas I'm considering (I have yet to actually try this) is to create a view on a separate database (since I don't want to do this on the SIM DB) that mimics the R table structure, creating some functionality to populate it, and modifying the scripts so it ignores the duplicate entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 08:01 AM
10-12-2004 08:01 AM