Installing and Configuring Cherwell mApps

Download this manual as a PDF file 

In Cherwell Service Management (CSM), an mApp is a set of XML files containing configuration information that can be installed and configured on multiple instances of CSM. You need to install and configure the following mApps to before you can use the Cherwell SyncPack:

  • The "Federated CMDB" mApp
  • The "IS Content" mApp

This section describes how to install and configure these mApps onto an existing CSM instance, and how to configure the Federation Registration record in CSM to use the automation processes and One-Steps in the mApps.

Installing the Federated CMDB mApp

The "Federated CMDB" mApp provides a Federated CMDB solution where you can add and map Federated CMDB sources for Cherwell Configuration Items (CIs).

Applying this mApp might overwrite some of your system definitions. Performing a system backup is highly recommended.

You will need to have a local version of the mApp to complete this process; see your Cherwell or ScienceLogic contact for the latest mApp. Also, the name of the mApp might be different from the name used in these steps.

To install the "Federated CMDB" mApp:

  1. Open the CSM Administrator client and select mApps from the Categories sub-menu.

  2. From the Pick a task section, select Apply a mApp. An Open dialog appears.

  3. Navigate to the mApp on your local drive, select the mApp, and click Open. The Apply mApp Wizard page appears.
  4. Click Next. The License Information page appears.
  5. Select Yes, I accept the terms and click Next. The Localization page appears.
  6. Click Next. The Amount of User Interaction page appears.
  7. Select Make reasonable decisions, but ask me if unsure and click Next. The Merge Actions for Configuration Item Child Items page appears:

    The contents of the windows in this portion of the wizard might vary depending on the system to which you are installing.

  8. Click Next. The Merge Actions for Change Request Child Items page appears.
  9. Click Next. The Merge Actions for Event Child Items page appears.
  10. Click Next. The Merge Actions for Incident Child Items page appears.
  11. Click Next. A second Merge Actions for Incident Child Items page appears.
  12. Click Next. A third Merge Actions for Incident Child Items page appears.
  13. Click Next. The Summary of Changes page appears:

  14. Review your list of selected mApp changes and click Next. The Final Options page appears.
  15. Select Open a Blueprint so that I can preview the changes and click Finish. CSM will create a Blueprint, which is an XML definition of changes being made to the underlying system. When the Blueprint is created, the Manage objects page appears:

  16. From the list of objects, select the "Federation Registration" object and then click Edit Actions. The Business Object Actions for Federation Registration window appears:

  17. From the Blueprints sub-menu, select Save Blueprint to disk and provide a name and location for the Blueprint when prompted.
  18. From the Blueprints sub-menu, select Publish Blueprint to apply the Blueprint changes to the current CSM system. A Publish Options page appears.

  19. Leave the options set to the defaults and click Publish. The Blueprint is scanned for changes against the current CSM system. When the scan completes, a Scan successful dialog appears.
  20. Click OK. The publishing process for the Blueprint begins. When the Blueprint is published, a Blueprint has been published dialog appears.

    During the publishing process, a rollback Blueprint is created. This rollback Blueprint is in the same file system location as the saved Blueprint, but it has _rollback added to the name. You can use this Blueprint to roll back the published changes if needed.

  21. Click Close. The "Federated CMDB" mApp is now published.

Installing the IS Content mApp

Integration with a Federated source such as PowerFlow is typically accomplished using automation processes and One-Steps that have been specifically configured for this purpose. These features are known as Content, and they are contained in the "IS Content" mApp.

Applying this mApp might overwrite some of your system definitions. Performing a system backup is highly recommended.

You will need to have a local version of the mApp to complete this process; see your Cherwell or ScienceLogic contact for the latest mApp. Also, the name of the mApp might be different from the name used in these steps.

To install the "IS Content" mApp:

  1. Open the CSM Administrator client and select mApps from the Categories sub-menu:

  1. From the Pick a task section, select Apply a mApp. An Open dialog appears.
  2. Navigate to the mApp on your local drive, select the mApp, and click Open. The Apply mApp Wizard page appears.
  3. Click Next. The License Information page appears.
  4. Select Yes, I accept the terms and click Next. The Localization page appears.
  5. Click Next. The Amount of User Interaction page appears.
  6. Select Make reasonable decisions, but ask me if unsure and click Next. The Summary of Changes page appears:

  7. Review your list of selected mApp changes and click Next. The Final Options page appears.
  8. Select Open a Blueprint so that I can preview the changes and click Finish. When the Blueprint is created, the Manage objects page appears.

  9. From the Blueprints sub-menu on the left, select Save Blueprint to disk and provide a name and location for the Blueprint when prompted.
  10. From the Blueprints sub-menu, select Publish Blueprint to apply the Blueprint changes to the current CSM system. A Publish Options page appears.
  11. Leave the options set to the defaults and click Publish. The Blueprint is scanned for changes against the current CSM system. When the scan completes, a Scan successful dialog appears.

  12. Click OK. The publishing process for the Blueprint begins. When the Blueprint is published, a Blueprint has been published dialog appears.

    During the publishing process, a rollback Blueprint is created. This rollback Blueprint is in the same file system location as the saved Blueprint, but it has _rollback added to the name. You can use this Blueprint to roll back the published changes if needed.

  13. Click Close. The "IS Content" mApp is now published.

Creating the Federation Registration Record

The main component of the Federated CMDB system is the Federation Registration record. Before any further configuration can occur, you must create at least one Federation Registration record.

After you create the Federation Registration record, you can configure that record to use the various automation processes and One-Steps in the two mApps you just installed.

To create a new Federation Registration record:

  1. Open the CSM User client (not the Administrator client) and log in to CSM using your credentials, preferably with administrator rights:

  2. Open the Tools menu and select Table Management. The Table Management page appears:

  3. In the Type drop-down, select Federation Type.
  4. Click New to create a new Federation Type. A new Federation Type record appears:

  5. Type a name in the Federation Type field, such as "ScienceLogic", and click Select Image to select an appropriate image for this type.

    You select images from the Cherwell Image Manager. If the image you need is not available, you can import it by right-clicking in the Explorer view of the Image Manager screen and selecting New.

  6. Click the Save button ().
  7. Click the New button () and select New Federation Registration from the menu. A new Federation Registration record appears:

  8. From the Federation Type drop-down, select the Federation Type that you created in steps 3-6.
  9. Type a name for the Federation Name field, such as "SL1-Dev", and add a description to the Description field for the new record.

    Federation Name is a system-unique value and cannot be duplicated. You will use this value when PowerFlow applications interact with the Federated CMDB. The PowerFlow applications need to be configured to pass this unique name in all interactions.

  10. Click Save.
  11. Click Activate if you wish to progress this record to the "Active" state. The Federation Registration record is initially created in an "Inactive" state:

    PowerFlow applications and any custom applications should check for this state before passing integration data to CSM. Only "Active" records should be allowed to process data. This allows the CSM administrator to turn off poorly behaving applications.

  12. The Federation Registration record is now "Active", but it is not properly configured to support integrations. Go to the following topic to continue the configuration process.

Configuring CSM Access for the REST API

The Federation Registration One-Steps use the CSM REST API to create and update CI records. You need to create a new CSM Security Group and a CSM user account that has Create, Read, and Write access to all Federation business objects and all Configuration Item business objects. This account must be able to access the CSM REST API remotely.

Creating a New Security Group

To create a new Security Group with CSM access:

  1. Open the CSM Administrator client and select Security from the Categories sub-menu on the left.
  2. From the Pick a task section, select Edit security groups. A Security Groups window appears:

  3. Click New and select New Cherwell User Security Group. A new Security Groups dialog appears.

  4. In the Name field, type a name for the new Security Group, and type a description of the group in the Description field.

    The name you create for the group is not important, as the CSM This Security Group user will later be linked to this Security Group. The name can abide by other naming standards if needed.

  5. Click the Rights tab and make sure that the Can run searches that reference fields to which the user doesn't have rights option is configured for "Allow":

  6. Click the Business Objects tab.
  7. Select the Customer business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete:

  8. Select New Field under the Customer business object and make sure that the following rights are selected in the General section for that business object: View and Edit:

  9. Select the Customer - Internal business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  10. Select New Field under the Customer - Internal business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  11. Select the Event business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.

  12. Select New Field under the Event business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  13. Select the Federated CI business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  14. Select New Field under the Federated CI business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  15. Select the Federated CI Mapping business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  16. Select New Field under the Federated CI Mapping business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  17. Select the Federated Field Mapping business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  18. Select New Field under the Federated Field Mapping business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  19. Select the Federated Maintenance business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  20. Select New Field under the Federated Maintenance business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  21. Select the Federated Relationship business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  22. Select New Field under the Federated Relationship business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  23. Select the Federated Retired business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  24. Select New Field under the Federated Retired business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  25. Select the Federated Credential business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  26. Select New Field under the Federated Credential business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  27. Select the Federated Field Mapping Definitions business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  28. Select New Field under the Federated Field Mapping Definitions business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  29. Select the Federated Registration business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  30. Select New Field under the Federated Registration business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  31. Select the Federated Type business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  32. Select New Field under the Federated Type business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  33. Select the Federation_joins_CI business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  34. Select New Field under the Federation_joins_CI business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  35. Select the Configuration Item business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  36. Select New Field under the Configuration Item business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  37. Make sure that the following rights are selected in the General section for all Configuration Item types remaining in the drop-down: View, Add, Edit, and Delete (or just View and Edit where relevant):

    The Configuration Item types all have "Config" at the start of their names.

  38. Select the CILink Table business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  39. Select New Field under the CILink Table business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  40. Select the Manufacturer business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.
  41. Select New Field under the Manufacturer business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  42. Select the CI Upstream Relationship business object from the Business Object drop-down and make sure that the following rights are selected in the General section for that business object: View, Add, Edit, and Delete. No other options should be selected.

  43. Select New Field under the CI Upstream Relationship business object and make sure that the following rights are selected in the General section for that business object: View and Edit.
  44. Click the Save button () to save the new Security Group, and then close the Security Groups window. 

Creating a New User

To create a user for the new Security Group:

  1. From the Pick a task section of the CSM Administrator client, select Edit users. The Users window appears:

  2. Click the New button ().

  3. On the User tab, complete the following fields:
  • Login ID. Type a unique login for the user, such as "SL1".
  • Security Group. Select the Security Group that you created in the previous procedure.
  • Password. Type a password for the user, and confirm the password in the corresponding field.
  • Full Name. Type a unique name for the user, such as "ScienceLogic Integration User".

    Make a note of the Login ID and Password values, as you will use these in additional configuration steps.

  1. Click the Save button ().
  2. From the Pick a task section, select Edit teams and workgroups. The Teams and Workgroups dialog appears:

  3. In the User teams section, select 1st Level Support.
  4. Click the Members tab and make sure that the new user is listed as a member of this team.

Verifying the URL for API Access

By default, the URL used by the Federated CMDB integration is the same URL used by the web-based client. This section describes how to find this URL and how to make sure that the API is functioning using this URL.

To verify the URL for API access:

  1. From the Categories sub-menu of the CSM Administrator client, select Browser and Mobile:
  2. From the Pick a task section, select Browser Application Settings. A Browser Settings window appears:

  3. Review the URL in the Browser Client field. If the field displays https://YourServerHere, then this value has not been set yet.
  4. If the value has not been set, specify the URL in the Browser Client field and then click OK.
  5. If you add a suffix of /CherwellAPI to that URL in a web browser, the browser opens a Swagger window similar to the following:

  6. Make a note of that URL for later configuration steps.

    If a DNS name is used in the URL, then that DNS name must be able to be resolved on the server itself, as that is where all API calls are made.

Obtaining a Client Key

Access to the CSM REST API is controlled with the username and password as well as what is known as a Client Key.

To create the Client Key:

  1. Open the CSM Administrator client and select Security from the Categories sub-menu on the left.

  2. From the Pick a task section, select Edit REST API Client settings. A REST API Clients window appears.
  3. Click the New button () to create a new Client Key. A new record appears:

  4. In the Name field, type a name for the Client Key, such as "ScienceLogic Integration".
  5. Copy the value in the Client Key field for later configuration steps.
  6. Click the Save button ().

Configuring CSM Scheduled Tasks

Various back-end configuration processes, including scheduled tasks, are needed to cache configuration data for the Federation to occur in an automated fashion. This back-end configuration uses web services, and you will use the CSM user account that you just created for these configurations.

Configuring the Back-end Credentials and Endpoints

To configure the back-end credentials and endpoints:

  1. Log in to the CSM Administrator client as an administrator and select Create a new Blueprint in the Common Tasks sub-menu on the left.
  2. From the Managers menu, select Stored Values. The Stored Values Manager window appears.
  3. Select the Blueprint scope so you can edit the stored values.
  4. Right-click the Cherwell REST API Key and select Edit. The Stored Value dialog appears:

  5. In the Value field, add the REST API Client Key that you configured in Obtaining a Client Key and click OK. This value authenticates against the CSM REST API.
  6. Right-click the Cherwell REST API Username and select Edit. The Stored Value dialog appears:

  7. In the Value field, type the unique login, such as "SL1", for the user you created in Creating a New User and click OK.
  8. Right-click the Cherwell REST API Password and select Edit. The Stored Value dialog appears:

  9. In the Value field, type the password for the user you created in Creating a New User and click OK.
  10. Close the Stored Value Manager window and then click Save Blueprint to disk from the Blueprints sub-menu.
  11. Click Publish Blueprint. The Publish Options dialog appears.
  12. Accept all defaults and click Publish.
  13. After the changes have been published, go to the following section to add the scheduled tasks.