• No results found

xmatters On-Demand FOR CA SERVICE DESK MANAGER

N/A
N/A
Protected

Academic year: 2021

Share "xmatters On-Demand FOR CA SERVICE DESK MANAGER"

Copied!
34
0
0

Loading.... (view fulltext now)

Full text

(1)

xMatters On-Demand

FOR CA SERVICE DESK MANAGER

(2)

Wednesday, September 02, 2015

Copyright © 1994-2014. All rights reserved.

xMatters™, xMatters®, xMatters® Java Client, xMatters mobile access, xMatters® integration agent, xMatters lite, xMatters workgroup, xMatters enterprise, xMatters service provider, xMatters On-Demand, and xMatters® Notification Server are trademarks of xMatters, inc.

All other products and brand names are trademarks of their respective companies.

Contacting xMatters

You can visit the xMatters Web site at: http:///www.xmatters.com

From this site, you can obtain information about the company, products, support, and other helpful tips. You can also visit the Customer Support Site from the main web page. In this protected area, you will find current product releases, patches, release notes, a product knowledge base, trouble ticket submission areas and other tools provided by xMatters, inc.

Corporate Headquarters 12647 Alcosta Blvd, Suite 425 San Ramon, CA 94583 Telephone: 925.226.0300 Facsimile: 925-226-0310 Client Assistance:

International: +1 925.226.0300 and press 2 US/CAN Toll Free: +1 877.XMATTRS (962.8877) EMEA: +44 (0) 20 3427 6333

Australia/APJ Support: +61-2-8038-5048 opt 2

Customer Support Site: http://support.xMatters.com

This integration was designed and tested on an unmodified version of CA Service Desk Manager, and this document describes how to configure xMatters to integrate with the default installation. If you have customized or altered your instance of CA SDM, this integration may need to be modified for your deployment. Please note that these integration changes are not part of the services offered by xMatters Technical Support, but can be performed through xMatters’s Professional Services

department. For more information, contact your xMatters Sales representative. Proprietary and Confidential © 2015 xMatters, inc

(3)

Chapter 1: Introduction to integrations

1

1.1.1 Integration Architecture 1

1.2 System Requirements 2

1.3 Conventions and Terminology 2

1.3.1 Conventions 2

1.3.2 Terminology 3

Chapter 2: Installation and Configuration

4

2.1 Installing the integration 4

2.1.1 Installing voice files 4

2.1.2 Adding the web service and REST API users 5 2.1.3 Importing the communication plan 6 2.1.4 Installing the integration services 6 2.1.5 Setting web services user password 8 2.1.6 Installing the integration script 8

2.2 Configuring CA Service Desk Manager 10

2.2.1 Configuring a notification method 10 2.2.2 Configuring CA SDM to use managed login 10 2.2.3 Configuring a contact for system notifications 11

Chapter 3: Integration Validation

12

3.3 Triggering a notification 12

3.4 Responding to a notification 12

3.5 Viewing response results 15

Chapter 4: Optimizing and Extending the Integration

17

4.1 Customizing communication plan forms 17

4.1.1 Adding a new property 18

4.1 Configuring integrated properties 18

4.2 Purging temporary files 23

4.2.1 Customizing the handling of temporary files 23

4.3 Response choices 24

4.3.1 Adding annotation messages 26

4.3.2 Changing and adding response choices 26

4.4 Delivery Annotations 26

4.5 Filtering and suppression 26

(4)

4.6.1 Using self-signed certificates 27

4.6.2 Importing certificates 27

4.6.3 Updating HTTP to HTTPS 27

(5)

Chapter 1: Introduction to integrations

xMatters On-Demand reduces incident response time by finding the right person to solve the problem when system outages require you to manage on-call schedules and escalations.

l Reduce downtime: create and automate critical incident processes to get the right people on the job. l Aggregate and consolidate alert views: closed loop integration between xMatters and CA SDM provides a

single view of all alerts, no matter how diverse and distributed your environment may be.

l Engage resolution teams: determine message recipients based on on-call schedules, including substitutions

and holidays, specific skill sets, escalation priority, and more.

l Avoid alert fatigue: reduce the noise with targeted notifications; alerts go only to the people that need them. l Manage issues from anywhere: full-featured mobile apps allow you to stay in control wherever you are.

Through communication plans, xMatters can become the voice and interface of an automation engine or intelligent application. When a management system detects something that requires attention, xMatters places phone calls, sends messages, or emails the appropriate personnel, vendors, or customers.

xMatters is also persistent, escalating through multiple devices and personnel until someone accepts responsibility or resolves the problem. Once contacted, xMatters gives the notified person instant two-way communication with the management system. Responses are executed immediately on the original management system event, enabling remote updates and resolution.

During the process, every notification, response, and action is logged in xMatters. In addition, xMatters automatically annotates the original event with status information.

1.1.1 Integration Architecture

The following diagram illustrates the high-level architecture and components of this integration:

Events injected into xMatters from CA SDM are based on notifications that would have been sent from CA SDM through other methods. As part of the integration, a custom Notification Method must be created in CA SDM. This Notification Method runs a wrapper shell script that executes APClient.bin. When the APXML messages reaches the xMatters integration agent, the integration agent parses a notification file that is created as part of the Notification Method to extract NX_NTF fields which are sent as event properties to xMatters. A CA SDM administrator or contact can then select the "xMatters Notification Method" as the notification method for Low, Medium, High, or Emergency notifications for specific CA SDM Contacts.

(6)

By default, the integration filters out notifications that are not addressed to the ticket's assignee or group, and terminates previous xMatters events related to the same ticket. (To modify this behavior, integrators can edit the isSupportedNotification and getExistingEventsFilter functions in thecaservicedesk.jsfile.

The content of the notifications is defined by forms in xMatters; each ticket type has a corresponding form.

Responses for the integration are dynamic, and based on a query back to CA SDM when the APXML messages reach the integration agent. A web service call (getValidTransitions) looks up the configured Transitions based on the type and current status of the ticket for which the notification was generated. Response handling is performed via web service calls back to CA SDM. The integration updates the state of the ticket to the next transition state.

Note that xMatters limits the number of responses available on each form to nine, meaning that not all valid CA SDM response options can be available for certain ticket types. You can review and modify the response option according to your business requirements, but each form's response option values must match the descriptions returned by the

getValidTransitions web service call.

Authentication can be done either through providing a user name/password or through creating a managed session which requires a policy to be configured in CA SDM (this is the preferred method). Impersonation is also supported.

1.2 System Requirements

The following component versions are supported by this integration, and must be installed and operating correctly prior to integration.

Integration Component Version

xMatters On-Demand 5.5.80 (validated)

xMatters integration agent 5.1.5 (validated)

CA Service Desk Manager 12.9 and 14.1

For more information about the supported operating systems for xMatters components, refer to thexMatters installation and administration guideandxMatters integration agent guide.

1.3 Conventions and Terminology

This section describes how styles are used in the document, and provides a list of definitions.

1.3.1 Conventions

Some instructions appear in the following format:MENU > OPTION; for example,File > Openmeans click theFilemenu, and then click theOpenmenu option.

Words inboldtypically reference text that appears on the screen. Words inmonospacefont represent the following:

l text that must be typed into the computer l directory and file names

l code samples

Directory paths

Except where explicitly stated, the directory paths in this document are listed in Windows format. Linux users must substitute the given paths with the Linux equivalents.

(7)

The xMatters installation folder is referred to throughout the documentation as <xMHOME>. l On Windows systems, the default isC:\Program Files\xMatters

l On Linux systems, the default is/opt/xmatters

The xMatters integration agent installation folder is referred to throughout the documentation as <IAHOME>.

l On Windows systems, the default isC:\Program Files\xmatters\integrationagent. l On Linux systems, the default is/opt/xmatters/integrationagent.

1.3.2 Terminology

The following terms are used through the xMatters documentation.

Term Meaning

Event Anevent refers to any situation or item of interest detected by the management system, and which requires attention. Event is also used to refer to the incident or situation as it progresses through the xMatters system, from injection to notification to resolution. Each event must generate at least one alert or notification.

Event can also be a generic term used to refer to an incident, change request, message, or other specific item within the management system. Whenever possible, these situations are referred to using the management system's preferred terminology (i.e., ticket), but can also collectively be called events.

Management system A management system is any sort of IT service management software with which xMatters can combine; i.e., a synonym for CA SDM.

Device The medium through which a recipient is contacted by xMatters; i.e., email, pager, phone, BlackBerry, etc.

User In xMatters, people who can receive notifications are called "Users". Each person in the xMatters system is defined by a set of User details, including ID number, user name, login password, and so on.

Group Groups are used to collect and organize Users and Devices into notification schedules. For a complete explanation of Groups in xMatters, see thexMatters user guide.

(8)

Chapter 2: Installation and Configuration

This chapter provides information about installing the xMatters On-Demand for CA Service Desk Manager integration. This chapter also contains complete instructions on how to configure xMatters, CA SDM, and the integration components.

2.1 Installing the integration

This section describes the installation process for the xMatters On-Demand for CA Service Desk Manager integration.

Components

This integration includes the following components that must be modified for each deployment:

Component Name Description

caservicedesk.xml, configuration.js The JavaScript and XML service configuration files that defines the integration services on the integration agent.

CASDM.zip Contains an exported communication plan and the necessary forms.

CASDIntegratedPropertiesforIncidents.zip Contains a pre-formatted, sample communication plan and form designed for the integrated properties feature.

conf/deduplicator-filter.xml The filtering mechanism used to suppress duplicate messages. The filter checks the values of certain parameters within injected events; if they are all the same within a specified time frame, only the first message will be sent through to xMatters. You can customize these settings by adding or removing predicates in the filter, changing the suppression period or the number of messages that are compared by the integration agent.

For more information about this feature, see "Filtering and suppression" on page 26.

2.1.1 Installing voice files

These files must be installed into any xMatters deployment running a voice device engine. For more information, refer to the

xMatters installation and administration guide.

This integration provides a number of English voice files (.vox) customized for this integration and CA SDM. The files are located in the/components/xmatters/voxfolder in the extracted integration archive.

To install the voice files:

1. Log in to xMatters as a company administrator. 2. Click theDevelopertab.

3. In the Phone Recordings menu, clickAdd Phone Recording. 4. On the Add a Phone Recording page, specify the following settings:

l Recording Phrase:A CA Service Desk l Event Domain:applications

5. ClickSave.

6. On the Edit Phone Recording Details page, clickAdd New. 7. On the Add Phone Recordings page, clickChoose File.

(9)

Note: The names of the recordings you type into the web user interface MUST match the names of the files; file names are case-sensitive, and spacing must be respected.

9. ClickOpen. 10. ClickSave.

11. Repeat steps 3-10 for each of the remaining .vox files in\components\xmatters\vox.

l Ensure that all files are added to the applications event domain.

2.1.2 Adding the web service and REST API users

Adding the web service user

This integration requires an xMatters web service user with permission to receive APXML in xMatters to receive user

responses and notifications about event status changes. The following steps describe how to configure the default web service user, IA_User, for this integration.

To set up a web service user:

1. In xMatters, click theUserstab, and then clickFind Web Service Users. 2. On the Find Web Service Users page, clickAll.

3. In the returned search results, clickIA_User.

4. On the Details for IA_User page, confirm that the list ofAllowed Web Servicesincludes the following web services. If any are missing, select them in theDenied Web Serviceslist, and then click Add:

l Receive APXML

l Register Integration Agent

5. ClickSave.

Adding the REST API user

To send, delete, and query events, the integration requires a separate xMatters user with permissions to access the integration's forms. By default, users with the Full Access User role have these permissions. To change this (for example, to limit the access to a specific user), you can modify form permissions.

To set up a REST API user:

1. In the xMatters web user interface, click theUserstab. 2. ClickAdd User.

3. On the Add a User page, specify the following settings:

l User ID: Type the value you configured as INITIATOR_USER_ID in the configuration.js file. The default is

"casdm".

l First Name: CA Service Desk l Last Name: Manager

4. SelectFull Access Userfrom the Available Roles list, and then click Add.

l The role you select must match the role configured under Permissions in the integration form.

5. ClickSave.

6. On the Change Web Login page, specify the following settings:

l Web Login ID: Type the value you configured as INITIATOR inconfiguration.jsfile. The default is "casdm".

l New PasswordandVerify New Password: Type the password you encoded in INITIATOR_PASSWORD_FILE.

(10)

2.1.3 Importing the communication plan

The integration package includes a .zip file that was created using the xMatters "Export Plan" feature; this greatly simplifies the xMatters configuration process by enabling you to create the integration communication plan, forms, event properties, and responses in a single step.

To import the communication plan:

1. Log in to xMatters as a company administrator, and click theDevelopertab. 2. In the Manage Communication Plans menu, clickImport Plan.

3. In the Import Communication Plan File dialog box, clickChoose File, and then locate the

\components\xmatters\plans\CASDM.zipfile extracted from the integration archive. 4. ClickOpen, and then clickImport Plan.

5. ClickPlan Disabledto enable the plan. 6. In theEditdrop-down list, selectForms.

7. In theNew Incident Alertsform, in theNot Deployeddrop-down list, clickCreate Event Web Service.

l After you create the web service, the drop-down list label will change toWeb Service Only.

8. In theWeb Service Onlydrop-down list, clickPermissions.

9. Enter the REST API user you created in "Adding the web service and REST API users" on page 5. 10. ClickSave Changes.

Accessing web service URLs

To get the web service URL for a form, in theWeb Service Onlydrop-down list, clickAccess Web Service URL. Copy the highlighted URL at the top of the dialog box.

2.1.4 Installing the integration services

To install the integration services, you must perform the following steps:

l Copy the folder containing the integration components into the integration agent; this process is similar to patching the

application, where instead of copying files and folders one by one, you copy the contents of a single folder directly into the integration agent folder (<IAHOME>). The folder structure is identical to the existing integration agent installation, so copying the folder's contents automatically installs the required files to their appropriate locations. Copying these files will not overwrite any existing integrations.

l Modify the integration agent'sIAConfig.xmlfile to include the paths for the new integration services. l Modify the variables in theconfiguration.jsfile associated with the integration services.

If you have more than one integration agent providing the CA SDM service, repeat the following steps for each one.

Note: If you have already installed an existing integration, ensure that you back up thededuplicator-filter.xmlfile (if one exists) in the<IAHOME>\conffolder before you install this integration. 

To install the integration service:

1. Copy all of the contents of the\components\integration-agentfolder from the extracted integration archive to the

<IAHOME>folder.

2. If you backed up an existing deduplicator file as indicated in the note above, merge the contents of your backup with the newly installed<IAHOME>\conf\deduplicator-filter.xmlfile: open both files in a text editor, and then copy the <filter> node from the backup file into the new deduplicator file after the last </filter> node. Save and close the file.

(11)

<path>caservicedesk-2-1/caservicedesk-2-1/caservicedesk.xml</path>

4. Open theconfiguration.jsfile (now located in <IAHOME>\integrationservices\caservicedesk-2-1\caservicedesk-2-1\folder, and set the values for the following variables:

Variable Description

SERVICE_DESK_URL The URL of the CA SDM web service.

SERVICE_DESK_USER The user name of the CA SDM web service user used to access the web

services.

SERVICE_DESK_PASSWORD_FILE Location of the file containing the web service user's password; for instructions on how to set the password for this user, see "Installing the integration

services", below.

DEDUPLICATOR_FILTER The name of the filter used to suppress duplicate notifications for this

integration. For more information, see "Filtering and suppression" on page 26.

DELETE_EXISTING_EVENTS Sends a "delete" prior to creating the new event, which will clear any existing events for the incident ID.

WEB_SERVICE_URL Specifies the web service URL of the Incidents Alerts form, which is used to create events in xMatters. You can locate the web service URL for this form on the CA SDM communication plan after you have imported it into xMatters. For more information, see "Importing the communication plan" on page 6.

FORMS Maps each of the ticket types used in CA SDM to the corresponding

communication plan form's web service URL.

Note: You will need a web service URL for each form used in the integration. For more information, see "Importing the communication plan" on page 6.

ERROR_FORM Specifies the web service URL of the Error Alerts form, which is used to create

events in xMatters for any errors encountered while processing a user's response.

INITIATOR Specifies the web login ID of a separate xMatters user for authenticating REST

API requests. The user (or its role) must have permission to access the integration's forms via the REST API.

For more information, see "Adding the web service and REST API users" on page 5.

RESPONSES Maps response text returned by the getValidTransitions web service call to

xMatters responses for each xMatters form or CA SDM ticket type. Each response in xMatters is represented by a UUID for that response, available on the Responses tab for that form in the web user interface.

For more information, see "Response choices" on page 24.

INITIATOR_PASSWORD_FILE Specifies the location of the file containing the password of the xMatters initiator user.

Note: This password file must be created using the IAPassword utility, as explained in "Setting web services user password", below.

(12)

Variable Description

INITIATOR_USER_ID Specifies the user ID of xMatters initiator user that authenticates REST API calls.

INTEGRATED_PROPERTIES Specifies the mapping of properties returned by the CA SDM web service to the integrated properties in xMatters.

TICKET_CONTACTS Names of CA SDM incident properties to be treated as Contact UUIDs and

resolved via look-up call to CA SDM.

Note: To improve performance, include only those properties that will actually be used as integrated properties.

5. Save and close the file. 6. Restart the integration agent.

l On Windows, the integration agent runs as a Windows Service; on Linux, it runs as a daemon.

2.1.5 Setting web services user password

This integration includes an encrypted file, located in the<IAHOME>\conffolder, that stores the password for the web services user required for the management system. You will need to update the file with the correct password for the SERVICE_DESK_USER variable specified in thecaservicedesk-2-1\configuration.jsfile.

Password file name:

l caservicedesk.pwdstores the password for the SERVICE_DESK_USER user used by the caservicedesk-2-1

integration service. If you change the name of this file, you must also update theconfiguration.jsfiles to point to the correct password file.

To specify a web service user password:

1. Open a command prompt, and then navigate to<IAHOME>\bin.

2. Run the following command, where <new_password> is the password for the web services user specified in the

configuration.jsfile, <old_password> is the existing password (the default value for a newly installed integration is "password"), and <filename> is the name of the password file (caservicedesk.pwd).

iapassword.bat --new <new_password> --old <old_password> --file conf/<filename>.pwd

To configure the xMatters REST API user password:

1. Open a command prompt, and then navigate to<IAHOME>\bin.

2. Run the following command, where <new_password> is the password for the INITIATOR user specified in the

configuration.jsfile, and <old_password> is the existing password (the default value for a newly installed integration is "password"):

iapassword.bat --new <new_password> --old <old_password> --file conf/.initiatorpasswd

2.1.6 Installing the integration script

Each integration service has a pair of operating-system-specific integration scripts (xmattersIntegrationand xmattersIntegration.bat) that are used as a bridge between CA SDM and the event integration service.

(13)

Configuring the integration script

These scripts assume that the integration agent has been installed to the default<IAHOME>folder listed in "Directory paths" on page 2. If the integration agent has been installed in a different location, the script files should be updated to reflect the installation path of your integration agent, specifically the apclient.bin.exe file.

Note also that a change in CA SDM also requires that any paths in these script do not contain spaces. This is a common issue on Windows systems, where the default installation path includes the "Program Files (x86)" folder. In this case, you will need to replace all paths in the xmattersintegration.bat file with their "8dot3" formatted equivalents.

To determine the 8dot3 version of a folder name, run the following command in its parent folder:

dir /x

This command will produce a directory listing of the folder's contents in 8dot3 format. For example, theProgram Files (x86)folder is often represented asPROGRA~2. Use these folder names when configuring your integration script as described in the following steps.

To configure the integration script:

1. For Windows systems, determine the "8dot3" representation of the path to your<IAHOME>folder.

l For example, to determine the 8dot3 representation of the default integration agent installation folder should

resemble the following:

c:\progra~2\xmatters\integr~1

2. Open the<CA SDM>\bin\xmattersintegration.bat(orxmattersintegrationfile on Linux systems) file in a text editor.

3. Edit the following lines to replace the paths with the location of your integration agent's bin folder.

IF EXIST "C:\Program Files (x86)\xmatters\integrationagent\bin\" ( SET IAHOME=C:\Program Files (x86)\xmatters\integrationagent

Note that on Windows systems, this involves replacing both instances ofC:\program files (x86)

\xmatters\integrationagentwith the 8dot3 representation. For example, to use the path shown earlier, you would edit the lines as follows:

IF EXIST "c:\progra~2\xmatters\integr~1\bin\" ( SET IAHOME=c:\progra~2\xmatters\integr~1

4. Save and close thexmattersintegration.batfile.

Note that some versions of the integration script contains two sets of similar lines; for example:

IF EXIST "C:\Program Files\AlarmPointSystems\IntegrationAgent\" ( SET IAHOME=C:\Program Files\AlarmPointSystems\IntegrationAgent )

IF EXIST "C:\Program Files (x86)\xmatters\integrationagent\bin\" ( SET IAHOME=C:\Program Files (x86)\xmatters\integrationagent

)

It is recommended that you replace both sets of the lines with a single set as identified in the steps above.

Installing the integration script

To simplify the command path for the xMatters Notification Method that will be created in CA SDM, it is recommended that you copy the integration script files to the CA SDM server.

To install the integration script, do one of the following:

l On Windows systems, copy the

(14)

Install Folder>\Service Desk\binfolder. (On Windows systems, the default CA SDM installation location is

C:\Program Files\CA\Service Desk Manager.)

l On Linux systems, copy the components/integration-agent/integrationservices/caservicedesk-2-1/caservicedesk-2-1/xmattersIntegrationfile from the extracted integration archive to the<CA SDM Install Folder>/Service Desk/binfolder.

Note that while each of the integration services has its own version of the integration script, you only need to install the script for the caservicedesk-2-1 integration service into the CA SDMbinfolder.

2.2 Configuring CA Service Desk Manager

Configuring CA SDM to combine with xMatters requires the following steps:

l Configure a new notification method to notify Users via xMatters.

l Optionally, configure CA SDM to use managed login and allow impersonations (recommended).

Note that you may also want to perform periodic maintenance on the CA SDM temporary files, as described in "Purging temporary files" on page 23.

2.2.1 Configuring a notification method

To configure a notification method for this integration, create a new notification for xMatters, and then set CA SDM to use the new notification method.

To configure a notification method:

1. In the CA Service Desk Manager Web Client interface, click theAdministration tab, expandNotifications, and then click Notification Methods.

2. ClickCreate New.

3. In the Create New Notification Method dialog box, enter the following information:

l Symbol: xM l Write to File: Yes l Supports SMTP: No l Record Status: Active

l Description: Notify via xMatters

4. In theNotification methodfield, type the command appropriate for your operating system:

Windows:

launchit.exe -b xmattersIntegration.bat

Linux:

launchit -b xmattersIntegration

5. Set thexMnotification method for contacts.

l CA SDM will now use the xMatters On-Demand to notify users.

6. Configure the notification rules in CA SDM.

For more information on how to automatically notify key personnel about ticket activities and events, refer to theCA Service Desk Manager Administration Guide.

2.2.2 Configuring CA SDM to use managed login

It is recommended that you configure CA Service Desk Manager to support managed login so that interactions from xMatters to CA SDM can be executed by impersonating the user responding to the notification.

(15)

Note: Note that this requires each CA SDM user who you want to receive notifications from xMatters to have the

Impersonatecheck box selected.

The Managed Login functionality in CA SDM performs the user authentication by locating the defined security policy through the plain text policy code, finding the policyholder's public key associated with the policy, decrypting the encrypted policy code, matching decrypted content with the policy code, and finally, opening a session with a back-end server.

To configure Managed Login on CA SDM, please refer to theCA Service Desk Manager Technical Reference Guideon how to create the Manager Certificate for use in this process.

Note: Ensure that you create a copy of the Manager Certificate file and store it in a location outside the CA SDM sub-directory. Upgrading CA Service Desk Manager will overwrite the Manager Certificate.

Once the Manager Certificate has been created, open thecaservicedesk-2-1\caservicedesk-2-1\configuration.js

file and ensure that the ACCESS_POLICY_FILE_PATH matches the location of the Manager Certificate (ending in a forward slash) and the ACCESS_POLICY matches the name of the Manager Certificate (with no file extension). The values in the

configuration.jsfile are the default values that are applicable if you are following the CA Service Desk Manager Technical Reference Guide.

If the integration is not being configured to use managed login, the MANAGED_LOGIN and ENABLE_IMPERSONATE variables should be set to false. In this case, the SERVICE_DESK_USER will be used to update the tickets from xMatters responses.

The managed login functionality applies only to the notification integration; the data load service does not use managed login.

2.2.3 Configuring a contact for system notifications

If you are configuring the integration to use managed login as described in "Configuring CA SDM to use managed login" on page 10, it is recommended that you configure a separate CA SDM contact to use for xMatters system notifications (such as delivery notifications).

You can use any Access Type that has Functional Access for issue_mgr set to "Modify" in the CA SDM Security and Role Management details. For more information, refer to your CA SDM documentation.

To configure the contact:

1. In the CA SDM interface, click theAdministrationtab, expandSecurity and Role Management, then clickContacts. 2. ClickCreate New.

3. In the Create New Contact dialog box, enter the following information:

l Last Name: xMatters l User ID: xMatters

l Access Type: Administration l Status: Active

4. ClickSave.

Note: If you enter a different User ID, you must also update the update the ANNOTATION_USER value in the

(16)

Chapter 3: Integration Validation

After configuring xMatters and CA SDM, you can validate that communication is properly configured.

Ensure that the xMatters integration agent has been started and is running properly. For more information, consult thexMatters integration agent guide.

The following sections will test the combination of xMatters and CA SDM for notification delivery and response.

3.3 Triggering a notification

To trigger a notification, create a new ticket or incident in CA SDM, and assign it to a user that exists in both CA Service Desk Manager and xMatters.

3.4 Responding to a notification

This section describes how to respond to a notification from xMatters. In the following example, the notification is received via the xMatters mobile app on an Android phone, but the process is similar for all devices.

To respond to a notification:

1. When the notification arrives, the mobile app uses the subject of the notification as a push message to let the user know that a new alert is available:

(17)

2. When the user opens the mobile app, they can see the new alert waiting in their inbox:

3. The user can open the alert to see its contents and the details of the problem:

4. To respond to the notification, the user scrolls down to view the available options, and then clicks a response choice:

(18)

5. On some systems, the user can also choose to add a comment or annotation to the response.

l Note that these annotations are visible only in the event's Log report in xMatters, and not sent back to

CA SDM.

(19)

3.5 Viewing response results

To view the results of the response, view the ticket in CA SDM.

In the following example, the "Assignee" field has been updated to the name of the responding User, the "Status" has been updated to "Acknowledged", and the "Incident Activity Log List" has been updated with additional entries to show the changes resulting from the User's response:

(20)
(21)

Chapter 4: Optimizing and Extending the Integration

This section describes some of the available methods you can use to optimize or extend the xMatters On-Demand for CA Service Desk Manager integration.

4.1 Customizing communication plan forms

The default communication plan includes one form for each separate ticket type (change order, incident, issue, request and problem) and an Error Alerts form used to notify users about any errors encountered while processing their responses.

The form layouts reflect the properties of the detail screen for each corresponding ticket type in CA SDM, but the default message content is identical. Each form can be customized separately.

In addition to ticket properties, the integration injects the following event properties (properties marked with an asterisk are required by the Error Alerts form):

l ERROR_MESSAGE (*) l ERROR_RESPONSE (*)

(22)

l ERROR_SUBJECT (*) l NOTIFICATION_COMBO_NAME l NOTIFICATION_FILE l NOTIFICATION_MESSAGE l NOTIFICATION_SUMMARY l NOTIFICATION_USERID l NX_NTF_PERSISTENT_ID l NX_NTF_REF_NUM l NX_NTF_TYPE_SYM l PRIORITY l STATUS l TICKET_FACTORY

The integration requires the following properties to be included in callbacks:

l NX_NTF_PERSISTENT_ID (the CA SDM ticket ID) l NX_NTF_REF_NUM (the CA SDM ticket number) l STATUS (the ticket status)

l TICKET_FACTORY (the abbreviated ticket type)

Note that this integration intentionally suppresses all callbacks for events created by the Error Alerts form.

4.1.1 Adding a new property

You can add new CA SDM properties to your forms, and include them in messages.

Note: For more information about designing and modifying communication plan forms, click the Help button at the top of the page in xMatters.

To add a new property to a form:

1. Navigate to the Manage Communication Plans page in xMatters, and on the CA SDM plan, clickEdit > Properties. 2. Click theCreate Propertybutton, and configure the type of property you want to add and set its details.

3. Add the property to any forms on which you want to include the information.

l If required, include the property in callbacks.

4. Save the changes to your form.

5. Open the caservicedesk-event.js file in a text editor, and locate the function createApxmlFromCaNotificationFile. 6. For each property you want to retrieve from CA SDM, add the following line to the

createApxmlFromCaNotificationFile section:

apxml.setToken("<PropertyName>","<value>");

Where <PropertyName> is the name of the property you added in xMatters, and <value> is the name of the property you want to retrieve from CA SDM.

Note that this function is called for every ticket type. To add the property to only one form, make sure to check for ticket type (e.g., the ticketFactory variable).

4.1 Configuring integrated properties

This version of the integration supports integrated properties and includes a sample communication plan you can use to demonstrate and test this feature.

(23)

This plan is not required for the feature to work and is provided only as an example; to add integrated properties to an existing communication plan skip to Step 2.

Step 1: Import the sample plan

This integration includes a sample plan containing a simple form that you can use to manually create notifications with a custom "escalation message" property and ticket data retrieved from CA SDM.

To import the sample communication plan:

1. Log in to xMatters, and click theDevelopertab. 2. On the Communication Plans page, clickImport Plan.

3. In the Import Communication Plan File dialog box, clickChoose File, and then locate the

\components\xmatters\plans\CASDIntegratedPropertiesforIncidents.zipfile extracted from the integration archive.

4. ClickOpen, and then clickImport Plan. 5. ClickPlan Disabledto enable the plan. 6. In theEditdrop-down list, selectForms.

7. In the Incident with Integrated Properties form, in theNot Deployeddrop-down list, clickForm.

l After you deploy the form, the drop-down list label will change to "Form Only".

8. In theForm Onlydrop-down list, clickPermissions.

9. Enter a user or group that will have permission to send messages using this form, and then clickSave Changes.

Step 2: Defining the integration service

For the installation to be successful, the integration service names must match the names specified in the

caservicedesk.xmlfile installed on the integration agent.

To define an Integration Service:

1. In xMatters, on the Event Domains page, click theapplicationsevent domain. 2. On the Event Domain Details page, in the Integration Services area, clickAdd New. 3. Enter the following information into the form:

l Name: caservicedesk-2-1

l Description: CA Service Desk Integration Service l Path:Not required.

4. ClickSave.

Step 3: Configure the integrated properties

Once you have imported the sample plan and created the integration service, you can set up the integrated properties for your integration. (Integrated properties are not included in exported communication plans; they must be manually configured.)

Note: For more information about configuring integrated properties, click the Help button on the Integrated Properties tab in xMatters.

To configure the integrated properties:

1. In xMatters, on the CA SDM Integrated Properties for Incidents plan, click theIntegrated Propertiestab, and then clickCreate Integrated Properties.

2. In the Create Integrated Properties dialog box, in theNamefield, typeIncident Properties, and then clickCreate Integrated Properties.

(24)

3. ClickEditbeside the new integrated properties.

4. On the Incident Properties page, enter the following information:

5. Click theCreate a request propertybutton, and then selectTextfrom the drop-down list.

6. In the Create a new Text property dialog box, in theNamefield, typeIncident #, and then clickCreate request property.

7. Click theCreate a response propertybutton to add a response property; the table below describes the default properties supported by the integration.

l You can create all of your response properties for the sample form as text properties, but make sure you modify

theMaximum Sizefor each property to account for longer fields such as Description. 8. When you have finished adding properties, clickSave Changes.

9. To check your configuration, clickSend Test Requestand inspect the returned data.

10. Once you are satisfied with your changes, click theFormstab, and then click Edit > Layoutfor the Incident with Integrated Properties form.

11. On the Layout tab, drag theIncident Propertiessection from the Integrated Properties section and drop it onto the form layout.

12. ClickSave Changes.

Available properties

The names of the properties must match the names returned by the handleGetIncident() function defined in the integration's

caservicedesk-properties.jsfile. By default, this function uses the INTEGRATED_PROPERTIES variable defined in

configuration.jsto map XML elements returned by CA SDM web service to property names. Elements not found in the INTEGRATED_PROPERTIES variable are included as is. The integration also resolves Contact UUIDs to user names for properties included in the TICKET_CONTACTS array, and converts the dates into a human-readable format. You can edit the handleGetIncident() function to modify these behaviors.

Theconfiguration.jsfile includes the following default mappings to ticket properties in CA SDM.

Name Mapped value in CA SDM

Requester requested_by

(25)

Name Mapped value in CA SDM Area category Priority priority Status status Active active Reported By log_agent Assignee assignee Group group

Affected Service affected_service

Urgency urgency

Impact impact

Major Incident major_incident

Configuration Item affected_resource

Problem problem

Call Back Date/Time call_back_date

Resolution Code resolution_code

Resolution Method resolution_method

Caused By Change Order caused_by_chg

External System Ticket external_system_ticket

Symptom symptom_code

Change change

Description description

Summary summary

Open Date/Time open_date

Resolve Date/Time resolve_date

Last Modified last_mod_dt

Close Date/Time close_date

Total Activity Time time_spent_sum

You can choose to include only a subset of properties; in this case, xMatters ignores the remaining properties returned by the integration and does not display them to users.

Step 4: Send a test message.

(26)

To add the integrated properties to message content:

1. On your communication plan form, click theMessagestab.

2. ClickEditfor each message type to which you want to add integrated properties.

3. In the message builder, drag the properties you want to include from the integrated properties section on the right and drop them into the message.pane.

l Voice messages are constructed differently than email and text messages; for more information about working

with voice messages, click theHelpbutton at the top of the page on the Messages tab. 4. ClickSave Changes.

You are now ready to send a test message containing the integrated properties.

To send a test message:

1. Click theMessagingtab, and click the name of the form with the integrated properties.

l If you imported the sample communication plan, the form is named Incident with Integrated Properties.

2. On the form, in the Recipients section, specify a user (or device) whose notifications you can access. 3. Type a brief message in theEscalation Messagefield.

4. In the Integrated Properties section, in theIncident #field, type the ID number for an active ticket in your system, and then click Search.

l xMatters will automatically populate the fields with the details of the specified ticket. You can modify these

details before sending the message, but your changes will not be reflected on the associated ticket.

5. ClickSend Messageto send a test message to the specified recipient.

(27)

4.2 Purging temporary files

This integration relies on temporary files created by CA SDM to store notification data that will be sent to the integration agent. Files generated for the xMatters integration are not needed after the incident has been injected to the integration agent, but the temporary files are not automatically deleted.

If these files are not purged occasionally, injections into xMatters may be delayed while CA SDM searches for the next available file name; for example, after restarting CA SDM.

By default, these files are stored in thetempfolder on the CA SDM server, and are named sequentially, e.g.c:\temp\1, c:\temp\2, etc.

The integration creates a folder into which it moves the notification files after they have been processed. This folder is named "xmatters", and is located within the original file location.

For example, if CA SDM creates a notification file calledC:\temp\1, the integration renames the file and moves it to

c:\temp\xmatters\1.<date>, where<date> is the current date and time in a "yyMMddHHmmss" format. (The directory and filename scheme can be customized by editing thecaservicedesk.jsintegration script.

This process is intended to reduce the delay presently encountered after CA SDM is restarted, before notifications are sent to the integration agent.

It is recommended that you occasionally purge the files from thetemp\xmattersfolder to reduce congestion of the CA SDM server's file system.

4.2.1 Customizing the handling of temporary files

The temporary file handling feature can be disabled or configured by modifying the following sections within the

caservicedesk-event.jsintegration script.

// markProcessed() will attempt to move the parsed notification file to a subdirectory called xmatters.

// This is bound by file system access so if you don't want this feature just comment out fileParser.markProcessed().

fileParser.setCopyAfterProcessing(false); fileParser.markProcessed();

//fileParser.markProcessed('<custom directory>');

// If you want a different directory, use full qualified path.

//fileParser.markProcessed('<custom directory>', '<custom filename>'); // If you want to control directory and file name.

If setCopyAfterProcessing is set to "true", then the integration will put a copy of the CA SDM temporary file into the

xmattersfolder after processing; otherwise, the file will be moved.

If you want the file to be moved to a folder other than%temp%\xmatters, then specifiy the desired location by setting the

"fileParser.markProcessed('<custom directory>');" parameter. For example:

fileParser.markProcessed('c:\deleteme');

If you edit the script to specify "fileParser.markProcessed('<custom directory>', '<custom filename>');", then the files will be moved to a custom folder and will be renamed. Note that this will cause the previous notification files to be overwritten, and so it will effectively prevent the hard drive from filling up with temporary files (since each file will replace the previous one when it is moved and renamed.)

For example:

(28)

4.3 Response choices

This integration allows recipients to respond to notifications with several default choices, some of which are injected back to the CA SDM server, updating the original incident. Users notified on email or mobile devices also have the ability to respond with an extra annotation message which will be logged in the original CA SDM incident.

The response choices presented on a notification will vary according to the ticket type that the notification represents, and the current status of the incident. xMatters presents the response choices that would be available in the ticket if the user were to perform the update directly in CA SDM.

Which the exception of "Ignore" and "Annotate", response choices are essentially ticket statuses and will update the status of the ticket to the specified response choice. CA SDM also adds an activity log entry to the ticket with details of who changed the status, and from which Device. "Ignore" and "Annotate" do not modify the ticket status; they only update the activity log. Not all response options available in CA SDM can be presented to each recipient, because xMatters limits the number of available response options for each form to nine. You can customize response options to satisfy customer requirements by modifying the form's responses and updating the RESPONSES map in theconfiguration.jsfile. The Error Alerts form has only one response option, Accept, which terminates the event.

Note: To remove the "Ignore" option, edit theconfiguration.jsfile in a text editor, and set theADD_IGNORE_RESPONSE

option tofalse.

The following tables list the default response options for each form and their associated actions as defined on the xMatters form.

Option Action

Ignore Escalate

RFC Assign to User

Approved Assign to User

Implementation in progress Assign to User

Scheduled Assign to User

Backed Out Assign to User

Cancelled End

Closed End

Open Assign to User

Change order response options

Option Action

Ignore Escalate

Acknowledged Assign to User

Resolved End

(29)

Option Action

Closed End

Closed Unresolved End

Awaiting End User Response Assign to User

Awaiting Vendor Assign to User

In Progress Assign to User

Open Assign to User

Option Action

Ignore Escalate

Acknowledged Assign to User

In Progress Assign to User

Resolved End

Cancelled End

Awaiting End User Response Assign to User

Avoided by Self Service End

Closed End

Open Assign to User

Issue response options

Option Action

Ignore Escalate

Acknowledged Assign to User

Approval in Progress Assign to User

Approved Assign to User

In Progress Assign to User

Cancelled End

Close Requested End

Closed End

Open Assign to User

(30)

Option Action

Ignore Escalate

Acknowledged Assign to User

Approved Assign to User

Closed End

Rejected Assign to User

Fix in Progress Assign to User

Fixed End

Known Error End

Open Assign to User

Problem response options

4.3.1 Adding annotation messages

Two-way email Device notifications (not FYI) can add extra annotations that will be added to the CA SDM incident. To add an extra annotation, respond to an email notification with the following format in the subject line:

RESPONSE <Choice> <Message>

<Choice>can be any of the response choices listed in the table above, and<Message>can be any content you want to add as the annotation.

4.3.2 Changing and adding response choices

You can change the response choices by adding new statuses and transitions in CA SDM. For each new status you add, you must update the responses in the corresponding xMatters form and in the RESPONSES map in theconfiguration.jsfile

for the integration to be able to handle the new response choice.

A new entry in the RESPONSES map must match the response text as returned by getValidTransitions web service.

4.4 Delivery Annotations

This integration extensively annotates the originating CA SDM ticket for each device to which a notification is delivered, but this may not be desirable in all environments. To prevent the delivery annotation of an incident, change the

ANNOTATE_DELIVERY constant tofalsein the configuration.js file.

4.5 Filtering and suppression

The xMatters integration agent's Portable Filtering and Suppression Module is a built-in module that maintains a rolling record of previously injected events, and allows for the suppression of duplicates (also referred to as "deduplication"). This helps avoid disruption of traffic due to inadvertent loads that can result when, for example, improperly configured

management systems inject duplicated events.

Thededuplicator-filter.xmlfile is installed in the<IAHOME>\conffolder and is configured to suppress duplicate events

for 30 minutes (up to a maximum of 100 events in that period).

This filter can be modified to extend the time period over which an event is considered to be a duplicate, the number of events in that period and the tokens that are used to determine what makes the event unique.

(31)

For example, to add REQUESTOR_NAME to the tokens, open thededuplicator-filter.xmlfile in a text editor and add

the following line to the <predicates> collection:

<predicate>REQUESTOR_NAME</predicate>

Save the file and restart the integration agent for the changes to take effect.

Note: To see a complete list of predicates available in the integration, reviewing the Event Data in the Event Summary Report in the xMatters web user interface.

4.6 Configuring SSL

This integration supports SSL communication between the integration agent and CA SDM and between the integration agent and xMatters.

4.6.1 Using self-signed certificates

The SSL support has been configured out of the box to support self-signed certificates. This is not recommended for production systems due to security reasons, unless you are aware and accepting of the security implications of self-signed certificates.

To modify the SSL configuration:

1. Open the<IAHOME>\integrationservices\caservicedesk-2-1\lib\lib_1_2_

7\javascript\webservices\wsutil.jsfile and modify the ACCEPT_ANY_CERTIFICATE variable as follows:

l Set totrueto use SSL but trust any certificate (including self-signed ones).

l Set tofalseto accept only Certificate Authority (CA) certified certificates (recommended in production

environments).

4.6.2 Importing certificates

The next step required to enable SSL support is to import the certificate used by the CA SDM web server to the cacerts keystore of the Java Virtual Machine (JVM) bundled with the integration agent.

Using the keytool executable located at<IAHOME>\jre\bin, execute the following command on the integration agent to import the certificate, replacing the variables with the appropriate values as described in the list below:

keytool -import -alias <your.alias> -file <path>/<certificate>.cer -keystore <dir>/jre/lib/security/cacerts -storepass <password>

l <your.alias>: an identifier for the certificate within the keystore; for example, you can use the string

"caservicedesk-2-1".

l <path>: path to the certificate

l <certificate>: the certificate’s file name

l <dir>: the directory in which the integration agent is installed.

l <password>: the password for the cacerts keystore; the default password is "changeit".

If you want to configure SSL support between the integration agent and xMatters, use the above command to import the trusted certificate for xMatters into the integration agent keystore (for information on setting up SSL in xMatters, consult the xMatters Community site at http://support.xMatters.com

4.6.3 Updating HTTP to HTTPS

The configuration of HTTPS requires changes to three files, located within the integrationservices/caservicedesk-2-1/folder:

(32)

caservicedesk-2-1:

caservicedesk-2-1/configuration.js

lib/lib_1_2_7/javascript/webservices/wsutil.js lib/lib_1_2_7/javascript/xmatters/xmattersws.js

In the remainder of this section these files will be referred to by name without their path.

The next step is to update the SERVICE_DESK_URL in theconfiguration.jsfile to use the HTTPS protocol instead of HTTP.

The modified value should resemble the following:

var SERVICE_DESK_URL = "https://localhost:8443/axis/services/USD_R11_WebService";

Note: For trusted certificates, "localhost" should be replaced with the COMMON NAME (CN) specified in the certificate and the port should be set to the port specified in the SSL configuration for CA SDM.

To configure the integration agent to use HTTPS when communicating with xMatters:

1. In a text editor, open the<IAHOME>\conf\IAConfig.xmlfile.

2. Modify the URL for the <primary-servers> and <secondary-servers> elements to use the HTTPS protocol instead of HTTP; the section should resemble the following:

<primary-servers>

<!--| 0 or more URL elements that specify the primary location of each xMatters server's

| RegisterIntegrationAgent Web Service. The URLs must begin with either http:// or https:// | and cannot have a query or fragment component. The URLs must be resolvable from this IA. +-->

<url>https://localhost:8443/api/services/AlarmPointWebService</url> </primary-servers>

<!--| These servers are assumed to be connected to the same xMatters database, | which can be different than the primary servers' database.

+-->

<secondary-servers>

<!--| 0 or more URL elements that specify the secondary location of each xMatters server's | RegisterIntegrationAgent Web Service. The URLs must begin with either http:// or https:// | and cannot have a query or fragment component. The URLs must be resolvable from this IA. +-->

<url>https://localhost:8443/api/services/AlarmPointWebService</url> </secondary-servers>

Note: For trusted certificates, "localhost" should be replaced with the COMMON NAME (CN) specified in the certificate and the port should be set to the port specified in the SSL configuration for the xMatters server.

3. Modify the value for the <service-gateway> element to use SSL; note that the service-gateway host IP must be resolvable from the xMatters servers:

<service-gateway ssl="true" host="localhost" port="8081"/>

4. Restart the integration agent.

4.6.4 Optional Configuration

(33)
(34)

References

Related documents

The results of analysing a total of 64 factors considered in the questionnaire reveal that the top five factors affecting the accuracy of pre-tender cost estimating are (1) materials

[r]

[r]

[r]

The following screen shows an Entity Links page (between Session Manager and Communication Manager) used during the compliance test... All

146 Connector for CA Unicenter® Service Desk &amp; CA Software Change Manager for Distributed Product Guide Create Harvest Package and Associate to CA Clarity PPM Feature

CA Service Desk on Demand helps provide a complete picture of your IT environment, automates many aspects of problem diagnosis and fault isolation and leverages ITIL best practices

Holistic service support is about replacing the traditional siloed approach to incident, problem, change, configuration, and asset management with a unified service support