Explanation for CMDB relationship between Server and Database?

Deepak Ingale1
Mega Sage

Hello,

Can someone help with business case and example to understand below two type of relationships between Server and Database

find_real_file.png

Also, I am confused between the CMDB class "Database Servers" and "Database Instance" since I am not sure what exactly database instance refers to.

How relationship can be established between these different classes like Server, Database Server, Database Instance.

1 ACCEPTED SOLUTION

OK, let's say you have two applications and each application needs access to the database.   However, each application is very strict on which patches can be installed on the database.   Let's call them app_one and app_two.



Now, let's say, in this hypothetical world, you have only one server on which to install the database.   Let's call this example.server.com.   example.server.com runs Windows 2008 R2 Datacenter.



You look at the databases software out there and decide on MSSQL.   You decide that you want to turn example.server.com into a database server, so you install MSSQL on the server.   You have to name the server in the install.   You name it MyDatabase.server.com.   You now have MyDatabase.server.com that is hosted on example.server.com.



You have two applications, each with the need to have different patch levels, etc.   You create two named instance, app_one_instance and app_two_instance.   Each now Run On MyDatabase.server.com, which in turn is hosted on example.server.com.



Now the apps can connect to their databases.   These apps depend on their instances be up and running.   In the end, you have something that looks like this:



find_real_file.png



find_real_file.png


View solution in original post

7 REPLIES 7

Dear all,



I am fairly new to ServiceNow and have this same question. Could I ask you please then how the Database Catalogs are different from the Database Instances? I have read that the Database Catalogs can be populated by Discovery into the instances but no relationship is established.


Database Catalog would sit underneath the database instance.   It is the metadata of the instance.


Community Alums
Not applicable
Hi Mike, am new to CMDB. I understand what ever you explained.i have one business requirement - we have servers (like Linux, windows, oracle e.t.c)and database instances(mysql,db2,sybase e.t.c) tables .now my requirement is both tables have common field as "qualified", when I checked the qualified field on server table if relation is there on db instance then the qualified field as checked on db instance. Probably this requirement getting through BR. How we it possible could you please explain me.