cancel
Showing results for 
Search instead for 
Did you mean: 

How is it that a backup can complete successfully

rjrumfelt
Level 6
yet fail misearably when it comes to bptestbpcd:

dcaburutsh003:root> ./bptestbpcd -client clientname-bk -verbose -debug
09:14:51.918 [11272] <2> bptestbpcd: VERBOSE = 0
09:14:51.923 [11272] <2> init_cache: vnet_hosts.c.915: host_cache_size: 200 0x000000c8
09:14:51.923 [11272] <2> init_cache: vnet_hosts.c.916: cache_time: 3600 0x00000e10
09:14:51.923 [11272] <2> init_cache: vnet_hosts.c.928: host_failed_cache_size: 40 0x00000028
09:14:51.923 [11272] <2> init_cache: vnet_hosts.c.929: cache_time: 3600 0x00000e10
09:14:51.924 [11272] <2> init_cache: vnet_hosts.c.915: host_cache_size: 200 0x000000c8
09:14:51.924 [11272] <2> init_cache: vnet_hosts.c.916: cache_time: 3600 0x00000e10
09:14:51.924 [11272] <2> init_cache: vnet_hosts.c.928: host_failed_cache_size: 40 0x00000028
09:14:51.924 [11272] <2> init_cache: vnet_hosts.c.929: cache_time: 3600 0x00000e10
09:18:36.625 [11272] <2> vnet_async_connect: vnet_vnetd.c.4217: getsockopt SO_ERROR returned: 145 0x00000091
09:18:56.641 [11272] <2> vnet_async_connect: vnet_vnetd.c.4217: getsockopt SO_ERROR returned: 145 0x00000091
09:22:31.556 [11272] <2> vnet_async_connect: vnet_vnetd.c.4217: getsockopt SO_ERROR returned: 145 0x00000091
09:22:52.363 [11272] <2> vnet_async_connect: vnet_vnetd.c.4217: getsockopt SO_ERROR returned: 145 0x00000091
09:26:26.251 [11272] <2> vnet_async_connect: vnet_vnetd.c.4217: getsockopt SO_ERROR returned: 145 0x00000091
09:26:49.075 [11272] <2> vnet_async_connect: vnet_vnetd.c.4217: getsockopt SO_ERROR returned: 145 0x00000091
09:29:52.655 [11272] <2> vnet_async_connect: vnet_vnetd.c.3801: ran out of time before connect: 901 0x00000385
09:29:52.655 [11272] <2> vnet_async_connect: vnet_vnetd.c.3801: ran out of time before connect: 901 0x00000385
09:29:52.655 [11272] <2> vnet_connect_to_service_or_vnetd: vnet_vnetd.c.3570: vnet_async_connect failed: 18 0x00000012
09:29:52.655 [11272] <2> nb_connect_to_vnetd_or_legacy: comm.c.2030: vnet_connect_to_vnetd_or_service failed: 18
09:29:52.655 [11272] <2> local_bpcr_connect: nb_connect_to_vnetd_service(clientname-bk) failed: 25
09:29:52.655 [11272] <2> local_bpcr_connect: Can't connect to client clientname-bk
09:29:52.655 [11272] <2> ConnectToBPCD: bpcd_connect_and_verify(clientname-bk, clientname-bk) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(clientname-bk) failed: 25
09:29:52.656 [11272] <16> bptestbpcd main: Function ConnectToBPCD(clientname-bk) failed: 25
<2>bptestbpcd: cannot connect on socket
09:29:52.656 [11272] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
09:29:52.657 [11272] <2> bptestbpcd: EXIT status = 25
cannot connect on socket
1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Which media server is doing the backup? Master or another media server?
Process flow for normal file system backups (not ALL_LOCAL_DRIVES) is as follows:
master -> media -> client -> media -> master
(full process flow diagram in Appendix A of Troubleshooting Guide)

Only if you backup databases (using database extentions) or ALL_LOCAL_DRIVES, does the master and client need to communicate. Client directed restores also need comms to master.

We have customers with DMZ's where clients are backed up to a media server inside the DMZ while there is no connectivity allowed between master and clients.

View solution in original post

7 REPLIES 7

MattS
Level 6

Can you

telnet clientname-bk bpcd 

from the master?


I would check hostname resolution with the bpclntcmd

rjrumfelt
Level 6
when I attempt to telnet, and telnet works fine

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Which media server is doing the backup? Master or another media server?
Process flow for normal file system backups (not ALL_LOCAL_DRIVES) is as follows:
master -> media -> client -> media -> master
(full process flow diagram in Appendix A of Troubleshooting Guide)

Only if you backup databases (using database extentions) or ALL_LOCAL_DRIVES, does the master and client need to communicate. Client directed restores also need comms to master.

We have customers with DMZ's where clients are backed up to a media server inside the DMZ while there is no connectivity allowed between master and clients.

lu
Level 6
Maybe because the vnetd port is used, not bpcd.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
lu, this line is telling me that bptestbpcd is trying both vnetd and bpcd:

09:29:52.655 [11272] <2> nb_connect_to_vnetd_or_legacy: comm.c.2030: vnet_connect_to_vnetd_or_service failed: 18

rjrumfelt
Level 6
we use only vnetd to connect for backups.  If I tried to telnet to bpcd it would not work.  Telnet to vnetd is working though.

I'm thinking there is a disconnect between the client and the media, as Mvdb suggested.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Are you doing bptestbpcd from the master or the media server that's doing the backup?
Do the test on both master and media server.
It is quite possible for backups to work with no connectivity between master and client.
Do you have bpcd log on the client? Can you see if anything is logged there for the failed bptestbpcd attempt? Please post from where you see the incoming request up to where an error is reported.