- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2022 06:54 AM
How does service mapping add Software model information to the Technology Lifecycle dashboard? I can't find the connection between a software model and a CMDB CI. CI's are related to software installed records not software models. How are software installed related to a Software model to be used within the Technology Lifecycle dashboard.
Solved! Go to Solution.
- Labels:
-
Service Mapping
- 2,557 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2022 04:12 PM
It's not crystal clear in the documentation how this is achieved, but here's the basic version and how I understand it. It's best to read this with the documentation next to you:
https://docs.servicenow.com/bundle/rome-it-business-management/page/product/application-portfolio-management/task/associate-application-service-software-models.html
It makes the assumption you have Software Asset Management (SAM) pro installed with Application Portfolio Management (APM) and ITOM Discovery.
ITOM provides the discovery of the installed software on the operating systems, SAM provides the software & hardware models, the vendor lifecycles and the mappings between the two, APM provides the linking between the Application Services and the software models (this is what you need for the Technology lifecycle management dashboard).
If you don't have SAM pro or discovery, things get a little harder as you have to provide that data from somewhere else and/or map the software/hardware models to the application services manually.
If you have discovery and SAM pro up and running:
the doco might explain it better.
In the Business application (Business Applications view) there's a UI button "Manage Technology Models" in the header. This will take you to the application services (if you have them related) under the Business Application. Then you can right click each row and "Fetch Product Models". With SAM pro you can do both Hardware and Software & force a full check rather than just a delta. Without SAM Pro, you just get the hardware option.
After executing the "Fetch Product Models" action it'll query the related hosts in CMDB for their product models and give you a list of Retrieved software models (under the "Technology Models Retrieval view" for the application service).
You can then select which Retrieved Software Models you want to associate to the Application service in the TPM view and whether or not they contribute to the risk calculation (Ignore Technical Risk). I guess it's done this way as it'll find ALL software and as an application owner you're not really concerned with the version of the antivirus client versus the database that actually runs the application service. If you look at my example, I've only checked the Vault software model, not Symantec as i know that's the Symantec AV client.
If you have don't have discovery or SAM pro:
This becomes more time consuming as you have to at provide software models & the lifecycle data yourself & map each model yourself, you can't rely on the system to provide you with a discovered list to choose from, you have to know whats installed on your Application Service.
In this case you can go to the Application Service (and the "Application Service software models" related list) and directly add whatever software models you want by clicking the "New" button.
The data is stored in this table [sn_apm_tpm_service_software_model]
I hope this helps, it took me some work to sort all this out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2022 04:12 PM
It's not crystal clear in the documentation how this is achieved, but here's the basic version and how I understand it. It's best to read this with the documentation next to you:
https://docs.servicenow.com/bundle/rome-it-business-management/page/product/application-portfolio-management/task/associate-application-service-software-models.html
It makes the assumption you have Software Asset Management (SAM) pro installed with Application Portfolio Management (APM) and ITOM Discovery.
ITOM provides the discovery of the installed software on the operating systems, SAM provides the software & hardware models, the vendor lifecycles and the mappings between the two, APM provides the linking between the Application Services and the software models (this is what you need for the Technology lifecycle management dashboard).
If you don't have SAM pro or discovery, things get a little harder as you have to provide that data from somewhere else and/or map the software/hardware models to the application services manually.
If you have discovery and SAM pro up and running:
the doco might explain it better.
In the Business application (Business Applications view) there's a UI button "Manage Technology Models" in the header. This will take you to the application services (if you have them related) under the Business Application. Then you can right click each row and "Fetch Product Models". With SAM pro you can do both Hardware and Software & force a full check rather than just a delta. Without SAM Pro, you just get the hardware option.
After executing the "Fetch Product Models" action it'll query the related hosts in CMDB for their product models and give you a list of Retrieved software models (under the "Technology Models Retrieval view" for the application service).
You can then select which Retrieved Software Models you want to associate to the Application service in the TPM view and whether or not they contribute to the risk calculation (Ignore Technical Risk). I guess it's done this way as it'll find ALL software and as an application owner you're not really concerned with the version of the antivirus client versus the database that actually runs the application service. If you look at my example, I've only checked the Vault software model, not Symantec as i know that's the Symantec AV client.
If you have don't have discovery or SAM pro:
This becomes more time consuming as you have to at provide software models & the lifecycle data yourself & map each model yourself, you can't rely on the system to provide you with a discovered list to choose from, you have to know whats installed on your Application Service.
In this case you can go to the Application Service (and the "Application Service software models" related list) and directly add whatever software models you want by clicking the "New" button.
The data is stored in this table [sn_apm_tpm_service_software_model]
I hope this helps, it took me some work to sort all this out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2023 12:38 AM
hi @Jim Palmer , I have all the pre-requisite in my instance (i.e. Discovery, SAM Pro, APM) and I've tried following the steps. But I always get 0 software model suggestions count. Could you advise what I could possibly be missing? Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2023 07:51 PM
You'll need to have the following CIs setup and related properly:
- Business Application
- Application Services (e.g. dev/test/prod) related to the business application
- and the Server CIs that run each of the application services (Depends on::Used by - i think)
And have the SAM Pro content management service turned on:
- this provides normalised models and lifecycle data.
And discovery working on the server CIs for those application services.
Once that's setup (for at least 1 business application), then discovery is your friend. Run a full discovery on the server CI targets and make sure that you get entries in the 'Software Installations' related list (it's a different table between SAM foundation and SAM pro).
Execute the software model suggestions process (which is where something is failing - probably because you're missing discovered data or links in the CI relationships).
This only works if you have the relationships between the Server CIs and the Application service. Without it, there's no server CI to interrogate and associated software installs on that server to query.
The required tables gives an insight:
- Hardware [cmdb_ci_hardware] - contains cmdb_ci_computer / server etc.
- Hardware Model [cmdb_hardware_product_model]
- Hardware Model Lifecycle [cmdb_hardware_model_lifecycle]
- Software Discovery Model [cmdb_sam_sw_discovery_model]
- Software Installation [cmdb_sam_sw_install] - which has an 'installed_on' reference to a CI
- Software Model [cmdb_software_product_model]
- Software Model Lifecycle [sam_sw_model_lifecycle]
Link an Application Service CI (via [cmdb_rel_ci]) to a Windows server [a child of cmdb_ci_hardware] that has discovered values in [cmdb_sam_sw_install] with associated software models [cmdb_software_product_model] and lifecycles [sam_sw_model_lifecycle] and it should work.
The hard part is linking the application services to the servers. Service Mapping can do this but it takes a bit of effort, but doing it manually across 100's of application services take more.
Start with a simple '3 tier' application and try setting it up manually (DB, App server, Web server).
Check each server CI has records for discovered software installations, models and lifecycles, relate the server CIs to the application service and run the suggestions process.
good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2023 11:36 PM
hi @Jim Palmer , thank you so much for the advise. I managed to get this work in my PDI after I linked an Application Service to a Windows Server via cmdb_rel_ci.
However, when I tried this in a customer instance, the system is not giving any suggestion (i.e. Software Model Suggestions Count=0) although I have chosen to link an Application Service with a Server which has installation. I also found that there is no software model record being put in the sn_apm_service_software_model_suggestion table.
Could you please advise where shall we look at? Thank you!