Can't manage to map a service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2018 08:22 AM
Hi!
I've been training myself on my sandbox instance on ServiceNow (especially with Service Mapping) and I've decided to create a "Web Application", it's pretty basic honestly. I've coded several PHP Websites on my Virtual Ubuntu Machine on my Apache Web Server.
This Web Application is very basic, it's a sign-up form from which the data put in is transfered to a database on a MySQL instance. Everything works, no issue with either the Web Server, the Web App or the Database.
With Discovery, both Web Server and the MySQL instance are detected. Good.
With Service Mapping, the Web Server is mapped, that's good. But only the Web Server. Isn't Service Mapping supposed to connect the Web Server with the instance?
If so, why doesn't it appear?
P.S : The Tomcat server is my Apache GUI, I thought I'd try service mapping from there but it didn't work as well.
Thank you in advance for your help,
Fares K.
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2018 08:54 AM
Hi Fares - if you dig into the discovery / mapping patterns you will see the connection logic, but in your case, the web server would typically be hosting a website, and the individual websites would be configured to talk to a database. This website to database is what should be reflected in mapping because mapping is targeted at a specific install of a specific application (say you install Wordpress on the Apache server and then have Wordpress configured to talk to the database, this would be a valid flow of mapping).
Discovery will find whatever is running on a server, regardless of their connectivity to one another or what service they support.
An example pattern or patterns with a good reference would be the IIS (web server) pattern IIS Virtual Directory (website) pattern
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 02:05 AM
Hi Nick,
I have the similar question. I am trying to create service mapping of an application. This application is hosted on a particular site. We are giving the site URL as the entry point and I am able to discover only the server where this application is hosted.
There are many other servers which make up this application and expectation is to discover and map all these servers with single entry point. However, this is not happening.
Other servers are session host servers which are connected by connection broker. These are not discovered automatically and we need to create new entry points for these.
Can you please help if I am missing something here.
The server discovered is Microsoft IIS Server. There are no errors observed. Do I need to modify the discovery pattern ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 06:17 AM
Hello - Is it also finding the IIS website (IIS Virtual Directory pattern executes)? You should be able to see from the discovery logs when mapping completes how far it gets. If it's not finding the website (which will be an inclusion connection from the IIS server), then there may be something with the entry point. Is it an alias to a website or something behind a load balancer?
It may be one of those things where you look at the discovery logs and see all the connections it tries to make, and if none of those technologies are what you expect it to connect to, then you'd need to add a connection option in the pattern as Dave describes below

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2018 09:11 AM
Hi -- While the individual components are being discovered & mapped, you will need to build connection between the web & db pieces
Look into the CREATE CONNECTION operational of patterns and use the data pull from prior steps (typically in the identification or extension sections) to build a connection dynamically from that data. When the connection is built as part of the pattern design, then the map will reflect the web > DB connection.
A generic example:
Does this help? Hope so..