Skip to main content

Tibco Rendezvous (RV): Virtual Circuit, Fault Tolerance and Current Value Cache


Virtual Circuit:
Virtual circuit (VC) provides exclusive communication between two nodes. Only the two nodes can communicate with each other. The sender can only send messages to opposite node and the receiver can receive messages only from the opposite node. If there is a requirement where transport should be done among specific nodes and no other listener should get the information then VC should be used.

Fault Tolerance:
When the active program fails, the fault tolerance software directs one of the backup programs to become active and start processing. To configure programs in FT mode below parameters must be configured:

Active Goal: It defines the total  number of active members. For example: If the active goal is set as 4, there will be 4 active members those have the highest ranks among all the members.

Rank: Each program has a unique rank. If a program has N rank and another program has N+1 rank, then N is a higher rank than N+1. It determines the members who’ll be active according to active goal.

Weight: Weight represents the ability of the program to fulfill its function. The member with highest weight is given the highest rank.

Heartbeat Interval: The inactive member listens for heartbeat messages from active members. These messages tell that the active members are working fine. Heartbeat Interval specifies the time/interval after which the heartbeat message is published.

Activation Interval: When a failover happen, it is detected by the inactive members through the heartbeat failure. Activation interval is the time till which inactive members wait for heartbeats before becoming active.

Preparation Interval: If an inactive program needs time to prepare before becoming active like for setting up a database connection then preparation interval is set.

Current Value Cache:
Tibco RV provides rvcache utility which can store current messages for each subject and the new listeners can retrieve the messages from the cache. This feature fulfills the requirement of new programs joining the system which may need to access some existing information.
Rvcache can also be configured in fault tolerance by starting multiple instances of rv cache. For this run two or more rv processes on separate computers. All the processes store the messages but the one that is active sends the messages to any new listener and rest of the processes stay as inactive.

For configuring rvcache in FT mode all the parameters remain same for all the processes of rvcache except for the –store parameter.

=====================================================================

Other Topics :


Comments

Popular posts from this blog

Tibco Rendezvous (RV): Transport and More

Transport: It is the mechanism for sending and delivering messages. There are three main parameters in Tibco RV for transport: network, daemon and service. Service is specific to programs. Multiple programs may be running on a network. Each program has a different service. There can be many services running under a daemon for different programs. Network parameter specifies the interface for multicast communication from a program. A specific network should be selected for  outbound multicast Rendezvous communications. Daemon specifies the port where RV daemon runs. RV communicates through this daemon and hence remote daemon must be specified to support network communications. Tibrvsend and Tibrvlisten: Every Tibco RV installation provides these two utilities for sending and receiving messages on any multicast network. Sample for testing these utilities: tibrvlisten.exe -service 7576 -network 10.21.6.38 -daemon tcp:7500 "TEST" tibrvsend.exe -s...

Tibco Rendezvous (RV): Features and More

Features of Tibco RV: Decoupling and Data Independence : In RV the applications are loosely coupled and RV has self-describing data that makes it easy for the applications to share data. Location Transparency : RV is based upon subject based addressing. The data/messages are sent and received over subject; hence the programs can communicate without knowing the network details. Architectural Emphasis on Information Sources and Destinations : RV provides efficient solutions for developing distributed system by emphasis on identifying sources and destinations of information. Reliable Delivery: RV provides reliable delivery of messages and without the need of network details. The information like network details and packet transfer are hidden. Certified Message Delivery: Some applications require more assurance for message delivery. For this RV provides Certified Message (CM) delivery which sends the confirmation for the messages received. Distribu...

How to add JCO Trace?

Requirement: To debug an issue and to check the data flowing through Tibco R3 adapter enable SAP JCo trace. Once the trace is enable it creates JCo tracing files in the specified location. These files have details of the JCo library, versions and JCo paths. It will show a complete trace log of the fields/segments in the adapter and it's tables and the input/output data that is flowing through the adapter. ************************************************************************************************************************************************ Steps: Add below properties in the adr3.tra file to enable SAP JCo trace: ===== java.property.jco.trace_level=8 java.property.jco.trace_path=<The path of the directory where the JCo trace file will be generated> ===== Restart the SAP adapter instance. Once you test, the JCo files will be created in the specified location. *********************************************************************************************...