logo

NJP

#2 What is CMDB Architecture in ServiceNow | ServiceNow CMDB Training

Import · Jul 05, 2021 · video

[Music] please subscribe to my channel and click on the bell icon to get the regular updates of my channel and do not forget to like comment and share hello guys welcome back to sas with servicenow this is part of servicenow cmdb training in this video you will learn about cmdb architecture and its capabilities let's understand the architecture of cmdb in servicenow here is the diagram of cmdb architecture we have cmdb in servicenow which has different configuration item tables cmdb gets the data from external systems via different ways like discovery application which is a service now application and easily populate data of different devices in the network in cmdb tables another way is servicenow apis which can be used to push data into servicenow cmdb tables with the help of integration then you have service mapping which is again a service now application which can be used to populate underlying services in cmdb tables once data is received by servicenow then it is processed by platform engines like reconciliation engine which identify and reconcile the data overall match the data for different ci rackets and data is inserted into right cmdb tables servicenow provides some dashboard and features which are used to monitor the cmdb which includes health data quality and accuracy which can be monitored by health dashboard connection between different ci records via dependency view managing class of cis via ci class manager let's see the capabilities of cmdb in service now ci update history when a particular ci is updated multiple times and you want to check what kind of details were updated then you can check ci update history this is my personal developer instance in order to see ci update history we will directly go to the ci record any ca racket for that i will type here configuration so that i can directly go to the ci so here we have applications and we will open any ci like this one application linux now once you will open the ca racket you have to click on this burger icon you have to click on this and when you click on that you will see this history and then you have to click on timeline when you will click on that this will show you the whole ci history that when exactly the ci was updated you can see here it was updated says unplanned change properties changed so properties were changed on this particular day so you can see here what things were changed you can see old value and new value basically if i'm not wrong i think it was created at that point of time that's the reason you only have new value not old value now what we will do we will try to go back and here i will maybe i will change this version and i will make it six point maybe we will make it seven point zero if i will make it seven point zero and if i click on save now i am doing this manually and now if i go to history and click on timeline the same change which i just did you will see this in this timeline as well so you can see here it says here third of july and you can see what exactly i changed so it is saying old value was a version that is 6.0 and now the new value is 7.0 and if i go back i think i can show that as well maybe i will select all and here so here i think it was just created so if i click this you can see that what all fields were changed ideally it was created at that point of time but now i change something so i can also see that so here you can see on this particular date that is third of july and you can see i have changed the old value here and that's how you can see the ci update history that when exactly that particular ci was changed was updated and what all fields were updated that is also you can see in this ci update history the next capability we have in cmdb is cmdb dashboard as i mentioned earlier servicenow also provides out-of-the-box dashboard to monitor data quality and accuracy cmdb dashboard cmdb view is one of the dashboard which shows the different results after analyzing the data in different tables of cmdb you can access cmdb dashboard in configuration application and in configuration application you will see this separator this section called cmdb dashboard where you can see different dashboard related to cmdb now this is the one which i was talking about cmdb view basically it shows the dashboard cmdb dashboard from a cmdb view perspective where you can see different metrics which basically tracks which basically monitors the information about cmdb now you will see a lot of any and the reason behind it because we are not running uh the assessment as of now in this instance in this personal developer instance and i can show you that so if i click here cmdb health dashboards jobs now this particular show you because these jobs basically runs and they track and access the whole data and then they populate the data in this dashboard so you can see all these jobs are false as of now and these are basically cmdb health dashboard schedule jobs so if you have cmdb in your organization in servicenow and you have to see data in this dashboard cmdb health dashboard then you should definitely activate it first and then once it will run it it will definitely access the data from all the tables whatever data you have in your cmdb and then it will populate the results in these different widgets we have like cmdb hierarchy you have cmdb health scorecard completion uh completeness scorecard compliance scorecard now all these information which is being visible here we will definitely talk about this in later sections and later videos as of now we just i just want to show you the capabilities what exactly you can do in cmdb of service now where you can you can see we have duplicate ci's orphan ci's stale cis uh top incident generators what lcis like we create a lot of incidents for those particular configuration items then you also have relationship health because cmdb has a relationship that means one ci is related with another ci now how exactly uh the health is how the data is whether it's any duplicate relationship is there any orphan relationship is any stale relationship that you can see in this one dashboard but the main point is you can see as of now it is there's no data available moreover we can't see much data in personal developer instance however in order to see the data as i mentioned earlier you have to basically make these jobs enabled that's that then these jobs will run and assess the data and populate those results in these different tabs which you have for this dashboard servicenow also provides a great feature of cmdb for reporting which is kind of advanced reporting designed as per structure of cmdb tables and that is cmdb query builder the cmdb query builder allows you to easily build complex infrastructure and service queries for multiple cmdb classes and tables you can also query on the basis of relationships between different ci rackets you can access cmdb query builder under configuration application so when you will go to configuration application here you have cmdb query builder and you will click on that this will open the query builder in a new tab where you can do different queries you can do different reportings you can do different type of data now this module is not similar to what you do in reports module in service now the reason this was developed because cmdb is quite complex because it has different relationships runs on hosted on all those different relationships so it's it's really important to have a robust way so that you can query different type of data and that is how this particular application was created by servicenow cmdb query builder so as of now i have not created any query yet so this is the cmdb query builder now we will have a separate section just for cmdb query builder that how you can create different types of complex queries in cmdb query builder but i will still show you one uh query maybe we'll just create a one so here i will click on create new it will ask you so maybe i will just demo first query and then we have cmdb query and then we have service mapping query so two type of query you can run so we will go for cmdb query i will click on create now here you have different you can say elements of this particular ui where you can create the query but you can select the data as well here so here you have data let's say if i want to run something on applications if i expand this maybe i will go for active directory service if i maybe i will just pull it here but that's how you can select that so now if you want to create query for all active directory servers so this is the type of class we have so you can start from here and then you can definitely keep on add different different basically different classes here as well and once you will run that it will definitely give you the report so as of now if i pull this and if let's say what what exactly it does if i run this so it is running the query let's see what exactly data you will get so as of now i have just pulled active directory service and it is saying me that it has continued blocking no i will definitely allow i will click on this run again because i should not block that pop-up so when i will run this it is still running and it has okay so it is it will show me the data here but it seems like i don't have any any data maybe i will select any other other class maybe i will select let me go for applications here and if i run this let's see what kind of data i will get from this so it is running the query and yeah you can see i've got all different uh applications which are available in this instance as of now just 16 applications and i think you can also see directly from instance as well if i go to applications yes you can see so that's how so as of now i just selected one class but as i mentioned you can definitely have a lot of reporting you can make complex queries so we will definitely see that in a separate section dedicated section for cmdb query builder but overall this is another capability of servicenow cmdb ci class manager you can use ci class manager to manage cmdb classes cmdb health and other class related definitions you can manage basic information of the class attributes identification rules reconciliation rules suggested relationships and different health configurations as well you can access ci class manager under configuration application and here we have the ci class manager if i click on this it will open in the same tab not a new tab so here we have this ci class manager you can click here as well to open the hierarchy and you can click here as well so if i click on this now this will show me the whole hierarchy of cmdb now how exactly that cmdb what different tables you have what different classes you have so here you can see it start with configuration item and we have around like 200 2784 classes and if i go to applications it says 16 that means it has 16 data like 16 records and here if you will see we have basic info now what all different information you see here what exactly you can you can do basically as i mentioned ci class manager is just to manage the classes to define the classes in servicenow for cmdb so you can see you can change some basic details basic info that dot that particular class and then you can see attributes that what different attributes we have as you can see we have around 92 attributes a lot of them are definitely inherited from configuration item that is cmdb underscore ci and then we have identification rule so you can definitely create identification rule manage identification rule as well we will learn about these things in details later but i just wanted to show you that what exactly what kind of kind of capability you have uh in in this ci class manager so then you have those dependent relationships you can also manage that as well if you want to change the dependency relationships between different ci's you have you can also edit or manage reconciliation rules as well and then you also have suggested relationship that for a particular cia class what kind of relationships registered relationship you have you can see here that if you have an application it should be dependent on a service it should receive the data from a service it should depend on storage server database and it should run on a windows server a server or a unix server it's just the suggested relationships as a as a as a cmdb architect if you are managing then you should definitely see all these suggested relationships and then we have this all relationship rules whatever different rules we have that you can see here then you can also manage health as well like completeness compliance correctness health inclusion rules and then you also have ci list now this will show you what all different ci's you have in this particular class and as of now you can see we have 16 record that means 16 configuration items in this particular class so that's that's how you can use ci class manager even this particular section like this particular capability will have a dedicated video and you will learn about it how exactly you can manage and work in ci class manager to manage your different ci's different ci classes in your instance cmdb access now who can access cmdb table rackets users who have cmdb underscore read role and itel role can read data stored in cmdb tables now this is just for reading however if you want to perform additional operations on cmdb then you should have additional cmdb roles who manages cmdb cmdb is managed by cmdb process owners as cmdb works as a foundation data for different processes process owners can work with cmdb architects to define the structure of data they need for different processes like incident change and problem so that organization can use power of cmdb effectively cmdb data now servicenow provides servicenow cmdb provides different capabilities to populate accurate data in cmdb tables discovery application import sets integration with external systems now we will learn about all these different data sources in further videos of this series thank you for watching this video and have a great day

View original source

https://www.youtube.com/watch?v=D5hzOJMl6u8