OBLYTECH Logo
OBLYTECH Logo

Application Service Mapping Using Classic Service Mapping

Classic Service Mapping offers four ways to create application services after setup: from load balancer candidates, from asset tags, from a CSV file, or one service at a time. Choose the method that fits what you already know, expect bulk results to need checking, and finish with owner review.

Choosing the right discovery method

The method should follow two things: how your team has tracked application services so far, and how much you already know about them. A team that has not listed its services will lean on load balancer discovery, because Service Mapping does the first pass.

Bulk methods create many services in one operation, but they are not precise, so expect some false or duplicate instances.

Starting point Method What it needs first
Little information about your services Map multiple application services suggested by classic Service Mapping Load balancers on your network; service_mapping_admin role
Asset tags already in use Map application services using tags with classic Service Mapping Tags analysed and defined; no credential configuration or elevated user rights
A planned service list collected across the organization Map multiple application services from a CSV file using classic Service Mapping A prepared CSV file; service_mapping_admin role
Known service details, or services bulk mapping missed Map a single application service using classic Service Mapping An entry point and an owner; service_mapping_admin role

Mapping suggested services from load balancer candidates

After setup, Service Mapping builds a candidate list without further input. It reads entries from load balancers on your network, turns each one into a potential entry point, and stores it in the Candidate Entry Point table, sa_cand_entry_point. It also creates candidates from Netflow and TCP data.

Not all candidates match a real service, so Service Mapping filters out unlikely ones using empty IP addresses, port numbers, and load balancer VIP hit counts below 1000. The review that follows catches what that filter lets through.

  1. Open All > Service Mapping > Home. The page lists services that Service Mapping can discover or has already discovered, and it omits services created by hand or through the API.
  2. Open the Readiness Checklist from the error at the top of the window or from its icon. Discovery and mapping cannot run while the checklist shows an error, so fix missing configuration first.
  3. To map all suggested services, choose Discover All. To map a subset, open Additional options under the Map tile, choose View Candidates List, tick the candidates, then use Actions on selected rows and select Discover selected.
  4. To trim the list first, select the unwanted candidates, choose Actions on selected rows, and select Ignore Selected. To show hidden candidates again, set the Ignore filtering condition to true.

Deleting a candidate removes it from sa_cand_entry_point, but it returns when horizontal discovery runs on the same load balancers or the same CSV file is imported again. If a candidate keeps returning, hide it instead.

When discovery finishes, a service with no errors and at least one discovered CI appears under the Approve tile. A service with errors appears under the Fix tile. If connection suggestions are enabled, traffic-based connections are offered as suggestions rather than added automatically.

Mapping services from asset tags

A tag is a key-value pair. Discovery and Cloud Provisioning and Governance discover tags from major cloud providers and container ecosystems. Define and review the tags before you start.

An example of tag-based mapping is the application services in the production environment for one region. It needs no credential setup and no elevated user rights. The trade-off is precision: the result is a hierarchical map that may be less precise than pattern-based services.

  1. Go to Service Mapping > Administration > Tag-based Service Families and select New.
  2. Enter a family name. Optionally select Regularly update service candidates, so suggestions refresh for the categories you define.
  3. Under Selected tag categories, add up to three categories. Optionally add tag values separated by commas, such as Staging, Production.
  4. Set the Order value on each category to control the name. A category with order 1 comes first.
  5. Select View service candidates, choose the candidates you want, and select Map selected.

Tag-based service names use lowercase. With Environment and Application categories and Production and HR as values, the default name is production::hr. If a candidate name already exists, rename the candidate before you map it. If no candidates appear, check the Key Value table, cmdb_key_value, for tag values on the keys you used. New tag-based services are mapped once a day by the Populate Calculated Services scheduled job. To map one immediately, use Recalculate Service under Related Links in the Additional Info section of the service instance form.

From version 1.15.2, each family allows 200 application service candidates. Changing tag categories later does not change services already mapped for that family. In domain-separated deployments, a family populates services from CIs in its own leaf domain.

Mapping services from a CSV file

This method suits an organization that has already completed cross-organization mapping and analysis and has collected details of planned service instances. You need the service_mapping_admin role, and Service Mapping must be enabled.

Create the file as an .xlsx first, then save it with the .csv extension to a drive you can reach during the import. Column order matters, because a wrong order produces mapping errors.

Column Content When it applies
A Unique name of the planned service instance Required. Services with repeated names overwrite the earlier record, so names must be unique.
B Entry point URL Optional. When given, the IP address, port and FQDN are parsed from it.
C IPv4 address of the entry point Optional. Enter it when column B is empty.
D Port of the entry point Optional. With neither a URL nor a port, the port defaults to 80 for http and 443 for https.
E FQDN of the entry point Optional. Enter it when column B is empty.

To import, open All > Service Mapping > Home, select Additional Options on the Map tile, select Import Service Map List, choose the file, and select Import. Check that the candidate count on the Map tile rose by the number you expected, then select Map Your Services.

Candidates you ignored in an earlier run are not imported again on reimport. After the import, review the created services, create any missing ones using single mapping, fix services with errors, and send the rest for approval.

Mapping one application service at a time

Single mapping suits services that bulk mapping cannot discover, and services whose details you already know. For services that rely on platform-as-a-service offerings from Microsoft Azure or Amazon Web Services, discover the datacenters and create horizontal discovery schedules on the cloud service account before mapping.

  1. Go to All > Service Mapping > Home, select Additional options under the Map tile, and select Define A Single Service Map.
  2. Enter a unique name that no other application service type uses, such as mailing service or printing service.
  3. Choose an owner. If the person is not listed, create a user for them and assign the sm_app_owner role, or choose a user who already holds the service_mapping_admin role.

The entry point is the attribute to get right first. It is the place where clients access the service instance, usually a URL or an IP address and port. Service Mapping starts from that point. If you do not know it, request it from the service owner.

Use Discoverable by Service Mapping to pick a tile for a commonly used application type, or select See More Types for the full list. Do not use central IT components, such as Microsoft MQ or Microsoft Active Directory, as entry points. Using them creates large services, which cause performance problems during mapping.

After mapping, the owner reviews the result and either approves it or suggests changes. Manual and discovered services are both stored in the cmdb_ci_service_discovered table.

Fixing errors and getting owner approval

Service Mapping classifies errors by root cause, such as missing credentials or a task timeout. Fix each category in bulk, and fix errors outside a shared category in the individual service map.

A service can also be too large to display. The map then fails to show the whole service, and a discovery message reports that the CI connections exceeded the allowed maximum. Change any customized discovery patterns that map irrelevant CIs, or split the service into smaller services.

When the fixes are done, the Service Mapping administrator and the service owner review and approve the maps together. Review applies to discovered and manually created service instances. The administrator fine-tunes each map in response to owner comments. After approval, define the attributes that reflect the service’s importance and control access to it.

Frequently asked questions

Is bulk mapping enough to cover all my application services?

Bulk mapping is fast but not precise. Services it omits need single mapping, and false or duplicate instances need review.

What is an entry point, and why does it matter?

An entry point is the place where clients access a service instance, usually a URL or an IP address and port. A wrong entry point produces the wrong service.

Why does a CSV service go missing or change?

Repeated names overwrite the earlier record, so each name must be unique. Wrong column order also causes mapping errors. Candidates you ignored earlier are not imported again, so check the candidate list before you reimport.

Why does a service map show part of a service?

A service that is too large is not displayed in full, and the discovery message reports that the CI connections exceeded the allowed maximum. Adjust the discovery patterns that map irrelevant CIs, or split the service into smaller services.