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 :
=====================================================================
Other Topics :
Comments
Post a Comment