xmii UDS Overview and Troubleshooting

Similar documents
MDM Syndicator Create Flat Syndication File

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems

Visual Composer - Task Management Application

What s New / Release Notes SAP Strategy Management 10.1

Cache Settings in Web Page Composer

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping

Install TREX for CAF Version 1.00 March 2006

Consuming Web Dynpro components in Visual Composer.

Web Page Composer anonymous user access

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool

Do Exception Broadcasting

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

Visual Composer Build Process

link SAP BPC Excel from an enterprise portal Version th of March 2009

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling.

Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1

How to Use Function Keys in Mobile Applications for Handhelds

How To... Configure Integrated Configurations in the Advanced Adapter Engine

configure an anonymous access to KM

How to Set Up and Use the SAP OEE Custom UI Feature

How To Extend User Details

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible

How To... Reuse Business Objects and Override Operations of a Business Object

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

How to Create a New SAPUI5 Development Component

How to Translate a Visual Composer Model Part I

Building a Tax Calculation Application

How To...Configure Integration of CUP with SPM

Enterprise Portal Logon Page Branding

How to Set Up and Use the SAP OEE Custom KPI Andons Feature

How to Browse an Enterprise Services Registry in Visual Composer

Process Control 2.5 Implementation Checklist

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request

How-To... Add Sensitive Content into an Area

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK

SAP NetWeaver How-To Guide

How to View Dashboards in the Self Service Composition Environment with Additional Metadata

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks

Integrate a Forum into a Collaboration Room

Configure UD Connect on the J2EE Server for JDBC Access to External Databases

How To Troubleshoot SSL with BPC Version 1.01 May 2009

How To... Promote Reports and Input Schedules Through Your System Landscape

View Time Security for crystalreports.com

How To Configure IDoc Adapters

Introducing SAP Enterprise Services Explorer for Microsoft.NET

Configure SSO in an SAP NetWeaver 2004s Dual Stack

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04

Extracting Product Attributes in XML using Web Service

Simplified Configuration of Single System Update in Maintenance Optimizer

Value Help in Web Dynpro ABAP - Tutorial.

PROGRAMATICALLY STARTING AND STOPPING AN SAP XMII UDS EXECUTABLE INSTANCE

How To... Master Data Governance for Material: File Down- and Upload

BusinessObjects Enterprise XI 3.0 with Complex NAT Networks

Setting up Single Sign On Between xmii and Enterprise Portal

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006

How To Generate XSD Schemas from Existing MDM Repositories

Installation Guide Business Explorer

Monitoring System Landscapes Using the DBA Cockpit

Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2

Consuming Directory API in ABAP

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

Setting Up an Environment for Testing Applications in a Federated Portal Network

SAP NetWeaver How-To Guide

Working with Select Options in Web Dynpro for ABAP

Visual Composer for NetWeaver CE: Getting Started with a Typical Workflow

Extract Archived data from R3

What's New in the DBA Cockpit with SAP NetWeaver 7.0

SAP NetWeaver 04. Unification Terminology

SAP Composite Application Framework. Creating a Content Package Object

Configure Peripheral Drivers with Mobile Infrastructure

SAP BPC 5.0 & 5.1 Performance and Reliability tips

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius

Create Monitor Entries from a Transformation routine

How To... Use the BPC_NW Mass User Management Tool

How to Use Definitions in Rules Composer

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

JMS Clustering and Failover

Create Monitor Entries from an update routine

Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006

Handle. How-to Guide SAP NetWeaver 2004s. Version 1.00 Sept 2006

Duet Enterprise: Tracing Reports in SAP, SCL, and SharePoint

SAP NetWeaver How-To Guide. SAP NetWeaver Gateway Virtualization Guide

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to:

Web Intelligence Caching in BusinessObjects Enterprise XI Release 2

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver.

Building Custom Applications Using IBOM

How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer

Using Tools to Represent Appraisal Status Flow (HR module Objectives Settings and Appraisals ) as Diagram

How To... Configure Drill Through Functionality

The test has been performed using a 64 Bit SAP NetWeaver Application Server Java 7.1 Enhancement Package 1 SP4 or greater system.

Send Multiple IDocs Within One XI Message

Tutorial: Consuming Web Services in Web Dynpro Java

Best Practices Using KMC Capabilities in an External Facing Portal Version 1.00 October 2006

How To Build the Carry Forward and Account Transformation Business Rules

Transcription:

xmii UDS Overview and Troubleshooting Applies to: SAP xmii Universal Data Servers (UDS) version 4.0 and higher. Summary This article describes the SAP xmii UDS line of products and methods for debugging issues related to the product. Author(s): Martin Kreibe Company: SAP Labs, LLC Created on: 7 February 2007 Author Bio Martin Kreibe is a Software Developer for SAP Labs. Martin is currently part of the xmii Connectivity Team and has worked on the xmii UDS project since 2004, where he participated in a leading role in the architectural, design and development stages of the project. 2007 SAP AG 1

Table of Contents Applies to:...1 Summary...1 Author Bio...1 Table of Contents...2 Overview of the SAP xmii UDS Architecture...3 Why are the xmii UDSs Needed?...3 What are the System Requirements for xmii UDSs?...3 How do the xmii UDSs Work?...4 What Data do the xmii UDSs Expose?...4 What is an xmii UDS Instance?...5 Configuration Related Issues...6 How do the xmii UDS Instances Run?...6 How can an xmii UDS Instance Run as a Windows Service?...6 What is DCOM and do the xmii UDSs use it?...6 Modifying DCOM Settings...6 Accessing xmii UDS Logs and Cache Snapshots...6 Where are the xmii UDS Logs?...7 What about Startup logs?...7 Where are the Cache Snapshot Files?...7 Copyright...8 2007 SAP AG 2

Overview of the SAP xmii UDS Architecture Why are the xmii UDSs Needed? xmii uses many mechanisms for extracting data from 3 rd party applications, some examples of these Data Servers are the JDBC, OLAP and XML connectors. This article deals with a specific type of connectivity called the xmii UDSs. The xmii UDSs are unique to the other xmii Data Servers because they connect to the 3 rd party systems by using APIs and other tools developed by the 3 rd party vendors and require customized applications to extract this data, also the xmii UDSs are a COM based application architecture and can run on a different machine then the xmii Server. As of the publication of this article there are the following xmii UDSs available: SAP xmii OLE DB UDS SAP xmii OPC DA UDS SAP xmii OPC HDA UDS SAP xmii InTouch UDS SAP xmii RSView UDS SAP xmii Citect UDS SAP xmii Proficy Historian UDS SAP xmii Proficy ifix UDS SAP xmii PI UDS What are the System Requirements for xmii UDSs? The xmii UDS product runs on Windows 2000 Server Service Pack 2 or greater. Though the xmii UDS product can run on Windows XP it is not supported for production usage due to the Operating Systems networking limitations. 2007 SAP AG 3

How do the xmii UDSs Work? The xmii UDSs have three major components that work in conjunction to deliver the functionality required to extract third party data from the back end data sources. The first element is the xmiiudsadminconsole.exe application which is used to configure the xmii UDS instances. Next the xmiiudshost.exe application is the host for the xmii UDS instance. Last the xmii UDS, which itself is a COM DLL, is the particular logic needed to extract data from the specific back end data source. What Data do the xmii UDSs Expose? The data exposed to xmii from the xmii UDSs is dependent on the xmii UDS. The xmii UDSs typically retrieve information from database and tag (current, historical and aggregated) data sources. 2007 SAP AG 4

What is an xmii UDS Instance? An xmii UDS Instance is the particular configuration and xmii UDS needed to extract data from a given back end data source. To be more specific, an xmii UDS Instance is an instance of the xmiiudshost.exe application with a given name that is associated with a configuration setting. Figure 1: Admin Console Instances The Local_OPC_HDA entry under the Name column of the Admin Console is an example of a UDS instance. Note: The Port setting under the Host aspect is the TCP/IP port that the xmii UDS Instance will listen on, waiting for incoming xmii Server requests. It is not a setting for communicating to the backend. 2007 SAP AG 5

Configuration Related Issues How do the xmii UDS Instances Run? There are three runtime modes that an xmii UDS Instance can run under. Each mode has its advantages and some back end data sources may not communicate with the xmii UDS correctly under some modes. The first is the Exe mode. This mode allows for the program (though hidden) to run under the current users account. Service mode allows the Windows Service system to manage the actual process. Service mode will allow you to manipulate the user credentials and other process parameters, including the ability to launch the application when the machine boots up. The last mode is a Debug mode. The debug mode is not supported in production environments and is only intended to help with troubleshooting runtime related issues. Note that some UDSs can only be run in Exe mode like RSView and InTouch. Refer the UDS help documentation for more information of which xmii UDSs need to be run in Exe mode. For ease of maintenance of the xmii UDS Instances, it is recommended, if the xmii UDS supports it, for the instances to be set up as a Service with proper settings and credentials. So that if the machine is restarted, the instances will correctly startup and connect without any administrator/user interaction. How can an xmii UDS Instance Run as a Windows Service? The Admin Console has many options available to configure the xmii UDS Instance for Service Mode. First the Runtime Mode in the Host aspect should be selected, this will tell the instance it is going to run as a service. Other properties allow for enhanced modes of operation like user name and password. Note that the service name in the Services Administration tool will be in the following format: xmii UDS Instance (<xmii UDS Instance Name>) What is DCOM and do the xmii UDSs use it? DCOM stands for Distributed COM or Distributed Component Object Model. For more information on DCOM please refer to Microsoft's MSDN Articles on DCOM. The xmii UDSs do not expose interfaces to DCOM. That said, the xmii UDSs do use DCOM to connect to some of the back end data sources like OPC DA and OPC HDA. In order to get some of these interfaces to work correctly you may have to modify the security settings to allow for the xmii UDS to connect. Modifying DCOM Settings. The Component Services MMC snap is used to configure DCOM settings (this is usually found in the Control Panel > Administrative Tools Folder). Look for the desired Application or Application ID. Make sure the xmii UDSs User has the ability to launch and access the Applications. Accessing xmii UDS Logs and Cache Snapshots 2007 SAP AG 6

Where are the xmii UDS Logs? All log files are stored near the application installation directory in a folder called Logs. All log files are named as follows. For xmii UDS Instances: <xmii UDS Instance Name>_<4 Digit Year>_<2 Digit Month>_<2 Digit Day>.log For the xmii UDS Admin Console: xmii UDS Admin Console_<4 Digit Year>_<2 Digit Month>_<2 Digit Day>.log What about Startup logs? There is an extremely small possibility that the UDS Instance will not startup and no log files are generated by the errors. Make sure that your configuration is correct before contacting technical support for further assistance. In these cases it is still possible to see where the process failed. The xmii UDSs use that Debug Stream to log startup issues if the -debug flag is added to the command line. In order to use the debug flag the instance must be run in Exe mode. The process then must be started manually by starting a command line, navigating to the installation location of the xmii UDSs and the xmiiudshost.exe application. Following is the command line arguments for the xmiiudshost.exe application: xmiiudshost.exe <xmii UDS Instance Name> [-debug] Be sure to include the.exe part of the application name. To read the Debug Stream a Debug Stream Reader must be used. An example of a Debug Stream Reader is DebugView 4.6. Where are the Cache Snapshot Files? All tag based xmii UDS Instances have an internal cache to help speed up runtime performance. The cache is loaded at the startup of the xmii UDS Instance and consists of the Alias file (if the Cache Mode is set to Alias ) or the entire 3 rd parties namespace (if the Cache Mode is set to In-Memory ). For those xmii UDSs that have a caching mechanism, it is possible to take a snapshot of the cache upon startup of the xmii UDS Instance. The snapshot files can be retrieved by using the debug flag [-debug] as described above. All cache snapshot files are located in the Logs directory under the installation location. The cache snapshot file names will be as follows: <xmii UDS Instance Name>_<4 Digit Year>_<Month Name>_<2 Digit Day>[<2 Digit Hour [0-23]>_<2 Digit Minute>_<2 Digit Second>]_Cache.xml 2007 SAP AG 7

Copyright Copyright 2007 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/os, POWER, POWER5, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. Any software coding and/or code lines/strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. 2007 SAP AG 8