05-17-2012 06:30 AM
Hi
I am trying to change the IP of the NBU master/media server (RHEL 5.5) from one VLAN to another. Though this shouldnot create any problems, for me the NBU doesnot come up after IP change. When I revert back the changes NBU works fine. With a new IP I could see the following error in /var/log/messages
vmd: gethostbyname failed
unable to contact bpdbm
Kindly help...
05-17-2012 06:37 AM
gethostbyname failure suggests you have a hostname lookup issue at an OS / networking level.
Check /etc/hosts or DNS is correct and the old entry for the IP no longer reference the Master.
When all looks good make the change to the new IP
Try this once you make the change:: bpclntcmd -clear_host_cache
05-17-2012 06:42 AM
Where did you change the IP address? Did you reboot the server after making the change?
Double-check /etc/hosts on master.
Before starting NBU, do 'ping master-hostname' from cmd on the master.
05-17-2012 06:48 AM
From the commands guide (NetBackup Commands Reference Guide http://www.symantec.com/docs/DOC3684) :
NetBackup caches host name/IP address mappings to minimize DNS lookups.
Each NetBackup process typically has its own in-memory cache and all the
processes also share a cache stored on the file system. This option removes
all the entries in the shared cache on the file system.
If host names/IP addresses have recently been updated on DNS or other host
lookup services, the NetBackup caches may be out of sync for up to an hour.
To ensure that NetBackup is in sync with host name changes, you can do the
following: Stop NetBackup, run bpclntcmd -clear_host_cache, then restart
NetBackup.