How to clear NNMi (Network Node Manager)DNS cache.

  • KM00901729
  • 09-May-2014
  • 03-Jun-2021

Summary

This document will explain how to clear the DNS cache from NNMi.

Question

There are some behaviors when  the configuration in the Network changed for any reason and the DNS was updated  but  in the NNMi application   is still reporting the the "OLD DNS"" name this propably may happen if NNMi didn't refresh the cache information for the DNS.

Answer

In order to verify this you can run the following command:

 

Windows

 

 Program Files (x86)\HP\HP BTO Software \support\nnmtwiddle.ovpl  invoke com.hp.nms.dnsejb:mbean=DNSSupport getHostName <addr>

 

Unix:

 

 /opt/OV/support/nnmtwiddle.ovpl  invoke com.hp.nms.dnsejb:mbean=DNSSupport getHostName <addr>

 

If the output is the OLD name NNMi administrators can clear this cache with the follwing command:

 

 

Windows :

 

 Program Files (x86)\HP\HP BTO Software \support\nnmtwiddle.ovpl  invoke com.hp.nms.dnsejb:mbean=DNSSupport clearAllCaches 

 

Unix:

  /opt/OV/support/nnmtwiddle.ovpl  invoke com.hp.nms.dnsejb:mbean=DNSSupport clearAllCaches