add mapping(8rpc)Adds or replaces server address information in the local endpoint map Synopsis
rpccp add mapping -b string-binding -i interface-identifier Options
-b string-binding -b ncadg_ip_udp:63.0.2.17[5347] Note that depending on your system, string binding delimiters such as brackets ([ ]) may need to be preceded by an escape symbol (\) or put within quotation marks (' ' or "~"). Requirements vary from system to system, and you must conform to the usage rules of a system.
-i interface-identifier -i ec1eeb60-5943-11c9-a309-08002b102989,1.1 Leading zeros in version numbers are ignored.
-a annotation-string
-o object-uuid -o 3c6b8f60-5945-11c9-a236-08002b102989
-N
Description Each element in the local endpoint map logically contains the following: · Interface ID, consisting of an interface UUID and versions (major and minor) · Binding information · Object UUID (optional) · Annotation (optional) This command should be used without the -N option when only a single instance of the server in question runs on the server's host. Do not use the -N option if no more than one server instance on the host ever offers the same interface UUID, object UUID, and protocol sequence. When local endpoint map elements are not replaced, obsolete elements accumulate each time a server instance stops running without explicitly unregistering its endpoint map information. Periodically, the RPC daemon identifies these obsolete elements and remove them. However, during the interval between these removals, the presence of the obsolete elements increases the chance that clients will receive endpoints to nonexistent servers. The clients then waste time trying to communicate with these servers before giving up and obtaining another endpoint. Allowing the RPC daemon to replace any existing local endpoint map elements (by not specifying -N) reduces the chance of clients' receiving endpoints to nonexistent servers. For example, suppose an existing element in the local endpoint map matches the interface UUID, binding information exclusive of the endpoint, and object UUID of an element this command provides. The command changes the endpoint map according to the elements' interface major and minor version numbers.
Notes
Examples
rpccp add mapping -i ec1eeb60-5943-11c9-a309-08002b102989,1.1 -b ncadg_ip_udp:63.0.2.17[5347] \ This command adds the following elements:
interface ID
string binding
objects
annotation
Related Information Subroutines: rpc_ep_register_no_replace(3rpc)
|