How to change the port for Network Data Management Protocol used by Backup Exec Remote Agent for Linux or UNIX Servers on a UNIX/Linux machine

Article: 100016843
Last Published: 2023-11-15
Ratings: 0 1
Product(s): Backup Exec

Problem

How to change the port for Network Data Management Protocol used by Backup Exec Remote Agent for Linux or UNIX Servers on a UNIX/Linux machine
 

Solution

In Backup Exec, the Network Data Management Protocol (NDMP) is used by Backup Exec to communicate with the remote servers. The Backup Exec Job Engine first communicates with the Remote Agent for Linux or UNIX Servers installed on Linux/UNIX machines through a control session using port 10000. This port can be changed, as it might conflict with existing applications in the environment.                    
 
 
Caution : When changing the port for NDMP in a Backup Exec environment, the changes must take place on every server in the environment that needs to be protected by Backup Exec. Failing to do so will result in servers not being selectable inside Backup Exec or not able to be backed up at all.
  
To change the port on the Linux/UNIX machine, do the following:
 
1. Open a terminal window
 
2. Open the services file in a text editor located under /etc by typing the command   vi /etc/services (Figure 1)
 
Figure 1 
 
  
3. Search the file for an entry that looks something like this:
 
ndmp        10000/tcp
 
If this entry exists, change the port number (10000 in the above example) to the port number that you want to use.
 
If this entry does not already exist, go to the end of the file and add an entry.  Note that some versions of UNIX/Linux require a very specific format for this line which is as follows:
 
Type ndmp , then press <tab>, type the port that NDMP will use, and then type /tcp , press <Enter>
 
See Figure 2 for an example.
 
Figure 2 
 
  
4. Save the file and exit
 
5. Restart the Remote Agent and Backup Exec services for Linux or UNIX Servers. This will apply the new configuration to the RALUS.
 
To restart the agent type the below commands in the terminal. This might be required to be executed from the Backup Exec installation folder.
/etc/init.d/agent.init stop
/etc/init.d/agent.init start
 
To restart Backup Exec service type the below commands in the terminal
/etc/init.d/VRTSralus.init stop
/etc/init.d/VRTSralus.init start
 
Note: To execute these commands the user should be the root or the super user.
 
Note: If there is no ndmp entry in the /etc/services file, the agent will use the default value of 10000 as the NDMP port number.
 
Note: For information on changing the NDMP ports on Windows machines or NetWare media servers, please refer to the Related Documents section below.
 

Was this content helpful?