cancel
Showing results for 
Search instead for 
Did you mean: 

Netbackup with Public & Private Network

rickywu
Level 3

Dear All,

I'm facing the problem about the connection between the master to client agent using with private network. My master server is AIX 7.1 & NBU 8.0, I want to use the private network for backup the Windows 2012 R2 client, using with Windows Media Server 2012 R2. When I setup the private network to connect the client in Policy, no response but public network is normal for connect.

Master Server > 10.50.x.x > Win Media Server > 10.50.x.x > Windows 2012 R2 client ( work )

Master Server > 192.168.x.x > Win Media Server > 192.168.x.x > Windows 2012 R2 client ( not work )

All the setting in DNS has record and can lookup all the host, but using with bptestbpcd command for testing are not working only in Windows Platform. How to solve this problem for using the private network for backup? Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Fixed the problem.

Used with any_cluster_interface = 1.

Thanks! a lot!

View solution in original post

8 REPLIES 8

rickywu
Level 3

I want to setup a private backup network as follows:

Master Server = 1 public network interface and 1 private network interface

Media Server = 1 public network interface and 1 private network interface

ALL UNIX/LINUX/WINDOWS Clients = 1 public network interface and 1 private network interface

The master server has no access to the private interface between the media server and the client (Windows client only), not affect on UNIX & LINUX clients, it can only see the public interface. Thanks for any direction.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

First thing you need to ensure is that the different interfaces have different hostnames linked to the relevant IP addresses.

So, in your first post you had this:

Master Server > 10.50.x.x > Win Media Server > 10.50.x.x > Windows 2012 R2 client 
Hostnames and ip's for example:
master 10.50.x.x
winmedia 10.50.x.x
client1 10.50.x.x

Master Server > 192.168.x.x > Win Media Server > 192.168.x.x > Windows 2012 R2 client 
Hostnames and ip's for example:
master-priv 192.168.x.x
winmedia-priv 192.168.x.x
client1-priv 192.168.x.x

Can you please show us output of nslookup (forward and reverse) as well as bptestbpcd?
If you do not want to show real hostnames, please replace with names that I have used above. 

Now your latest post says the master will have no connection to the client? 


@rickywu wrote:

I want to setup a private backup network as follows:

Master Server = 1 public network interface and 1 private network interface

Media Server = 1 public network interface and 1 private network interface

ALL UNIX/LINUX/WINDOWS Clients = 1 public network interface and 1 private network interface

The master server has no access to the private interface between the media server and the client (Windows client only), 


I don't understand why master, media, windows client ALL have private interface, but yet the 'master has no access to the private interface between the media server and the client '? 

So, if you have this in place:
master-priv 192.168.x.x
winmedia-priv 192.168.x.x
client1-priv 192.168.x.x

and yet you say the master has no access to: 
winmedia-priv 192.168.x.x
client1-priv 192.168.x.x   ?

Please help me to understand? 

If you backup filesystem data on Win clients using snapshots (WOFB) , then the clients need connection to the master server, as the master server stores snapshot info.
If you do any database backups on Win clients (e.g. SQL or Oracle), the 'child streams' need to connect directly to bprd on the master. There is no workaround for this. 

Hi Marianne, Thanks for your help first.

First of all, I have a cluster AIX master server cl227phq ( cluster name ) , ux227phq & ux228phq ( 2 nodes ).
The cluster master server has private network ux227phq_bkup & ux228phq_bkup.
The master server is connect with some media server which also have their own private network. ( Including Window Media Servers [ 192.168.32.x backup lan range ] & AIX Media Server [ 192.168.38.x backup lan range ] & Linux Media Server [ 192.168.36.x backup lan range ] )
In AIX Media Servers & Linux Media Servers, the private network is routed and can pass through all the backup network, so when I create the Backup Policies for Clients,
can use the private network hostname as the client to add into the policy completely.
Moreover, In the Windows Media Servers, the private network is also routed and can ping all the backup network, I failed to use private network hostname to add into the policy.
But use the production network hostname is successful to add with. The information is on the below.

Master Server Windows Media Server Clients Result for add policy
cl227phq ( 10.50.29.16 ) ms01phq ( 10.50.22.124 ) hpfs9oaom ( 10.50.22.84 ) Successful
cl227phq ( 10.50.29.16 ) ms01phq_bkup (192.168.32.139 ) hpfs9oaom_bkup (192.168.32.137 ) Fail

All the connections are running normal and can ping each other, and all the hostname & ip address can resolve from DNS with nslookup.

ux227phq[rwkwu]:/usr/openv/netbackup/bin>nslookup hpfs9oaom.hpfd
;; Got SERVFAIL reply from 2.2.2.2, trying next server
;; Got SERVFAIL reply from 10.50.40.226, trying next server
Server: 2.2.2.2
Address: 2.2.2.2#53

Non-authoritative answer:
Name: hpfs9oaom.hpfd.hpf.gov.hk
Address: 10.50.22.84

ux227phq[rwkwu]:/usr/openv/netbackup/bin>nslookup hpfs9oaom_bkup.hpfd
;; Got SERVFAIL reply from 2.2.2.2, trying next server
;; Got SERVFAIL reply from 10.50.40.226, trying next server
Server: 2.2.2.2
Address: 2.2.2.2#53

Non-authoritative answer:
Name: hpfs9oaom_bkup.hpfd.hpf.gov.hk
Address: 192.168.32.137

ux227phq[rwkwu]:/usr/openv/netbackup/bin>ping hpfs9oaom
PING hpfs9oaom.hpfd.hpf.gov.hk: (10.50.22.84): 56 data bytes
64 bytes from 10.50.22.84: icmp_seq=0 ttl=125 time=0 ms
64 bytes from 10.50.22.84: icmp_seq=1 ttl=125 time=0 ms

--- hpfs9oaom.hpfd.hpf.gov.hk ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms

ux227phq[rwkwu]:/usr/openv/netbackup/bin>ping hpfs9oaom_bkup.hpfd
PING hpfs9oaom_bkup.hpfd.hpf.gov.hk: (192.168.32.137): 56 data bytes
64 bytes from 192.168.32.137: icmp_seq=0 ttl=126 time=5 ms
64 bytes from 192.168.32.137: icmp_seq=1 ttl=126 time=0 ms

--- hpfs9oaom_bkup.hpfd.hpf.gov.hk ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0/2/5 ms

ux227phq[rwkwu]:/usr/openv/netbackup/bin>sudo ./bptestnetconn -a -H hpfs9oaom.hpfd.hpf.gov.hk
------------------------------------------------------------------------
FL: hpfs9oaom.hpfd.hpf.gov.hk -> 10.50.22.84 : 7 ms
------------------------------------------------------------------------
RL: 10.50.22.84 -> hpfs9oaom.hpfd.hpf.gov.hk : 0 ms
RL: 127.0.0.1 -> loopback : 0 ms MISMATCH
------------------------------------------------------------------------
Slow (>5 sec) or/and failed/mismatched reverse lookups:
localhost : 0 sec [MISMATCH] -> loopback
------------------------------------------------------------------------
Total elapsed time: 0 sec

ux227phq[rwkwu]:/usr/openv/netbackup/bin>sudo ./bptestnetconn -a -H hpfs9oaom_bkup.hpfd.hpf.gov.hk
------------------------------------------------------------------------
FL: hpfs9oaom_bkup.hpfd.hpf.gov.hk -> 192.168.32.137 : 24 ms
------------------------------------------------------------------------
RL: 192.168.32.137 -> **LKUP FAIL** : 2 ms MISMATCH
RL: 127.0.0.1 -> loopback : 0 ms MISMATCH
------------------------------------------------------------------------
Slow (>5 sec) or/and failed/mismatched reverse lookups:
hpfs9oaom_bkup.hpfd.hpf.gov.hk : 0 sec [MISMATCH] -> **LKUP FAIL**
localhost : 0 sec [MISMATCH] -> loopback
------------------------------------------------------------------------
Total elapsed time: 0 sec

ux227phq[rwkwu]:/usr/openv/netbackup/bin/admincmd>sudo ./bptestbpcd -verbose -client hpfs9oaom.hpfd -debug
15:21:16.631 [18284572] <2> bptestbpcd: VERBOSE = 0
15:21:16.631 [18284572] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:16.671 [18284572] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:16.688 [18284572] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:16.703 [18284572] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:16.705 [18284572] <2> vnet_pbxConnect: pbxConnectEx Succeeded
15:21:16.706 [18284572] <2> logconnections: BPCD CONNECT FROM 10.50.29.16.35157 TO 10.50.22.84.1556 fd = 4
15:21:16.710 [18284572] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:16.719 [18284572] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:16.721 [18284572] <2> vnet_pbxConnect: pbxConnectEx Succeeded
15:21:16.763 [18284572] <8> do_pbx_service: [vnet_connect.c:2186] via PBX VNETD CONNECT FROM 10.50.29.16.35161 TO 10.50.22.84.1556 fd = 5
15:21:16.764 [18284572] <8> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:455] VN_REQUEST_CONNECT_FORWARD_SOCKET 10 0xa
15:21:16.827 [18284572] <8> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:480] ipc_string 47721
15:21:17.068 [18284572] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:17.268 [18284572] <2> bpcr_get_version_rqst: bpcd version: 07600002
1 1 1
10.50.29.16:35157 -> 10.50.22.84:1556
10.50.29.16:35161 -> 10.50.22.84:1556
15:21:17.468 [18284572] <2> bpcr_get_peername_rqst: Server peername length = 11
15:21:17.673 [18284572] <2> bpcr_get_hostname_rqst: Server hostname length = 30
15:21:17.869 [18284572] <2> bpcr_get_clientname_rqst: Server clientname length = 30
15:21:18.069 [18284572] <2> bpcr_get_version_rqst: bpcd version: 07600002
15:21:18.269 [18284572] <2> bpcr_get_platform_rqst: Server platform length = 7
15:21:18.469 [18284572] <2> bpcr_get_version_rqst: bpcd version: 07600002
15:21:18.671 [18284572] <2> bpcr_patch_version_rqst: theRest == > <
15:21:18.677 [18284572] <2> bpcr_get_version_rqst: bpcd version: 07600002
15:21:18.870 [18284572] <2> bpcr_patch_version_rqst: theRest == > <
15:21:18.870 [18284572] <2> bpcr_get_version_rqst: bpcd version: 07600002
PEER_NAME = 10.50.29.16
HOST_NAME = hpfs9oaom_bkup.hpfd.hpf.gov.hk
CLIENT_NAME = hpfs9oaom_bkup.hpfd.hpf.gov.hk
VERSION = 0x07600002
PLATFORM = win_x64
PATCH_VERSION = 7.6.0.3
SERVER_PATCH_VERSION = 7.6.0.3
MASTER_SERVER = cl227phq.hpf.gov.hk
EMM_SERVER = cl227phq.hpf.gov.hk
NB_MACHINE_TYPE = CLIENT
15:21:19.071 [18284572] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:19.072 [18284572] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:19.074 [18284572] <2> vnet_pbxConnect: pbxConnectEx Succeeded
15:21:19.115 [18284572] <8> do_pbx_service: [vnet_connect.c:2186] via PBX VNETD CONNECT FROM 10.50.29.16.35220 TO 10.50.22.84.1556 fd = 6
15:21:19.115 [18284572] <8> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:455] VN_REQUEST_CONNECT_FORWARD_SOCKET 10 0xa
15:21:19.166 [18284572] <8> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:480] ipc_string 47723
10.50.29.16:35220 -> 10.50.22.84:1556
<2>bptestbpcd: EXIT status = 0
15:21:19.398 [18284572] <2> bptestbpcd: EXIT status = 0

ux227phq[rwkwu]:/usr/openv/netbackup/bin/admincmd>sudo ./bptestbpcd -verbose -client hpfs9oaom_bkup.hpfd -debug
15:21:47.788 [15794176] <2> bptestbpcd: VERBOSE = 0
15:21:47.788 [15794176] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:47.816 [15794176] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:47.826 [15794176] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:21:47.841 [15794176] <2> copy_preferred_network_list: ../../libvlibs/nbconf.c.1813: pseudo PN for : ux386phq
15:23:02.851 [15794176] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 78 0x4e
15:23:14.857 [15794176] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 78 0x4e
15:23:26.857 [15794176] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 78 0x4e
15:23:48.857 [15794176] <8> async_connect: [vnet_connect.c:1244] ran out of time before connect 121 0x79
15:23:48.858 [15794176] <8> async_connect: [vnet_connect.c:1244] ran out of time before connect 121 0x79
15:23:48.858 [15794176] <8> async_connect: [vnet_connect.c:1244] ran out of time before connect 121 0x79
15:23:48.858 [15794176] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED status: FAILED, (44) CONNECT_TIMEOUT; system: (55) A connect operation on a socket is not complete.; FROM 10.50.29.16 TO hpfs9oaom_bkup.hpfd 192.168.32.137 bpcd VIA pbx status: FAILED, (44) CONNECT_TIMEOUT; system: (55) A connect operation on a socket is not complete.; FROM 10.50.29.16 TO hpfs9oaom_bkup.hpfd 192.168.32.137 bpcd VIA vnetd status: FAILED, (44) CONNECT_TIMEOUT; system: (55) A connect operation on a socket is not complete.; FROM 10.50.29.16 TO hpfs9oaom_bkup.hpfd 192.168.32.137 bpcd
15:23:48.858 [15794176] <8> vnet_connect_to_bpcd: [vnet_connect.c:305] connect_to_service() failed 18 0x12
15:23:48.858 [15794176] <16> local_bpcr_connect: vnet_connect_to_bpcd(hpfs9oaom_bkup.hpfd) failed: 18
15:23:48.858 [15794176] <2> local_bpcr_connect: Can't connect to client hpfs9oaom_bkup.hpfd
15:23:48.858 [15794176] <2> ConnectToBPCD: bpcd_connect_and_verify(hpfs9oaom_bkup.hpfd, hpfs9oaom_bkup.hpfd) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(hpfs9oaom_bkup.hpfd) failed: 25
15:23:48.858 [15794176] <16> bptestbpcd main: Function ConnectToBPCD(hpfs9oaom_bkup.hpfd) failed: 25
<16>bptestbpcd main: cannot connect on socket
15:23:48.879 [15794176] <16> bptestbpcd main: cannot connect on socket
<2>bptestbpcd: cannot connect on socket
15:23:48.879 [15794176] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
15:23:48.879 [15794176] <2> bptestbpcd: EXIT status = 25
cannot connect on socket

How can I solve this problem. Thanks.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Can you telnet on any of the NBU ports to this client?
Attempts to connect to pbx, vnetd, bpcd all failed with status 25: 
cannot connect on socket

Try :
telnet hpfs9oaom_bkup.hpfd 1556
telnet hpfs9oaom_bkup.hpfd 13724
telnet hpfs9oaom_bkup.hpfd 13782


No firewall and all ports can telnet.

If seem not relate to firewall problem.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Do you have bpcd log on the windows client?

Please check this log after failed bptestbpcd attempt.
Clear NBU host cache before you try again.

If telnet works, there is really no reason why bptestbpcd should fail - the 2 commands do the same thing. 

Hi Marianne,

I have the solution to solve this problem, I had modified the /etc/hosts file to make the DNS as the below follow.

10.50.22.84  hpfs9oaom.hpfd.hpf.gov.hk  hpfs9oaom.hpfd hpfs9aom_bkup.hpfd.hpf.gov.hk

ux227phq[root]:/usr/openv/netbackup/bin/admincmd>ping hpfs9oaom_bkup.hpfd.hpf.gov.hk
PING hpfs9oaom.hpfd.hpf.gov.hk: (10.50.22.84): 56 data bytes
64 bytes from 10.50.22.84: icmp_seq=0 ttl=125 time=0 ms
64 bytes from 10.50.22.84: icmp_seq=1 ttl=125 time=0 ms
64 bytes from 10.50.22.84: icmp_seq=2 ttl=125 time=0 ms
64 bytes from 10.50.22.84: icmp_seq=3 ttl=125 time=0 ms

--- hpfs9oaom.hpfd.hpf.gov.hk ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms

If I add this entry in master server to treat the master server this ip address can contact hpfs9oaom backup lan, then the client (hpfs9oaom_bkup.hpfd.hpf.gov.hk) can add into the policy, and the backup is successfully complete but I want to directly connect the backup lan, then what's wrong of my setting?

Fixed the problem.

Used with any_cluster_interface = 1.

Thanks! a lot!