RV Administration
RV Administration
RV Administration
Administration
Software Release 7.2
August 2003
Important Information
SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH
EMBEDDED OR BUNDLED TIBCO SOFTWARE IS SOLELY TO ENABLE THE FUNCTIONALITY
(OR PROVIDE LIMITED ADD-ON FUNCTIONALITY) OF THE LICENSED TIBCO SOFTWARE.
THE EMBEDDED OR BUNDLED SOFTWARE IS NOT LICENSED TO BE USED OR ACCESSED BY
ANY OTHER TIBCO SOFTWARE OR FOR ANY OTHER PURPOSE.
USE OF TIBCO SOFTWARE AND THIS DOCUMENT IS SUBJECT TO THE TERMS AND
CONDITIONS OF A LICENSE AGREEMENT FOUND IN EITHER A SEPARATELY EXECUTED
SOFTWARE LICENSE AGREEMENT, OR, IF THERE IS NO SUCH SEPARATE AGREEMENT,
THE CLICKWRAP END USER LICENSE AGREEMENT WHICH IS DISPLAYED DURING
DOWNLOAD OR INSTALLATION OF THE SOFTWARE (AND WHICH IS DUPLICATED IN THE
BOOK TIBCO Rendezvous Concepts). USE OF THIS DOCUMENT IS SUBJECT TO THOSE TERMS
AND CONDITIONS, AND YOUR USE HEREOF SHALL CONSTITUTE ACCEPTANCE OF AND
AN AGREEMENT TO BE BOUND BY THE SAME.
This document contains confidential information that is subject to U.S. and international copyright
laws and treaties. No part of this document may be reproduced in any form without the written
authorization of TIBCO Software Inc.
TIB, TIBCO, Information Bus, The Power of Now, TIBCO Adapter, and TIBCO Rendezvous are
either registered trademarks or trademarks of TIBCO Software Inc. in the United States and/or
other countries.
All Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems,
Inc. in the U.S. and other countries.
All other product and company names and marks mentioned in this document are the property of
their respective owners and are mentioned for identification purposes only.
This software may be available on multiple operating systems. However, not all operating system
platforms for a specific software version are released at the same time. Please see the readme.txt file
for the availability of this software version on a specific operating system platform.
THIS DOCUMENT IS PROVIDED “AS IS” WITHOUT 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.
THIS DOCUMENT COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL
ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE
CHANGES WILL BE INCORPORATED IN NEW EDITIONS OF THIS DOCUMENT. TIBCO
SOFTWARE INC. MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S)
AND/OR THE PROGRAM(S) DESCRIBED IN THIS DOCUMENT AT ANY TIME.
Copyright © 1997–2003 TIBCO Software Inc. ALL RIGHTS RESERVED.
TIBCO Software Inc. Confidential Information
1
| iii
Contents
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Manual Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
TIBCO Product Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
How to Contact TIBCO Customer Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Figures
Figure 1 Disabling Multicast: Public Subjects Still Flow Among Local Clients . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 2 Disabling Multicast: Routing Daemons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 3 rvd Navigation Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Figure 4 rvd General Information Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Figure 5 rvd Clients Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Figure 6 rvd Client Detail Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Figure 7 rvd Services Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Figure 8 rvd Service Detail Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Figure 9 rvd Hosts Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Figure 10 Routing Daemons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Figure 11 Fault Tolerance among Routing Daemons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Figure 12 Path Cost and Subject Import Weight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Figure 13 Routing Daemons Merge Subject Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Figure 14 Independent Routing Table Entries Keep Subject Spaces Separate. . . . . . . . . . . . . . . . . . . . . . . 79
Figure 15 Mutual Neighbors Merge Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Figure 16 Erroneous Neighbors on the Same Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Figure 17 Routing Daemons and Duplication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Figure 18 Routing Daemon WAN with Firewalls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Figure 19 Bridge PGM and TRDP Networks with rvrd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Figure 20 rvrd Navigation Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Figure 21 rvrd General Information Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Figure 22 rvrd Local Networks Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Figure 23 rvrd Connected Neighbors Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Figure 24 rvrd Neighbor Statistics Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Figure 25 rvrd Daemon Parameters Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Figure 26 rvrd Routers Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Figure 27 rvrd Local Networks Configuration Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Figure 28 rvrd Subject Gating Configuration Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Tables
Preface
Topics
Manual Organization
The third chapter describes several details upon which programmers and
administrators must agree for correct program operation:
• Chapter 3, Network Details, on page 17
Two chapters describe utilities for measuring overall system capacity and
performance, and for diagnosing network problems.
• Chapter 10, Performance Assessment (rvperf), on page 195
• Chapter 11, Protocol Monitor (rvtrace), on page 225
Related Documentation
For comments or problems with this manual or the software it addresses, please
contact TIBCO Support Services as follows.
• For an overview of TIBCO Support Services, and information about getting
started with TIBCO Product Support, visit this site:
http://www.tibco.com/services/support/default.jsp
• If you already have a valid maintenance or support contract, visit this site:
http://support.tibco.com
Entry to this site requires a username and password. If you do not have a
username, you can request one.
Topics
UNIX Platforms
Add the Rendezvous binary directory to the execution path of each programmer
and end user of Rendezvous programs. The exact directory name varies
depending on where you installed Rendezvous; the installation procedure prints
the correct location for your convenience (usually a name constructed like
<installation_point>/tibco/tibrv/bin).
VMS Platforms
Place this definition in the startup file:
@SYS$STARTUP:TIBRV_STARTUP.COM
UNIX Platforms
Add these definitions to the services database:
rendezvous 7500/udp
rendezvous-ft 7504/udp
VMS Platforms
On VMS platforms define a service by entering these commands:
$ UCX SET SERVICE RENDEZVOUS/PORT=7500/PROTOCOL=UDP -
/USER=SYSTEM/FILE=SYS$STARTUP:TIBRV_STARTUP.COM/PROCESS=TIBRV
$ UCX SET SERVICE RENDEZVOUS-FT/PORT=7504/PROTOCOL=UDP -
/USER=SYSTEM/FILE=SYS$STARTUP:TIBRV_STARTUP.COM/PROCESS=TIBRV
This step extends the Rendezvous software from intranetwork message exchange
to internetwork message exchange.
• If you plan to run Rendezvous programs on a single network, you may skip
this step.
• If you plan to link several networks, read Chapter 5, Routing Daemon (rvrd),
on page 57.
• If you plan to link a web site, also read Chapter 8, Rendezvous Agent (rva), on
page 169.
Register NT Services
This step applies only to Microsoft Windows NT, 2000 and XP.
To facilitate registry with the Windows service manager, the Rendezvous \bin
directory includes the utility programs rvntscfg.exe and rvntsreg.exe.
See Also
rvntscfg on page 290
rvntsreg on page 291
On UNIX, VMS, OS/400 and OS/390 platforms, the operating system can limit
the maximum number of file descriptors per process, as well as the total number
of file descriptors summed over all processes. Because each connection uses a file
descriptor, this limitation in turn limits the capacity of Rendezvous components:
• In rvd and its variants, it limits the maximum number of client connections
(that is, transports) that a daemon can accept.
• In rvrd and its variants, it limits the combined total of neighbor connections
and client connections.
• In rva, it limits the maximum number of client connections.
• In client programs, it limits the number of transport objects.
Symptoms When operating system file descriptor limits are set too low, Rendezvous
components might report errors indicating that too many files are open, or that
file descriptor limits have been exceeded. In many situations, you can eliminate
this problem by raising the limit.
VMS limits the number of open sockets, rather than file descriptors. The
consequent limitations, symptoms and remedy are analogous.
Administrators must arrange licenses and license tickets for each host computer.
Licensing Framework
In Rendezvous release 6 (and later) we changed the details of licensing and
license tickets. Please read this chapter to familiarize yourself with the new
framework.
Topics
Licensing Overview
Each host computer must keep a license ticket file. The file tibrv.tkt must
contain a ticket for each daemon component that runs on that computer.
To put new license tickets into effect, stop and restart the licensed components.
UNIX Platforms
On UNIX platforms, the Rendezvous daemon searches for the license ticket file
(tibrv.tkt) in the directories listed in the PATH environment variable. The
Rendezvous installation procedure places the file tibrv.tkt (containing
temporary license tickets) in the bin subdirectory of the Rendezvous directory.
However, it does not overwrite an existing license ticket file. You must add that
directory to the PATH variable manually (unless it is already present).
Windows Platforms
On Microsoft Windows platforms, the Rendezvous daemon searches for the
license ticket file (tibrv.tkt) in the directories listed in the PATH environment
variable. The Rendezvous installation procedure places the file tibrv.tkt
(containing temporary license tickets) in the bin subdirectory of the Rendezvous
directory, and adds that directory to the PATH variable. However, it does not
overwrite an existing license ticket file.
VMS Platforms
On VMS platforms, the Rendezvous daemon searches for the license ticket file
(tibrv.tkt) in two ways.
• If you do not define a PATH specifier, then the daemon searches for the ticket
file in the current default directory. When a Rendezvous client program starts
the daemon automatically, or when the system startup file starts the daemon,
then the default directory is TIBRV:[BIN].
• If you do define a PATH specifier, then the daemon searches in that directory.
VMS searches for a PATH specifier in this order—first as a logical name, then as a
local DCL symbol, then as a global DCL symbol. Consider these examples.
define PATH tibrv:[bin] As a logical name.
PATH := tibrv:[bin] As a local DCL symbol.
PATH :== dka300:[tibco.tibrv.bin] As a global DCL symbol.
PATH := "/tibrv/bin/" Using UNIX syntax.
PATH := "/dka300/tibco/tibrv/bin/" Using UNIX syntax.
Installing Rendezvous creates the logical name TIBRV; the first and fourth of these
examples use that logical name.
When using UNIX syntax, the path must terminate with a slash, and must be
enclosed in quotes, as in the fourth and fifth examples.
The Rendezvous installation procedure for VMS places a sample license ticket file
in the tibrv:[bin] directory as tibrvtkt.smp. If the computer does not already
have a license ticket file, you can copy this sample to tibrv.tkt to use temporary
licenses. Installation does not create a tibrv.tkt file.
To purchase license tickets, contact TIBCO Rendezvous Licensing (via web, email,
phone or fax) and provide details of your purchase order.
License Information
License information helps us create the correct number of licenses, and issue
appropriate license tickets.
• Total Rendezvous licenses for each licensed Rendezvous component (for
example, rvd, rvrd, rva, rvcache, rvtracer).
The book TIBCO Rendezvous Concepts describes these parameters in even greater
detail than this chapter. See also these sections:
• Service Parameter on page 103 in TIBCO Rendezvous Concepts
• Network Parameter on page 107 in TIBCO Rendezvous Concepts
• Daemon Parameter on page 110 in TIBCO Rendezvous Concepts
Topics
Transport Parameters
Network transport creation calls accept three parameters that govern the behavior
of the Rendezvous daemon: service, network and daemon. In simple networking
environments, the default values of these parameters are sufficient (in C, the
program can supply NULL for all three).
Most programmers will use default values for these parameters unless advised
otherwise by their network administrator. To determine whether your
environment requires special treatment, consider whether any of these conditions
apply:
• Several independent distributed applications run on the same network, and
you must isolate them from one another (service parameter).
• Programs use the Rendezvous routing daemon, rvrd, to cooperate across a
WAN with programs that belong to a particular service group, and the local
programs must join the same service group (service parameter).
• A Rendezvous program runs on a computer with more than one network
interface, and you must choose a specific network for Rendezvous
communications (network parameter).
• Computers on the network use multicast addressing to achieve even higher
efficiency, and programs must specify a set of multicast groups to join
(Network parameter).
• A program runs on one computer, but connects with a Rendezvous daemon
process running on a different computer, and you must specify the remote
daemon to support network communications (daemon parameter).
• Two programs use direct communication. Both programs must enable this
feature and specify its service (service parameter).
If none of these conditions apply, then programmers can use default values for the
transport parameters.
If your network environment requires special treatment for any these parameters,
please notify applications programmers developing software for your
environment. If your organization runs Rendezvous programs developed by a
third party, consult the third-party documentation for information about network
and service configuration.
In addition, certain components of Rendezvous software, local programs and
third-party programs may also require special configuration:
• The Rendezvous routing daemon, rvrd, must specify the service and network
for each local network. Exchange this information with the network
administrators at each remote site.
• The Rendezvous secure daemon limits clients to communication on a set of
authorized network and service pairs.
• The current value cache, rvcache, accepts all three transport parameters.
When you configure this program, include any special values as needed.
• Many Rendezvous programs accept transport parameters on their command
lines. Inform all users of any special values that apply.
Service Selection
Port number When a program specifies a UDP or PGM port number, it must be a
string representing a decimal integer. For example:
"7890"
Service name When a program specifies a service name, the transport creation function
searches the network database using getservbyname(), which searches
a network database such as NIS, DNS or a flat file such as
/etc/services (in some versions of UNIX).
Default If a program does not specify a service, or it specifies null, the transport
creation function searches for the service name rendezvous.
(Non-Secure Daemons)
If getservbyname() does not find rendezvous, the Rendezvous daemon
instructs the transport creation function to use a hard default:
• The TRDP daemon offers the default service 7500.
• The PGM daemon offers the default service 7550.
Default Secure daemons use internal defaults, which must be set explicitly by the
administrator; see Default Network and Service on page 154.
(Secure Daemons)
Direct Communication To enable direct communication, specify two parts separated by a colon:
• UDP or PGM service for regular communication
• UDP service for direct communication (RPTP)
You may specify both parts either as a service name or a port number.
Direct communication is not available when connecting to a remote
daemon.
For a general overview, see Direct Communication on page 116 in TIBCO
Rendezvous Concepts.
Network Selection
Every network transport object communicates with other transport objects over a
network. On computers with only one network interface, the Rendezvous
daemon communicates on that network without further instruction from the
program.
On computers with more than one network interface, the network parameter
instructs the Rendezvous daemon to use a particular network for all
communications involving this transport. To communicate over more than one
network, a program must create a separate transport object for each network. For
further details, see Limitation on Computers with Multiple Network Interfaces on
page 25.
The network parameter also specifies multicast addressing details (for a brief
introduction, see Multicast Addressing on page 25).
To connect to a remote daemon, the network parameter must refer to the network
from the perspective of the remote computer that hosts the daemon process.
Part One—Network
Part one identifies the network, which you can specify in several ways:
The use of the UDP broadcast protocol has generally been superseded by the IP
multicast protocol. To use broadcast protocols without multicast addressing,
specify only part one of the network parameter, and omit the remaining parts.
Multicast Addressing
Multicast addressing is a focused broadcast capability implemented at the
operating system level. In the same way that the Rendezvous daemon filters out
unwanted messages based on service groups, multicast hardware and operating
system features filter out unwanted messages based on multicast addresses.
When no broadcast messages are present on the service, multicast filtering
(implemented in network interface hardware) can be more efficient than service
group filtering (implemented in software). However, transports that specify
multicast addressing still receive broadcast messages, so combining broadcast
and multicast traffic on the same service can defeat the efficiency gain of multicast
addressing.
Rendezvous software supports multicast addressing only when the operating
system supports it. If the operating system does not support it, and you specify a
multicast address in the network argument, then transport creation calls produce
an error status (TIBRV_NETWORK_NOT_FOUND).
Erroneous Examples
• A program, mylistener, creates a transport using service 7500 and network
lan0; it listens to broadcast subjects using that transport. Other program
processes on both lan0 and lan1 send broadcast messages using service 7500.
As a result, mylistener might unexpectedly receive inbound messages from
lan1.
• A program creates two network transports. Both use service 7500, but one
uses network lan0, while the other uses network lan1.
As a result, the call to create the second transport produces an error.
• Two programs on the same computer each create a transport. Both use service
7500, but one uses network lan0, while the other uses network lan1. Even
though these transports are in different processes, both transports connect to
the same Rendezvous daemon—which is subject to the limitation.
As a result, the program fails to create the second transport.
Using a separate service can rectify all four of the erroneous examples. Multicast
addressing can rectify the first two erroneous examples, but not the latter two. In
all four examples, a single Rendezvous daemon is sufficient.
For example, consider these two approaches to rectifying the first erroneous
example:
• Separate Service
A program, mylistener, creates a transport using service 7500 and network
lan0; it listens to broadcast subjects using that transport. Other processes on
lan0 send messages using service 7500, but all processes on lan1 send
messages using service 7510. Separating by service prevents the transport
from receiving interference from lan1.
• Multicast Addressing
A program, mylistener, creates a transport using service 7500 and multicast
network lan0;224.1.1.1. This transport selectively receives only those
inbound multicast messages that are sent on network lan0, to multicast
address 224.1.1.1, on service 7500. Multicast addressing (where available)
filters out messages sent on other networks using any other multicast address.
However, multicast addressing does not filter out IP broadcast messages sent
on the same UDP service. Once again, the roots of this limitation are in the
underlying IP broadcast protocols.
The Rendezvous daemon (rvd) and the Rendezvous routing daemon (rvrd) both
open a client socket to establish communication with their clients (Rendezvous
programs). The -listen option to rvd and rvrd lets you specify where the
daemon should listen for new client connections. Conversely, Rendezvous
programs request connections with the daemon at that client socket. The daemon
parameter of the transport creation function determines how and where to find
the Rendezvous daemon and establish communication.
Each transport object establishes a communication conduit with a Rendezvous
daemon, as described in these steps:
1. The daemon process opens a (TCP) client socket, and waits for a client to
request a connection.
The -listen option of the Rendezvous daemon specifies where the daemon
listens for new client transports.
2. The program calls the transport creation function, which contacts the daemon
at the client socket specified in its daemon parameter.
The daemon parameter of the transport creation function must correspond to
the -listen option of the daemon process; that is, they must specify the same
communication type and socket number.
If no daemon process is listening on the specified client socket, then the
transport creation call automatically starts a new daemon process (which
listens on the specified client socket) and then attempts to connect to it.
3. The daemon process opens a conduit for private communication with the new
transport. All future communication uses that private conduit.
The request socket is now free for additional requests from other client
transports.
In all cases, the communication type and socket number in the daemon parameter
of the transport creation call must match those given to rvd through its -listen
parameter.
Remote Daemon
In most cases, programs use a local daemon, running on the same host as the
program. Certain situations require a remote daemon, for example:
• The program runs on a laptop computer that is not directly connected to the
network. Instead, the laptop connects to a workstation on the network, and
the daemon runs on that workstation.
• The program connects to a network at a remote site.
For remote daemons, specify two parts (introducing the remote host name as the
first part):
• Remote host name.
• TCP socket number.
For convenient reference, these tables list port and service numbers with special
meaning to Rendezvous components.
Rendezvous components use HTTP ports for browser administration interfaces.
Configurable daemons distributed with Rendezvous also open an ephemeral
HTTPS port (to keep the daemon configuration secure against unauthorized
modification). To find the actual HTTPS port that the operating system has
assigned, check the daemon’s start banner or log file. The configurable daemons
are rvrd, rvsd, rvsrd, rva and rvcache—but not rvd.
7581 rvcache
7680 rva
7880 rvacld
7590 rvtxd
Service Description
rendezvous Program transport objects use these UDP or PGM services
7500 (TRDP) as defaults.
7550 (PGM) The component programs rva and rvrad follow this
convention.
For more detail, see Specifying the UDP or PGM Service
on page 21.
7600 rva uses this TCP port as the default to listen for new
connections from Java applets. See Listen Port on page 173.
TibrvRvaTransport objects in Java applets use this TCP port as
the default to establish connections with rva.
Disabling Multicast
When the command line for any of the daemon components includes
-no-multicast, the daemon disables multicast (and broadcast) communication.
This section describes the behavior of the daemons (rvd, rvrd, rvsd, rvsrd) when
multicasting is disabled.
API All changes in behavior occur with the daemon. These behavior changes are
transparent to Rendezvous API calls. Client programs can create transports that
specify multicast addressing or PGM service, send messages to any subjects, and
listen to any subjects. No changes to client programs are required.
Daemon Behavior Disabling multicast communication changes daemon behavior in these ways:
• When a client sends a message to a public subject, the daemon does not
multicast it (nor broadcast it) to the network.
• When a routing daemon receives multicast or broadcast messages from the
network, it does not forward them to other daemons within the local network.
Figure 1 Disabling Multicast: Public Subjects Still Flow Among Local Clients
rvd
rvd
-no-multicast
No
multicast
Network
Client Client
J K
rvrd
rvrd
-no-multicast
No
multicast
Net Y Net Z
rvd
Client
L
The Rendezvous daemon (rvd) is the background process that supports all
Rendezvous communications. Distributed processes depend on it for reliable and
efficient network communication. All information that travels between and
among processes passes through a Rendezvous daemon when it enters or exits a
host computer.
The Rendezvous daemon fills these roles:
• Route messages to program processes.
• Deliver messages reliably.
• Filter subject-addressed messages.
• Shield programs from operating system idiosyncrasies, such as low-level
sockets and file descriptor limits.
The Rendezvous daemon process, rvd, starts automatically when needed, runs
continuously and may exit after a period of inactivity.
For further general information about the Rendezvous daemon and reliable
broadcast delivery, see The Rendezvous Daemon on page 55 in TIBCO Rendezvous
Concepts.
Topics
• rvd, page 36
• Reliability and Message Retention Time, page 41
• Log Destination, page 43
• Browser Administration Interface—rvd, page 45
rvd
Command
Purpose The command rvd starts the Rendezvous daemon process. The Rendezvous
daemon is the network I/O handler for all Rendezvous programs on a computer.
Remarks Usually, the Rendezvous daemon (rvd) process starts automatically. When a
Rendezvous program creates a transport, Rendezvous software determines
whether a daemon is already listening for connections (as specified by the daemon
parameter). If so, the new transport connects to that daemon. If not, it
automatically starts a new daemon and connects to it.
However, when the daemon parameter of the transport creation call specifies a
remote daemon, the daemon does not start automatically—you must start it
manually on the remote computer.
The rvd command starts the Rendezvous daemon manually. You might do this to
specify optional parameters, or a start a daemon that will accept connections from
programs running on remote computers.
When started automatically by a client, rvd can also exit automatically. If rvd is
not connected to any valid client transports for 2 minutes, then rvd automatically
exits. However, when started manually, rvd does not exit automatically. To
override this behavior, start it manually with the -no-permanent option.
The Rendezvous routing daemon (rvrd) subsumes the behavior of rvd, so it is
usually not necessary to run rvd on computers that already run rvrd.
Running duplicate daemons on one computer yields no benefit, and can cause
errors or decreased efficiency.
Licenses To put new licenses into effect, stop and restart rvd. Restarting rvd can be manual
or automatic as described above.
(Sheet 1 of 4)
Parameter Description
-http <ip_address>:<http_port> The browser administration interface accepts connections on
this HTTP port. Permit administration access only through the
-http <http_port>
network interface specified by this IP address.
To limit access to a browser on the rvd host computer, specify
127.0.0.1 (the local host address).
(Sheet 2 of 4)
Parameter Description
-listen <ip_address>:<tcp_port> rvd (and by extension, rvrd operating within the local
network) opens a TCP client socket to establish
-listen <tcp_port>
communication between itself and its client programs. The
-listen parameter specifies the TCP port where the
Rendezvous daemon listens for connection requests from
client programs. This -listen parameter of rvd corresponds
to the daemon parameter of the transport creation call (they
must specify the same TCP port number).
The IP address specifies the network interface through which
this daemon accepts TCP connections.
To bar connections from remote programs, specify IP address
127.0.0.1 (the loopback interface).
-no-permanent If present (or when rvd starts automatically), rvd exits after 2
minutes during which no transports are connected to it.
If not present, rvd runs indefinitely until terminated.
(Sheet 3 of 4)
Parameter Description
-no-lead-wc | Sending to subjects with lead wildcards (for example, > or
-lead-wc *.foo) can cause unexpected behavior in some applications,
and cause network instability in some configurations. This
option lets you selectively screen wildcard sending.
When -no-lead-wc is present, rvd quietly rejects client
requests to send outbound messages to subjects that contain
wildcards in the lead element. rvd does not report excluded
messages as errors.
When -lead-wc is present (or when neither flag is present),
rvdallows sending messages to subjects with lead wildcards.
-log-rotate <size> When present, activate the log rotation regimen (see Log
Rotation on page 43), limiting the combined total size of the 10
log files to this size (in kilobytes).
When you specify this option, you must also specify
-logfile.
(Sheet 4 of 4)
Parameter Description
-log-config <config_log_filename> Send duplicate log output to this file for log items that record
configuration changes. The daemon never rotates nor removes
this special log file. Instead, this file remains as a record of all
configuration changes.
When absent, the default is stderr.
Log Destination
Each Rendezvous daemon and component process—rvd, rvrd, rvsd, rvsrd, rva,
rvtrace—produces log output. The content of log output varies, but the
semantics of command line options that affect logging are identical for all of these
components:
• When all of the command line options that affect logging are absent, daemons
send log output to stdoutstderr.
• When -logfile <log_filename> is present, daemons send log output to the file
you specify, namely <log_filename>.
• When -log-rotate <size> is also present, daemons use a log rotation
regimen. For details, see Log Rotation below.
• When -log-config <config_log_filename> is present, daemons log duplicate
copies of configuration changes to the file you specify, namely
<config_log_filename>. Daemons never rotate nor remove this file, so a
permanent record of this important information remains. (This parameter is
available only for daemons.)
Log Rotation
The command line option -log-rotate <size> limits the growth of log files. The
<size> parameter specifies the maximum disk space (in kilobytes) that log files can
occupy (approximately).
When -log-rotate is present, the daemon establishes as sequence of up to ten
log files, limiting each file to approximately one tenth of the maximum <size>. The
daemon rotates the log files according to this renaming plan:
• The first file is <log_filename> (the argument to -logfile)—for example,
rvd.log (without any suffix digit). This name also becomes the base for a
sequence of subsequent files.
• When rvd.log reaches its limit, the daemon rotates log files:
— It closes rvd.log.
— It appends the next available suffix digit to the base name, and opens a file
with that name as the new current file. Suffix digits follow the sequence
none, 1, 2, 3, 4, 5, 6, 7, 8, 9, then back to none (so the tenth rotation returns
to the original base name).
• If the first log file already contains old log items, the daemon appends the new
items to the end of the file (preserving the old logs).
For all subsequent rotations (that is, after the first file) the daemon deletes any
existing file before opening a new file and writing log items to it.
• When the daemon terminates and restarts, the rotation state is reset.
You can determine the most recent file by comparing either packet time
stamps within the files, or file modification times.
The browser administration interface lets you control rvd from a web browser.
Although rvd does not have any configurable operating parameters, you can
view internal data structures that reflect network conditions.
Topics
• Navigation, page 46
• General Information, page 48
• Clients, page 50
• Services, page 52
Navigation
All browser administration interface pages display a navigation panel at the left
side of the page. Use these links to display other pages.
(Sheet 1 of 2)
(Sheet 2 of 2)
General Information
(Sheet 1 of 2)
Item Description
component The name of the program—rvd (or rvsd).
host name The hostname of the computer where the daemon process runs.
Notice that the daemon process can run on one computer, while you access its
browser interface from another computer.
IP address The IP address of the computer where the daemon process runs.
client port The TCP port where the daemon listens for client connections.
network The number of network services on which this daemon’s clients communicate.
services
(Sheet 2 of 2)
Item Description
process ID The operating system’s process ID number for the component.
Clients
Item Description
table rows Each row of the table describes one client transport.
Description The description string of the transport object. Client programs set this string using
an API call.
User The user name of the user that started the client program process.
Service The UDP or PGM service on which the client transport communicates.
Identifier A globally unique identifier for the transport object. Click this identifier to view
Client Detail page.
Client Detail
This page displays additional detail about a particular client transport.
To display this page, click any transport identifier in the Clients page.
Item Description
Description The description string of the transport object. Client programs set this string using
an API call.
User The user name string of the user that started the client program process.
Service The UDP or PGM service on which the client transport communicates.
Serial Serial number of the Rendezvous license ticket that validates this client connection.
Number
Version Version number of the Rendezvous API library that this client uses.
Subscription This table lists the subscriptions that this transport has registered with rvd. Each
Information row displays the subject name of one subscription.
Limited to 50 subscriptions; if greater than 50, it displays only the approximate
number of subscriptions.
Services
On this page rvd displays information about the network services it mediates for
its clients.
To display this page, click Services in the left margin of any page of the rvd
browser administration interface.
Item Description
table rows Each row of the table describes one network service—that is, a UDP or PGM
service on a particular network interface.
Service The UDP or PGM service number. Click this number to view Service Detail page.
Hosts The number of other host computers with Rendezvous daemons that communicate
on this network and service.
Clients The number of client transports that use this network and service.
Service Detail
This page displays additional detail about a particular network service.
To display this page, click any service number in the Services page.
(Sheet 1 of 3)
Item Description
Service The UDP or PGM service number.
Reliability rvd retains outbound message data for retransmission. After this interval, it
discards the data. For complete details, see Reliability and Message Retention
Time on page 41.
(Sheet 2 of 3)
Item Description
Clients The number of client transports that use this network service. To view the Clients
page, click this item.
Hosts The number of other host computers with Rendezvous daemons that
communicate on this network and service. To view the Hosts page, click this
item.
Subscriptions The number of subscriptions registered with the daemon on this network service.
To view the list of subscriptions, click this item.
Inbound Rates The rate (per second) at which inbound messages, bytes and packets arrived on
this network service during the most recent sampling period.
Outbound The rate (per second) at which the daemon sent outbound messages, bytes and
Rates packets on this network service during the most recent sampling period.
Inbound Totals Cumulative statistics about inbound data; running totals since the start of the
daemon process:
• msgs—number of messages
• bytes—number of bytes
• pkts—number of packets
• missed—number of missed packets (detected as a packet sequence gap)
• lost MC—number of multicast packets lost because the sending daemon
could not retransmit them
• lost PTP—number of point-to-point packets lost because the sending daemon
could not retransmit them
(Sheet 3 of 3)
Item Description
Outbound Cumulative statistics about outbound data; running totals since the start of the
Totals daemon process:
• msgs—number of messages
• bytes—number of bytes
• pkts—number of packets
• retrans—number of packets retransmitted (multicast and point-to-point)
• lost MC—number of multicast packets the daemon could not retransmit (too
old)
• lost PTP—number of point-to-point packets the daemon could not retransmit
(too old)
Hosts
This page displays Rendezvous daemon process instances on other host
computers that communicate on the same network and service. From this page,
you can view the service pages of those other daemons.
To display this page, click the word hosts in the Service Detail page.
This page lists any Rendezvous communications daemon host, whether the
process is rvd, rvsd, rvrd, or rvsrd.
(Sheet 1 of 2)
Item Description
host Each row of this table represents one Rendezvous daemon process and its host
computer.
(Sheet 2 of 2)
Item Description
Hostname The name of the computer where the other daemon is running.
IP Address The IP address of the computer where the other daemon is running.
Uptime The elapsed time that the daemon has been using the common UDP or PGM
service.
Topics
Situations
Use the routing daemon in situations where one or more of these conditions apply:
• Participating networks lie in distant geographic areas.
• Participating networks lie in nearby geographic areas, but are not connected
by multicast routing hardware.
• Participating networks are separated by a firewall.
• Messages must traverse expensive or slow WAN links.
Concepts
Goal
The goal of routing daemon software is to take Rendezvous messages from one
network, and make them available on other networks. The effect is to connect a
set of networks into a larger network.
Compare this goal to the goal of routing hardware—to take packets from one
network, and make them available on other networks. Once again, the effect is to
connect a set of networks into a larger network.
Connections
Routing daemon software uses a routing table to define connections to local
networks, and to other routing daemons.
Compare this tool to a hardware router, which uses a routing table to define the
connections between the router and its interfaces.
Each entry in the routing table describes one routing daemon and its connections.
Although each routing daemon specifies only its own routing table entry, all the
routing daemons in a WAN cooperate to share this information, so that every
routing daemon builds a copy of the complete global routing table.
Local Network
A routing daemon serves a set of local networks by forwarding messages between
those networks and other networks (usually, by way of other routing daemons).
While routing hardware specifies its local networks primarily in terms of network
interfaces, routing daemon software specifies each local network as a pair
combining network and UDP or PGM service. UDP or PGM services effectively
divide the physical network into separate logical networks—even though they
use the same hardware.
A routing daemon filters messages by subject name, restricting the subjects that
its local networks can import and export. Filtering messages by subject in routing
daemon software yields a finer granularity of control than filtering packets in a
hardware router. Routing daemons control the set of subjects that each network
can export to other networks, and import from other networks. For more
information, see Subject Gating on page 66.
Neighbor
To achieve the goal of forwarding message between networks, routing daemons
connect to other routing daemons. A routing daemon declares its potential
neighbors—the other routing daemons to which it can directly connect.
Two potential neighbors become actual neighbors when they establish a TCP
connection.
Neighbor Link
Routing Daemon
Route
The set of connections through which a message travels between its originating
network and its destination network is called a route. Several potential routes can
exist between the originating and destination networks; routing daemons select
the actual route for each message.
Requirements
Routing Daemons
A routing daemon must exist on at least one computer of each local network that
participates by sending or receiving Rendezvous messages.
Neighbor Connections
The network administrator must allow the routing daemons to establish TCP or
SSL connections, so the routing daemons can become neighbors.
Subject Gating
Each routing daemon must export the relevant subject names from its local
network, and import the relevant subject names from other networks.
For details, see Subject Gating on page 66, and Subject Filtering with Wildcards on
page 67.
Subject Interest
Import and export gating is not sufficient to start the flow of messages. To receive
forwarded messages, programs within the local network must express interest in
the relevant subject names, by listening for those subjects.
Whenever a routing daemon detects interest in a subject within one of its local
networks, it cooperates with other routing daemons to forward that subject to that
local network. When programs in the network no longer retain interest in a
subject, the routing daemons stop forwarding it.
For more details, see Routing Daemons Filter Interest to Permitted Subjects on
page 68.
rvrd Process
Initial State
In its initial state an rvrd process operates identically to an rvd process; it does
not route messages yet.
Administrators use the browser administration interface to configure the routing
daemon, and to start its operation as a software router.
Administration File
An rvrd process can store its routing table entry and parameters in a file. When
the process restarts, it can read that file to resume its previous operating
configuration.
The administration file is stored in a format that is not human-readable. To
examine or change the routing table entry or parameters, use the browser
administration interface.
Logging
An rvrd process can output a log of its activity. For details, see Routing Daemon
Logging on page 90.
Routing table entries are the basic building blocks of a Rendezvous routing
system. In most situations, each routing daemon process embodies a single
routing table entry, which denotes that daemon throughout the WAN, and
describes its operation.
In rare situations one routing daemon process can embody several routing table
entries. Each entry defines a separate and independent software router, but
without the cost associated with process switching. For more information, see
Independent Routing Table Entries in One Process on page 77.
Combining all the routing table entries of all the routing daemons produces the
global routing table. Each routing daemon uses its copy of the global routing table
to forward messages efficiently to other routing daemons and their networks.
Router Name
Each routing table entry has a name. Routing daemons use these names to
identify one another—so names must be unique throughout the entire WAN.
One convenient way to ensure unique names is to use the fully-qualified DNS
names of the rvrd host computers; for example, frobitz.yellowNet.baz.com.
(When one process embodies several routing table entries, you can use a prefix to
create unique names; for example, 1.frobitz.yellowNet.baz.com).
Other naming conventions are acceptable, as long as the names are unique.
The name is a string of alphanumeric, dot, and dash characters. The maximum
total length of the string is 64 characters (including the dot separators).
Local Networks
Each routing daemon can serve zero or more local networks. For details, see Local
Network on page 66.
Notice that a routing daemon need not serve any local networks. In this
configuration, it operates as a way station, forwarding message traffic between
other routing daemons—for example, to cross a firewall. For an illustration of this
role, see Security and Firewalls on page 85.
Neighbors
Each routing daemon can connect to zero or more neighbors (routing daemons on
other networks). For details, see Neighbors on page 69.
Local Network
Like router names, each local network name is a string of alphanumeric, dot, and
dash characters. The maximum total length of the string is 64 characters
(including the dot separators).
When several routing daemons serve one network, each routing daemon must
specify the same name for that network.
Subject Gating
The router configuration determines the set of public subjects that can potentially
pass between the routing daemon and the local network:
• Export subjects can flow out from the local network to the routing daemon,
and from there to other networks.
• Import subjects can flow into the local network from the routing daemon.
Point-to-Point Gating
Routing daemons automatically transmit point-to-point messages as appropriate:
• When a routing daemon receives a point-to-point message whose destination
is elsewhere in the global routing table, it forwards that message to the routing
daemon that serves the destination network.
• When a routing daemon receives a point-to-point message whose destination
is in one of its local networks, it forwards that message directly to rvd on the
destination computer.
• Administrators do not need to explicitly import or export inbox subject
names.
Recall that these rules of import parameter behavior apply to routing daemons,
and also to the Rendezvous agent (rva).
Importing this Matches messages with But not names like these
wildcard name names like these (reason)
FOO.* FOO.BAR FOO.BAR.BAZ (extra element)
Importing this Matches messages with But not names like these
wildcard name names like these (reason)
FOO.*.STOP FOO.BAR.STOP FOO.STOP (missing element)
FOO.FOZ.STOP
FOO.BAR.BAZ (unmatched
3rd element)
For example, consider a situation in which the local network imports FOO.> (that
is, it does not permit any other subjects to enter from the WAN). When a process,
L1, within the local network listens to the subject > (that is, the wildcard that
matches any subject), the routing daemon first compares it to the permitted
import subjects; since > is not a subset of FOO.>, the routing daemon does not
forward any messages into the local network, so L1 does not receive any
messages.
When a second process, L2, in the same local network, listens to the subject
FOO.BAR, the routing daemon begins importing messages (because the subject
matches a subject for which import is permitted); both L1 and L2 receive the
imported messages.
When a third process, L3, listens to the subject FOO.>, the routing daemon widens
the set of messages it imports; both L1 and L3 receive the additional message
subjects.
See Also Using Wildcards to Receive Related Subjects on page 66 in TIBCO Rendezvous
Concepts
The concept of fixed subject interest is obsolete in release 6 (and later). Instead,
subject interest dynamically determines the set of subjects that actually flow to
and from a network.
Neighbors
Neighbor links connect routing daemons. A routing daemon declares its potential
neighbors in its routing table entry. Two routing daemons become actual
neighbors when they establish a TCP connection.
To declare potential neighbors, see Neighbor Interfaces on page 117. To examine
actual neighbors, see Connected Neighbors on page 103.
Neighbor Pairs
Neighbors operate in pairs—one router at each end of a neighbor connection.
Administrators can specify the pairs in four ways; see Adding Neighbor
Interfaces on page 71.
Local Host The default value denotes the host computer’s default interface. You may
override this default by specifying another network interface on the local host
computer—either as a resolvable hostname, or as the IP address of the interface.
Local Connect In each neighbor declaration, a routing daemon designates a TCP port number
Port where the routing daemon accepts connection requests from that neighbor.
When a routing daemon declares several neighbors, it can designate a unique
local connect port for each neighbor, or some of its neighbors can share a local
connect port.
However, when a routing daemon process operates several routing table entries,
the routing entries may not share any local connect ports.
Remote Router In most situations, a routing daemon identifies a neighbor using its unique router
Name name (see Router Name on page 65).
(For a counterexample, see Seek Neighbor with Any Name on page 72.)
Remote Connect The remote port is the TCP port number where the remote neighbor listens for a
Port connection request from this routing daemon.
This parameter must match the local connect port of a routing table entry within
the rvrd process on the neighboring host computer.
Remote Public When neighbors communicate using SSL, you must enter the public certificate of
Certificate the authorized neighbor. For background information, see Certificates and
Security on page 53 in TIBCO Rendezvous Concepts.
Network Administration
Neighboring routing daemon processes must be able to establish a TCP
connection. The network administrator (at each site) must configure the hardware
(or software) routers and firewalls to permit this TCP connection between the two
routing daemon host computers.
Data Compression
Routing daemons can compress data to reduce the network volume that travels
between neighbors.
• Compression is most useful when you pay for WAN transmission by volume.
• Compression reduces volume at the cost of speed. Compression and
decompression slows rvrd processing at both ends of a neighbor link.
Active Neighbor
A routing daemon can declare another routing daemon as its neighbor, and
actively initiate a connection to it. If the connection is broken, the routing daemon
actively attempts to restore it.
Consider an example situation in which a routing daemons link several networks
within an enterprise. Each routing daemon within the enterprise declares every
other routing daemon as an active neighbor.
Passive Neighbor
A routing daemon can declare that it passively accepts connections from its
neighbor, but does not actively initiate the connection itself.
Consider these example situations:
• Unidirectional firewall.
Routing daemon abc.homeNet.myDom.com is located behind a firewall that
allows connection requests in only one direction—outward. Active connection
attempts by its neighbor, mno.lyonNet.myDom.com, would invariably fail,
marking each attempt as a potential security violation at the firewall. When
• Modem restriction.
Routing daemon fgh.oshkoshNet.myDom.com is located on a host that
depends on a modem for network access; the modem settings permit
fgh.oshkoshNet.myDom.com to dial out, but the modem does not accept
incoming calls. Active connection attempts by its neighbor,
klm.chicagoNet.myDom.com, would invariably fail, while wasting resources.
When klm.chicagoNet.myDom.com declares fgh.oshkoshNet.myDom.com as
a neighbor, it can specify passive connect, reflecting its inability to initiate a
connection to fgh.oshkoshNet.myDom.com. To become actual neighbors,
fgh.oshkoshNet.myDom.com must initiate the connection to
klm.chicagoNet.myDom.com.
This configuration is especially useful for load balancing among a set of potential
neighbors with identical routes.
Specify the potential neighbors with two pieces of information:
• Remote Host, which must be either a DNS hostname that can resolve to more
than one IP address, or a virtual IP address.
• Remote Connect Port—all potential neighbors must listen for connection
requests on this port).
Each potential neighbor must accept connections from the seeking routing
daemon, without actively attempting to connect to it. The potential neighbors can
specify this in either of two ways:
• Accept connections from any neighbor, including the seeking routing daemon
(see Accept Any as Neighbor on page 72).
• Passively accept connections specifically from the seeking routing daemon
(see Passive Neighbor on page 71).
Anet.moo.com
Legend
E.Anet.moo.com F.Anet.moo.com
Local Network
Neighbor Link
G.Bnet.moo.com H.Bnet.moo.com
Bnet.moo.com
Load Balancing
You can balance network load by directing messages along preferred routes.
Routing daemons let you specify preferred routes using two mechanisms:
• Path cost
• Subject import weight
Path Cost You can specify the one-way path cost of each neighbor link. Routing protocols
seek the route with the lowest cost.
For example, Figure 12 repeats the fault-tolerant configuration from Figure 11—
however, the administrator has specified path costs on the neighbor links at G and
H. In particular, the outer links—G’s link to E, and H’s link to F—each specify a
cost of 1 (retaining the default cost). In contrast, the inner crossover links—G’s link
to F, and H’s link to E—each specify a cost of 5. When all the components operate
normally, messages flow across the lower cost links. When components fail,
messages flow across the lowest cost link that remains operational.
E.Anet.moo.com F.Anet.moo.com
1 5 5 1 Path Costs
G.Bnet.moo.com H.Bnet.moo.com
Bnet.moo.com
For routing daemons from release 6, the cost of every path is always 1, and you
cannot change this value. You can set a higher value for path costs only when
configuring routers from release 7 or later.
Subject Import You can annotate subject gating for import subjects with weight values. When a
Weight message could travel two paths with equal cost, import weights break the tie.
Routing protocols seek the path with the greatest weight.
For example, in Figure 12, the administrator has specified that G imports foo.>
with weight 1 (retaining the default weight), and bar.> with weight 10.
Conversely, H imports foo.> with weight 10, and bar.> with weight 1. When all
the components operate properly, messages with subjects foo.> travel through F
and H, while messages with subjects bar.> travel through E and G. If E were to
fail, all messages would travel through F and H (because that route has the lowest
path cost).
In most situations, each routing daemon process embodies a single routing table
entry. Nonetheless, in rare situations one routing daemon process can embody
several routing table entries. Each entry defines a separate and independent
software router, but without the cost associated with process switching.
This section explores two situations in which multiple routing table entries are
appropriate:
• Overlapping Subject Space
• Bandwidth Contention on page 79
Legend
Local Network
Neighbor Link
Routing Daemon
S1 L2
A.K.foo.com F.J.foo.com
For example, on the left side of Figure 13, the two UDP or PGM services 7500 and
7502 effectively separate one physical network (K.foo.com) into two disjoint
subject spaces; that is, program L2 cannot receive messages from program S1.
Similarly, on the right side of Figure 15, two UDP or PGM services 7577 and 7588
effectively separate one physical network (J.foo.com) into two disjoint subject
spaces. However, the routing daemons in this configuration merge the subject
spaces of their local networks—effectively canceling the separation; that is,
program L2 does receive messages from program S1.
To restore the separation, configure an independent routing table entry for each
local network, as in Figure 14 on page 79.
Legend
Local Network
Neighbor Link
rvrd Process
S1 L2 S2 L3 L4
A.K.foo.com F.J.foo.com
B.K.foo.com G.J.foo.com
In Figure 14, each rvrd process contains two independent routers, which act as
parts of two disjoint routes—keeping the data and subject spaces separate:
• Routing table entries A and F form a route connecting network 2 with
network 3.
• Routing table entries B and G form a route connecting network 1 with
network 4.
Notice that once again, program L2 cannot receive messages from S1.
Bandwidth Contention
Bandwidth contention is the second reason to separate programs using disjoint
routes.
Consider two programs that are deployed on the same physical network—a
program S2 that sends messages at a moderate data rate, and a program S1 that
sends messages at a relatively high data rate. However, messages from S2 are
much more important to the enterprise as a whole than messages from S1.
When forwarding these messages across a WAN, routing daemons would
ordinarily send them across the same TCP connection. The many unimportant
messages from S1 could delay the more important messages from S2.
To solve this throughput problem, configure an independent route for each set of
messages, as in Figure 14 on page 79. On the left side of Figure 14, S1 and S2 use
distinct UDP or PGM services within the same physical network, effectively
separating their messages into two logical network spaces. Disjoint routes carry
the two sets of messages:
• Important messages from S2 travel through routing entries A and F.
• Messages from S1 travel through routing entries B and G.
The heavy volume on this route does not interfere with crucial message
throughput on the S2 route, because a separate TCP connection carries each
route.
Defeating Independence
The routing table entries within an rvrd process operate as independent
pathways; that is, data does not flow directly between routing table entries within
a routing daemon process instance.
Nonetheless, data can flow indirectly by way of a mutual neighbor. In Figure 15
on page 81, notice that adding a neighbor link between M and T would merge the
route connecting networks A, B and C, with the otherwise disjoint route
connecting X and Y (defeating their independence). Use caution when altering a
network of routing daemons.
Legend C
Local Network
Neighbor Link
M.C.foo.com
Routing Table Entry
rvrd Process
A B
A.A.foo.com S.B.foo.com
B.X.foo.com T.Y.foo.com
X Y
Legend
Local Network
Neighbor Link
Routing Daemon
Net Castor.star.com
UDP 7500
gemini taurus
Duplicating Effort
It is an error to use routing daemons to duplicate the effort of another forwarding
mechanism (for example, a hardware router, or another pair of routing daemon
neighbors. (This error is actually a variation of the error described in Neighbors
on the Same Network on page 82.)
Consider the situation in Figure 17 on page 84. Two mechanisms forward
messages between the two networks—the hardware router and a pair of routing
daemons (A.a.bad.com and B.b.bad.com). When a program on network
a.bad.com sends a message, routing daemon A forwards it to its neighbor B,
which redistributes it on network b.bad.com. When the hardware router receives
the redistributed message, it forwards it back to network a.bad.com, where A
detects the duplication and produces an error message.
This kind of error can occur in either broadcast or multicast situations. However,
it is especially common in environments where hardware routers enable multicast
routing. Upgrading a hardware router can trigger this error.
Upgrading rvrd from release 5 to release 6 (or later) provides another fertile
environment for this error. When both routing daemons run concurrently in the
same network, be careful to avoid duplicate service.
To repair the situation, remove one of the routing daemons, or disable hardware
multicast routing.
Legend
Local Network
Network Interface
Path of Message
Routing Daemon
Net a.bad.com
UDP 7533
A.a.bad.com
Hardware
Router
B.b.bad.com
Net b.bad.com
UDP 7533
Routing daemons offer security controls based on UDP or PGM service groups
and subject names (see Restricting Message Flow on page 63). In addition, the
routing daemon works in concert with firewalls to constrain information flow.
The WAN in Figure 18 connects two enterprises across the Internet. Each
enterprise protects its networks with firewalls. Notice that the routing daemon
within the DMZ does not serve any local network; instead that routing daemon
operates as a way station, forwarding messages across the firewalls on either side
of it.
Local Network
Firewall Firewall
Enterprise 1
DMZ
Internet
Firewall Firewall
Enterprise 2
DMZ
PGM and TRDP network protocols do not interoperate. Nor can Rendezvous
components and programs from one variant interoperate with components and
programs from the other variant. The only exception to this rule is the
Rendezvous routing daemon.
You can deploy a pair of Rendezvous routing daemons to construct a bridge that
connects a PGM network with a TRDP network. This bridge lets PGM programs
in one network communicate with TRDP programs in the other network.
Figure 19 depicts an example. A routing daemon from the TRDP variant runs in
the TRDP network, while a routing daemon from the PGM variant runs in the
PGM network. The two routers specify each another as neighbors. They forward
both multicast and point-to-point messages.
The two networks need not be physically distinct. For example, you can run PGM
and TRDP variants on the same physical LAN—as long as they use
non-overlapping services (that is, port numbers).
Backlog Protection
The Connected Neighbors page displays the peak backlog for each neighbor; see
Connected Neighbors on page 103.
Maximum Backlog
An extremely large backlog can cause severe problems for rvrd and its host
computer. Administrators can configure rvrd to protect against this possibility.
When enabling this feature, the administrator specifies the maximum permissible
backlog (in kilobytes). When an outbound backlog of this size accumulates for
any neighbor connection, rvrd automatically disconnects from that neighbor,
clears the corresponding outbound data buffer, and attempts to reconnect to the
neighbor.
To obtain a reasonable estimate for the threshold value that triggers this action,
calculate the process storage available to rvrd, divided by the number of
neighbor connections it serves.
You can configure this feature separately for each routing table entry. The router
applies that maximum to all of its neighbor connections.
To configure this feature, see Routers on page 111.
Notice that enabling this feature represents a deliberate decision to discard data in
certain extreme circumstances. When this feature is disabled (the default), the
routing daemon does not protect against backlog. The decision to use this feature
must be based on the business requirements of the enterprise.
Idle
A routing daemon process can output a running log of its activity. System
administrators can use the resulting log files to monitor neighbor connections,
subject interest and message flow.
To configure the kinds of normal activity to log, see Logging on page 110.
To configure the destination of log output, see Log Destination on page 43.
The command line parameter -log is obsolete in release 6 (and later). Use the
browser administration interface to configure rvrd logging categories.
Next, the routing daemon reads its configuration from its store file. In this
example, it defines a router (routing table entry) named bigdog-r1, with an accept
any neighbor interface.
The example continues by defining that a local network interface (for router
bigdog-r1), and subject gating for that local network.
2002-04-22 10:07:47 ./rvrd: [bigdog-r1]: Export subject [>] from local network
sunfire-bigdog-n1.
2002-04-22 10:07:47 ./rvrd: [bigdog-r1]: Import subject [>] with weight 10 for local
network sunfire-bigdog-n1.
The routing daemon finishes its start sequence by reporting the URL bindings of
its browser administration interfaces.
2002-04-22 10:07:47 ./rvrd: Http interface - http://bigdog.rv.tibco.com:7680/
2002-04-22 10:07:47 ./rvrd: Https interface - https://bigdog.rv.tibco.com:36145/
Now the routing daemon begins normal operations. The administrator sets the
logging parameters for normal activity. After that, log items reflect neighbor
connections to other routers (viggen-r1), exchange of subscription interest
information, and forwarding of message data.
2002-04-22 10:08:35 ./rvrd: Logging: [Connections - On], [Subject Interest - On],
[Subject Data - On].
2002-04-22 10:18:03 ./rvrd: [bigdog-r1]: Sending cancel for [TEST] to viggen-r1 for
source 0A65023F/hpux11-viggen-n1.
rvrd
Command
Remarks The rvrd process subsumes the behavior of rvd, so it is not necessary to run a
separate rvd process on computers that run rvrd. We recommend against running
both components on the same computer.
rvrdmust run on a host computer with a permanent IP address. For example, a
temporary address assigned by DHCP is invalid.
(Sheet 1 of 4)
Parameter Description
-store <filename> This file contains the routing table entry and parameters that
configure rvrd.
rvrd reads this file when the process starts, and writes this file
each time you change the configuration using the browser
administration interface.
(Sheet 2 of 4)
Parameter Description
-http <ip_address>:<http_port> The browser administration interface accepts connections on
this HTTP or HTTPS port. Permit administration access only
-http <http_port>
through the network interface specified by this IP address.
-https <ip_address>:<https_port> To limit access to a browser on the rvrd host computer, specify
127.0.0.1 (the local host address).
-https <https_port>
When the IP address is absent, the daemon accepts
connections through any network interface on the specified
HTTP or HTTPS port.
If the explicitly specified port is already occupied, the program
exits.
When the -http parameter is entirely absent, the default
behavior is to accept connections from any computer on HTTP
port 7580; If this default port is unavailable, the operating
system assigns an ephemeral port number.
When the -https parameter is entirely absent, the default
behavior is to accept secure connections from any computer on
an ephemeral HTTPS port.
In all cases, the program prints (in its start banner) the actual
HTTP and HTTPS ports where it accepts browser
administration interface connections.
(Sheet 3 of 4)
Parameter Description
-listen <ip_address>:<tcp_port> rvd (and by extension, rvrd operating within the local
network) opens a TCP client socket to establish
-listen <tcp_port>
communication between itself and its client programs. The
-listen parameter specifies the TCP port where the
Rendezvous daemon listens for connection requests from
client programs. This -listen parameter of rvd corresponds
to the daemon parameter of the transport creation call (they
must specify the same TCP port number).
The IP address specifies the network interface through which
this daemon accepts TCP connections.
To bar connections from remote programs, specify IP address
127.0.0.1 (the loopback interface).
(Sheet 4 of 4)
Parameter Description
-reliability <time> Rendezvous daemons compensate for brief network failures
by retaining outbound messages, and retransmitting them
upon request.
If this parameter is absent, the default retention time is 60
seconds. In some situations, shorter times are appropriate. We
strongly discourage increasing the retention time beyond 60
seconds (see Reliability and Message Retention Time on
page 41).
If this parameter is present, rvd (and by extension, rvrd
operating within the local network) retains messages for <time>
(in seconds).
For more information see Reliability and Message Retention
Time on page 41.
-log-rotate <size> When present, activate the log rotation regimen (see Log
Rotation on page 43), limiting the combined total size of the 10
log files to this size (in kilobytes).
When you specify this option, you must also specify
-logfile.
-log-config <config_log_filename> Send duplicate log output to this file for log items that record
configuration changes. The daemon never rotates nor removes
this special log file. Instead, this file remains as a record of all
configuration changes.
When absent, the default is stderr.
The browser administration interface lets you control rvd from a web browser.
You can configure its operating parameters, and view operating statistics.
Topics
• Navigation, page 97
• General Information, page 99
• Local Networks, page 101
• Connected Neighbors, page 103
• Daemon Parameters, page 108
• Routers, page 111
• Local Networks Configuration, page 113
• Subject Gating, page 115
• Neighbor Interfaces, page 117
• Certificates, page 123
Navigation
All browser administration interface pages display a navigation panel at the left
side of the page. Use these links to display other pages.
Local This page summarizes the local networks of a router; see Local
Networks Networks on page 101.
Configuration Daemon This page lets you configure parameters that control
Parameters configuration access and router logging; see Daemon
Parameters on page 108.
Routers This page lets you configure routers. You can access additional
configuration pages through links on this page. See Routers on
page 111, and the sections that follow it.
XML This page lets you view the current configuration as an XML
Configuration document, and reconfigure the component by submitting an
edited XML document.
Certificates This page lets you configure certificates that the daemon uses
to identify itself in secure protocols. See Certificates on
page 123.
Log Out This item logs out the current user or Administrator. See Log
Out on page 110.
Miscellaneous Current Log This page displays the most recent 4 kilobytes from the log file.
General Information
rvrd (like all Rendezvous components) displays information about itself on this
page.
To display this page, click General Information in the left margin of any page of
the rvrd browser administration interface.
(Sheet 1 of 2)
Item Description
component The name of the program—rvrd (or rvsrd).
host name The hostname of the computer where the daemon process runs.
Notice that the daemon process can run on one computer, while you access its
browser interface from another computer.
IP address The IP address of the computer where the daemon process runs.
client port The TCP port where the daemon listens for client connections.
(Sheet 2 of 2)
Item Description
network The number of network services on which this daemon’s clients communicate.
services
routing The number of router names that this daemon embodies; see Routing Table Entry
names on page 65.
store file File name of the daemon’s store file; see the command line parameter -store for
rvsd on page 139, and for rvsrd on page 142.
Local Networks
(Sheet 1 of 2)
Item Description
Router Name This page groups local networks by router name (routing table entry). A box in
this column indicates the name of the routing table entry that serves the local
networks shown to its right. See also Routing Table Entry on page 65.
Service The UDP or PGM service for communication on the local network.
Network The network specification (as specified by the routing table entry).
Specification
Local Routers This subtable lists other routers that serve this local network.
(Sheet 2 of 2)
Item Description
Hostname The name of the host computer where the other routing daemon runs.
Click here to view the browser administration interface for the other routing
daemon process.
IP Address The IP address of the host computer where the other routing daemon runs.
Subscriptions A list of subscription interest registered by all transports within the local
network.
Limited to 50 subscriptions; if greater than 50, it displays only the approximate
number of subscriptions.
Connected Neighbors
rvrd displays information about its (actual) neighbor connections on this page.
To display this page, click Connected Neighbors in the left margin of any page of
the rvrd browser administration interface.
This page is related to—but not the same as—the page described in Neighbor
Interfaces on page 117.
(Sheet 1 of 2)
Item Description
table rows Each row in this table describes one neighbor connection.
Router Name This page groups neighbors by local router name (routing table entry). A box in
this column indicates the name of the local router that connects to the neighbors
show to its right. See also Routing Table Entry on page 65.
Neighbor The name of a remote router with which the local router has a neighbor
Name connection.
Click here to view the browser administration interface for the neighbor routing
daemon process.
Link Stats The name of the (local) neighbor interface that specifies this neighbor connection.
rvrd generated this name automatically when you configured the neighbor
interface. Click this name to view the Neighbor Statistics page.
(Sheet 2 of 2)
Item Description
Peak Backlog Backlog is outbound data awaiting transmission to a neighbor. This column
displays the peak backlog for each neighbor.
The Reset Statistics button on the Neighbor Statistics page resets this figure to
zero. It is also reset to zero when the neighbors become disconnected and
subsequently reconnect.
See also, Backlog Protection on page 88.
Neighbor Statistics
rvrd displays statistics about the performance of a neighbor connection on this
page.
To display this page, click the Link Stats column of the Connected Neighbors
page.
(Sheet 1 of 3)
Item Description
summary This list presents static information about the neighbor connection.
Router Name The name of the local router. (See also Routing Table Entry on page 65.)
Interface Number The name of the (local) neighbor interface that specifies the neighbor
connection. rvrd generated this number automatically when you configured
the neighbor interface, and incorporates it into the neighbor ID.
Local Port TCP port that this router uses to communicate with the neighbor.
(Sheet 2 of 3)
Item Description
Remote Port TCP port that the neighbor (remote router) uses to communicate with the local
router.
Backlog Limit When backlog protection is enabled, this item displays the threshold for
disconnect from the neighbor. See Backlog Protection on page 88.
Data Flow This table displays statistics about the volume of data on the neighbor
connection.
The Inbound row displays statistics about inbound data from the remote
neighbor to the local router.
The Outbound row displays statistics about outbound data from the local
router to the remote neighbor.
Miscellaneous This table displays statistics not related to either inbound or outbound data
Statistics transmission.
Peak Backlog Peak backlog of outbound data (in bytes) since the last reset of statistics. See
also, Backlog Protection on page 88.
(Sheet 3 of 3)
Item Description
Curr Backlog Current backlog of outbound data (in bytes). See also, Backlog Protection on
page 88.
Reconnects Cumulative count of times when the neighbor link became disconnected and
subsequently reconnected. (For example, network failure or backlog protection
could cause a disconnect.)
Total Inbound Cumulative counts of inbound and outbound bytes (without compression)
since the start of the neighbor connection. The Reset Statistics button does not
Total Outbound
affect these items.
Daemon Parameters
This page lets you configure parameters that affect overall daemon security.
To display this page, click Daemon Parameters in the left margin of any page of
the rvrd browser administration interface.
Primary The first administrator to register is called the primary administrator. In addition to
Administrator configuring the daemon, the primary administrator can also add, delete and
modify identification information pertaining to the other administrators.
Each daemon configuration can store up to 16 additional administrator name and
password pairs (after the primary administrator).
One Each daemon process permits only one administrator session at a time. When one
Administrator administrator is logged in, other administrators are locked out; this prevents
Session conflicts in which two administrators attempt to modify the configuration at the
same time. To terminate a administrator session, see Log Out (below).
(Sheet 1 of 2)
Item Description
Name Type a name string.
(Sheet 2 of 2)
Item Description
Delete Click this button to delete administrator identification
information.
This action is available only to the primary
Administrator.
Deleting the primary administrator also deletes all
other administrator.
Log Out
To end an administrative session, click Log Out in the left margin of the browser
administration interface. This item appears only when you are logged in as an
Administrator.
Daemons automatically log out administrator sessions that have been idle for 10
minutes.
Logging
This panel configures the kind of routing activity that the routing daemon
routinely outputs to its log file.
Item Description
Connections Log connection activity whenever this routing daemon
establishes or closes a connection to a neighbor.
Subject Data Log all messages that this routing daemon forwards to its
neighbors or receives from its neighbors.
To configure the destination of log output, see Log Destination on page 43.
To interpret the content of log output, see Routing Daemon Logging on page 90.
Routers
This page lets you configure routing table entries (router names). For more
information, see Routing Table Entry on page 65.
To display this page, click Routers in the left margin of any page of the rvrd
browser administration interface.
Identify each routing table entry by a globally unique name.
You can add a new entry or remove an existing entry at any time.
For background information, see Routing Table Entry on page 65, and
Independent Routing Table Entries in One Process on page 77.
(Sheet 1 of 2)
Item Description
Existing This panel lists the routing table entries within this routing daemon process. Each
Routers row represents one routing table entry.
(Sheet 2 of 2)
Item Description
Router Name This column displays the router name of a routing table entry.
Click here to set the maximum backlog for the routing table entry; see Backlog
Protection on page 88.
Local Network The number of local networks configured for a routing table entry.
Click here to view the Local Networks Configuration on page 113 page.
This page lets you configure local networks for a routing table entry.
To display this page, click the number of local networks in a row of the Routers
page.
For background information, see Local Network on page 66.
This page is not the same as the page described in Local Networks on page 101.
(Sheet 1 of 2)
Item Description
existing local networks The upper table lists local networks. Each row represents one local
network.
(Sheet 2 of 2)
Item Description
Local Network Name The name of a local network. Local network names must be globally
unique.
To configure subject gating for a local network, click its name in the table of
existing local networks.
For more information, see Local Network on page 66.
Service The UDP or PGM service for communication on a local network. Programs
within the local network communicate using this service.
For more information, see Specifying the UDP or PGM Service on page 21.
Cost Path cost for routing between a local network and the routing daemon.
For more information, see Load Balancing on page 74.
Add Local Network To add a new local network, type the specifications and click this button.
Interface
Subject Gating
This page lets you configure subject gating (import and export subjects) for a local
network.
To display this page, click the name of a local network in a row of the Local
Networks Configuration page.
For background information, see Subject Gating on page 66, and Subject Filtering
with Wildcards on page 67.
(Sheet 1 of 2)
Item Description
Import Subjects This table lists import subjects.
The local network can import subjects that match these names. You can
remove a subject at any time.
(Sheet 2 of 2)
Item Description
Export Subjects This table lists export subjects.
The local network can export subjects that match these names. You can
remove a subject at any time.
adding subjects To add subjects, specify the subject string (which may contain wildcards)
here, and click one of three buttons:
• Import
• Export
• Import and Export
Neighbor Interfaces
This page lets you configure the potential neighbor connections of a routing table
entry.
To display this page, click the number of neighbors in a row of the Routers page.
For background information, see Neighbors on page 69.
This page is related to—but not the same as—the page described in Connected
Neighbors on page 103.
(Sheet 1 of 2)
Item Description
existing neighbor The upper table lists configured neighbor interfaces. Each row represents
interfaces one potential neighbor.
Interface ID The name of this neighbor interface. rvrd generates this name
automatically, incorporating the router name.
(Sheet 2 of 2)
Item Description
Local Endpoint This three-part string denotes the local end of the potential neighbor link. It
has the form:
<router_name>@<host>:<TCP_connect_port>
Remote Endpoint This three-part string denotes the remote end of the potential neighbor
link. It has the form:
<router_name>@<host>:<TCP_connect_port>
The token Any can appear in these three parts. For the semantics of this
notation see Accept Any as Neighbor on page 72, and Seek Neighbor with
Any Name on page 72. See also, Four Variations of the Form on page 120.
Item Description
Accept Any Use this variation of the form to specify a neighbor interface in which this routing
daemon accepts neighbor connections from any other routing daemon.
It is not possible to configure more than one accept any neighbor interface. This
variation cannot use SSL neighbor connections.
A distinguishing characteristic of accept any neighbors is a remote endpoint string
in which the router name, the host and the port are all Any.
For more information, see Accept Any as Neighbor on page 72.
Passive Use this variation of the form to specify a neighbor interface in which the local
router does not actively attempt to connect to the remote neighbor. Instead, it
passively waits for the remote neighbor to request a connection.
A distinguishing characteristic of passive neighbors is a remote endpoint string in
which the router name is specified, but the host and port are Any.
For more information, see Passive Neighbor on page 71.
Active Use this variation of the form to specify a neighbor interface in which the local
router actively attempts to connect to the remote neighbor.
A distinguishing characteristic of active neighbors is a remote endpoint string in
which the router name, the host and the port are all specified.
For an example, see Active Neighbor on page 71.
Seek Any Use this variation of the form to specify a neighbor interface in which this routing
daemon attempts to connect to any remote routing daemon that matches the
specification.
It is illegal to configure two or more seek any neighbor interfaces with the same
host. This variation cannot use SSL neighbor connections.
A distinguishing characteristic of seek any neighbors is a remote endpoint string in
which the router name is Any, but the host and the port are specified. In addition,
the local endpoint port is Any.
For more information, see Seek Neighbor with Any Name on page 72.
(Sheet 1 of 2)
Item Description
Local This three-part specification denotes the local end of the potential neighbor link:
Endpoint
• Router Name is the name of the local routing table entry. rvrd always
automatically fills in this name.
• Host is a hostname or IP address corresponding to a network interface in the
local rvrd host computer. For convenience, rvrd automatically fills in this field
with the fixed token, <local_host>, which denotes the default network
interface of the local rvrd host computer. (Note that this token does not denote
the LOCALHOST loopback network address.) You may override this default value
by typing an alternate hostname or IP address.
• TCP Connect Port is the local TCP port where the local router accepts neighbor
connection requests from remote routers. For more information, see Local
Connect Port on page 69.
Remote This three-part specification denotes the remote end of the potential neighbor link:
Endpoint
• Router Name is the name of the remote routing table entry.
• Host is the hostname or IP address of the remote rvrd host computer.
• TCP Connect Port is the remote TCP port where the local router attempts to
connect to remote routers.
Normal With this option, the two neighbors neither compress data nor use SSL protocols
Connection for communication on the link between them.
Data With this option, the two neighbors compress data on the link between them. To
Compression enable compression, you must select this option on both neighbors. For more
without SSL information, see Data Compression on page 70.
(Sheet 2 of 2)
Item Description
SSL With this option, the two neighbors communicate using both compression and SSL
Connection protocols. To enable SSL, you must select this option on both neighbors—otherwise
with they cannot establish a connection.
Compression
This option appears only in the Passive and Active variations of the configuration
form.
In older releases of the routing daemon, SSL and compression are mutually
exclusive features. For backward compatibility with older neighbors, this feature
degrades gracefully to SSL without compression.
Certificate of In SSL protocols, the local router expects the remote router to present this certificate
Expected as evidence of its identity. Paste the text of the public certificate (in PEM encoding)
Peer in this field.
This field appears only in the Passive and Active variations of the configuration
form.
Cost The path cost of this neighbor link (see Load Balancing on page 74).
Certificates
This page lets you configure the X.509 certificates that the routing daemon uses to
identify itself.
To display this page, click Certificates in the left margin of any page of the rvrd
browser administration interface.
For background information, see Certificates and Security on page 53 in TIBCO
Rendezvous Concepts.
Each daemon process keeps a list of certificates it can use to identify itself. These
certificates are numbered for easy reference. The first panel on this page
determines which of these certificates the daemon uses for particular tasks. The
remainder of the page lets you enter the certificates.
Certificate Uses
Figure 31 rvrd Certificate Uses Form
Item Description
HTTPS Set the certificate for the secure browser administration interface.
To avoid security warnings from the web browser, distribute this certificate to
authorized administrators.
Certificate List
Figure 32 rvrd Certificate List
Item Description
certificate Use this number to refer to the certificate in the Certificate Uses panel.
number
Add from Enter a file name and a private key password. When you click Add from File, the
File daemon reads the certificate with private key from the file. The file may be in either
PEM encoding, or PKCS #12 format.
See also Security Factors on page 135.
Add from Paste the text of a certificate with private key. Enter a private key password.
Text
The certificate must be in PEM encoding.
See also Security Factors on page 135.
Self-Signed Each daemon process creates a self-signed certificate at start time, and registers it
Certificate in the list as certificate #1. You may use that certificate as is, add other certificates
to the list, or delete it and enter other certificates.
Release 7.0 introduces two new daemons, featuring SSL for secure connections to
client program transports:
This chapter describes the security features of these two daemons, and details the
parameters that differentiate them from their non-secure counterparts.
Topics
This chapter describes the two daemons that offer secure client connections:
• rvsd,the Rendezvous secure communications daemon, corresponds to rvd.
Chapter 4 describes rvd, the Rendezvous communications daemon.
• rvsrd,the Rendezvous secure routing daemon, corresponds to rvrd.
Chapter 5 describes rvrd, the Rendezvous routing daemon.
Secure Connections
The two ordinary Rendezvous daemons, rvd and rvrd, communicate with clients
over non-secure TCP connections. In contrast, their secure counterparts, rvsd and
rvsrd, communicate with clients over SSL connections, allowing secure client
communication over non-secure networks.
Restricting Access
Secure daemons restrict client access in three ways:
• Only authorized clients can connect to a secure daemon.
• Secure daemons restrict the combinations of network and UDP or PGM
service over which client transports can communicate.
• Secure daemons limit the subject space that its clients can access.
Plaintext Communication
Although they ensure secure client connections, both secure daemons transmit
messages as plaintext. That is, when they publish messages from clients to local
networks, those messages are not encrypted.
For message-level encryption, use TIBCO Rendezvous DataSecurity (RVDS); see
the documentation for that product.
Motivation
Deploy secure daemons when clients must connect securely over a non-secure
network. This section illustrates example situations involving remote clients.
rvsd
Figure 33 depicts a hub and spoke architecture. An rvsd hub runs on a firewall
computer, and remote programs access the hub through secure SSL connections.
This arrangement lets trusted remote programs communicate with servers and
other programs inside the secure inner network. rvsd bars untrusted programs
from connecting to it.
Program Program
Firewall
Remote
rvd rvd rvsd SSL
Programs
rvsrd
Figure 34 rvsrd—Secure Connections across Double Firewall
SSL
Legend
rvrd rvsrd
Remote
Local Network SSL
Programs
Neighbor Link
Firewall Firewall
Routing Daemon Secure
DMZ
Inner Net
Figure 34 on page 129 depicts a situation with two Rendezvous routing daemons
configured to cross a double firewall. Remote programs initiate secure SSL
connections to a secure routing daemon hub (rvsrd) within the outer firewall
(DMZ network). A secure SSL neighbor link connects that secure routing daemon
with an ordinary routing daemon (rvrd) in the secure inner network.
To configure secure neighbor links, see SSL Connection with Compression on
page 122.
Preventing To prevent rvsrd from multicasting client messages within the DMZ network,
Multicast in the start rvsrd with the -no-multicast option. For background information, see
DMZ Disabling Multicast on page 32.
Users
Certificate Identification
The secure daemon can register zero or more X.509 public key identity certificates
per user. The secure daemon limits access to user programs that can sign SSL
protocol messages with a corresponding private key.
The secure daemon accepts all certificates in either PEM encoding or PKCS #12
format.
Syntax User name and password strings must conform to these syntax specifications:
• The user name must be less than 128 characters. The combined length of the
user name and password must be less than 250 characters.
• These strings must consist of printable characters only, from any character set.
Dot (.), star (*), and greater-than (>) characters are permitted. However, we
recommend against using them except in legacy situations (for example,
where such names are already in use in another security system).
• These strings cannot contain two adjacent space characters.
Limiting Access
You must explicitly authorize each local network by specifying these two
parameters. To authorize a local network, see Authorize Network and Service
Pairs on page 158.
Users can communicate only on the local networks that you authorize. A user
program cannot create a client transport that specifies an unauthorized local
network (the transport create call produces an error status code).
Default Local As an administrator, you can designate a default local network. A client transport
Network that does not specify particular network and service parameters automatically
communicates over this default local network; see Default Network and Service
on page 154.
Subject Authorization
Each secure daemon allows its users to communicate using a set of Rendezvous
subject names.
• Subjects authorized for sending can flow from client transports out to local
networks.
A client transport that sends a message with an unauthorized subject does not
receive any error indication; instead, the secure daemon silently discards the
message.
• Subjects authorized for listening can flow to client transports from local
networks.
A client transport that creates a listener with an unauthorized subject does not
receive any error indication—but the resulting listener object never receives
any messages.
Subject authorization applies equally to all users and all local networks.
All _INBOX subjects are implicitly authorized. It is not necessary to explicitly
authorize _INBOX subjects.
To authorize secure daemon subjects, see Authorize Subjects on page 159.
Security Factors
Store Files
The secure daemon store file contains very sensitive information. Store it on the
local file system of the secure daemon’s host computer, with tight file access, in a
physically secure environment. Ensure timely backup to secure media.
Core-Dump Files
Daemon Certificates
Passwords
Private key files use password-encryption for security. Nonetheless, these files are
important points of vulnerability.
To guard against attacks, ensure that file system storage is secure, and keep all
passwords secure.
• Do not store passwords in non-secure files or on non-secure file systems.
• Control access to sensitive files—even when those files are
password-encrypted.
• Never hard-code passwords in application programs, nor accept them as
command line parameters.
• Code programs to erase passwords from process storage before exiting.
• Never write passwords in convenient locations.
• Never send passwords in plaintext messages.
• Choose passwords carefully.
Behavioral Differences
Subject Gating
Secure daemons are silent when subject gating parameters preclude send or listen
operations:
• Subjects authorized for sending can flow from client transports out to local
networks.
A client transport that sends a message with an unauthorized subject does not
receive any error indication; instead, the secure daemon silently discards the
message.
• Subjects authorized for listening can flow to client transports from local
networks.
A client transport that creates a listener with an unauthorized subject does not
receive any error indication—but the resulting listener object never receives
any messages.
Browser Connections
Secure daemons automatically open both HTTP and HTTPS ports for browser
administration interface connections—unless you specify otherwise. When an
HTTPS connection is available, the daemon uses it; that is, whenever possible, it
transfers non-secure HTTP communication over to its secure HTTPS connection.
You can block the secure HTTPS connection by specifying -http-only, which
leaves only the non-secure HTTP connection.
You can block all browser administration interface connections by specifying
-no-http.
rvsd
Command
Purpose The command rvsd starts the Rendezvous secure communications daemon
process—the secure counterpart to rvd.
Remarks This section describes only those aspects where rvsd differs from rvd. For details
that both daemons share, see rvd on page 36.
Although rvd usually starts automatically, administrators must start rvsd by
explicit command.
(Sheet 1 of 3)
Parameter Description
-store <filename> This file contains the security parameters that configure rvsd.
rvsd reads this file when the process starts, and writes this file
each time you change the configuration using the browser
administration interface.
The secure daemon store file contains very sensitive
information. Store it on the local file system of the secure
daemon’s host computer, with tight file access, in a physically
secure environment. Ensure timely backup to secure media.
(Sheet 2 of 3)
Parameter Description
-http <ip_address>:<http_port> The browser administration interface accepts connections on
this HTTP or HTTPS port. Permit administration access only
-http <http_port>
through the network interface specified by this IP address.
-https <ip_address>:<https_port> To limit access to a browser on the rvsd host computer, specify
127.0.0.1 (the local host address).
-https <https_port>
When the IP address is absent, the daemon accepts
connections through any network interface on the specified
HTTP or HTTPS port.
If the explicitly specified port is already occupied, the program
exits.
When the -http parameter is entirely absent, the default
behavior is to accept connections from any computer on HTTP
port 7580; If this default port is unavailable, the operating
system assigns an ephemeral port number.
When the -https parameter is entirely absent, the default
behavior is to accept secure connections from any computer on
an ephemeral HTTPS port.
In all cases, the program prints (in its start banner) the actual
HTTP and HTTPS ports where it accepts browser
administration interface connections.
(Sheet 3 of 3)
Parameter Description
-listen <ip_address>:<ssl_port> rvsd (and by extension, rvsrd operating within the local
network) opens an SSL client socket to establish
-listen <ssl_port>
communication between itself and its client programs. The
-listen parameter specifies the SSL port where the
Rendezvous daemon listens for connection requests from
client programs. This -listen parameter of the secure
daemon corresponds to the daemon parameter of the transport
creation call (they must specify the same SSL port number).
The IP address specifies the network interface through which
this daemon accepts SSL connections.
To bar connections from remote programs, specify IP address
127.0.0.1 (the loopback interface).
When the IP address is absent, the daemon accepts
connections from any computer on the specified SSL port.
When this parameter is entirely absent, the default behavior is
to accept connections from any computer on SSL port 7500.
For more detail about the choreography that establishes
conduits, see Daemon Client Socket—Establishing
Connections on page 28.
-logfile <log_filename> For details, see Command Line Parameters on page 37.
-log-rotate <size>
-log-config <config_log_filename>
-foreground
rvsrd
Command
Purpose The command rvsrd starts the Rendezvous secure routing daemon process—the
secure counterpart to rvrd.
Remarks This section describes only those aspects where rvsrd differs from rvrd. For
details that both daemons share, see rvrd on page 92.
Administrators must start rvsrd by explicit command.
(Sheet 1 of 3)
Parameter Description
-store <filename> This file contains the security parameters that configure rvsrd,
as well as the routing table entry and parameters that
configure its routing daemon behavior.
rvsrd reads this file when the process starts, and writes this
file each time you change the configuration using the browser
administration interface.
The secure daemon store file contains very sensitive
information. Store it on the local file system of the secure
daemon’s host computer, with tight file access, in a physically
secure environment. Ensure timely backup to secure media.
(Sheet 2 of 3)
Parameter Description
-http <ip_address>:<http_port> The browser administration interface accepts connections on
this HTTP or HTTPS port. Permit administration access only
-http <http_port>
through the network interface specified by this IP address.
(Sheet 3 of 3)
Parameter Description
-listen <ip_address>:<ssl_port> rvsd (and by extension, rvsrd operating within the local
network) opens an SSL client socket to establish
-listen <ssl_port>
communication between itself and its client programs. The
-listen parameter specifies the SSL port where the
Rendezvous daemon listens for connection requests from
client programs. This -listen parameter of the secure
daemon corresponds to the daemon parameter of the transport
creation call (they must specify the same SSL port number).
The IP address specifies the network interface through which
this daemon accepts SSL connections.
To bar connections from remote programs, specify IP address
127.0.0.1 (the loopback interface).
When the IP address is absent, the daemon accepts
connections from any computer on the specified SSL port.
When this parameter is entirely absent, the default behavior is
to accept connections from any computer on SSL port 7500.
For more detail about the choreography that establishes
conduits, see Daemon Client Socket—Establishing
Connections on page 28.
-logfile <log_filename>
-log-rotate <size>
-log-config <config_log_filename>
-foreground
The browser administration interface lets you control rvsd and rvsrd from a web
browser. You can configure their operating parameters and view internal data
structures.
This section describes only those pages specific to the secure daemons. For
information about pages they share with their non-secure counterparts, see
Browser Administration Interface—rvd on page 45, and Browser Administration
Interface—rvrd on page 96.
Topics
Navigation
All browser administration interface pages display a navigation panel at the left
side of the page. Use these links to display other pages.
(Sheet 1 of 2)
Local This page summarizes the local networks of a router; see Local
Networks Networks on page 101.
(Sheet 2 of 2)
Routers This page lets you configure routers. You can access additional
configuration pages through links on this page. See Routers on
page 111, and the sections that follow it.
XML This page lets you view the current configuration as an XML
Configuration document, and reconfigure the component by submitting an
edited XML document.
Users These pages let you register authorized users; see Users on
page 156.
Networks and This page lets you configure the network and service pairs that
Services client transports can use for Rendezvous communication; see
Authorize Network and Service Pairs on page 158.
Subjects This page lets you configure the subjects that client transports
of a secure daemon can use for sending or listening; see
Authorize Subjects on page 159.
Certificates This page lets you configure certificates that the daemon uses
to identify itself in secure protocols. See Certificates on
page 123.
Log Out This item logs out the current user or administrator. See Log
Out on page 110.
Miscellaneous Current Log This page displays the most recent 4 kilobytes from the log file.
General Information
rvsd and rvsrd (like all Rendezvous components) display information about
themselves on this page.
To display this page, click General Information in the left margin of any page of
the secure daemon browser administration interface.
(Sheet 1 of 2)
Item Description
component The name of the program—rvsd or rvsrd.
host name The hostname of the computer where the daemon process runs.
Notice that the daemon process can run on one computer, while you access its
browser interface from another computer.
IP address The IP address of the computer where the daemon process runs.
client port The SSL port where the daemon listens for client connections.
(Sheet 2 of 2)
Item Description
network The number of network services on which this daemon’s clients communicate.
services
store file File name of the daemon’s store file; see the command line parameter -store for
rvsd on page 139, and for rvsrd on page 142.
Daemon Parameters
This page lets you configure parameters that affect overall daemon security.
To display this page, click Daemon Parameters in the left margin of any page of
the secure daemon browser administration interface.
For rvsd, this page contains two areas—Administrator and Password panel, and
a Default Network and Service panel. For rvsrd, this page adds a third panel for
logging parameters; see Logging on page 110.
Primary The first administrator to register is called the primary administrator. In addition to
Administrator configuring the daemon, the primary administrator can also add, delete and
modify identification information pertaining to the other administrators.
Each daemon configuration can store up to 16 additional administrator name and
password pairs (after the primary administrator).
One Each daemon process permits only one administrator session at a time. When one
Administrator administrator is logged in, other administrators are locked out; this prevents
Session conflicts in which two administrators attempt to modify the configuration at the
same time. To terminate a administrator session, see Log Out (below).
(Sheet 1 of 2)
Item Description
Name Type a name string.
(Sheet 2 of 2)
Item Description
Delete Click this button to delete administrator identification
information.
This action is available only to the primary
administrator.
Deleting the primary administrator also deletes all
other administrators.
Log Out
To end an administrative session, click Log Out in the left margin of the browser
administration interface. This item appears only when you are logged in as an
Administrator.
Daemons automatically log out administrator sessions that have been idle for 10
minutes.
Unless you explicitly set values for these default parameters, they remain null—
indicating the absence of any default value.
When either default is absent, the secure daemon will refuse connections from
programs that rely on the default. As a result the transport creation call in the
program fails.
Item Description
Network Type the default network.
Users
This page lets you configure the set of users that can connect to a secure daemon.
(In contrast, to configure administrative users, see Administrator and Password
on page 152.)
To display this page, click Users in the left margin of any page of the secure
daemon browser administration interface.
For background information, see Users on page 131.
Item Description
User Name Required. Every user must have a unique name, distinct from every
other user that this secure daemon administers.
For syntax rules governing user names, see User Name and Password
Identification on page 131.
To add a user, type the user name, and click the Add User button.
Existing Users
This list displays the users currently authorized to connect to the secure daemon.
Buttons operate on selected users from the list.
Button Description
Password Displays a page that lets you view and set the password for the selected
user.
Certificates Displays a series of pages that let you view and set public certificates for
the selected user.
Remove Selected Deletes one or more selected users from the list.
Users
This page lets you configure the network and service pairs that users can access
through the secure daemon.
To display this page, click Networks and Services in the left margin of any page
of the secure daemon browser administration interface.
Item Description
Network & This table lists the pairs of network and service that all authenticated
Service Pairs users may access through this secure daemon.
To remove a pair from this list, click to check its Select box, then click the
Remove Selected Network & Service Pairs button.
Add To add access to a network and service pair, type the specifications and
click the Add button.
Authorize Subjects
This page lets you configure the Rendezvous subjects that users can access
through the secure daemon.
To display this page, click Subjects in the left margin of any page of the secure
daemon browser administration interface.
For background information, see Subject Authorization on page 133.
_INBOX subjects are implicitly authorized both for listening and sending. You do
not need to authorize them explicitly on this page.
(Sheet 1 of 2)
Item Description
Authorized to Listen This table lists subjects to which authenticated users may subscribe.
Authorized to Send This table lists subjects to which authenticated users may send messages.
(Sheet 2 of 2)
Item Description
Remove Selected To remove authorization for particular subjects, select the affected subjects
Subjects and click this button.
Subject To add access to a subject, type the subject here and click one of three
buttons:
• Authorize to Listen
• Authorize to Send
• Authorize to Listen and Send
Certificates
This page lets you configure the X.509 certificates that a secure daemon uses to
identify itself.
To display this page, click Certificates in the left margin of any page of the rvrd
browser administration interface.
For background information, see Certificates and Security on page 53 in TIBCO
Rendezvous Concepts.
Each daemon process keeps a list of certificates it can use to identify itself. These
certificates are numbered for easy reference. The first panel on this page
determines which of these certificates the daemon uses for particular tasks. The
remainder of the page lets you enter the certificates.
Certificate Uses
Figure 43 rvsrd Certificate Uses Form
(Sheet 1 of 2)
Item Description
HTTPS Set the certificate for the secure browser administration interface.
To avoid security warnings from the web browser, distribute the public portion of
this certificate to authorized administrators.
(Sheet 2 of 2)
Item Description
Routers to Set the certificate for secure SSL neighbor connections.
Routers
Distribute the public portion of this certificate to each applicable neighbor.
(This item is included in routing daemons only; it is absent from rvsd.)
Daemon to Set the certificate for secure SSL client transport connections.
Clients
Distribute the public portion of this certificate to each client program; see Secure
Daemon on page 60 in TIBCO Rendezvous Concepts.
Certificate List
Figure 44 rvsrd Certificate List
Item Description
certificate Use this number to refer to the certificate in the Certificate Uses panel.
number
Add from Enter a file name and a private key password. When you click Add from File, the
File daemon reads the certificate with private key from the file. The file may be in either
PEM encoding, or PKCS #12 format.
See also Security Factors on page 135.
Add from Paste the text of a certificate with private key. Enter a private key password.
Text
The certificate must be in PEM encoding.
See also Security Factors on page 135.
Self-Signed When the daemon creates its store file (the first time it starts), it also creates a
Certificate self-signed certificate, and registers it in the list as certificate #1. You may use that
certificate as is, add other certificates to the list, or delete it and enter other
certificates.
Topics
See Also
Certified Message Delivery on page 139 in TIBCO Rendezvous Concepts
Relay Agent on page 169 in TIBCO Rendezvous Concepts
rvrad
Command
Purpose The command rvrad starts a Rendezvous relay agent process. The relay agent is a
process that stores certified messages (and associated protocol messages) for
program processes that connect to the network intermittently. For an overview,
see Relay Agent on page 169 in TIBCO Rendezvous Concepts.
Remarks System administrators must start relay agent (rvrad) processes explicitly, and
keep it running at all times. That is, the relay agent must be running whenever
disconnected program processes reconnect to the network, and must remain
running continuously to collect inbound messages on behalf of their client
programs.
A relay agent process requires resources in proportion to the number of certified
delivery client programs that it serves.
From the perspective of the Rendezvous daemon (rvd), the relay agent process
(rvrad) behaves exactly like any other Rendezvous program. The relay agent’s
-service, -network and -daemon parameters are completely analogous to the
corresponding parameters of the transport creation call; rvrad uses these values
to create a transport that it uses to communicate both with certified delivery client
programs and with other relay agents.
When relay agents or their client programs operate across routing daemons, see
Forward RVCM Administrative Messages across Network Boundaries on
page 278.
On UNIX computers, the relay agent runs as a background process.
The relay agent does not use a browser administration interface.
(Sheet 1 of 2)
Parameter Description
-name <name> Bind this reusable name to the relay agent process.
CM transports designate and locate their relay agents by name.
Relay agent names must be unique. It is illegal to run two or more relay
agents with the same name simultaneously. It is illegal for a relay agent to
have the same name as a CM correspondent.
We strongly discourage using the empty string as a relay agent name.
The name must conform to the syntax rules for reusable names. For details,
see Reusable Names on page 166 in TIBCO Rendezvous Concepts.
-service <service> The relay agent creates a transport on this service, which it uses to
communicate both with its clients and with other relay agents. Clients that
communicate with this relay agent must use the same service and network.
You can specify the service in several ways. For details, see Service
Selection on page 20.
NULL specifies the default rendezvous service.
-network <network> On computers with more than one network interface, the -network
parameter instructs the Rendezvous daemon to use a particular network
for communications involving this transport.
The relay agent creates a transport on this network, which it uses to
communicate both with its certified delivery client programs and with
other relay agents. Clients that communicate with this relay agent must
use the same service and network.
You can specify the network in several ways. For details, see Constructing
the Network Parameter on page 23.
NULL specifies the primary network interface for the host computer.
(Sheet 2 of 2)
Parameter Description
-daemon <daemon> The -daemon parameter instructs rvrad about how and where to find rvd
and establish communication. The value of the rvrad -daemon parameter
must match the rvd -listen parameter.
For details, see Daemon Client Socket—Establishing Connections on
page 28.
You can specify a daemon on a remote computer. For details, see Remote
Daemon on page 29. However, rvrad cannot start a remote rvd
automatically; it must be already running on the remote computer.
If -daemon is not present, rvrad finds the local daemon on TCP socket
7500.
See Also Forward RVCM Administrative Messages across Network Boundaries, page 278.
Relay Agent on page 169 in TIBCO Rendezvous Concepts.
Topics
rva
Command
Purpose The command rva starts the Rendezvous agent process. The Rendezvous agent is
the gateway to the Rendezvous network for remote Java applets.
Remarks Usually, administrators must start the Rendezvous agent (rva) process explicitly.
A Java applet cannot start rva; an applet must connect to an agent that is already
running.
From the perspective of the Rendezvous daemon (rvd), the agent process (rva)
behaves exactly like any other Rendezvous program. The agent’s Service,
Network and Daemon parameters are completely analogous to the corresponding
parameters of the transport creation call (because rva uses these values to create a
transport). In turn, the transport creation call uses these parameters to find or
start an appropriate daemon and connect to it.
Licenses Each rva process instance reads the license ticket file (tibrv.tkt) when it starts.
To put new license tickets into effect, stop and restart rva.
If rvd is not running, then rva starts it automatically, and the new rvd process
instance requires a valid rvd license (in addition to the rva license).
Subject Gating For fine-grained control over all the information flowing in or out of your
networks, limit communication by subject name.
The Import and Export parameters let system administrators restrict the flow of
messages through rva based on subject names.
Point-to-point messages (_INBOX.>) always pass through rva. They are not
restricted by subject gating parameters.
For information about restricting with wildcard subjects, see Subject Filtering
with Wildcards on page 67.
In release 6 (and later), the default behavior for rva subject gating is to restrict all
subjects unless permitted by subject gating parameters.
In earlier releases, when gating parameters were not specified, the default
behavior was to permit all subjects for import and export.
(Sheet 1 of 2)
Parameter Description
-store <filename> This file contains the parameters that configure rva.
rva reads this file when the process starts, and writes this file
each time you change the configuration using the browser
administration interface.
-https <ip_address>:<https_port> To limit access to a browser on the rvsd host computer, specify
127.0.0.1 (the local host address).
-https <https_port>
When the IP address is absent, the daemon accepts connections
through any network interface on the specified HTTP or HTTPS
port.
If the explicitly specified port is already occupied, the program
exits.
When the -http parameter is entirely absent, the default
behavior is to accept connections from any computer on HTTP
port 7680; If this default port is unavailable, the operating
system assigns an ephemeral port number.
When the -https parameter is entirely absent, the default
behavior is to accept secure connections from any computer on
an ephemeral HTTPS port.
In all cases, the program prints (in its start banner) the actual
HTTP and HTTPS ports where it accepts browser administration
interface connections.
(Sheet 2 of 2)
Parameter Description
-no-http Disable all HTTP and HTTPS connections, overriding -http and
-https.
(Sheet 1 of 5)
Parameter Description
State
(Sheet 2 of 5)
Parameter Description
Network Connections
Listen Port The Rendezvous agent creates a TCP socket to establish communication
between itself and its Java clients. This parameter specifies the TCP port
where the agent listens for client connect requests. This port number
corresponds to the port parameter of the Java TibrvRvaTransport()
constructor (they must specify the same TCP socket number).
The default TCP port is 7600—corresponding to the default port that
TibrvRvaTransport() uses.
Network On computers with more than one network interface, this parameter
instructs the Rendezvous daemon to use a particular network for all
communications involving this transport.
The Rendezvous agent uses this parameter to connect to the Rendezvous
daemon. This parameter is analogous to the network parameter of the
transport creation call.
Each rva process can send outbound broadcast messages to only one
network. To communicate over more than one network, you must start
additional rva processes.
You can specify the network in several ways. For details, see Constructing
the Network Parameter on page 23.
(Sheet 3 of 5)
Parameter Description
Daemon This parameter instructs rva to find rvd and establish communication on a
specific TCP port. The value of this rva daemon parameter must match the
rvd listen parameter.
Subject Gating
Imported Subjects rva imports messages from clients (applets) to the network.
Only messages with subject names that match these subject names are
eligible for import.
You can remove a subject at any time.
Exported Subjects rva exports messages from the network to clients (applets).
Only messages with subject names that match these subject names are
eligible for export.
You can remove a subject at any time.
HTTP Tunnel
See also HTTP Tunnel on page 180.
Enable When enabled, rva accepts HTTP connections from client transports. To
enable HTTP tunneling, check this box.
Port rva accepts HTTP connections from client transports on this this port.
Client Timeout In some situations, rva closes HTTP connections to flush data to clients
through intervening proxy servers. Each client transport subsequently
reestablishes its connection after a delay (specified in the client program).
Meanwhile, rva maintains state information for the client. If this timeout
expires before the client reconnects, rva can discard the state information.
Ensure that this parameter (in seconds) is much greater than the reconnect
delay parameter of every client transport.
(Sheet 4 of 5)
Parameter Description
Ping Interval Intervening proxy servers might automatically close client connections to
rva that appear inactive. To circumvent this feature, rva sends ping
messages to clients when a connection has been idle for this interval (in
seconds).
To disable this feature, supply zero.
Max Client Queue rva limits the length of the data queue for each client (data is outbound
from rva, inbound to the client). When a queue exceeds this number of
messages, rva discards subsequent messages as they arrive.
To disable this feature, supply zero.
Max Queue Size rva limits the size of the data queue for each client (data is outbound from
rva, inbound to the client). When a queue exceeds this size (in kilobytes),
rva discards subsequent messages as they arrive.
Active Flush This parameter limits data latency (in seconds) caused by buffering in
intervening proxy servers. If rva has directed data to a client, and this time
limit has elapsed since rva last flushed the data, then rva closes the
connection to force proxy servers to deliver the data to the client. This
action occurs even when rva has more data queued for the client (that is,
the queue is active).
If you are certain that no proxy servers intervene between rva and the
client, set this parameter to zero.
Inactive Flush This parameter limits data latency (in seconds) caused by buffering in
intervening proxy servers. If rva has directed data to a client, and does not
have more data queued for the client (that is, the queue is inactive), and
this time limit has elapsed since rva last directed data to the client, then
rva closes the connection to force proxy servers to deliver the data to the
client.
If you are certain that no proxy servers intervene between rva and the
client, set this parameter to zero.
Request Flush This parameter limits data latency (in seconds) for reply messages. In some
application domains, the client sends a request message, and receives only
one small reply message. Setting this parameter smaller than
inactiveFlush can expedites delivery of such reply messages to the
client.
(Sheet 5 of 5)
Parameter Description
Max Proxy Buffer This hint estimates the size (in kilobytes) of the largest buffer in
intervening proxy servers. Before triggering an active flush, rva checks the
amount of data it directed to the client since the last flush; if that amount is
greater than this value, the proxy server has probably flushed its buffer
automatically, so rva does not close the connection to flush the data.
If you are certain that no proxy servers intervene between rva and the
client, set this parameter to zero.
Certificates
These parameters control the use of certificates as administrator credentials.
XML Configuration
View the current configuration as an XML document, and reconfigure the component by submitting
an edited XML document.
Security
These parameters control access to the configuration pages of the rva browser administration
interface.
The Rendezvous agent (rva) is a key component of any web site that distributes
Rendezvous applets. A full treatment of web site administration is beyond the
scope of this book; this section discusses issues specific to Rendezvous applets
and rva.
Physical
Software Hardware
Connections
Remote
Internet
Java Applet
External Computer
Applet
A
Download Hardware Router
Outer Firewall
Outer Firewall
Listen 7600
http Server
rva
Daemon
Web Server Host
Daemon 7577
Inner Firewall
B
Hardware Router
Inner Firewall
Listen 7577
Service 7901
rvd
Internal Computer
Internal Network
Information Bus
For example, near the bottom of Figure 45 on page 178, rvd links external applets
with internal UDP or PGM service 7901. All internal Rendezvous programs that
use service 7901 can exchange messages with applets across the Internet. In
contrast, a private demonstration applet uses service 7854—it is effectively
isolated from the external applets, as well as from internal programs using service
7901.
HTTP Tunnel
Operation When rva enables HTTP tunneling, it accepts client connection requests on an
HTTP port. Client transports connect to rva at that port.
rva maintains state information for each client, as well as a queue of data for the
client (data is outbound from rva, inbound to the client).
For efficiency, rva accumulates several messages in a queue before directing them
to a client.
HTTP proxy servers might intervene between rva and the client. Proxy servers
are usually transparent to both clients and rva. However, some intervening proxy
servers might buffer data at a low level, causing delays in data delivery to clients.
To limit data latency, rva can force proxy servers to flush their buffers by closing
the client connection; several parameters affect this flushing action. Client
transports automatically reestablish the connection, after a time delay specified in
the client program. rva maintains client state (for a limited time) while waiting
for the client to reconnect.
Parameters For a list of rva parameters that affect this feature, see HTTP Tunnel on page 174.
In many distributed applications new processes can join the system at any time.
Often these new processes need access to the current information state of the
system in order to function properly. In many cases a straightforward cache
program can fill that need.
The Rendezvous distribution includes a utility program called rvcache, which
caches the data from messages sent to each subject name. Whenever a
Rendezvous program begins listening to a subject name, it can query rvcache to
send it the current data for that subject.
The data cached for a subject can be either the most recent whole message on that
subject, or a composite set containing the most recent value of each field sent on
that subject.
Although rvcache resembles a simple database program in some respects, it
differs in an important way. Namely, updates are implicit; that is, rvcache
monitors message activity and automatically caches the data. Application
components query for data by subject.
We recommend that administrators arrange for correct operation of rvcache. This
chapter describes administrative considerations; for a command summary, see
rvcache on page 189.
Topics
Operation
Although many distributed system components may depend upon rvcache, its
caching operation remains transparent to them.
Other application programs do not send update messages specifically to rvcache.
Instead, rvcache listens for a set of subjects, silently receiving messages and
caching the most recent data on each subject as it arrives, as in Figure 46.
rvcache
foo.bar value
A B C
foo.bar
Rendezvous
rvcache
foo.bar value
A New B C
Rendezvous
Resource Requirements
For fastest response, run rvcache on a computer with a light processing load.
The computer running rvcache must have sufficient memory and disk space to
hold the current data cache. The exact amount of required space varies in
proportion to the number of subjects cached and the size of the stored values.
In some cases, you may find it expedient to distribute the resource requirements
and the processing load among several computers. To achieve this goal, you can
run several process instances of rvcache on separate computers. However, it is
important that various process instances of rvcache cache disjoint sets of subjects
(see Avoid Duplicates on page 185).
Avoid Duplicates
Listening programs rarely profit from receiving duplicate copies of the current
data. To prevent duplicates, consider one of these strategies:
• Run exactly one rvcache service.
• Ensure that rvcache services store disjoint subject sets.
When two or more rvcache services store the same subjects, then duplicate
messages can result. It the subject sets do not overlap, then duplication cannot
occur.
• Segregate rvcache services by listening on different UDP or PGM services.
You can use different UDP or PGM services to isolate groups of program
processes so that members of each group receive Rendezvous messages
exclusively from other members of the same group. In such cases, configure a
separate instance of rvcache for each group by setting its service parameter to
match the UDP or PGM service used by group members. For more detail
about this parameter, see Service Selection on page 20.
When a network boundary separates rvcache from its client programs, and a
routing daemon (rvrd) connects them across that boundary, you must configure
rvrd to ensure correct operation of rvcache.
Cached Subjects
The routing daemons (on both sides of the neighbor link) must permit all the
cached subjects to flow from all senders to all rvcache processes.
Query Subjects
The rvrd configuration for exchanging query subjects depends on the
distribution of rvcache and its query clients.
• If each network runs one local cache process, with all the caches synchronized
(so they all contain the same data), then it is crucial that only one rvcache
process receive each query. The routing daemons must not import or export
_SNAP.> (the query subject).
• If only one network runs a cache process, and programs on other networks
query it across the network boundary, then the routing daemons must forward
_SNAP.> (the query subject) into the rvcache network. That is, rvrd must
import these query names into the rvcache network; rvrd must export these
query names from each query client network.
Fault Tolerance
Usage
To run rvcache as a fault-tolerant service, start two or more rvcache processes. It
is essential that all processes use identical parameters—with only one exception:
• The -store parameter specifies a file for persistent storage of the cache and
configuration parameters. Member processes must not share this file. Each
member must keep its own distinct cache file (we recommend storing it on a
local disk).
rvcache
Command
Purpose The program rvcache stores data from recent messages, indexed by subject name,
and automatically sends the cached data to new listeners.
Remarks Given a set of one or more subject names, rvcache listens for messages addressed
to those subjects. Each time it receives such a message, it stores the message’s data
content.
When a client program queries for a cached subject, rvcache sends a reply
message with the current cached value.
Initial Subject The first time you run rvcache, you must configure its subjects and change its
Configuration state to running. After that, rvcache reads the subject list from its file.
Replace or rvcache stores message data in either of two ways. For each subject, it can either
Merge replace all previously stored data with the contents of each new message, or it can
merge information from the fields of the message into the stored data, overwriting
only those fields specified in the new message. Select one of these storage
methods each time you add a subject.
Data stored in rvcache never expires. It remains in the cache until superseded or
augmented by data from a new message on the same subject.
(Sheet 1 of 2)
Parameter Description
-store <filename> Use <filename> to record parameter configuration and for
persistent cache storage. For best performance, use a local file
system (remote file servers can cause delays and
synchronization difficulties).
For more information, see Storage on page 190.
-https <ip_address>:<https_port> To limit access to a browser on the rvsd host computer, specify
127.0.0.1 (the local host address).
-https <https_port>
When the IP address is absent, the daemon accepts connections
through any network interface on the specified HTTP or HTTPS
port.
If the explicitly specified port is already occupied, the program
exits.
When the -http parameter is entirely absent, the default
behavior is to accept connections from any computer on HTTP
port 7581; If this default port is unavailable, the operating
system assigns an ephemeral port number.
When the -https parameter is entirely absent, the default
behavior is to accept secure connections from any computer on
an ephemeral HTTPS port.
In all cases, the program prints (in its start banner) the actual
HTTP and HTTPS ports where it accepts browser administration
interface connections.
(Sheet 2 of 2)
Parameter Description
-http-only Disable HTTPS (secure) connections, leaving only an HTTP
(non-secure) connection.
-no-http Disable all HTTP and HTTPS connections, overriding -http and
-https.
-sync <interval> Request that the operating system synchronize the file system at
this interval (in seconds).
When this parameter is absent, the default is synchronize the file
system after every message that changes the store.
(Sheet 1 of 3)
Parameter Description
information
This page displays general information about the rvcache process.
change state
(Sheet 2 of 3)
Parameter Description
certificates
This page lets you configure the certificates that rvcache uses to identify itself to web browsers. For
more information, see the analogous section for secure daemons, Certificates on page 161.
security
These parameters control access to the configuration pages of the rvcache browser administration
interface.
connection
rvcache uses these parameters to create its network transport object.
For general explanations, see Chapter 3, Network Details, on page 17.
fault tolerance
Service Use this UDP or PGM service for fault tolerance control messages between
rvcache member processes.
The default value is rendezvous-ft; if the operating system cannot interpret that
service name, then the secondary default is UDP or PGM port 7504.
Network Use this network for fault tolerance control messages between rvcache member
processes.
The default value is the computer’s primary network interface.
Group Use this string as the name of the rvcache fault tolerance group.
Processes with the same group name cooperate to provide fault-tolerant service.
The default value is RVCACHE.
(Sheet 3 of 3)
Parameter Description
Weight Set the weight of this rvcache process.
Weight specifies relative precedence between fault-tolerant processes. A process
with greater weight takes precedence over a process with lesser weight.
The default value is 10.
Heartbeat Use this floating point value (in seconds) as the fault tolerance heartbeat interval.
Members of a fault tolerance group send status reports at this interval. We
recommend that this value be slightly less than one third of the activation
interval.
The default value is 3 seconds.
Activation Use this floating point value (in seconds) as the fault tolerance activation interval.
This value represents the longest interruption in service before the partner
process activates. It must be the same for all members of a fault tolerance group.
The default value is 10 seconds.
subjects
Subjects To see information about a specific subject, click that subject in the current subject
list.
You can add new subjects or remove current subjects at any time.
For more information, see Replace or Merge on page 189.
XML Configure
View the current configuration as an XML document, and reconfigure the component by submitting
an edited XML document.
Performance assessment software can help you gauge and improve Rendezvous
network performance, plan hardware purchases and software deployment, and
test network configurations.
Topics
Overview
Components
Performance assessment software consists of two executable programs:
• rvperfm (master) sends messages, gathers performance data, and outputs the
report.
See rvperfm on page 204.
• rvperfs (slave) subscribes to messages from rvperfm, and sends back data
about its own speed and effectiveness.
See rvperfs on page 209.
You can run rvperfm alone, or with any number of rvperfs processes in the
network.
Principles of Operation
Listeners
rvperfm can send messages to the network whether or not any rvperfs processes
are listening to receive those messages.
• When rvperfs listeners are present, the performance assessment tool
measures their capacity to receive messages as part of overall network
performance.
• In the absence of rvperfs listeners, the performance assessment tool
measures the network performance of the sending computer only.
In automatic mode, rvperfm uses a binary search algorithm to adjust its batch size
and interval parameters between runs. These rules control rvperfm as it
empirically determines the maximum throughput:
• For the first run, rvperfm determines the batch size and interval from
command parameters or default values.
• If rvperfm loses data, it aborts the run immediately, and adjusts parameters to
decrease the send rate for the next run.
• If even one of the rvperfs processes lost data during the run, then the send
rate exceeds the maximum network throughput. In this case, rvperfm aborts
the run, records the upper bound on maximum throughput, and adjusts the
parameters to decrease the send rate for the next run.
• If all active rvperfs processes keep pace without lagging behind, and receive
all the messages without losing data—then the send rate is lower than the
maximum throughput. In this case, rvperfm records the lower bound on
maximum throughput, and adjusts the parameters to increase the send rate
for the next run.
• After a finite number of runs, the upper and lower bounds converge at the
maximum throughput. When rvperfm exits, the report of the last run
indicates the batch size and interval parameters that yield the maximum
network throughput.
If no rvperfs processes are active, the parameters of the last run yield the
maximum send rate for rvperfm on its host computer (with the prevailing
network conditions).
Dataloss Advisory
rvperfm and rvperfs both subscribe to DATALOSS advisories. At the end of each
complete run, both programs report the number of advisories they received
during the run.
If rvperfm receives a DATALOSS advisory, it aborts the run immediately. (This
paragraph applies only to automatic mode; if rvperfs receives a DATALOSS
advisory while rvperfm is in single mode, the run does not abort.)
If rvperfs receives a DATALOSS advisory, while receiving messages from rvperfm
in automatic mode, then rvperfs informs rvperfm in its response to the next auto
window poll, and rvperfm aborts the run. (This paragraph applies only to
automatic mode; if rvperfs receives a DATALOSS advisory while rvperfm is in
single mode, the run does not abort.)
See also, DATALOSS on page 249, TIBCO Rendezvous Concepts.
Broadcast Do not specify multicast addressing in the -network parameter. TRDP only
Omit the -inbox parameter.
rvd Reliability
To ensure accurate and efficient testing, it is critical that you first disable the
reliable message storage feature of rvd. To do so, manually start rvd (or rvrd)
with the command line parameter -reliability 0. This zero value instructs rvd
not to retain outbound messages in case they are needed for retransmission. For
more information, see Reliability and Message Retention Time on page 41.
rvperfm
Command
Remarks In single mode (without the flag -auto), rvperfm sends one run of messages, and
then exits.
In automatic mode (with the flag -auto), rvperfm sends several runs of
messages, adjusting the batch size and interval parameters to empirically
determine the combination that yields maximum network throughput. After it
finds the optimal settings, it exits; the parameters and report of the final run
reflect optimal network performance. For details, see Automatic Mode—Binary
Search on page 199.
Collision When two instances of rvperfm (simultaneously) attempt to use the same subject,
service and network, at least one of them detects the collision and exits
immediately.
Simultaneous instances that differ in subject or service (or both) do not constitute
a collision. Such processes can coexist.
(Sheet 1 of 4)
Parameter Description
-service <service> <service> is the service name or UDP or PGM port number that defines
the service group.
See Service Selection on page 20.
If you do not specify the -service parameter, the default value is 7599.
-network <network> <network> narrows the service group by selecting a local network by
network name or IP network number (when the host computer has
multiple network interfaces). It can also specify multicast addresses.
See Network Selection on page 23.
If you do not specify the -network parameter, the default value is the
multicast address ";225.9.9.9". On operating systems that do not
support multicast addressing, you must supply a valid broadcast
network address.
-daemon <daemon> The -daemon parameter instructs the program about how and where to
find rvd and establish communication.
See Daemon Client Socket—Establishing Connections on page 28.
You can specify a daemon on a remote computer. For details, see Remote
Daemon on page 29. However, the program cannot start a remote
daemon automatically—you must start it manually on the remote
computer.
If you do not specify the -daemon parameter, the program finds the local
daemon on TCP socket 7500.
(Sheet 2 of 4)
Parameter Description
-subject <subject> rvperfm sends messages to this subject name.
If you specify neither -subject nor -inbox, then the program uses
_perf as a prefix to construct broadcast subjects.
-auto When present, rvperfm operates in automatic mode, sending several runs
of messages to automatically determine the optimal batch size and
interval parameters for the network.
When absent, rvperfm operates in single mode, sending only one run of
messages.
See also, Automatic Mode—Binary Search on page 199.
-size <size> rvperfm sends messages with <size> bytes of payload data.
Use this size to model application data rates. This size does not include
message header data nor packet overhead, so computing the network
byte transfer rate from this size results in an slight underestimate of the
actual throughput.
If not present, the default is 256 payload bytes in each message.
(Sheet 3 of 4)
Parameter Description
-interval <pause> rvperfm sends messages in batches, waiting for <pause> seconds between
the end of one batch and the start of the next batch.
When absent, the default pause is zero seconds.
In single mode, rvperfm sends the run with this interval.
In automatic mode, rvperfm sends the first run with this interval,
adjusting the parameters in subsequent runs.
-batch <batch_size> rvperfm sends messages in batches, with <batch_size> messages in each
batch.
The default is 10 messages per batch.
In single mode, rvperfm sends the run with this batch size.
In automatic mode, rvperfm sends the first run with this batch size,
adjusting the parameters in subsequent runs.
-cm When present, rvperfm sends messages with certified delivery features.
If rvperfs also specifies -cm, then the programs establish a certified
delivery agreement.
-cm-name <name> When present, rvperfm specifies this reusable correspondent name
when it enables certified delivery.
When -cm is present, but -cm-name is not, rvperfm operates with a
non-reusable correspondent name.
-cm-ledger <filename> When present, rvperfm uses this ledger file. You must also supply
-cm-name.
-cm-sync When present, then operations that update the ledger file do not return
until the changes are written to the storage medium. You must also
supply -cm-ledger and -cm-name.
When absent, the operating system writes ledger file changes to the
storage medium asynchronously.
(Sheet 4 of 4)
Parameter Description
-h When present, output a parameter usage list to stdout, and exit
immediately.
rvperfs
Command
Purpose rvperfs listens for messages from rvperfm, gathers and reports statistics to
rvperfm at the end of each run.
Remarks rvperfs operates passively; it sends messages only in response to requests from
rvperfm.
You can leave process instances of rvperfs running idle. Each instance of
rvperfs can report statistics from several consecutive process instances of
rvperfm—as long as only one rvperfm executes at a time. You can relocate the
rvperfm process from one host computer to another without restarting the
rvperfs processes.
Unlike rvperfm, an rvperfs process never exits by itself. You must explicitly
terminate each rvperfs process.
In addition to sending its statistics to rvperfm, rvperfs also prints its report to
stdout.
(Sheet 1 of 3)
Parameter Description
-service <service> <service> is the service name or UDP or PGM port number that defines
the service group.
See Service Selection on page 20.
If you do not specify the -service parameter, the default value is 7599.
(Sheet 2 of 3)
Parameter Description
-network <network> <network> narrows the service group by selecting a local network by
network name or IP network number (when the host computer has
multiple network interfaces). It can also specify multicast addresses.
See Network Selection on page 23.
If you do not specify the -network parameter, the default value is the
multicast address ";225.9.9.9".
-daemon <daemon> The -daemon parameter instructs the program about how and where to
find rvd and establish communication.
See Daemon Client Socket—Establishing Connections on page 28.
You can specify a daemon on a remote computer. For details, see Remote
Daemon on page 29. However, the program cannot start a remote
daemon automatically—you must start it manually on the remote
computer.
If you do not specify the -daemon parameter, the program finds the local
daemon on TCP socket 7500.
-subject <subject> rvperfs listens for messages with this subject name.
If this parameter is absent, then rvperfs uses _perf as a prefix to
construct broadcast subjects.
(When you specify the -inbox flag to rvperfm, you need not specify this
rvperfs parameter.)
-cm When present, rvperfs listens for messages using certified delivery
features. If rvperfm also specifies -cm, then the programs establish a
certified delivery agreement.
-cm-name <name> When present, rvperfs specifies this reusable correspondent name
when it enables certified delivery.
When -cm is present, but -cm-name is not, rvperfs operates with a
non-reusable correspondent name.
-cm-ledger <filename> When present, rvperfs uses this ledger file. You must also supply
-cm-name.
(Sheet 3 of 3)
Parameter Description
-cm-sync When present, then operations that update the ledger file do not return
until the changes are written to the storage medium. You must also
supply -cm-ledger and -cm-name.
When absent, the operating system writes ledger file changes to the
storage medium asynchronously.
rvperfm prints a brief string as it begins sending the run of messages, and another
when it finishes sending the run. Then it outputs its run report:
1. Statistics that rvperfm collects while sending the messages.
2. Statistics that each rvperfs process collects while receiving messages. Each
group of statistics represents the performance of one rvperfs process.
Version 6.7.5
Configuration parameters
Service: 8000
Network: ;225.9.9.9
Daemon: 8888
Subject: _perf
Run #1 beginning...
Sending complete
Elapsed time: 9.724587 seconds
Number of messages: 102400
Size of payload: 1024
Total payload bytes: 104857600
Batch Interval: 0.000000
Batch size: 1
Messages/second: 10530.010
Payload Bytes/second: 10782730.413 (10.3Mb) Actual send rate
Receive statistics
from rvperfs
Report from receiver _INBOX.0A650224.1E0743AA4617B2004CDE8.1
Elapsed time: 10.205277 seconds
Messages received: 102400 (100.0%) All messages
arrived
Messages/second: 10034.025
Actual receive rate
Payload Bytes/second: 10274841.143 (9.8Mb)
Run complete
Version 6.7.5
Configuration paramters
Service: 7599
Network: ;225.9.9.10 This inbox name identifies this process
Daemon: NULL instance of rvperfs. The same name
Subject: _perf appears in rvperfm report to denote
this rvperfs process.
My name is _INBOX.0A65034A.DDF3B32312A8085470.1
Ready...
rvperfm prepares for a
Reset received from _INBOX.0A6503F6.10D3B324033911710.1
new run.
Test message received
This inbox name identifies
Run beginning...
that rvperfm process.
Run complete
Elapsed time: 6.035
receiver
Messages received: 20000
statistics
Messages/second: 3313.853
Number of receivers 1
Elapsed Time
Both programs in the performance tool report the total time that elapsed in each
complete run. The speed at which the Rendezvous daemon can deliver messages
to the network depends on the network itself, the network interface card (and
other hardware parameters), and the host operating system. If rvperfm sends at a
faster rate than the network can accept, rvperfm retains messages in its outbound
queue until the network can accept them.
Sending complete
Elapsed time: 9.737 seconds
In this example, 9.737 seconds elapsed from the time that rvperfm sent the first
message of the run, until the time that the daemon transmitted the last message of
the run to the network.
Network Stress
Hardware Capabilities
In this group of examples, the performance assessment tool measures the speed of
specific computers—individually or in a group.
After rvperfm experiments with its parameters, the final run indicates the values
that yield the maximum send rate for the sending computer under prevailing
network conditions.
After rvperfm experiments with its parameters, the final run indicates the values
that yield the optimal receive rate for the receiving computer under prevailing
network conditions.
To validate this receive rate, check that it is strictly less than the maximum send
rate of the sender. If rvperfm on the sending computer has successfully sent a run
of messages at a rate greater than the optimal receive rate, then the receive rate is
valid. If not, the sender might be limiting the receive rate. To test the sender, see
Maximum Sustained Send Rate on page 217.
A similar test with several receivers determines the optimal rate of the slowest
receiver.
receiver2> rvperfs
...
receiver42> rvperfs
The run report indicates whether the receivers keep pace with the sender under
prevailing network conditions.
In a wide area network (WAN) the transit time between sites can limit
throughput. To keep information flowing smoothly, it is essential to measure the
optimal throughput rates for the entire WAN, and limit sending rates to avoid
exceeding overall network capacity.
Consider a global network connected using the Rendezvous routing daemon,
rvrd. You can use the performance assessment tool for these tasks:
Ledger
Certified delivery depends on a ledger to track messages and confirmations. Two
types of ledger are available; each has a different effect on performance:
• A file-based ledger with asynchronous I/O offers persistence at the cost of
disk operations. With asynchronous file I/O, some information could be lost
in the event of sudden termination.
• A file-based ledger with synchronous I/O offers greater certainty at the cost of
additional speed because the disk write operations block. Synchronous file
I/O dramatically reduces the probability of lost information in the event of
sudden termination.
You can use the performance tool to compare the effect of these three options on
certified message throughput.
Rendezvous software can transport very large messages; it divides them into
small packets, and places them on the network as quickly as the network can
accept them. In some situations, this behavior can overwhelm network capacity;
applications can achieve higher throughput by dividing large messages into
smaller chunks and regulating the rate at which it sends those chunks. You can
use the performance tool to evaluate chunk sizes and send rates for optimal
throughput.
This example, sends one message consisting of ten million bytes. Rendezvous
software automatically divides the message into packets and sends them.
However, this burst of packets might exceed network capacity, resulting in poor
throughput:
sender> rvperfm -size 10000000 -messages 1
In this second example, the application divides the ten million bytes into one
thousand smaller messages of ten thousand bytes each, and automatically
determines the batch size and interval to regulate the flow for optimal
throughput:
sender> rvperfm -size 10000 -messages 1000 -auto
By varying the -messages and -size parameters, you can determine the optimal
message size for your applications in a specific network. Application developers
can use this information to regulate sending rates for improved performance.
This chapter describes rvtrace, the Rendezvous protocol monitoring tool, which
is distributed with Rendezvous Software Release 7.2.
Topics
Overview
Snapshots
rvtrace operates by capturing network packets, extracting information from
packet headers, and gathering statistics about those packets. At the end of each
interval, it compiles a statistical snapshot, and resets its counters for the next
interval.
rvtrace can output those statistics in table format, or you can use SNMP to query
the most recent snapshot.
Prerequisites
rvtrace is a tool for experienced network administrators.
• You must already understand IP protocols and addressing conventions.
• You must already understand Rendezvous software from an administrator’s
perspective.
• To use rvtrace effectively, you must understand the topology of your
network.
Licensing
rvtrace is sold and licensed separately from other Rendezvous components.
After purchasing rvtrace, you must include the rvtrace license ticket in the file
tibrv.tkt. If rvtrace does not find a valid license ticket, it runs for a 10-minute
evaluation period.
Limitations
Range Limitations
rvtrace cannot examine packets unless they traverse the immediate network
segment in which rvtrace is running. For example, point-to-point conversations
within or between other network segments are invisible to rvtrace. Most
saliently, retransmission requests and retransmission rejections are point-to-point
packets, so they are visible to rvtrace only when they either originate or
terminate in the local network segment. Consequently, in some situations
rvtrace can detect retransmission broadcasts, even though it cannot detect the
point-to-point packets that request retransmissions.
Switched network environments (such as switched Ethernet, or ATM) further
limit the usefulness of rvtrace as a diagnostic tool. Since switching hardware
forwards every point-to-point packet directly to its destination host, rvtrace
detects point-to-point packets only when they either originate or terminate in the
computer running rvtrace. In some switched networks, you can ameliorate this
situation by disabling switching behavior—for example, by setting one port to
diagnostic mode, or by using a diagnostic utility. This tactic can yield the full
stream of point-to-point packets in a limited portion of the network; run rvtrace
in that portion.
In addition, some network switching hardware can route multicast packets to a
network segment only when a host in the segment is actually listening to the
corresponding multicast group. Such high specificity further limits the range of
rvtrace.
Protocol Limitation
rvtrace supports only UDP multicast and UDP point-to-point protocols. It does
not support PGM or RPTP protocols.
Interface Limitation
rvtrace supports only Ethernet interfaces.
rvtrace does not support these (or any other) non-Ethernet interfaces: Token
Ring, FDDI, ATM.
Passive Monitor
Performance Effects
Obtaining pcap
Before using rvtrace, you must first ensure that the pcap facility is properly
installed.
On most UNIX platforms, pcap is ready to use.
For Windows (NT, 2000 and XP), you can download the WinPcap NDIS packet
capture driver from this URL:
• netgroup-serv.polito.it/winpcap/
Packet Filtering
pcap has a flexible filtering language for selecting the set of packets to capture.
rvtrace inherits this language through its -filter parameter.
You can select packets based on source, destination, host, network interface, port,
packet length, and protocol. Packets that match the filter appear in rvtrace
output; packets that do not match are ignored.
See Also
-filter <expr> on page 235
Filtering, page 239
rvtrace can write packets into a capture file, and read a stream of packets from a
file (as if from the network).
Motivation
Packet capture files are an important tool for problem diagnosis. Several
techniques are useful:
• Capture packet data for later analysis.
• Capture packet data for further analysis at a remote location.
• Capture packets at high speed, then replay later when I/O delays are
acceptable.
In general, rvtrace can capture packets to a file faster than it can display
statistics. Large amounts of display data can create I/O delays, which could
cause rvtrace to miss packets. For example, in a heavily loaded network,
displaying subject statistics for many subjects could have this undesirable
result.
You can use data capture files to side-step this difficulty. For example, capture
a five-minute snapshot of packets (capturing suppresses display); then replay
packets from the file, displaying statistics when the consequences of I/O
delays are no longer problematic.
rvtrace
Command
(Sheet 1 of 5)
Parameter Description
Data Source
-i <interface> The program monitors packets on the network interface with this name. If
absent, the default value varies, depending on operating system and
network hardware.
(Sheet 2 of 5)
Parameter Description
-r <input_file> When present, read recorded packets from <input_file> instead of a network
interface.
This option overrides the -i parameter.
For more information, see Data Capture Files on page 231.
Data Filtering
-addr <expr> Filter the set of packets to process only those with source or destination in
the set of hosts or networks specified in <expr>. For filter expression syntax
and semantics, see Filtering on page 239.
Enclose filter expressions in quotation marks (").
The parameter -addr <filter> is equivalent to:
-filter udp and (src <filter> or dst <filter>)
When any of the parameters -src, -dst, -addr, or -port are present,
rvtrace concatenates them into a single effective filter. However, when
the -filter parameter is present, rvtrace ignores all four of these
parameters, and -filter overrides them.
-src <expr> Filter the set of packets to process only those that originate from the set of
hosts or networks specified in <expr>. For filter expression syntax and
semantics, see Filtering on page 239.
Enclose filter expressions in quotation marks (").
The parameter -src <expr> is equivalent to:
-filter udp and src <expr>
When any of the parameters -src, -dst, -addr, or -port are present,
rvtrace concatenates them into a single effective filter. However, when
the -filter parameter is present, rvtrace ignores all four of these
parameters, and -filter overrides them.
(Sheet 2 of 5)
Parameter Description
-r <input_file> When present, read recorded packets from <input_file> instead of a network
interface.
This option overrides the -i parameter.
For more information, see Data Capture Files on page 231.
Data Filtering
-addr <expr> Filter the set of packets to process only those with source or destination in
the set of hosts or networks specified in <expr>. For filter expression syntax
and semantics, see Filtering on page 239.
Enclose filter expressions in quotation marks (").
The parameter -addr <filter> is equivalent to:
-filter udp and (src <filter> or dst <filter>)
When any of the parameters -src, -dst, -addr, or -port are present,
rvtrace concatenates them into a single effective filter. However, when
the -filter parameter is present, rvtrace ignores all four of these
parameters, and -filter overrides them.
-src <expr> Filter the set of packets to process only those that originate from the set of
hosts or networks specified in <expr>. For filter expression syntax and
semantics, see Filtering on page 239.
Enclose filter expressions in quotation marks (").
The parameter -src <expr> is equivalent to:
-filter udp and src <expr>
When any of the parameters -src, -dst, -addr, or -port are present,
rvtrace concatenates them into a single effective filter. However, when
the -filter parameter is present, rvtrace ignores all four of these
parameters, and -filter overrides them.
(Sheet 3 of 5)
Parameter Description
-dst <expr> Filter the set of packets to process only those with destination in the set of
hosts or networks specified in <expr>. For filter expression syntax and
semantics, see Filtering on page 239.
Enclose filter expressions in quotation marks (").
The parameter -dst <filter> is equivalent to:
-filter udp and dst <filter>
When any of the parameters -src, -dst, -addr, or -port are present,
rvtrace concatenates them into a single effective filter. However, when
the -filter parameter is present, rvtrace ignores all four of these
parameters, and -filter overrides them.
-port <expr> Filter the set of packets to process only those with destination port in the
set of ports specified in <expr>. For filter expression syntax and semantics,
see Filtering on page 239.
Enclose filter expressions in quotation marks (").
The parameter -port <port> is equivalent to:
-filter udp and dst port <port>
When any of the parameters -src, -dst, -addr, or -port are present,
rvtrace concatenates them into a single effective filter. However, when
the -filter parameter is present, rvtrace ignores all four of these
parameters, and -filter overrides them.
-filter <expr> Filter the set of packets to process only those that match <expr>. For filter
expression syntax and semantics, see Filtering on page 239.
Enclose filter expressions in quotation marks (").
When present, this parameter overrides the -src, -dst, -addr, and -port
parameters.
(Sheet 4 of 5)
Parameter Description
Data Capture
-w <output_file> When present, write packet information to <output_file> for later replay or
analysis.
When absent, do not record packet information to a file.
For more information, see Data Capture Files on page 231.
When -w is present, rvtrace does not display statistics. To see statistics,
use -r to read the packet capture file.
When both -r and -w are present, rvtrace reads packets from <input_file>,
filters them, and then recaptures the filtered packets to <output_file>. You
can use this technique to prune an existing capture file by reducing
information or filtering extraneous traffic.
-w-rotate <size> When present, activate the rotation regimen for the data capture
<output_file>, limiting the combined total size of the 10 log files to this size
(in megabytes). For details, see Output File Rotation on page 231.
When you specify this option, you must also specify -w.
When absent, do not rotate the data capture file.
Statistics
-u <update_interval> Summarize network packet at this time interval (in seconds). If absent, the
default value is 10 seconds.
-addrinfo When present, display network totals, subtotals, and detail rows.
When absent, display only network totals and subtotal rows.
For example output, see Figure 50, rvtrace Output with -addrinfo, on
page 242, and Figure 51, rvtrace Output without -addrinfo, on page 243.
(Sheet 5 of 5)
Parameter Description
-ptp When present, display the point-to-point table; see Point-to-Point Statistics
on page 255; see also Range Limitations on page 227.
When absent, omit the point-to-point table.
Log Output
-log-rotate <size> When present, activate the log rotation regimen, limiting the combined
total size of the 10 log files to this size (in kilobytes). For details, see Log
Rotation on page 43.
When you specify this option, you must also specify -logfile.
When absent, do not rotate log files.
Other
-h When present, output a parameter usage list to standard output, and exit
immediately.
Filtering
You can narrow the set of packets that rvtrace processes by supplying either the
-filter parameter, or a combination of the -src, -dst, -addr, and -port
parameters. Filter expressions specify the set of packets to process.
rvtrace uses the pcap facility to capture and filter packets. The tcpdump utility
also uses pcap, so the syntax and semantics for rvtrace and tcpdump filter
expressions are identical. Table 8 summarizes the subset of filter expressions that
are relevant to rvtrace; for additional options, see documentation for tcpdump.
(Disclaimer: pcap and tcpdump are not TIBCO products; we do not sell, support
or document them.)
Each row of Table 8 constitutes an <expr>, and can be used in place of the syntax
marker <expr> elsewhere in Table 8, and in the parameter table for rvtrace.
When specifying a filter expression to an rvtrace parameter, enclose the
expression in quotation marks (").
Element Description
Host Expressions
host <host> Process a packet if either the IP source or destination of the packet is
<host>. Specify <host> as a name or an IP address.
Network Expressions
net <net> Process a packet if either the IP source or destination of the packet is
<net>. Specify <net> as a name or an IP network number.
Element Description
Port or Service Expressions
port <port> Process a packet if either the IP source or destination port of the packet is
<port>. Specify <port> as a service name or a UDP port number.
Protocol Expressions
Boolean Operators
Use parentheses to group boolean expressions; use appropriate escape characters to override
shell-specific semantics of parentheses.
The remaining sections of this chapter describe the output from rvtrace.
Figure 50 on page 242 shows a sample of the output that rvtrace prints at the
conclusion of each interval, when the -addrinfo flag is present:
• Time stamp—identifies the interval
• Multicast Data Statistics—summarizes Rendezvous multicast and broadcast
packets during the interval, organized by UDP port (service) and destination
address (see Multicast Data Statistics on page 244)
• Multicast Retrans Statistics—summarizes requests to retransmit packets of
multicast and broadcast data (this table does not appear in Figure 50; see
Multicast Retransmit Statistics on page 248)
• PTP Statistics—summarizes Rendezvous point-to-point packets during the
interval, organized by UDP port (service) and destination address (see
Point-to-Point Statistics on page 255)
• Subject Statistics—recapitulates Rendezvous multicast and broadcast message
activity during the interval, featuring information about subject names (see
Subject Statistics on page 259)
Notice that each table begins with a network total, and then breaks down the total
into subtotals and fine-grained categories.
Figure 51 on page 243 shows a sample of the less verbose output that rvtrace
prints when the -addrinfo flag is absent. Notice that tables omit the fine-grained
categories—displaying only the network total and subtotals
Number of Senders
To determine the number of Rendezvous daemons that sent data messages during
an interval, count the number of distinct source addresses in all source rows of the
Multicast Data Statistics table and the Point-to-Point Statistics table.
Subject Statistics
Port Address Msgs Bytes Subject
----- --------------- ------- --------- -------
Totals 22 11796
5039 * 224.2.2.3 10 5200 subject.1
10.101.2.57 10 5200
5662 * 224.2.2.3 1 359 _RV.INFO.SYSTEM.HOST.STATUS.0A650343
10.101.3.67 1 359
5662 * 224.2.2.3 10 5860 subject.1
10.101.3.67 10 5860
7500 * 10.101.2.255 1 377 _RV.INFO.SYSTEM.HOST.STATUS.0A650242
10.101.2.66 1 377
Subject Statistics
Port Address Msgs Bytes Subject
----- --------------- ------- --------- -------
Totals 12 4334
5039 * 224.2.2.3 1 170 P1
5039 * 224.2.2.3 1 401 S5
5492 * 224.1.2.2 7 2962 R31
5662 * 224.2.2.3 1 170 TTT.12
7500 * 10.101.2.255 1 254 FOO
7535 * 10.101.2.255 1 377 _RV.INFO.SYSTEM.HOST.STATUS.0A650223
Bad Packets
Bad packets lack UDP checksums, or are corrupt in some other way.
False Bad In some situations, rvtrace can incorrectly report bad packets.
Packets
When a sending host computer enables checksum off-loading features, the
network interface card (rather than the CPU) adds checksums to outbound
packets. If rvtrace is running on the same host as the sender, it captures
outbound packets before the checksums have been added. rvtrace detects the
missing checksums, and reports bad packets. However, by the time these packets
actually reach the network, they might not be bad packets.
Figure 52 shows a multicast data table (from rvtrace -addrinfo). The text
below introduces important concepts. Table 9 on page 245 describes the columns
in detail.
Notice that the rows divide visually into four groups, as indicated by a number in
the Port column and an asterisk (*).
Network Total The first row (immediately after the table and column headings, and before the
Row four groups) is a network total row; the word Totals in the Address column is a
visual cue. This row shows the grand total of multicast and broadcast packets on
the network during the interval. For example, the Data column shows the total
number of data packets that rvtrace detected on the network during the interval.
The remaining rows display more fine-grained information about those packets—
grouping them by UDP service, destination address, and source address.
Subtotal Groups A number in the Port column indicates the UDP service for its row, and the group
of rows that follow it. A blank in this column means that the row has the same
port as the row above, and is part of the same subtotal group. Notice how the
pattern of numbers and blanks in the Port column visually indicates the subtotal
groups.
Destination Row * flags a row as a destination subtotal row. A blank (space character) in this column
flags a row as a source row. Each group begins with a destination subtotal row,
followed by one or more source rows.
Each destination subtotal row is the heading and subtotal for the source rows that
follow it. For example, consider the destination row with 5090 in the Port
column, and 224.1.2.5 in the Address column. The Data column indicates 10
packets on UDP service 5090 sent to the multicast group 224.1.2.5. The two
subsequent source rows indicate that those 10 packets came from two sources—
10.101.2.57 sent 2 packets, while 10.101.2.72 sent 8 packets. The subtotal 10 in
turn contributes to the grand total 25 in the first row.
A destination subtotal row governs the source rows below it (until the next
destination subtotal row). That is, the UDP service (port) and address in the
governing row apply to those source rows. Similarly, the governing row address
implies either multicast or broadcast protocol, and this protocol also applies to the
statistics in the source rows that it governs. (Naturally, all of this information also
applies to the governing row itself.)
Source Row Each source row shows a very narrow subset of packet activity during the
interval—packets on a specific UDP service (port), with a specific destination
address, and originating at a specific source (IP address). The Address column
shows the source; the UDP service and destination address are specified in the
governing row (that is, the nearest preceding destination subtotal row).
Statistics In destination rows numbers in statistics columns count packets with the
destination specified in the Address column.
In source rows numbers in statistics columns count packets originating from the IP
address in the Address column.
In network total rows, numbers in statistics columns represent the packet totals for
the network during the interval.
Column Description
Port In destination subtotal rows, this column contains a UDP port number indicating the
Rendezvous service for the group of rows that it begins.
In source rows this column is blank; the service in the nearest preceding destination row
also applies to the source row.
Column Description
Address In destination rows this column shows the destination address shared among a group of
packets. It can be an IP address or a multicast group.
In source rows this column shows the IP address from which group of packets originate.
In network total rows, this column contains the word Totals.
Column Description
Bad Bad packets.
This column shows the number of packets that lack UDP checksums, or are corrupt in
some other way.
Gaps Diagnoses
A sequence gap can occur in two situations:
• rvtrace misses one or more packets; that is, the hardware or operating
system on which rvtrace is running drops one or more packets.
• The network infrastructure drops one or more packets between their source
and rvtrace.
To determine which of these two situations has actually occurred, check the Rdata
values within the interval and in subsequent intervals. If Rdata remains at zero,
then it is likely that rvtrace alone is missing packets. If Rdata is non-zero, then it
is likely that the network infrastructure is dropping packets (Rdata is non-zero
because other daemons on the network are requesting retransmission of the
missing packets).
The packets counted in this table are always point-to-point packets. In contrast, the
actual retransmitted data packets use the same protocol (multicast or broadcast)
as the original data packets that they recapitulate.
Figure 53 shows a multicast retransmit table (from rvtrace -addrinfo). The text
below introduces important concepts. Table 10 on page 249 describes the columns
in detail.
Network Total The first row (immediately after the table and column headings) is a network total
Row row; the word Totals in the Address column is a visual cue. This row shows the
grand total of packets related to retransmission detected on the network during
the interval.
The remaining rows display more fine-grained information about those packets—
grouping them by UDP service, and destination or source IP address.
Port Subtotal Row The second row in Figure 53 is a port subtotal row—its columns subtotal the
statistics over the subsequent destination and source rows which it governs (until
the next port subtotal row).
A number in the Port column indicates the UDP service for its row, and the group
of rows that follow it. A blank in this column means that the row has the same
port as the row above, and is part of the same subtotal group. Notice how the
pattern of numbers and blanks in the Port column visually indicates the subtotal
groups.
Destination and For each IP address with retransmission request activity, this table contains a
Source Rows destination row and a source row—always paired in that order. An * and an IP
address (in the Address column) flags a row as a destination row. A blank (space
characters) flags a row as a source row. The address in the destination row also
applies to the source row that immediately follows it.
Counting Packets This table displays each packet twice—once in a destination row, and once in a
source row.
In each statistical column, the number in the port subtotal row is equal to the sum
of the values in the destination rows, which is also equal to the sum of the values
in the source rows.
In many networks it is possible to match the numbers in the source row for one IP
address against the numbers in the destination row for another IP address. From
this information you can deduce which Rendezvous daemons are missing packets
and requesting retransmissions.
Column Description
Port In port subtotal rows, this column contains a UDP port number indicating the
Rendezvous service for the group of rows that it begins.
In destination and source rows this column is blank; the service in the nearest
preceding port subtotal row governs the destination and source rows below it.
Column Description
Address In destination rows this column shows the destination IP address of retransmission
request packets (that is, the Rendezvous daemon that originally sent data packets).
In source rows this column shows the IP address from which retransmission request or
rejection packets originate (that is, the Rendezvous daemon that missed receiving data
packets).
In network total rows, this column contains the word Totals.
Diagnoses
Scanning for Problems on page 242 described a quick scanning technique for
locating problems in rvtrace output, looking for non-zero values in the Bad,
Gaps, and Rbytes columns of the multicast data tables. When such a scan
indicates problems, look more closely at the retransmit statistics in nearby
intervals.
Rseq measures retransmission requests for missed multicast or broadcast packets.
Non-zero Rseq values generally indicate a problem. The ratio Rdata/Data
measures the severity of the problem. Small ratios indicate low-level problems,
which you can investigate as time permits. Ratios of 2% or greater indicate
potentially serious network problems; investigate further. High ratios that last for
only one interval, could indicate an intermittent problem, which could become
more serious in other situations.
Notice that Rseq tabulates packets that serve a feedback mechanism within the
protocol. A data receiver becomes a feedback sender when it detects that it has
missed data packets. So the Rseq value in source rows indicates a data receiver
sending retransmission requests. Conversely, the Rseq value in destination rows
indicates a data sender receiving retransmission requests.
Consider the following two examples.
In Figure 54 on page 252, the first interval shows 9 sequence gaps in the multicast
data table—that is, 9 gaps in the stream of multicast packets. The Rseq column of
the multicast retransmit table contains further details; the host at address
10.101.3.246 requested 2211 packets for retransmission, while the other hosts
requested a total of 11 packets. Conclude that the locus of the problem is at
10.101.3.246, and that retransmit requests from the other receivers are side
effects.
The second interval of Figure 54 shows zero sequence gaps—the problem has
abated. Nonetheless, the Rdata and Rbytes columns indicate that retransmissions
continue as Rendezvous daemons recover from the problem by resending stored
data.
By the third interval of Figure 54, everything has returned to normal.
In Figure 55, the multicast data table shows 411 sequence gaps—that is, 411 gaps
in the stream of multicast packets. Moreover, all the missing packets originate at
one sender, 10.101.3.246. The Rseq column of the multicast retransmit table
contains further details; both of the receivers in the network requested those
packets for retransmission—that is 10.101.3.74 and 10.101.3.237 both sent
retransmit requests to 10.101.3.246. Conclude that the locus of the problem is at
10.101.3.246.
The Rdata column of the multicast data table shows that before the end of the
interval, the sender had retransmitted all 411 missing packets. The problem was a
brief glitch—the Rendezvous reliable transport mechanisms easily smoothed over
this temporary rough spot. Nonetheless, if such behavior recurs, the
administrator must investigate the problem.
Point-to-Point Statistics
PTP Statistics
Port Address Data Bytes AckR Ack Nak Bad
----- --------------- ------- --------- ----- ------ ------- ------
Totals 8 1962 3 3 0 0
5090 8 1962 3 3 0 0
* 10.101.2.57 2 522 2 1 0 0
6 1440 1 2 0 0
* 10.101.3.72 6 1440 1 2 0 0
2 522 2 1 0 0
Network Total The first row (immediately after the table and column headings) is a network total
Row row; the word Totals in the Address column is a visual cue. This row shows the
grand total of packets related to retransmission detected on the network during
the interval.
The remaining rows display more fine-grained information about those packets—
grouping them by UDP service, and destination or source IP address.
Port Subtotal Row The second row in Figure 56 is a port subtotal row—its columns subtotal the
statistics over the subsequent destination and source rows which it governs (until
the next port subtotal row).
A number in the Port column indicates the UDP service for its row, and the group
of rows that follow it. A blank in this column means that the row has the same
port as the row above, and is part of the same subtotal group. Notice how the
pattern of numbers and blanks in the Port column visually indicates the subtotal
groups.
Destination and For each IP address with point-to-point data packet activity, this table contains a
Source Rows destination row and a source row—always paired in that order. An * and an IP
address (in the Address column) flags a row as a destination row. A blank (space
characters) flags a row as a source row. The address in the destination row also
applies to the source row that immediately follows it.
Counting Packets This table displays each packet twice—once in a destination row, and once in a
source row.
In each statistical column, the number in the port subtotal row is equal to the sum
of the values in the destination rows, which is also equal to the sum of the values
in the source rows.
In many networks it is possible to match the numbers in the source row for one IP
address against the numbers in the destination row for another IP address. From
this information you can deduce which Rendezvous daemons are exchanging
point-to-point data packets and requesting retransmissions.
Address In destination rows this column shows the destination IP address of retransmission
request packets (that is, the Rendezvous daemon that originally sent data packets).
In source rows this column shows the IP address from which retransmission request or
rejection packets originate (that is, the Rendezvous daemon that missed receiving data
packets).
In network total rows, this column contains the word Totals.
Column Description
Data Point-to-point data packets.
This column shows the number of point-to-point data packets.
Nak Diagnoses
Nak measures the number of point-to-point packets that request retransmission of
point-to-point data.
Non-zero Nak values to or from a specific address usually indicates one of these
problems:
Begin by checking the specific interface card, and widen the investigation to other
components until you can resolve the difficulty.
PTP Statistics
Port Address Data Bytes AckR Ack Nak Bad
----- --------------- ------- --------- ----- ------ ------- ------
Totals 1716 597168 68 68 23 0
7599 1716 597168 68 68 23 0
* 10.101.3.237 1716 597168 68 0 0 0
0 0 0 68 23 0
* 10.101.3.246 0 0 0 68 23 0
1716 597168 68 0 0 0
Subject Statistics
The subject table counts multicast and broadcast messages (not packets) and
organizes statistics by Rendezvous subject name (in addition to UDP service and
destination address).
Figure 58 shows a subject table (from rvtrace -addrinfo). The text below
introduces important concepts. Table 12 on page 261 describes the columns in
detail.
Figure 58 divides the activity on UDP port 5090 into two subject names, and it
divides the activity on port 7500 into 10 subjects.
Subject Statistics
Port Address Msgs Bytes Subject
----- --------------- ------- --------- -------
Totals 25 6462
5039 * 224.2.2.3 1 359 _RV.INFO.SYSTEM.HOST.STATUS.0A650343
10.101.3.67 1 359
5090 * 224.1.2.5 6 1242 sruga
10.101.3.72 6 1242
5090 * 224.1.2.5 4 1474 arug
10.101.2.57 2 728
10.101.3.72 2 746
7500 * 10.101.2.255 1 183 usia
10.101.2.66 1 183
7500 * 10.101.2.255 1 253 _RV.INFO.SYSTEM.HOST.START.0A650239
10.101.2.57 1 253
7500 * 10.101.2.255 1 339 _RV.INFO.SYSTEM.LISTEN.START.usia
10.101.2.57 1 339
7500 * 10.101.2.255 1 332 _RV.INFO.SYSTEM.LISTEN.START.cx.wove
10.101.2.66 1 332
7500 * 10.101.2.255 1 344 _RV.INFO.SYSTEM.LISTEN.START.ghoul
10.101.2.66 1 344
7500 * 10.101.2.255 1 327 _RV.INFO.SYSTEM.LISTEN.START.hurst
10.101.2.57 1 327
7500 * 10.101.2.255 1 339 _RV.INFO.SYSTEM.LISTEN.START.swart
10.101.2.57 1 339
7500 * 10.101.2.255 3 546 aryl.ding
10.101.2.66 3 546
7500 * 10.101.2.255 2 358 hurst
10.101.2.66 2 358
7500 * 10.101.2.255 2 366 swart
10.101.2.66 2 366
Network Total The first row (immediately after the table and column headings) is a network total
Row row; the word Totals in the Address column is a visual cue. This row shows the
grand total of messages that rvtrace detected on the network during the interval.
Subject Subtotal A character string in the Subject column indicates the Rendezvous subject name
Groups for its row, and the group of rows that follow it. A blank in this column means
that the row has the same subject as the row above, and is part of the same
subtotal group. Notice how the pattern of subject names and blanks in the
Subject column visually indicates the subtotal groups. The visual pattern of
numbers in the Port column echoes this division.
Each subject subtotal group begins with a subject row (which is also a destination
row) followed by one or more source rows.
Destination and * flags a row as a destination row. A blank (space character) in this column flags a
Source Rows row as a source row.
Each destination row is the heading and subtotal for the source rows that follow
it. For example, consider the destination row with arug in the Subject column.
The Msgs column indicates 4 multicast messages. The two subsequent source
rows indicate that those 4 messages came from two sources—10.101.2.57 sent 2
messages, while 10.101.2.72 sent 2 messages. The subtotal 4 in turn contributes
to the grand total 25 in the network total row.
A subject row governs the source rows below it (until the next subject row). That is,
the subject, UDP service (port), and address in the governing row apply to those
source rows. Similarly, the governing row address implies either multicast or
broadcast protocol, and this protocol also applies to the statistics in the source
rows that it governs. (Naturally, all of this information also applies to the
governing row itself.)
Statistics In destination rows numbers in statistics columns count messages with the
destination specified in the Address column.
In source rows numbers in statistics columns count messages originating from the
IP address in the Address column.
In network total rows, numbers in statistics columns represent the message totals
for the network during the interval.
Column Description
Port In destination subtotal rows, this column contains a UDP port number indicating the
Rendezvous service for the group of rows that it begins.
In source rows this column is blank; the service in the nearest preceding destination row
also applies to the source row.
Address In destination rows this column shows the destination address shared among a group of
messages. It can be an IP address or a multicast group.
In source rows this column shows the IP address from which group of messages
originate.
In network total rows, this column contains the word Totals.
Subject This column shows the Rendezvous subject name shared among the messages in a
subtotal group.
SNMP
rvtrace embeds an SNMP agent. You can use SNMP applications to query
rvtrace statistics and trap SNMP events (as listed in Table 13).
Thresholds
rvTrdpMCHostTable Table of multicast statistics, with one entry for each triple of sending
host (rvTrdpMCHostAddr), service port (rvTrdpMCPort), and
destination address (rvTrdpMCDestAddr).
rvTrdpRtHostTable Table of multicast retransmission statistics, with one entry for each
pair of host (rvTrdpRtHostAddr) and service port (rvTrdpRtPort).
Entries in this table count several types of packets related to the
retransmission request protocol for multicast or broadcast data.
rvTrdpRtReqPktsSrc Number of retransmission request packets sent by the host (that is,
the host is the source of the request packet).
These packets indicate that the receiving Rendezvous daemon on the
host missed inbound data packets, and has requested
retransmission.
Each request packet counts separately, even if several request
packets specify the same data packet numbers for retransmission.
rvTrdpRtRejPktsSrc Number of retransmission rejection notices sent by the host (that is,
the host is the source of the rejection packet).
Although Rendezvous daemons comply with retransmission
requests whenever possible, sometimes the requested data packets
are no longer available.
rvTrdpRtReqSeqDest Number of data packet sequence numbers requested from the host.
Each retransmission request packet can solicit one or more data
packets for retransmission. This item counts the number of data
packets requested, summing them over the request packets (as
counted by rvTrdpRtReqPktsDest).
If several daemons request a data packet several times, each request
counts separately. For more information, see Diagnoses on page 251.
rvPtpHostTable Table of point-to-point statistics, with one entry for each pair of host
(rvPtpHostAddr) and service port (rvPtpPort)
rvPtpPktsSrc Number of point-to-point data packets sent by the host (that is, the
host is the source of the data packet).
rvPtpBytesDest Number of payload bytes summed over data packets indicating the
host as destination.
rvSubjTable Table of subject statistics, with one entry for each pair of subject
(rvSubject) and service port (rvSubjPort)
rvSubjBytes Number of payload bytes summed over messages for this pair.
Traps
rvNotifyBadPkts Notify when the number of bad packets during an interval exceeds
rvBadPktThreshold.
Parameter Description
agentaddress <port> When present, the SNMP agent accepts requests and
queries on this port.
<port> can have either of two forms:
• 1234 (represents a UDP port)
• tcp:1234 (represents a TCP port)
informsink <host> [<community>] [<port>] When this line is present, the SNMP agent enables
trap objects, and sends trap notification to the
SNMP trap daemon on <host>.
When the optional <community> property is present,
the trap daemon must present an identical property
before it can receive trap notifications. The
<community> property must be a sequence of
alphanumeric characters (without quote marks, and
without intervening spaces).
When the optional <port> property is present, the
agent sends notifications on this port. The port can
have the same two forms as with agentaddress,
above. When absent, the default port is 162.
To send notification to several trap daemons, specify
a separate informsink line for each destination.
When informsink is absent, the agent disables trap
objects.
Perl programs can call Rendezvous API functions directly using a Perl 5 loadable
module called Tibrv, which extends the Perl language.
Topics
Tibrv presents the C API. All API details (for example, function names,
parameter lists, types, return codes) are the same as for C programs, so Perl
programmers can use it to:
• Prototype Rendezvous programs in Perl for later translation into C.
• Write Rendezvous programs in Perl.
System administrators often choose Perl for data organization tasks. Combining
Perl with Rendezvous software yields a powerful tool for:
• Gathering and organizing information about the operation of distributed
systems.
• Administering physically distant computers across a network.
Be sure that the library path variable is set properly; for instructions, see the
README file.
Place this module reference near the top of each Perl program file that calls
Rendezvous API functions:
use Tibrv;
If the program uses Rendezvous fault tolerance features, add this module
reference:
use TibrvFt;
Topics
Subject Description
_RVCM.> Rendezvous certified delivery software uses administrative
messages with these subjects. Routing daemons must forward
these subjects in both directions.
The ledger file must reside on the same host computer as the program that uses it.
Do not use network-mounted storage for ledger files.
Remember that certified message delivery protects against component or network
failure. Placing ledger files across a network (for example, on a separate file
server) introduces a new dependency on the network, leaving components
vulnerable to network failures.
Topics
Network Placement
Subject Description
_RVFT.*.<group_name> Rendezvous fault tolerance software uses messages
with these subjects to communicate among group
members. Routing daemons must forward these
subjects in both directions.
Topics
Subject Description
_RVCMQ.> Rendezvous distributed queue software uses administrative
messages with these subjects.
Whenever potential scheduler members run in one network, and
potential listener members of the same distributed queue run in a
second network, then routing daemons must forward these
subjects in both directions between the two networks.
Similarly, whenever potential listener members of the same
distributed queue run in two separate networks, then routing
daemons must forward these subjects in both directions between
the two networks.
Subject Description
_RVFT.> Rendezvous distributed queue software uses administrative
messages with these subjects.
Whenever potential scheduler members of the same distributed
queue run in two separate networks, then routing daemons must
forward these subjects in both directions between the two
networks.
Topics
See Also
Register NT Services on page 8
rvntscfg
Utility
Restrictions You must have administrator privileges to change the Windows registry.
Remarks Locate this utility program as an executable file in the Rendezvous bin\ directory.
Rendezvous components belong to one of two categories:
• Base communications components. This category consists of rvd and rvrd—
the two components that enable network communications.
• Dependent components. All other components are in this category—they
depend on the presence of a base communications component.
Before you can start one of these programs as a service, one of the base
communications components must already be running as a service.
rvntsreg
Utility
Restrictions You must have administrator privileges to change the Windows registry.
Remarks Locate this utility program as an executable file in the Rendezvous bin\ directory.
The rvntscfg utility achieves the same end as this program, adding an intuitive
graphical user interface.
Register To register a component as a Windows service, run the utility with this command
line:
rvntsreg /i <service_name> <directory> <arguments>
For example:
rvntsreg /i rvrd C:\tibco\tibrv\bin\ "-store
C:\tibco\tibrv\adm\rvrd.adm"
Remove To unregister a service, run the utility with this command line:
rvntsreg /r <service_name>
Command To view a command line summary, run the utility with this command line:
Summary rvntsreg
Licensing
Release 6 simplified license administration. For complete information, see
Licensing Information on page 11.
Transports
The concept of a session is obsolete. However, the concepts of service, network
and daemon (formerly arguments to session initialization calls) transfer to
transport objects.
Routing Daemon
Many important details of the routing daemon changed for release 6 (and later).
For complete information, see Routing Daemon (rvrd) on page 57.
rvcache
In earlier releases, programs automatically received initial values based on
subscription advisories. In release 6 (and later) programs must explicitly query by
subject for the most recent data.
For details, see Current Value Cache on page 181.
Index
A C
accept any as neighbor, rvrd 72 cache 181–193
Ack column, rvtrace 257 capture file, rvtrace 231
AckR column, rvtrace 257 certificate, security factor 135
active neighbor, rvrd 71 certified delivery
address routing daemons 277
Address column, rvtrace 246, 250, 256, 261 rvperf 214, 220
filter, rvtrace 233, 234 rvperfm parameters 207
information, rvtrace 236 rvperfs parameters 210
administrator name and password 108, 152 checklist for administrators 1
administrator’s checklist 1 checksum 6
advisory message client socket, daemon parameter 28
See also, the book TIBCO Rendezvous Concepts cm, See certified delivery
and, boolean filters, rvtrace 240 cm-sync, rvperf parameter 207, 211
applet, Java 177 collision, rvperfm 204
authorization, secure daemon 133 core dump file, security factor 135
auto, rvperfm parameter 206 current value cache 181–193
automatic mode, rvperf 198, 199, 206 customer support xx
B D
backlog, routing 88 daemon parameter 18, 28
Bad column, rvtrace 247, 250, 257 rvperfm 205
barring remote connections 29 rvperfs 210
batch daemon, rvd 35–42
interval, rvperfm parameter 207 data capture file, rvtrace 231
size, rvperfm parameter 207 Data column, rvtrace 246, 257
batch, rvperf 197 usage 241
binary executable files 4 data loss advisory, rvperf 200
boolean operators in filters, rvtrace 240 default port and service numbers 30
broadcast filter, rvtrace 240 destination filter, rvtrace 235
Bytes column, rvtrace 246, 257, 261 distributed queues and routing daemons 285
usage 241 dividing large messages, rvperf 221
duplicate messages from rvcache 185
I
F
idle
fault tolerance rva 172
rvcache 188 rvcache 191
rvrd 74 rvrd 89
rvrd serving FT programs 281 inbox, rvperfm parameter 206
feedback source and destination, rvtrace 251 independent routes 77
file descriptor limit 9 input file, rvtrace parameter 233, 234
filter installation, See the book TIBCO Rendezvous
details, rvtrace 239 Installation
parameter, rvtrace 235 interface
pcap, rvtrace 230 network, rvtrace 227
firewalls rvtrace parameter 232
rva 177 interpreting the report
rvrd 85 rvperf 212
fixed subject interest, rvrd (obsolete) 68 rvtrace 241
flush time, rvperf 215 interval between batches, rvperf 197
-foreground, rvtrace parameter 237 rvperfm parameter 207
interval, update, rvtrace parameter 236
IP filter, rvtrace 240
G
Gaps column, rvtrace 246 J
diagnosing 247
gating, subject Java applet 177
rva 170
rvrd 66