|Stable release||12.1.3 / 31 May 2014|
|Written in||C, C++, COBOL, Python, Ruby, PHP, Java|
Tuxedo (Transactions for Unix, Extended for Distributed Operations) is a middleware platform used to manage distributed transaction processing in distributed computing environments. Tuxedo is a transaction processing system or transaction-oriented middleware, or enterprise application server for a variety of systems and programming languages. Developed by AT&T in the 1980s, it became a software product of Oracle Corporation in 2008 when they acquired BEA Systems. Tuxedo is now part of the Oracle Fusion Middleware.
- 1 History
- 2 Features
- 3 Add-on Products
- 4 References
- 5 Further reading
- 6 External links
From the beginning in 1983, AT&T designed Tuxedo for high availability and to provide extremely scalable applications to support applications requiring thousands of transactions per second on commonly available distributed systems. The original development targeted the creation and administration of operations support systems for the US telephone company that required online transaction processing (OLTP) capabilities.
The Tuxedo concepts derived from the Loop Maintenance Operations System (LMOS). Tuxedo supported moving the LMOS application off mainframe systems that used Information Management System (IMS) from IBM on to much cheaper distributed systems running (AT&T's own) Unix.
The original Tuxedo team comprised members of the LMOS team, including Juan M. Andrade, Mark T. Carges, Terrence Dwyer, and Stephen Felts. In 1993 Novell acquired the Unix System Laboratories (USL) division of AT&T which was responsible for the development of Tuxedo at the time. In September 1993 it was called the "best known" distributed transaction processing monitor, running on 25 different platforms. In February 1996, BEA Systems made an exclusive agreement with Novell to develop and distribute Tuxedo on non-NetWare platforms, with most Novell employees working with Tuxedo joining BEA. In 2008, Oracle Corporation acquired BEA Systems, and TUXEDO was marketed as part of the Oracle Fusion Middleware product line.
Tuxedo has been used as transactional middleware by a number of multi-tier application development tools. The Open Group used some of the Tuxedo interfaces as the basis of their standards such as X/Open XA and XATMI.
- Standards based APIs - SCA, The Open Group XATMI, Object Management Group CORBA
- Communication types - Synchronous, Asynchronous, Conversational, Unsolicited Notifications, Publish/subscribe
- Typed buffers
- Transaction Management - Global Transactions - Two-phase commit protocol - X/Open XA
- /D - Clustering - Domains
- /WS - Remote Clients
- WTC - Weblogic Tuxedo Connector
- Java clients - Jolt
- JEE Integration - Tuxedo JCA Adapter
- Bidirectional SOAP and REST Web Services - SALT
- /Q - Transient (in memory) and Persistent Queues (also called Reliable Queues)
- Data Dependent Routing (DDR)
- Event Broker (also called publish and subscribe messaging)
- Security - Authentication, Authorization, Auditing, and Public key infrastructure based message signing and encryption
- Programmed Administration and SNMP support
- System and application performance monitoring - TSAM Plus
- Load balancing, server spawning and decay
- Mainframe connectivity - TMA
- Supports C, C++, COBOL, Python, Ruby, PHP, and Java applications on most Unix platforms, Linux, Microsoft Windows, and other proprietary platforms such as OpenVMS and AS400 (IBM System i).
Tuxedo is at its core a message routing and queuing system. Requests are sent to named services and Tuxedo uses memory based inter-process communication facilities to queue the requests to servers. The requester is unaware of where the server that actually processes the request is located or how it is implemented. In essence, Tuxedo provided the elements of service-oriented architecture (SOA) decades before the phrase was coined. Tuxedo can use the content of the message to determine what servers should be utilized to receive the request by means of data dependent routing.
The heart of the Tuxedo system is the Bulletin Board (BB). This is a shared memory segment that contains the configuration and state of a Tuxedo domain. Servers, services, transactions, and clients are all registered in the BB providing a global view of their state across the machines within a domain. To coordinate updates to the BB a process called the Bulletin Board Liaison (BBL) runs on each machine to keep the local copy of the BB up-to-date. A master machine runs a process called the “Distinguished Bulletin Board Liaison” that coordinates the updates to the BB. This allows each machine to have a view of what servers, services, transactions, and clients are on each machine within the domain.
Another process on each machine called the Bridge is responsible for passing requests from one machine to another. This allows Tuxedo to spread load across the various machines within a domain and allows servers and services to be running on multiple machines. In addition the BBL and Bridge monitor each other and restart the other should one fail. In the advent of a failure of the master machine, another machine designated as a backup master can take over the function of master machine. Also, since machines within a single domain can be of different architectures (x86, IA32, SPARC, P-Series, etc.), the Bridge is also responsible for handling differences in things like endianness.
On Oracle Exalogic Tuxedo leverages the RDMA capabilities of InfiniBand to bypass the bridge. This allows the client of a service on one machine to directly make a request of a server on another machine.
Flexible buffer formats
Tuxedo applications can utilize a variety of message formats depending upon the type of data that is to be passed. One of the most popular formats is the FML buffer format which is much like a binary XML or ASN.1 format. FML buffers can contain an arbitrary number of named fields of arbitrary type. Fields can be repeated and nested. As it is a self-describing binary format, the processing of fields incurs very little overhead in comparison to the parsing necessary to support something like XML. VIEW buffers are essentially records, C structures, or COBOL copybooks. A VIEW buffer has an external description which allows Tuxedo to access the fields within it if necessary for things like data dependent routing. Other buffer formats include XML, CARRAY (opaque binary data), STRING, and MBSTRING (a string buffer containing multibyte characters.) Tuxedo can automatically and transparently convert FML buffers to and from XML buffers.
There is also support for user-developed buffer types (for example JamFlex buffers defined by Tuxedo version of Panther RAD toolset).
For remote clients (Java, CORBA, or /WS), Tuxedo provides communication concentrators called listener/handlers that handle the remote network communication. Clients connect to these communication concentrators and act as proxies for the clients. As clients make requests, the listener/handler uses the local Tuxedo infrastructure to make the request on the behalf of the client. Tuxedo then load balances the requests across the servers within the domain that offer the service even if the server is not on the local machine. This is in contrast to most Java EE application servers where load balancing is done by the client making requests to different machines with the cluster.
To facilitate the sharing of services across domains, Tuxedo provides domain gateways. A domain gateway allows importing and exporting services from remote domains. This allows the local domain to see services on remote domains as though they were local services. The domain gateways are responsible for propagating security and transaction context to the remote domain. Besides connecting Tuxedo domains together, domain gateways exist for mainframe systems using TCP/IP, IBM Systems Network Architecture (SNA), or the OSI protocols, and Java Platform, Enterprise Edition application servers. For the mainframe gateways, each system sees the services imported from the remote system as local services and use the local systems infrastructure to interact with those services. This means that Tuxedo sees a CICS transaction as a Tuxedo service, and CICS sees a Tuxedo service as a CICS transaction.
The BBL on each machine monitors the state of all servers and can automatically restart failed servers. It can also detect hung servers and kill/restart them as required. The BRIDGE process in a clustered environment monitors to BBL,so there are no single points of failure. Any transactions that are affected by a server or machine failure and that have not completed the prepare phase are rolled back. Transactions that have completed the prepare phase but not the commit phase will be committed as part of the Tuxedo boot sequence.
Transaction monitoring and coordination
Tuxedo applications can request that all service invocations and their associated updates to any resources controlled by resource managers (such as databases) be controlled by a transaction. Once the application begins a transaction, all subsequent service invocations and nested invocations are included as part of that transaction, even those services that were executed on remote domains. Tuxedo then coordinates the commit processing with the resource managers to ensure atomic updates to all affected resources. Transactions can be controlled by the application or automatically controlled by the Tuxedo configuration, i.e., container managed transactions.
Tuxedo provides a queuing subsystem called /Q. This facility provides transient and persistent queues that allows applications to explicitly enqueue and dequeue messages from named queues. Queues can be ordered by message availability time, expiration time, priority, LIFO, FIFO, or a combination. Queues are managed by an XA compliant resource manager allowing queue operations to participate in distributed transactions. An automated queue forwarding server is provided that will remove entries from a queue and invoke an associated Tuxedo services, placing the reply message on an associated reply queue.
The event subsystem within Tuxedo provides support for unsolicited events as well as brokered events. Unsolicited events allow Tuxedo applications to send out-of-band notifications to clients that aren't necessarily waiting for a response. Brokered events allow application to subscribe to events of interest and when another application posts an event, all applications subscribed to that event receive it. This allows applications to use an event driven model instead of the more typical request/response model. As well this provides a publish and subscribe messaging model that can be combined with /Q.
Oracle offers a number of add-on products to Tuxedo.
In March 2010, Oracle announced two new products. Application Runtime for CICS and Batch along with the associated Oracle Tuxedo Application Rehosting Workbench allows the migration of IBM Customer Information Control System (CICS) and batch applications onto Tuxedo on distributed systems. By providing automated conversion tools, CICS equivalent API pre-processor macro expansion, and a JES-2 like Batch execution environment, the migration of mainframe applications is greatly simplified.
This product provides a bi-directional web services SOAP/HTTP(S) gateway. This gateway allows Tuxedo services to be accessed by external SOAP clients without making any changes to the Tuxedo service. Likewise Tuxedo applications can call an external web service as though it were a local Tuxedo service. The latest version of SALT supports WS-AtomicTransactions and modules for Apache Web Server, Oracle HTTP Server, and Oracle iPlanet Web Server, that allows the creation of dynamic web content by calling Tuxedo services.
This product provides centralized monitoring capabilities for multiple Tuxedo domains. TSAM Plus agents are deployed on the machines in a Tuxedo domain. These agents collect metric data from the running Tuxedo processes based on a configured policy, and send the data back to the TSAM Plus Manager where it is used historically or in real time. TSAM Plus provides configuration information, call path, call pattern, service execution, transaction, and more monitoring metrics. TSAM Plus also monitors Tuxedo ART CICS and Batch applications. An additional component of TSAM Plus is a plug-in for Oracle Enterprise Manager Cloud Control that provides full operation, configuration, administration, and management of a Tuxedo application.
Tuxedo Mainframe Adapters (TMA)
This product provides a set of gateway processes that run on Tuxedo that communicate with a mainframe using its native protocols. This gateway provides bidirectional integration between mainframe and Tuxedo platforms and makes Tuxedo appear as a remote CICS or IMS region to the mainframe, and the remote CICS or IMS region as another Tuxedo domain to the local Tuxedo application.
The Tuxedo JCA adapter provide a JCA 1.5 compliant Resource Adapter that can be deployed to any JEE 1.5 or later JCA container. The adapter supports both the JCA Common Client interface or CCI, as well as the JATMI interface supported by the Oracle WebLogic Tuxedo Connector component of Oracle WebLogic Server. Message inflow and outflow is supported along with distributed transaction support.
Tuxedo Message Queue
Provides enterprise messaging capabilities that combines the features of Oracle MessageQ with Tuxedo. This extends the existing /Q message queuing facility of Tuxedo by providing things like delivery notification, offline messaging, and store and forward capabilities.
- Philip A. Bernstein; Eric Newcomer (2009). Principles of transaction processing. Morgan Kaufmann. pp. 330–336. ISBN 978-1-55860-623-4.
- "Juan M. Andrade". Author biography. Pearson Education InformIT. Retrieved October 11, 2011.
- Paul Korzeniowski (September 13, 1993). "Supercharge your LAN with On-Line Transaction Processing". InfoWorld 15 (37). p. 70. Retrieved October 11, 2011.
- "Novell and BEA Systems, Inc. Complete Transition of TUXEDO to BEA". News release (BEA Systems, Inc.). February 28, 1996. Archived from the original on July 1, 2003. Retrieved October 11, 2011.
BEA is the exclusive developer and distributor of the TUXEDO System on UNIX, NT, and all non-NetWare platforms, and Novell will develop TUXEDO-based applications for NetWare. In addition, most Novell TUXEDO employees, including development and marketing personnel, have joined BEA, and BEA has assumed all contracts with TUXEDO partners, distributors, and customers. BEA has exclusive rights to the TUXEDO trademark.
- Paul Krill (February 5, 1996). "Novell Rents out Tuxedo Development". InfoWorld 18 (6). p. 12. Retrieved October 11, 2011.
- Juan M. Andrade, Mark T. Carges, Terrence Dwyer, and Stephen Felts (1996). The TUXEDO System: Software for Constructing and Managing Distributed Business Applications. Addison-Wesley. p. xxxiv. ISBN 0-201-63493-7.
- "Number 1 in Middleware: Oracle® Unveils BEA’s Role in Product Strategy for Next-generation Middleware". News release (Oracle Corportation). July 1, 2008. Retrieved October 11, 2011.
- Carl Hall (February 2, 1996). Building client/server applications using TUXEDO. John Wiley & Sons. p. 35. ISBN 978-0-471-12958-5.
- Juan M. Andrade, Mark T. Carges, M. R. MacBlane (February 24, 1992). "Open online transaction processing with the TUXEDO system". IEEE Computer Society International Conference, (COMPCON) Digest of Papers 37: 366–371. doi:10.1109/CMPCON.1992.186740. ISBN 0-8186-2655-0.
- E. P. Felt (January 20, 1993). "Distributed transaction processing in the TUXEDO system". Proceedings of the Second International Conference on Parallel and Distributed Information Systems 2: 366–371. doi:10.1109/PDIS.1993.253082. ISBN 0-8186-3330-1.
- H. Kaufmann, H.-J. Schek (December 18, 1996). "Extending TP-monitors for intra-transaction parallelism". Fourth International Conference on Parallel and Distributed Information Systems (IEEE) 4: 250–261. doi:10.1109/PDIS.1996.568686. ISBN 0-8186-7475-X.
- T. Altiok, Wei Xiong, M. Gunduc (December 9, 2001). "A capacity planning tool for the Tuxedo middleware used in transaction processing systems". Proceedings of the Winter Simulation Conference (IEEE) 1: 502–507. doi:10.1109/WSC.2001.977330. ISBN 0-7803-7307-3.
- Yin Wen, He Jingsha (December 9, 2001). "The application of Tuxedo middleware in the banking system". IEEE 3rd International Conference on Communication Software and Networks 3: 594–597. doi:10.1109/ICCSN.2011.6013904. ISBN 978-1-61284-485-5.
- "Oracle Releases New Mainframe Re-Hosting Products for Oracle® Tuxedo 11g". News release (Oracle Corporation). March 31, 2010. Retrieved October 11, 2011.
- UNIX System Laboratories (February 1992). TUXEDO System release 4.1: Transaction manager reference manual. Prentice Hall.