02-06-2012 03:41 AM
Hi,
How to check whether master server is through DNS or /etc/host/file.
Any command
Solved! Go to Solution.
02-06-2012 05:35 AM
Have you seen the following in my post above?
Depending on the OS, there might be a file called /etc/nsswitch.conf
Check in this files for 'hosts' entry. An entry like:
hosts: files dns
will 1st check local /etc/hosts file, then DNS.
02-06-2012 04:01 AM
NetBackup will use whatever the OS uses.
Depending on the OS, there might be a file called /etc/nsswitch.conf
Check in this files for 'hosts' entry. An entry like:
hosts files dns
will 1st check local /etc/hosts file, then DNS.
So, to cut a long story short - you need to verify at OS level which method is used for comms.
PS: PLEASE give feedback on your cluster question in your other post.
02-06-2012 05:01 AM
you need to verify at OS level which method is used for comms.
How we can verify that?
02-06-2012 05:06 AM
In general if entries exist in the hosts file the O/S will look there first but NetBackup will look in its own cache before anywhere else
The NetBackup cache gets updated every so often (1 or 2 hours I seem to remember) so if you make any changes you need to flush the NBU cache for them to take effect:
bpclntcmd -clear_host_cache
02-06-2012 05:10 AM
so in short,how can i check on my master server that what type is there?through DNS or /etc/host file
02-06-2012 05:35 AM
Have you seen the following in my post above?
Depending on the OS, there might be a file called /etc/nsswitch.conf
Check in this files for 'hosts' entry. An entry like:
hosts: files dns
will 1st check local /etc/hosts file, then DNS.