Você está na página 1de 6

Informatica, Corp.

100 Cardinal Way


Redwood City, CA 94063

Methods to Monitor Best Buy PowerCenter


Grid

January 29, 2007

Prepared by Tim Smith, Enterprise Solution Architect,


Enterprise Solution Services Team

Grid Monitoring Page 1 of 6 January 12, 2007


Table of Contents:

Introduction.................................................................................................................................3
Use Alerts for Email Notification...............................................................................................3
Searching Log Files for Errors....................................................................................................6

Grid Monitoring Page 2 of 6 January 12, 2007


Introduction
This document describes methods to monitor PowerCenter grids for errors. Methods
discussed are using email alerts and scanning log files.

Use Alerts for Email Notification


PowerCenter supports sending email notifications when nodes or services fail.

Managing Alerts
Alerts provide users with domain and service alerts. Domain alerts provide notification about
node failure and master gateway election. Service alerts provide notification about service
process failover. To use the alerts, complete the following tasks:
♦Configure the SMTP settings for the outgoing email server.
♦Subscribe to alerts.
After you configure the SMTP settings, users can subscribe to domain and service alerts.

Configuring SMTP Settings


You configure the SMTP settings for the outgoing mail server to enable alerts. Configure
SMTP settings on the domain Properties tab.
To configure SMTP settings for the domain:
1.On the Domain tab, click Properties.
The Properties tab appears.

2.In the SMTP Configuration area, click Edit.


3.Enter the following settings:
Option Require Description
d/
Optional

Grid Monitoring Page 3 of 6 January 12, 2007


Server Host Required SMTP outbound mail server host name. For example,
Name enter the Microsoft Exchange Server for Microsoft
Outlook.
Port Required Port used by the outgoing mail server. Enter any valid
port number up to 65535. Default is 25.

User Name Condition User name for authentication upon sending, if required
al by the outbound mail server.

Password Condition User password for authentication upon sending, if


al required by the outbound mail server.

Sender Email Optional Email address the Service Manager uses in the From
Address field when sending notification emails. If you leave this
field blank, the Service Manager uses the default
“Administrator@<host>” as the sender.
4.Click OK.

5.There is a known issue in PowerCenter version 8.1.1 (CR 130627) where the smtp
password is not encoded properly when configured through the web interface. You
should use the infacmd updatesmtpoptions command to update the smtp settings.

Infacmd UpdateSMTPOptions
<-DomainName|-dn> domain_name
<-UserName|-un> user_name
<-Password|-pd> password
[<-Gateway|-hp> gateway_host1:port gateway_host2:port...]
[<-ResilienceTimeout|-re> timeout_period_in_seconds]
<-SMTPAddress|-sa> smtp_server_address
[<-SMTPUsername|-su> user_name]
[<-SMTPPassword|-sp> password]
[<-SMTPSenderAddress|-ss> sender_email_address]

Subscribing to Alerts
After you complete the SMTP configuration, you can subscribe to alerts.
To subscribe to alerts:
1.On the Manage Account tab, click Edit in the Personal Profile area.

Grid Monitoring Page 4 of 6 January 12, 2007


2.Enter your email address.
If you enter an invalid email address in the user Preferences or the SMTP configuration is
invalid, the Service Manager cannot deliver the alert notification.
3.Click OK.
4.Click Edit in the User Preferences area.
5.Select Subscribe for Alerts.Managing
6.Click OK.
The Service Manager sends alert notification emails based on your permissions for the
domain and services.
Table 3-1 shows the alert types and events for notification emails:
Table 3-1. Alert Types and Events
Alert Event
Type
Domain Node Failure
Master Gateway
Election
Service Service Process
Failover

Grid Monitoring Page 5 of 6 January 12, 2007


Searching Log Files for Errors
Use infacmd.bat (Windows) or infacmd.sh (Unix) to scan log files for errors. You can filter
the log by specifying a date range and specific services. Additional documentation is
available in the PowerCenter Command Line Reference guide.

infacmd GetLog
The GetLog command fetches log events based on the criteria you provide. You can
fetch log events for a domain, Repository Service, Integration Service, Web Services
Hub, or SAP BW Service. You can write log events to a file or display them on the
screen.

To fetch log events for a domain, you must have permission on the domain. To fetch
log events for a service, you must have permission on the service.

The GetLog command uses the following syntax:


GetLog<-DomainName|-dn> domain_name<-UserName|-un> user_name<-Password|-pd> password[<-Gateway|-hp>
gateway_host1:port gateway_host2:port...][<-ResilienceTimeout|-re> timeout_period_in_seconds][<-StartDate|-sd>
start_date_time][<-EndDate|-ed> end_date_time][<-ReverseOrder|-ro>][<-Format|-fm> format_TEXT_XML_BIN][<-
OutputFile|-lo> output_file_name][<-ServiceType|-st> service_type_IS_RS_WS_BW_PCSF][<-ServiceName|-sn>
service_name][<-Severity|-svt> FATAL_ERROR_WARNING_INFO_TRACE_DEBUG]

Example command:
infacmd.sh –DomainName infabestbuy –UserName admin –Password mypassword -StartDate
2007-01-29_08:00 –EndDate 2007-01-29_08:59
Example output:
Date/Time Svrt Code Service Message
2007-01-29 INF PowerCen [WSH_586] Task Manager worker thread [Thread-67]
08:03:43 ter_WebS is exiting.
ervices_
Hub
2007-01-29 ERR REP_1 PowerCen Repository Error ([REP_51490] Communication with
08:03:44 2400 ter_vm_I client application on host [192.168.0.100] and
ntegrati port [9085] has failed because of network errors.
on_Servi [System Error (errno = 10054): An existing
ce connection was forcibly closed by the remote
host. ].)
2007-01-29 INF LM_36 PowerCen Workflow [load_linux_logs]: Execution succeeded.
08:47:51 318 ter_vm_I
ntegrati
on_Servi
ce
2007-01-29 ERR SPC_1 Service Service Process
08:47:52 0008 Manager [PowerCenter_vm_Integration_Service] output error
[The following message [ *********** FATAL ERROR
: Unexpected Condition in file
[\ZeusbuilderProduction\view\powrmart\common\odl\
oracle8\oradriver.cpp] line [291]. Contact
Informatica Technical Support for assistance.
Aborting this DTM process due to an unexpected
condition. *********** ] was logged by
[Domain_vm\PowerCenter_vm\timtesting\load_linux_l
ogs\s_load_linux_logs]

].

Grid Monitoring Page 6 of 6 January 12, 2007

Você também pode gostar