Oracle® Enterprise Manager Installation and Configuration Guide for Microsoft Systems Center Operations Manager Connector Release 12.1 (12.1.0.2.0) Part Number E28572-04 |
|
|
PDF · Mobi · ePub |
This appendix describes the SCOM mappings and various other configuration defaults and contains the following sections:
Example A–1 represents the format that the Microsoft SCOM web service expects for creating new alerts in Microsoft SCOM. Example A–2 represents the format that the Microsoft SCOM web service expects for updating alerts in Microsoft SCOM.
Example A-1 Sample Create Format for Microsoft SCOM Web Service
<iwaveaf:create xmlns:iwaveaf="http://iwavesoftware.com/services/ adapter-framework"> <event> <summary></summary> <description></description> <severity></severity> <priority></priority> <extended-fields> <string-field name="CustomField1"></string-field> ... <string-field name="CustomField10"></string-field> </extended-fields> </event> </iwaveaf:create>
Example A-2 Sample Update Format for Microsoft SCOM Web Service
<iwaveaf:update xmlns:iwaveaf="http://iwavesoftware.com/services/ adapter-framework"> <event> <identifier></identifier> <status></status> <extended-fields> <string-field name="AlertHistory"></string-field> <string-field name="CustomField1"></string-field> … <string-field name="CustomField10"></string-field> </extended-fields> </event> </iwaveaf:update>
Table A–1 identifies the mappings between the Microsoft SCOM alert field names and the XML format that the Microsoft SCOM web services uses when creating an alert in SCOM. Table A–2 identifies the mappings between the Microsoft SCOM alert field names and the XML format that the Microsoft SCOM web services uses when updating an alert in SCOM.
The XML document presented to the Microsoft SCOM web service must have the corresponding fields set. Fields denoted with an asterisk ( * ) are optional. This must be handled in the appropriate translation file identified in Table A–1.
Table A-1 Create Alert Attributes and XML Path Mappings
Microsoft SCOM Slot Names | XML Path | Attribute Name | Attribute Value |
---|---|---|---|
Name |
/create/event/summary |
||
Description |
/create/event/severity |
||
Priority |
/create/event/priority |
||
* Custom Field 1 |
/create/event/extended-fields/string-field |
name |
CustomField1 |
* Custom Field 2 |
/create/event/extended-fields/string-field |
name |
CustomField2 |
* Custom Field 3 |
/create/event/extended-fields/string-field |
name |
CustomField3 |
* Custom Field 4 |
/create/event/extended-fields/string-field |
name |
CustomField4 |
* Custom Field 5 |
/create/event/extended-fields/string-field |
name |
CustomField5 |
* Custom Field 6 |
/create/event/extended-fields/string-field |
name |
CustomField6 |
* Custom Field 7 |
/create/event/extended-fields/string-field |
name |
CustomField7 |
* Custom Field 8 |
/create/event/extended-fields/string-field |
name |
CustomField8 |
* Custom Field 9 |
/create/event/extended-fields/string-field |
name |
CustomField9 |
* Custom Field 10 |
/create/event/extended-fields/string-field |
name |
CustomField10 |
Table A-2 Update Alert Attributes and XML Path Mappings
Microsoft SCOM Slot Names | XML Path | Attribute Name | Attribute Value |
---|---|---|---|
Id |
/update/event/identifier |
||
Resolution State |
/update/event/status |
||
* Custom Field 1 |
/update/event/extended-fields/string-field |
name |
CustomField1 |
* Custom Field 2 |
/update/event/extended-fields/string-field |
name |
CustomField2 |
* Custom Field 3 |
/update/event/extended-fields/string-field |
name |
CustomField3 |
* Custom Field 4 |
/update/event/extended-fields/string-field |
name |
CustomField4 |
* Custom Field 5 |
/update/event/extended-fields/string-field |
name |
CustomField5 |
* Custom Field 6 |
/update/event/extended-fields/string-field |
name |
CustomField6 |
* Custom Field 7 |
/update/event/extended-fields/string-field |
name |
CustomField7 |
* Custom Field 8 |
/update/event/extended-fields/string-field |
name |
CustomField8 |
* Custom Field 9 |
/update/event/extended-fields/string-field |
name |
CustomField9 |
* Custom Field 10 |
/update/event/extended-fields/string-field |
name |
CustomField10 |
* Alert History |
/update/event/extended-fields/string-field |
name |
AlertHistory |
Extended fields pass information for fields that are not mapped. An extended field is defined as a <string-field/> element that is a child of the extended-fields node. The name of the field is specified in the name attribute, and the value of the field is specified as the element value.
In most cases, you can use the default port numbers that the Microsoft SCOM web service uses. However, if there are any conflicts with existing applications, you need to change the port numbers.
8080 is the default port number for HTTP communication, and 8443 is the default port for HTTPS communication. To change the port number, perform the steps in the appropriate subsection.
The SCOM web service uses port 8080 as the default port for communication when the web service is configured at installation to use HTTP (no SSL). To change the port number to a different value, perform the following steps at the system where the SCOM web services are installed. Replace <SCOM_INSTALL> with the directory where the SCOM web services are installed.
Open a command prompt window and change the working directory to:
<SCOMWS_INSTALL>/adapters/conf
Make a back-up copy of the framework.properties file, then open the file with a text editor.
Replace all references to the old port number with the new port number, then save the file.
Restart the web service as instructed in Running the Web Service on Unix and Running the Web Service on Windows.
Perform the following steps to change the URL the SCOM connector is using:
From the Enterprise Manager console, click Setup.
Select Extensibility in the pane.
Select Management Connectors in the left pane.
Click the name of the SCOM Connector.
The General tab of the Configure Management Connector page appears.
Change the URLs listed in the Web Service End Points section to use the new port number.
Click OK to save your changes.
The SCOM Agent requires that a custom field be set aside for its exclusive use. By default, alerts that the SCOM Agent creates will have custom field 10 set to the Guid of the event that triggered the alert. If this presents a problem, perform the following steps to change the SCOM Agent to use a different custom field.
Change the OracleEnterpriseManager.Alert.Creator.xml management pack file to place the event Guid in a different custom field:
On the system where the SCOM Agent is installed, navigate to the directory where the OracleEnterpriseManager.Alert.Creator.xml file is located.
Open the file with a text editor and search for Custom10. You should find the following line in the file:
<Custom10>$Data/EventOriginId$</Custom10>
Change “$Data/EventOriginId$” to “$Data/Params/Param[20]$”.
Locate the tag for the custom field that the SCOM Agent will use, and change the contents to “$Data/EventOriginId$”.
Save the file and exit the editor.
Import the updated management pack into SCOM as described in Section 2.4.4, "Installing the Alert Creator Management Pack".
Change the SCOM Web Service configuration to search for the event Guid in a different custom field:
On the system where the SCOM Web Service is installed, navigate to the adapters/conf directory in the SCOM Web Service installation directory.
Open the framework.properties file with a text editor and search for the scom2007.connector.response.query property.
Change CustomField10 in the search string to the custom field number the management pack is setting.
Save the file and exit the editor.
Stop and start the SCOM Web Service.
Refer to the appropriate section in Chapter 2 based on the platform where the SCOM Web Service is installed. For Unix platforms, see Running the Web Service on Unix. For Windows platforms, see Running the Web Service on Windows.
When installing the SCOM Agent, you must configure the connection parameters used for accessing the SCOM API. The installation includes the SCOMAgentConfig utility you can use to change the Agent configuration parameters.
Perform the following steps to change the connection parameters:
Open Windows Explorer on the system where the SCOM Agent is installed.
Navigate to the bin directory in the SCOM Agent installation directory.
Run the SCOMAgentConfig.exe utility. This action starts the SCOM Agent Configuration Tool.
Click Load. This action opens a directory navigation window.
Navigate to the SCOM Agent installation directory and open the SCOMAgent.cfg file.
Click the Management Groups tab and click Edit. This action displays the Edit Management Group window.
Change the desired information in the following fields listed, then click Update:
Name Server Domain Username Password
Click Save to save the changes to the configuration file.
Click Exit to exit the utility.
Stop and restart the SCOM Agent in IIS.