cancel
Showing results for 
Search instead for 
Did you mean: 

telnet

NIKHIL234656595
Level 6

when i write

telnet nikhil2 bpcd from master server,what exactly is happening?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

Nikhil,

I editted my post.  I am sorry, I made a mistake.

NBU can use bpcd to connect, that is true.

At 7.x however, it will attempt to connect to the client using PBX.

If this fails, it will try again using vnetd.

If this fails, it will then try bpcd.

So, although it can connect via bpcd, it trys pbx/ vnetd first.

Therefore, although bcd may be available to connect on, NBU may not use it 'directly'.  For example, If it connects on PBX successfully, PBX hands the connection to bpcd.

Think of it like this.

Nicolai = bpcd  /  Marianne = PBX

I have a package I wish to give to Nicolai.  It contains some new NBU manuals, and Nicolai is looking forward to receiving it.

Unfortunately, I do not have any postage stamps, and cannot send the package to him (he is very sad).

However, Marianne has come over to visit me, and soon  she will fly over to see Nicolai.  

I give the package to Marianne, and when she sees Nicolai, she gives the package to Nicolai.

Martin

View solution in original post

17 REPLIES 17

Yogesh9881
Level 6
Accredited

I dont think so even Goole will help you about this issue.....

sksujeet
Level 6
Partner Accredited Certified

This will try to connect the nikhil2 on port 13782. if this port is blocked it won't able to connect and will error out. If you have any issue connecting to this port you have to check the port is either blocked or used by some other process or firewall

If you have issues connecting please do the below:

Create bpcd log directory on client \netbackup\logs)

Run the following test from the media server:

bptestbpcd -client nikhil2 -verbose

 

Please post output of command as well as bpcd log on client

Marianne
Level 6
Partner    VIP    Accredited Certified
If you Google 'telnet' you will see that it is a TCP/OS command that pretty much works the same across most OS's. Telnet has a default port number (I think it is port 25). By specifying a different port name or number, you are telling telnet telnet to use a different port number. In this case, port 13782.

NIKHIL234656595
Level 6

netbackup use this port to coonect to client?

NIKHIL234656595
Level 6

ok ,but what if we get error on telnet?

Nicolai
Moderator
Moderator
Partner    VIP   

If you telnet to a port that does not respond you will see a:

"Connection to "server_name" could not open connection to host on port xx: Connection failed"

but does the port respond, you should see a black screen with no text. Typing random text and hitting return should bring to back to the command line

Now that we have the bptestbpcd i would say the old telnet method is deprecated.bptestbpcd follow Netbackup normal working behavior whereas telnet use the OS behavior. Epically cluster configuration this very important.

http://www.symantec.com/docs/TECH42657

 

 

mph999
Level 6
Employee Accredited

Then you investigate from the network side, having first confirmed bpcd is running (it is a standalone process in 7.x)

Reasons that can cause failues include:

Hostname resolution issues

Entries in bp.conf / registry if windows

Routing issues

Incorrect IP address

Firewall

OS Patch

 

Martin

 

Marianne
Level 6
Partner    VIP    Accredited Certified
Error on telnet probably means that the port is blocked by firewall or that client is not listening on bpcd. NBU no longer uses bpcd to connect. Since 7.0.1 it will first try PBX. If that fails, it will try vnetd. Telnet is not a good connection test for NBU. Rather use bptestbpcd as suggested above.

mph999
Level 6
Employee Accredited

EDITTED AS I WASN@T THINKING ...

Yes, NBU 'can' use the port to connect to the client.  As Marianne pointed out below, default connectiosn are now PBX.

However, as you will see, you can connect but not do much ...

 

root@womble  $ telnet womble bpcd
Trying 10.12.235.41...
Connected to womble.
Escape character is '^]'.
 
Here we see bpcd allows the connection, but I can't go off and run normal unix commands, because, bpcd is not for that.
 
Martin

NIKHIL234656595
Level 6

we have NBU 7.1.0.2 in our environment,

But we use telnet nikhil2 bpcd

why?

 

NIKHIL234656595
Level 6

Martin is aying that it will use bpcd to connect

 

Yogesh9881
Level 6
Accredited

 

To ...                                                               Do this ...
 
 
 
Connect to a remote system       telnet> open remote_system_name
 
Suspend a telnet connection      Ctrl+c
and return to the telnet
prompt
 
Close a connection to a          Ctrl ]
remote system                    telnet> close
 
 
**Suspend telnet and work on     telnet> z
the local system
 
**Resume the use of telnet   prompt% fg
                                 telnet>
 
End the telnet session           telnet> quit
 
To display a list of telnet      telnet> ?
commands
 
To get an explanation of a       telnet> help name_of_command
comman

mph999
Level 6
Employee Accredited

Nikhil,

I editted my post.  I am sorry, I made a mistake.

NBU can use bpcd to connect, that is true.

At 7.x however, it will attempt to connect to the client using PBX.

If this fails, it will try again using vnetd.

If this fails, it will then try bpcd.

So, although it can connect via bpcd, it trys pbx/ vnetd first.

Therefore, although bcd may be available to connect on, NBU may not use it 'directly'.  For example, If it connects on PBX successfully, PBX hands the connection to bpcd.

Think of it like this.

Nicolai = bpcd  /  Marianne = PBX

I have a package I wish to give to Nicolai.  It contains some new NBU manuals, and Nicolai is looking forward to receiving it.

Unfortunately, I do not have any postage stamps, and cannot send the package to him (he is very sad).

However, Marianne has come over to visit me, and soon  she will fly over to see Nicolai.  

I give the package to Marianne, and when she sees Nicolai, she gives the package to Nicolai.

Martin

NIKHIL234656595
Level 6

thanks Martin

You rocks

NIKHIL234656595
Level 6

this must happens within few seconds

Marianne
Level 6
Partner    VIP    Accredited Certified

But we use telnet nikhil2 bpcd

why?

 

You need to tell us!!!!

Before NBU 6.0, bptestbpcd did not exist. The only connection tests were bpclntcmd and telnet.
bpclntcmd simply test forward and reverse name lookup.
telnet was the only way in those days to test port connection.

bptestbpcd does both - name lookup as well as port connection.

Some users who have been using NBU since pre-6.0 got stuck on telnet and are still advising to use telnet. (we tend to be 'creatures of habit')

I only found out about bptestbpcd around 6.5 days and even then it took me a long time to remember ....

mph999
Level 6
Employee Accredited

Yes, it should be quick.

Martin