Chapter 8. Server Agent Administration

Abstract

Guide for successfully installing and running the OpenLink server components from the OpenLink Multi Tier Data Access Suite. This chapter describes the roles of the OpenLink Database/Service Agents and how to configure them. OpenLink Server Agents come in two main types, the Database agent and the Service agent. Database agents provide the only database dependant component, usually requiring a separate agent per database major version to connect to. Service agents provide other services such as proxying of connections or special interfaces to other ODBC data sources.

OpenLink Database/Service Agents are the only database specific components within the OpenLink Multi-Tier middleware framework. It is these components that actually initiate and maintain database sessions with your OpenLink Clients, basically playing the role of a data access server.

Database Agents are servers implementing client data access interfaces such as ODBC, JDBC, UDBC, and OLE-DB using the lower level native call level interfaces provided by each supported database engine. These call level interfaces are themselves increasing based on the X/Open SQL Call Level Interface (CLI) specification. The older database engines that do not support or implement the X/Open SQL CLI specification simply provide traditional Embedded SQL interfaces.

The fact that Database Agents are built using natives interfaces provided by database engine vendors has some very important implications:

  1. Through the eyes of a backend database, a database agent is a database client, no different to any other native client provided or bundled with the backend database engine.

  2. A database agent inherits all of the functionality of a traditional database client, this includes: Distributed Database, SQL syntax, Stored Procedure support, and anything else that may be specific to the relevant backend database engine.

  3. Configuring a database agent is no different to configuring an native database client, they share operating system environment variable dependencies etc..

  4. Resource utilization is identical to resource consumption for native clients, this means that if you have special setting for your native client sessions, you will be able to apply these when configuring your database agents.

  5. Any efficiencies or deficiencies in the database engines CLI client to database server inter process communications (IPC) also affects a database agent.

All database engines operate under a client-server paradigm, that is to say there are always two distinct processes involved in a database session, the database server and the database client. The database server must be up and running before a database client can communicate with a database. Database client and server processes may or may not reside on the same physical machine, at the same time this has no bearing on the fundamentals of database client and server process interaction as just explained.