cancel
Showing results for 
Search instead for 
Did you mean: 

master server is through DNS or host file entry

NIKHIL234656595
Level 6

Hi,

 

How to check whether master server is through DNS or /etc/host/file.

Any command

 

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

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.

View solution in original post

5 REPLIES 5

Marianne
Level 6
Partner    VIP    Accredited Certified

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.

NIKHIL234656595
Level 6

you need to verify at OS level which method is used for comms.

 

How we can verify that?

Mark_Solutions
Level 6
Partner Accredited Certified

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

NIKHIL234656595
Level 6

so in short,how can i check on my master server that what type is there?through DNS or /etc/host file

Marianne
Level 6
Partner    VIP    Accredited Certified

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.