Video Screencast Help
Scheduled Maintenance: Symantec Connect is scheduled to be down Saturday, April 19 from 10am to 2pm Pacific Standard Time (GMT: 5pm to 9pm) for server migration and upgrade.
Please accept our apologies in advance for any inconvenience this might cause.

telnet

Created: 21 Jun 2012 • Updated: 22 Jun 2012 | 17 comments
This issue has been solved. See solution.

when i write

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

 

 

Comments 17 CommentsJump to latest comment

Yogesh9881's picture

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

If this post has helped you, please vote or mark as solution.

Before break-up, make sure you have a good backup.....  ;-)

sazz.'s picture

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's picture

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.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

NIKHIL2346565959's picture

netbackup use this port to coonect to client?

mph999's picture

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

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
NIKHIL2346565959's picture

ok ,but what if we get error on telnet?

Nicolai's picture

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

 

 

Assumption is the mother of all mess ups.

If this post answered your'e qustion -  Please mark as a soloution.

mph999's picture

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

 

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Marianne's picture

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.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

NIKHIL2346565959's picture

we have NBU 7.1.0.2 in our environment,

But we use telnet nikhil2 bpcd

why?

 

Marianne's picture

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 ....

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

NIKHIL2346565959's picture

Martin is aying that it will use bpcd to connect

 

Yogesh9881's picture

 

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

If this post has helped you, please vote or mark as solution.

Before break-up, make sure you have a good backup.....  ;-)

mph999's picture

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

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
SOLUTION
NIKHIL2346565959's picture

this must happens within few seconds

mph999's picture

Yes, it should be quick.

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805