Use the CSDM Product Model Assignment job to auto-generate a product model record (application model, service model, or software model) for each logical CI that is not yet associated with a product model. Product models are ideal for associating CIs that are parts of a single digital product.

Before you begin

Users with read access to modified CI records can view the new product models.

Role required: admin

About this task

Application, service, and software class instance CIs are not created through Discovery, so their Model ID [model_id] values might not refer to product model records. To assist you in migrating to a product-centric management paradigm, each instance of a logical CI should be associated with a product model. The CSDM Product Model Assignment job operates on the following classes and uses the name of the class instance as the name of the new product model.

  • Service Offering
  • Technology Management Service (formerly Technical service — renamed in CSDM v5)
  • Service Instance (formerly Application Service — renamed in CSDM v5): The script adds the version (as it relates to the business application) to the associated software model name. For example, the software model for the MyAppService service instance CI might be MyAppService - version: 2.1.
  • Business Service
  • Business Application
The CSDM Product Model Assignment job calls the CSDMModelUtil script. The script performs these actions for each instance of the supported CSDM classes that does not refer to a product model:
  1. Create a new application model, service model, or software model record with the same name as the CI. If the requisite info for generating the name value does not appear in the CI, the script uses the default value that you specified.
  2. For the CI, add a reference to the new product model in the Model ID [model_id] field.
Operation of the script:
  • The script observes the access rules of the CMDB admin that runs the script.
  • If an auto-generated product model record for a class instance CI would be identical to an existing record, then the existing record is used for that CI.
  • If your data includes CIs with identical names (this is actually an error), then the resulting model_id values might conflict. Validate the resulting model_ids after running the script.

Procedure

  1. Specify the default name to use if the name / version values of a CI are insufficient to auto-generate the name for the new product model.
    1. Navigate to Configuration > CI Class Manager and then select Open Hierarchy.
    2. Navigate to each of the supported classes in turn (service instance, business service, and so on).
    3. On the Basic Info page for the class, enter the appropriate name in the Default Product Model field.

      Specify the default name to use for new product models.

  2. Run the CSDM Product Model Assignment job.
    1. Navigate to System Scheduler > Scheduled Jobs > Scheduled Jobs.
    2. Search for and open the CSDM Product Model Assignment job.
    3. Select Execute Now.
    The script runs and generates the product models.
  3. Review the created product models to ensure that the new Model ID [model_id] values are correct.
    Use:
    • All > Product Catalog > Product Models > Application Models
    • All > Product Catalog > Product Models > Service Models
    • All > Product Catalog > Product Models > Software Models
  4. Run the job whenever you want to create product model settings for new class instances.