04-21-2014 02:04 AM
HI ALL,
I have 3 NIC on my client.
one for prod ,one for backup and one for storage.
when I run ipconfig/all,i have below nic and ip
lon100 10.1.200.36
lon100-bck 10.1.200.37
lon100-stu 10.1.200.40
Now when I run bpclntcmd -pn from client,Which nic's IP will go to master server for query?
http://www.symantec.com/business/support/index?page=content&id=TECH50198
nbu 7.1
solaris
bpclntcmd -pn
When the -pn option is run on a NetBackup host, it initiates an inquiry to the NetBackup master server, and the master server returns information about the requesting client to the requesting host. The information returned is, in effect, how the master server "identifies" the requesting host. The client contacts the first server listed in its servers list, found in the bp.conf file on UNIX/Linux clients (the SERVER= lines) and in the Backup, Archive, and Restore GUI, under File - Specify NetBackup Machines and Policy Type on a Windows client.
Bpclntcmd identifies the server replying to the request (the "expecting response from" line), and then it displays the information returned from that server. The following is an example of the output of the bpclntcmd -pn command:
> bpclntcmd -pn
expecting response from server master_server_01
client_01.domain.com client_01 192.168.0.30 3815
In the above example:
Solved! Go to Solution.
04-23-2014 02:12 AM
NBU on master server contains Client name in policy. The IP address that master and media server knows about will be used to connect to client.
Client will connect back on the interface/IP that is used for this hostname.
In this case - it will probably round-robin.
If there is a database on the client which means that the client will initiate comms to the master server, the 'Configured Client Name' will be used as source.
If this is the -bck name with 2 IP addresses, TCP/IP will choose any IP. This is outside of NBU control.
You may want to read up in Admin Guide II chapter 4 about this topic:
Host name rules
04-21-2014 03:58 AM
Usally it will take the NIC where the default gaetway is configured.
But the qustion can't be answered fully without knowing the subnetmask and IP addresses of the master and client.
Nornally having to IP on the same subnet causes more problems than it solves - consider to disable one of them:
lon100-bck 10.1.200.37
lon100-stu 10.1.200.40
Here are some links about host routing, this will help you understand how traffice travels:
http://www.youtube.com/watch?v=pjX1msE1ccI
http://technet.microsoft.com/en-us/library/cc957855.aspx
04-21-2014 07:37 AM
so which out of these 3 ip will be used ?
04-21-2014 08:36 AM
If you ping the client from the Master which IP responds? It depends on how your environment is set up & we have no visibility into that.
04-21-2014 10:24 AM
Which hostname does the client think is the master server and what IP address does the client think that hostname is at?
Hey, wait... I bet if you actually ran the command on your client you'd get the answer yourself a whole lot faster than hoping we'll be able to use our mind reading powers to guess what your configuration is!
(As always with your threads, I'd love to know if these servers actually exist in the real world or if you're just making up some scenario in the hopes of scoring points during an interview.)
04-21-2014 12:43 PM
NetBackup is like learning to ride a bicycle. One has to jump on and fall over flat a few times before obtaining the perfect balance.
04-21-2014 01:47 PM
Chris - like :)
NIKHIL - go an run the command.
04-21-2014 06:10 PM
C:\Program Files\VERITAS\NetBackup\bin>bpclntcmd -pn
expecting response from server master 1
win12 win12-bck 10.13.197.66 4881
Why this ip??? on client we have 2 ip
C:\Program Files\VERITAS\NetBackup\bin>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : win12
Primary Dns Suffix . . . . . . . : corp.org.com
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection 7:win12-bck
Connection-specific DNS Suffix . : corp.org.com
Description . . . . . . . . . . . : TEAM : Production Load Balancer Network
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.13.197.83
Subnet Mask . . . . . . . . . . . : 255.255.255.192
IP Address. . . . . . . . . . . . : 10.13.197.66
Subnet Mask . . . . . . . . . . . : 255.255.255.192
Default Gateway . . . . . . . . . : 10.13.197.65
04-21-2014 11:23 PM
Did you bind the different IP addresses to hostnames in Client's hosts file?
What does 'bpclntcmd -self' show?
What is the purpose of having multiple IP addresses on the same subnet?
04-22-2014 12:55 AM
different IP addresses to hostnames in Client's hosts file? yes.
multiple IP addresses on the same subnet? for os team.
this is my query.
I have 3 NIC on my client.
one for prod ,one for backup and one for storage.
when I run ipconfig/all,i have below nic and ip
lon100 10.1.200.36
lon100-bck 10.1.200.37
lon100-stu 10.1.200.40
Now when I run bpclntcmd -pn from client,Which nic's IP will go to master server for query?
04-22-2014 01:36 AM
If you answer my questions, I will be able to answer yours.
Again:
Did you bind the different IP addresses to hostnames in Client's hosts file?
(This is how OS and TCP/IP knows which IP address to use for lon100-bck hostname)
What does 'bpclntcmd -self' show?
This will tell us what is NBU 'configured hostname'.
What is the purpose of having multiple IP addresses on the same subnet?
(Basics of TCP/IP....)
04-22-2014 06:03 PM
Did you bind the different IP addresses to hostnames in Client's hosts file?
(This is how OS and TCP/IP knows which IP address to use for lon100-bck hostname)
yes.
What does 'bpclntcmd -self' show?
This will tell us what is NBU 'configured hostname'.
C:\Program Files\VERITAS\NetBackup\bin>bpclntcmd -self
gethostname() returned: win12.corp.org.com
host win12.corp.org.com.au: win12-bck.corp.org.com.com.au at
10.13.197.66 (0x42c50d0a)
host win12.corp.org.com: win12-bck.corp.org.com.com.au at
10.13.197.83 (0x53c50d0a)
aliases:
What is the purpose of having multiple IP addresses on the same subnet?
(Basics of TCP/IP....
OS team has did this.NIC TEAMING is not enabled.host configure with two NIC card without teaming.. It is a requirement.
04-23-2014 01:20 AM
I'm starting to wonder what made you start this discussion in the first place.
Can I guess?
Backups are failing, right? Probably intermittently?
Seems each IP address is NOT bound to different hostname in Client's hosts file.
We see 2 IP addresses for the same hostname:
win12-bck.corp.org.com.com.au at 10.13.197.66
win12-bck.corp.org.com.com.au at 10.13.197.83
Which IP address does master and media server know about?
Problem with 2 IP addresses for the same hostname is that TCP/IP does not know which IP/NIC should be used for comms when hostname win12-bck.... is used and will probably round-robin, causing intermittent failures.
Your OS/networking team should understand this.
04-23-2014 01:51 AM
thanks Marianne.
My initial query was what ip client will use.i mean which ip.If i have prod ip and backup ip.then?
04-23-2014 02:12 AM
NBU on master server contains Client name in policy. The IP address that master and media server knows about will be used to connect to client.
Client will connect back on the interface/IP that is used for this hostname.
In this case - it will probably round-robin.
If there is a database on the client which means that the client will initiate comms to the master server, the 'Configured Client Name' will be used as source.
If this is the -bck name with 2 IP addresses, TCP/IP will choose any IP. This is outside of NBU control.
You may want to read up in Admin Guide II chapter 4 about this topic:
Host name rules
04-23-2014 02:24 AM
Seems a good time to use preferred network perhaps ??
http://www.symantec.com/docs/HOWTO60779
04-23-2014 03:10 AM
Hello,
in general, if your client has 2 ip address ( Prod and Admin for example) i think, generally admin ip must be used. It permit to avoid overload you prod interface ( if you have a web server, database or others).
Regarding your first ticket and like say all people bellow, hostname must be unique and the same on all hosts ( client and server). Using DNS made it easy.
So If your client has the following configuration :
lon100 10.1.200.36
lon100-bck 10.1.200.37
lon100-stu 10.1.200.40
On client you have to set a route to use the good interface :
route add -p 10.1.200.37 mask 255.255.255.255 IF X
your backup serveur must answer with his name :
ping ion100-bck ( if not correct your local host file in c:\windows\system32\drivers\etc\hosts
=> 10.1.200.37
Your Master server
ping ion100-bck => 10.1.200.37.
If not correct your host file
The following actions can help you to solve resolution problem :
bpclntcmd -clear_host_cache => clear the cache of Netbackup
Restart Netbackup services ? ;)
04-23-2014 05:33 PM
thanks Marianne:
If there is a database on the client which means that the client will initiate comms to the master server, the 'Configured Client Name' will be used as source.
Configured Client Name' :ON master server??
04-23-2014 10:45 PM
No.
Configured Client name is CLIENT_NAME entry in bp.conf on Unix/Linux servers and clients and Client_Name entry in the registry on Windows servers and clients (can also be seen in Host Properties of each client and server).