Table 2–2 (Cont.) emctl Parameters
Parameter
description
2.4.1 Registering Templates
For each template, run the following emctl register_template connector command as a
user with execute privilege on emctl and the ability to read the template:
emctl register_template connector -t <template.xml> -cs //<server>:<port>/<dbSID>
-repos_user <username> -repos_pwd <password> -ctname <connector_type_name> -cname
<connector_name> -iname <internal_name> -tname <template_name> -ttype <template_
type> -d <description>
Replace <template.xml>, <internal_name>, <template_name> and
<template_type> with the values listed in
emctl register_template connector -t $ORACLE_HOME/sysman/connector/HP_Service_
Manager_Connector/ServiceManager_Default_Incident.xsl -cs
//<server>:<port>/<dbSID> -repos_user <username> -repos_pwd <password> -ctname "HP
Service Manager Connector" -cname "HP Service Manager Connector" -iname
"ServiceManager_Default_Incident.xsl" -tname "ServiceManager_Default_Incident.xsl"
-ttype 2 -d "This is the request xsl file for ServiceManager_Default_Incident
method"
The following table lists the properties of each template for the HP Service Manager
Connector.
Table 2–3
template.xsl
ServiceManager_Default_
Incident.xsl
ServiceManager_Default_
Incident_AutoClose.xsl
createTicketResponse.xsl
getTicket_request.xsl
getTicket_response.xsl
updateTicketResponse.xsl
The following example is based on the template values shown in
Example 2–1 Request XSL File for createTicketResponse Method
emctl register_template connector -t $ORACLE_HOME/sysman/connector/
HP_Service_Manager_Connector/createTicketResponse.xsl -cs
//<host>:<port>/<service_name>
-repos_user SYSMAN -repos_pwd <password> -ctname "HP Service Center Connector"
-cname "HP Service Center Connector" -tname "Create Ticket Response" -iname
"createTicket" -ttype 1 -d
Deploying the Connector and Registering the Templates in Enterprise Manager 10g Release 5
Description
Short description for the ticket template. This description is also
displayed in Enterprise Manager.
Possible Replacement Values For register_template Parameters
template_name
<Defined by the users>
<Defined by the users>
Create Ticket Response
Get Ticket Request
Get Ticket Response
Update Ticket Response updateTicket
Table
2–3. For example:
internal_name
<Defined by the users> 2
<Defined by the users> 2
createTicket
getTicket
getTicket
Table
Installing and Registering the Connector 2-5
template
_type
1
2
1
1
2–3.
Need help?
Do you have a question about the Oracle Enterprise Manager 1.0.4.0.0 and is the answer not in the manual?
Questions and answers