I tried the same thing in 8.1.2 and it worked with ip address. So it would be an issue with 8.1.
This issue is caused because NetBackup is trying to find a certificate or assocation with a known host in certificate database (i am using this term loosly) for ip address. It could not find one hence it failed.
Simple solution is to add host mappings for ip address to the client host name. NetBackup console -> Security management -> Host management -> Double click your client on right hand side -> Click "Add" on "Add or remove host mappings" window -> add ip adress and save it.
Now if you try the connection with ip address it will work.
Sorry marriane for the duplicate post, will mark answer for both once i have solution.
@Anshu_Pathak It didn't resolve the issue, I have added ip address and now under Host Management, Host shows Mapped hostname, ip addresses. However bptestbpcd with ip fails.
I'll agree with marianne with this, it's almost just cosmetic.
Yes, it's not perfect, clearly something got messed up at 8.1, if I had to add a guess I'd suggest it was related to secure comms code changes and it wasn't spotted but it's not really a show stopper. Yes, it's nice if it works, but I could also argue that that a machine you run it on, being a NBU machine of some type, has to be able to correctly resolve host names anyway - so there should be no need to use IP addresses (although if the ip works and the hostname doesn't it is a neat way of spotting a resolution issue).
I did some tests on 8.1 and things worked for me. In my investigation I found out what happens when we run bptestbpcd for ipaddress.
#1 NetBackup does the reverse lookup and if it is successful, it get the hostname.
#2 Now in-order to connect we need to use certificates, there is no certificate issued for ip address hence it will not work. As we have seen in step 1, after successful reverse lookup NetBackup knows the host name and its corresponding certificate which can be used.
#3 NetBackup cannot directly use the certificate of other entity (host name) without creating an association of new entity (IP address) with old one. This is called host mappings (Security management -> Host Management -> hostname -> Add or remove host mappings). By default NetBackup has the POWER to create this mappings, so most of the customers will never notice any issues with bptestbpcd with host name or IP address as mappings will atumatically get added. This power is granted by the check box: Security management -> Global security settings -> Automatically map NetBackup host ID to host names.
There could be two reasons why you are facing this issue.
#1 "Automatically map NetBackup host ID to host names." setting is not enabled/checked.
#2 Reverse name resolution issue.
Also check Security management -> Host Management -> Mappings for approval
This will show you any pending mapping requests and you should see ip address to hostname mappings request.
I hope this works for you and saves you from opening an support case.