Service Mapping: Display CI's on the map.

adminreg
Giga Contributor

Hello. I'm building a map of my Business service now and can't understand one thing.

I have discovered a host and got a list of services on it(Apache, MySQL). Then I have created a new Business Service and configured relationships between CI's and BS using "CI Relationship" table. In the end I had got a map on "Dependency view map" with all necessary CI's and their relationships with Business Service.When I'm trying display Business Service map through the entry point I am getting a map without configured related CI's. If I add specific CI using   "Add manually connection" CI   will be added to the map.

How should I create Business Service map? Why doesn't it display if it's already configured via CI Relationship table?

1 ACCEPTED SOLUTION

vNick
ServiceNow Employee
ServiceNow Employee

These are 2 different tables / CI types.   The Service mapping entries only populate the map when you have discovery patterns defined for the entry point that go out and do application mapping (not just horizontal discovery).   The patterns create or update CI's with additional information and then create connections to the next CI based on configuration data (versus just netstat relationships).   The manual services just use the data and relationships found during horizontal discovery and will only show in the manual services once you create them like you just seem to have done.



They can both be used as a business service, but are defined in these different places.   If you make it operational, it will still show on the event management dashboard just like an auto-discovered service would (or a technical service for that matter).


View solution in original post

6 REPLIES 6

vNick
ServiceNow Employee
ServiceNow Employee

Hello - the service mapping module / functionality is based on ServiceNow evaluating configuration settings of CI's involved in the business service.   This is much different than the dependency view that shows all relationships to a CI regardless of whether or not those relationships are part of any specific business service (they're probably part of many).



The best way to accomplish what you're looking for (if you don't want to create service maps using the pure service mapping functionality, which is the more comprehensive way) is to use a manual service under the event management module.   From there you can define a business service, then create a relationship from the business service (click the plus sign in the Related Items list for the service and then click "Depends On" relationship... you can then "query" for the entry point CI you want, then check the box next to it, then click the "+" sign under Relationships below the CI list and Save and Exit.   You then click Populate back on the main service definition form and you should see the CI and it's relationships on the map.



Create a manual service


adminreg
Giga Contributor

Hi, Nick. Thanks for reply. I have got the result which I expected. "Manual services" is mapping all CI's, all relationships beetwen items and BS. But when I go to Business service > Service mapping > Click on the name of BS and select "View map", I don't see the same result on the map as well as "Manual Service". I see only entry point(web link) which linked to Apache Web Server. Other items didn't appear. Why does this happen?


vNick
ServiceNow Employee
ServiceNow Employee

These are 2 different tables / CI types.   The Service mapping entries only populate the map when you have discovery patterns defined for the entry point that go out and do application mapping (not just horizontal discovery).   The patterns create or update CI's with additional information and then create connections to the next CI based on configuration data (versus just netstat relationships).   The manual services just use the data and relationships found during horizontal discovery and will only show in the manual services once you create them like you just seem to have done.



They can both be used as a business service, but are defined in these different places.   If you make it operational, it will still show on the event management dashboard just like an auto-discovered service would (or a technical service for that matter).


adminreg
Giga Contributor

So, if discovery with netstat will be able to find dependency with other applications on the host and the patterns will be setup correct, Service Mapping will show automatically this connections on the map. If I configure Manual Service I will get a map from current CI relatinships. Did I understand everything correctly?