Document ID: 255831
http://support.veritas.com/docs/255831
E-Mail Colleague IconE-Mail this document to a colleague

Backup Exec 9.x for Windows Servers has improved support for backups of remote computers.

Details:
Backup Exec (tm) 9.x for Windows Servers has greater flexibility at defining what ports can be specified for backups. Therefore, backing up secured networks through firewalls is much simpler. In Backup Exec 9.x, the dynamic ports, in which browsing, backups, and restores will occur, can be defined.

To define what ports Backup Exec 9.x will use, click Tools | Options | Network. From here, the following options can be enabled: Enable media server TCP dynamic port range and Enable remote agent TCP dynamic port range. In addition to these ports, Backup Exec 9.0 for Windows Servers uses the standard Network Data Management Protocol (NDMP) port, which is 10,000, for its initial communication to each remote agent. This port can be changed if it conflicts with existing applications in the environment, but that is not recommended. For more information on how to perform this operation, see the Related Documents section of this TechNote.

The option Enable media server TCP dynamic port range means that these ports are what the Backup Exec media server will use to communicate with each Backup Exec Remote Agent for Windows Servers (the Backup Exec job engine binds to these ports).

The option Enable remote agent TCP dynamic port range means that these ports are what the Backup Exec Remote Agent for Windows Servers will use to communicate with the Backup Exec media server (the Backup Exec Remote Agent for Windows Servers binds to these ports).

When specifying these ports, it is not recommended that they overlap and there should be two ports opened per resource in the backup/restore job. A resource is considered a drive, an information store, a SQL server, and so on. The C drive, D drive, Exchange 2000 Information Store, SQL Server, and System State would be considered five resources.  

The number of ports varies, and it is recommend that two ports be opened per resource. One port should be opened for the media server, and one port for the remote server.  

Note: If the ports that are specified are in use by another application, the resource that is being backed up will be skipped in the backup set as the resource does not bind to another port. The backup job will fail with the error: Communication Failure has occurred between the Job Engine and Remote Agent.

When communication takes place between the Backup Exec media server and the Remote Agent for Windows Servers during a backup operation or restore operation, a control connection is first established. The media server first attempts to connect to the remote server via the NDMP port. The remote server will then respond back to the media server with a port specified in the Enable media server TCP dynamic port range option. The control connection is responsible for any traffic that is not related to the data stream (what resources to back up, credentials to login to the resources, selection lists).

Once the control connection has been established, a second connection is then established between the remote server and the media server. This is called the data connection. If there are multiple resources being backed up then there will be multiple data connections, one for each resource. The media server first binds itself to a port specified in the Enable media server TCP dynamic port range option. It will then attempt to attach to the remote server using a port specified in the Enable remote agent TCP dynamic port range option. Once this connection is established, data will be sent over it for the backup/restore operation.

After each session is finished, the ports are left open for sixty seconds, making sure there is no activity on them.

An example of how Backup Exec communication takes place is given below. It is using the default ports of 1025-65535 (Figure 1).

Figure 1
 

1. When browsing, backing up, or restoring data to/from a remote server, an initial control session is established from the media server to the remote server over the specified port for NDMP (by default this is port 10,000). Part of this packet is information as to which port the Backup Exec job engine is bound, so that the control session can be completed

2. The remote server sends back a packet acknowledging the job engine's control session to this port (port 1025 in Figure 1)

3. The job engine then communicates over the control session with information as to what port the remote agent should be listed so as to begin the data transfer (port 1026 in Figure 1)

4. The job engine binds to the next available port (port 1027 in the diagram), and sends a request to the remote agent on the port defined for data transmission, stating that the job engine is ready to receive data

5. The remote agent responds back by sending data to the job engine to be placed onto the tape


What ports should be opened on a Firewall?

When backing up a server through a firewall with Backup Exec 9.x, there are several ports that need to be opened on the firewall.  

First, the NDMP port (port 10000 by default) needs to be opened on the firewall. This is an outbound port only, and the media server is talking to the remote agent on this port.

Second, all ports specified in the Enable media server TCP dynamic port range option need to be opened in the incoming range on the firewall.

Third, all ports specified in the Enable remote agent TCP dynamic port range option need to be opened in the outgoing range on the firewall.

Note: If there are problems attaching to a server behind a firewall, it is recommended that the logs on the firewall be examined for any "access denied" messages for communicating over these ports.



Supplemental Material:

System: Ref.#Description
Europa: 2081223 "Communications failure" connecting to RAWS if one port is in use.
Europa: 2064895 Backup Control Connection does not follow Backup To Network Card Data Isolation.

Acknowledgements
Backup Exec for Windows Servers 9.x Administrators Guide

Products Applied:
 Backup Exec for Windows Servers 9.0, 9.1

Last Updated: April 27 2005 07:18 AM GMT
Expires on: 365 days from publish date
Subscribe Via E-Mail IconSubscribe to receive critical updates about this document

Subjects:
 Backup Exec for Windows Servers
   Application: Backup, How To, Troubleshooting

Languages:
 English (US), French, German

Operating Systems:
Windows 2000

Advanced Server, Advanced Server SP1, Advanced Server SP2, Advanced Server SP3, Advanced Server Windows Powered, Advanced Server Windows Powered SP1, Advanced Server Windows Powered SP2, Datacenter Server, Datacenter Server SP1, Datacenter Server SP2, Datacenter Server SP3, Professional, Professional SP1, Professional SP2, Professional SP3, Server, Server SP1, Server SP2, Server SP3, Server Windows Powered, Server Windows Powered SP1, Server Windows Powered SP2

Windows NT

4.0 Server SP6a, 4.0 Workstation SP6a