06-21-2012 10:58 PM
when i write
telnet nikhil2 bpcd from master server,what exactly is happening?
Solved! Go to Solution.
06-22-2012 12:27 AM
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
06-21-2012 11:23 PM
I dont think so even Goole will help you about this issue.....
06-21-2012 11:28 PM
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
06-21-2012 11:32 PM
06-21-2012 11:37 PM
netbackup use this port to coonect to client?
06-21-2012 11:45 PM
ok ,but what if we get error on telnet?
06-21-2012 11:53 PM
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
06-21-2012 11:53 PM
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
06-21-2012 11:59 PM
06-22-2012 12:02 AM
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 ...
06-22-2012 12:05 AM
we have NBU 7.1.0.2 in our environment,
But we use telnet nikhil2 bpcd
why?
06-22-2012 12:05 AM
Martin is aying that it will use bpcd to connect
06-22-2012 12:12 AM
06-22-2012 12:27 AM
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
06-22-2012 12:38 AM
thanks Martin
You rocks
06-22-2012 12:39 AM
this must happens within few seconds
06-22-2012 12:52 AM
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 ....
06-22-2012 01:05 AM
Yes, it should be quick.
Martin