Corporation TV Cables User Manual
Working with Ticket Templates
Configuring the Connector 3-5
The templates are the out-of-box ticket templates shipped with the connector. By
default, all out-of-box ticket templates are registered. The templates assume defaults
that may not be applicable to your instance of Service Manager, although they are
designed to work with a default installation of HP Service Manager.
Registering a Template
From the Oracle Management Server (OMS) host command window, run the following
emctl command from the $ORACLE_HOME/bin directory for each applicable ticket
template:
emctl register_ticket_template connector <ticketTemplate.xml> <server> <port>
<database sid> <username> <password> <connectorTypeName> <connectorName>
<templateName> <description>
The template in Example 3–1 creates an Incident in Service Manager and supports
AutoClose.
Example 3–1 register_ticket_template connector
C:\OracleHomes\oms10g\BIN\emctl register_ticket_template connector
"C:\OracleHomes\oms10g\sysman\connector\HP_Service_Manager_
Connector\templates\Service_Manager_Default_Incident_AutoClose.xsl" <Host Server
Name> 1521 emrep SYSMAN <password> "HP Service Manager Connector" "HP Service
Manager Connector" "Service Manager Default Incident AutoClose" "This template
creates an Incident in Service Manager and supports autoclose."
emctl Parameters for Ticket Registration
Table 3–1 provides descriptions for each emctl parameter for ticket registration.
Table 3–1 emctl register_ticket_template Parameters
Parameter Description
ticketTemplate.xsl Fully-qualified name of the ticket template file. The file resides
in the Connector home directory. Oracle recommends that you
use intuitive names since there may be notification methods
created with the same names, and you may have to choose one
of them when you use the Auto Ticketing feature. Use xsl as the
file extension since the format is XSLT; for example,
ServiceCenter_Default_Incident.xsl. If the file is in a
different directory, provide the complete path for the file.
Server Host name of the Enterprise Manager repository.
port Listener port of the repository.
database sid/ Service
Name for RAC DB
Repository database instance ID.
username Specify SYSMAN.
password Password for SYSMAN.
connectorTypeName Connector type name. For example, "HP ServiceCenter
Connector". The double quotes (" ") are mandatory.
connectorName Connector name. This should be the same as the connector type
name. For example, "HP ServiceCenter Connector". The
double quotes (" ") are mandatory.