Specifying port range for RSI communication
A random communication port is required between the xmtopasor xmtopas interface and the consumers. The Rsi.hosts configuration file is used to set the ports within a specified range.
To set the port range, complete these steps:
- Locate the Rsi.hosts file in the $HOMEor the /etc/perf directory. If the file does not exist in either of the directories, search the file in the /usr/lpp/perfmgr directory.
- Specify the start and the end port in the acceptable range as mentioned in the Rsi.hosts file. If the Rsi.hosts file cannot be located in directories or the port range is specified incorrectly, the RSI communication uses random ports.
To specify the port range in the
Rsi.hosts
file,
use the following command:portrange <start_port> <end_port>
Example:
portrange 3001 3003
When the RSI communication starts, it uses 3001, 3002 or 3003 ports in the specified range. Only 3 RSI agents can listen to the ports and the subsequent RSI communication fails.