Configuring Ports for Backups and Restores
The following explains the NetBackup configuration settings for ports. All settings are in the /usr/openv/netbackup/bp.conf file on the respective host. Registered port numbers (for example, 13782 for bpcd) are not configurable with these settings and VERITAS recommends that you do not attempt to change the registered port numbers.
Ports from which NetBackup originates connections to other hosts
These are the Connect From ports in tables Connections for Backups and Connections for Restores.You can set the following on each host:
- Range of reserved ports from which NetBackup can originate connections. Use CLIENT_RESERVED_PORT_WINDOW in the bp.conf file.
- Range of nonreserved ports from which NetBackup can originate connections. Use CLIENT_PORT_WINDOW in the bp.conf file.
- Random or nonrandom port selection. By default, NetBackup chooses a port at random from those available in the allowed range. To have NetBackup start at the top of the allowed range and choose the first available port, set RANDOM_PORTS=NO in the bp.conf file.
Ports where NetBackup listens for connections from other hosts
These are the Connect To ports in tables Connections for Backups and Connections for Restores. You can set the following on each host:
- bpcd to accept connections from nonreserved ports (the default is to not accept these connections). To permit connections from nonreserved ports, add ALLOW_NON_RESERVED_PORTS to the bp.conf file on that host.
Note
For clients, use the bpclient command on the master server to specify nonreserved port usage for the client.
- Range of reserved ports where NetBackup can listen for connections to this host. Use SERVER_RESERVED_PORT_WINDOW.
- Range of nonreserved ports where NetBackup can listen for connections to this host. Use SERVER_PORT_WINDOW in the bp.conf file.
- Random or nonrandom port selection. By default, NetBackup chooses a port at random from those available in the allowed range. To have NetBackup start at the top of the allowed range and choose the first available port, set RANDOM_PORTS=NO in the bp.conf file.
|