HP-UX 11i December 2002 Release Notes

Programming
Miscellaneous
Chapter 15
293
The distinction between the International and US/Canada version of DCE components
has been removed. That is, the 56-bit Data Encryption Standard (DES) which was
earlier restricted to US/Canada is now available for all customers. This means there will
only be one version of the DCE library and dced daemon, which is based on the 56-bit
DES version.
NOTE The number of LAN interfaces supported by DCED is limited to 32 and the LAN
interfaces supported by CDS is 12. If there are more than 32 LAN interfaces, the
environment variable RPC_SUPPORTED_NETADDRS can be used to identify the list of 32
LAN interfaces that are used by the Remote Procedure Call (RPC) application.
Listed below are new environment variables that have been added to support RPC
operations and to enable better usability:
RPC_PREFERRED_PROTSEQ: This variable is used to set the preferred protocol
sequence.
RPC_SUPPORTED_PROTSEQS: This variable helps in restricting the protocol sequence.
For example, setting this variable to ncacn_ip_tcp will enable only
connection-oriented communication.
RPC_DISABLE_PRIVATE: This variable disables the private setting of a socket.
Specifically, the datagram protocol opens up one socket for each network address
family supported on a host. Once opened, these sockets are kept in a pool for use
whenever the process needs to make another RPC over that particular address
family. If concurrent calls are made over the same address family, the calls share a
single socket from the pool. However, this is inefficient for those applications that
dont require this degree of concurrency.
To remedy this situation, 1 or 2 sockets are tagged as private, along with the usual
shared sockets in the socket pool. You can disable this setting by exporting
RPC_DISABLE_PRIVATE=1. The default behavior is for private socket to be enabled.
RPC_DISABLE_LOCAL: For a RPC server and client on same host, UNIX domain
sockets are used by default to reduce the overhead. This can be disabled by exporting
RPC_DISABLE_LOCAL=1.
HPDCE_CLIENT_DISC_TIME: With this variable (provided in the DCE RPC runtime),
the idle association termination time can be tuned to be a value less than the
architecture-provided value of 5 minutes (namely, any value ranging from 1 to 300
seconds). Please note that this variable is applicable only for connection-oriented
protocol.
SCTE_UNCACHE_TIME: This variable is applicable for datagram only and is used to
reduce the server connection table (SCT) elements to be uncached sooner than the
default value. The default time is 300 seconds. This would allow more SCT entries to
be added to the SCT without resulting in cache exhausting heap.
DMS_FORCEON: DCE Measurement Service (DMS) provides performance
instrumentation for DCE servers and for the server side of applications that use
DCE RPCs. When DMS is enabled, it collects data about RPCs that execute in the
target process. The collected data is actually displayed using HP GlancePlus. By
default, DMS is disabled. DMS can be enabled exporting DMS_FORCEON=1.