- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 12:24 PM
There now seems to be two out-of-the-box MS SQL Database classes in the CMDB. The original was cmdb_ci_db_mssql_catalog which extends the cmdb_ci_db_catalog table. If I recall correctly, I think MS SQL discovery used to put MS SQL Databases in this table.
Now there is also cmdb_ci_db_mssql_database which extends the cmdb_ci_db_instance table. It looks like discovery may now be populating this new table instead of the older catalog table.
What is the difference between these two classes that appear to be for the same thing? When should one be used over the other? Is the older catalog version of the database deprecated now, or are they both intended to be used, but in different circumstances?
Solved! Go to Solution.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2017 02:22 PM
OK, I had a call with ServiceNow. It looks like it is transitioning from the old catalog table to the new table partly due to a snafu with development. The old probe and sensor discovery model in use before Jakarta uses the old catalog table. The newer pattern based discovery model used in Jakarta will use the new table instead.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 09:13 PM
Hi Lyle,
ServiceNow contains:
- Database servers
- Database instances
- Database catalogs
Database server is a logical entity, not physical, it may have a relationship (or runs on) to a physical(or virtual) server and maybe a relationship like (or used by) to a logical application or business service.
Database instance is related to Database as an instance of as you would have different instances of the DB (PROD, DEV, UAT, etc) and it would also have a RUNS ON relationship to a physical or virtual server. A database on a server can have multiple instances, slivers of that database.
Discovery does gather Database Instance information and in some cases, Database Catalog information. Database Catalog would sit underneath the database instance. It is the metadata of the instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2017 05:03 PM
Thanks for the reply Marlos. ServiceNow was never able to explain the real purpose of the Database Server CI, so we have left that alone. The Database Instance CIs actually represent running processes on a server. When an MS SQL or Oracle process is discovered, it creates MS SQL Instance or Oracle Instance CIs accordingly.
That is all well and good, and we have no difficulties or issues there. However, in the case of SQL Server, the databases being served up by an instance appear to have two classes that could contain them, and it appears that discovery has changed which class is being populated. The original class was the one that extends the database catalog base class. However, the one being populated now extends the database instance class which extends the Application class, which does not make sense to me, since the Application class appears to be there to represent running processes, and an MS SQL Database is not a running process but rather data (or metadata) being managed and served up by the related instance.
So, the question is why the new class? What's the difference between them?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2017 02:22 PM
OK, I had a call with ServiceNow. It looks like it is transitioning from the old catalog table to the new table partly due to a snafu with development. The old probe and sensor discovery model in use before Jakarta uses the old catalog table. The newer pattern based discovery model used in Jakarta will use the new table instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2017 08:40 AM
Thanks for this. I finally looked at the table name because it didn't jive with the entry in the navigation pane and see there is a different table referenced now.