Previous  |  Next >  
Product: NetBackup System Administrator's Help  

Configuring Ports When Using the NetBackup-Java Console

On UNIX systems, all settings are in the /usr/openv/netbackup/bp.conf file on the respective server, or in the /usr/openv/java/nbj.conf file.

On Windows systems, all settings are made with the Host Properties dialog in the NetBackup Administration Console, or in the install_path\Veritas\java\<hostname>.vrtsnbuj files.

Port configurations may include:

  • Range of nonreserved ports where the server or client can listen for connections. These are the Connect To ports in the preceding table, Connections for the NetBackup-Java Console. Use SERVER_PORT_WINDOW in the bp.conf file for this setting.
  • The server or client selects a port from this range to listen for commands from the display console. Note that the highest port available in the allowed range is always used internally by the NetBackup-Java Application Server on the server or client.
  • Random or nonrandom port selection. By default, the NetBackup-Java Application Server chooses a port at random from those available in the allowed range. To have the NetBackup-Java Application Server start at the top of the allowed range and choose the first available port, set RANDOM_PORTS=NO in the bp.conf file.

  • Note   Note    All the above settings are in the /usr/openv/netbackup/bp.conf file on the server or client. 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.

On all NetBackup-Java capable platforms you can configure the following:

  • The range of nonreserved ports on the console available for connecting to the NetBackup-Java Console configuration.
  • Configure the NetBackup-Java Console to not use a unique port for every user using the console via the NetBackup-Java Console configuration option. This requires access to the vnetd daemon on its port.

  • Note   Note    These options cannot be configured using the NetBackup-Java Console Host Properties dialog. The nbj.conf file or the hostname.vrtsnbuj file on the relevant host must be edited.

Configuration Example

This example concerns using the NetBackup-Java Console to manage a master server that is inside a firewall.

NetBackup-Java Console to Server Example

The port requirements in this example are as follows:

  • Limit external connections to the master server by allowing the master server to accept nonreserved-port connections only on ports 4900 through 5000 (the default is 1024 through 5000).
  • Ports are to be selected by using the first one available, starting at the top of the allowed range.

  • Note   Note    Any port limitations you configure on a master server apply to connections with all other master servers, not just those on the other side of the firewall. Therefore, leave enough ports available to allow the necessary connections. The main factors to consider are the number of clients and whether multiplexing is used. If NetBackup runs out of ports, backups and restores cannot occur.

In order to effect the configuration of the master server, perform the following steps in the Host Properties dialog using the NetBackup-Java Console:

  To configure the master server according to the example

  1. In the NetBackup Administration Console on the master server, expand NetBackup Management > Host Properties > Master Servers.
  2. In the Details pane, double-click the host you wish to configure.
  3. Select Port Ranges:
    The Port Ranges settings specify the range of nonreserved ports from which the master selects a port to listen for command connections. Note that the highest port available in the range is always used internally by NetBackup-Java (in this example, the highest port that can be available is 5000).
  4. Clear the check box for Use Random Port Assignments.
    With this option unselected, NetBackup uses the first port available, starting at the top of the allowed range. In the example, the highest port that can be available is 4999 because 5000 is claimed by NetBackup-Java.

    Note   Note    On a NetBackup UNIX client, add the following to the /usr/openv/netbackup/bp.conf file:
    SERVER_PORT_WINDOW = 4900 5000
    RANDOM_PORTS = NO

  To configure the master server to use vnetd according to the example

  1. In /usr/openv/java/nbj.conf, indicate that the NetBackup-Java Console should use the no call-back method when communicating with other NetBackup machines:
       NBJAVA_CONNECT_OPTION=1
    Setting NBJAVA_CONNECT_OPTION to 1 means that the NetBackup-Java Console will use only one port, the vnetd port, for communication with its application server.
  2. If desired, specify a range of nonreserved outgoing ports on which the NetBackup-Java Console requires to connect to its application server. For example:
       NBJAVA_CLIENT_PORT_WINDOW=5700 5900
    The minimum range size for successful operation of the NetBackup-Java Console is 120.

    Note   Note    Performance is somewhat reduced with the use of NBJAVA_CONNECT_OPTION or NBJAVA_CLIENT_PORT_WINDOW.

 ^ Return to Top Previous  |  Next >  
Product: NetBackup System Administrator's Help  
VERITAS Software Corporation
www.veritas.com