NetWorker: Using the NetWorker 'nsrrpcinfo' command
Summary: This article provides information about how to use the NetWorker Remote Procedure Call (RPC) command nsrrpcinfo.
Instructions
Using the NetWorker 'nsrrpcinfo' command. The nsrrpcinfo command makes an RPC call to a NetWorker host and reports what processes it can see. This can be useful when determining connectivity issues between two NetWorker hosts.
nsrrpcinfo command is included with the Extended NetWorker Client software. If this package is not installed, the nsrrpcinfo command is not available. NetWorker servers and storage nodes need the extended client package, but NMC servers and standard clients do not, and may not have it installed. The extended client package is visible from Programs and Features (Windows), or package management commands (Linux), for example rpm -qa | grep lgto. The NetWorker Command Reference Guide provides information about nsrrpcinfo: https://www.dell.com/support/product-details/product/networker/docs
Usage
From an Administrator command-prompt. To check what NetWorker (nsr) processes are running and their corresponding local ports run: nsrrpcinfo -p
This command details the PROGRAM, VERSION, PROTOCOL, PORT, and SERVICE. Of the local system or remote host specified after -p. These values are used in additional nsrrpcinfo commands.
The ports and services returned differ depending on the intended function of the system. See: NetWorker Processes and Ports
| Switch: | Function: | Example: |
-p [address] |
Probe the NetWorker portmapper on the host and print a list of all registered RPC programs. If the host is not specified, it defaults to the value returned by hostname. |
nsrrpcinfo -p nsr.amer.lan |
-u address program_number |
Make an RPC call to procedure 0 of the program on the specified host using UDP, and report whether a response was received. | nsrrpcinfo -u nsr.amer.lan 100000 |
-t address program_number |
Make an RPC call to procedure 0 of the program on the specified host using TCP, and report whether a response was received. | nsrrpcinfo -t nsr.amer.lan 100000 |
-n port_number [-t or -u] address program_number |
Use the port number as the port number for the -t and -u options instead of the port number given by the NetWorker portmapper. |
nsrrpcinfo -n 7938 -t nsr.amer.lan 100000 |
-b program_number version_number |
Make an RPC broadcast to procedure 0 of the specified program and version using UDP and report all hosts that respond. | nsrrpcinfo -b nsrexecd 1 |
-d program_number version_number |
Delete registration for the RPC service of the specified program and version. | nsrrpcinfo -d 390104 605 |
If a required port is not listed when checking remote connectivity, use nsrports to test if the local system can reach the remote host: nsrports -t hostname -p port_number