DX NetOps

 View Only
  • 1.  Update device hostname on CAPC

    Posted Sep 19, 2019 03:29 PM
    The device nou-nsr-rt01 had its name changed to NCNOU1WANXRT001, but CAPC did not update the Name/Host Name. How to force CAPC to use the new name?

    I already tried a re-polling, rediscovery, stop/start polling, but it doesn't work.

    device_name

    #capc #capcspectrumdeviceintegrationsynchronization #spectrum->capcdiscovery
    ​​​

    ------------------------------
    Heitor Cortat
    Tools Analyst
    TCS Brazil
    ------------------------------


  • 2.  RE: Update device hostname on CAPC

    Posted Sep 20, 2019 09:34 AM
    Hi,

    Try discovering again the device, Using discovery profiles.

    "re-pollingrediscoverystop/start polling" buttons on device page are useless.

    BR,
    Pedro Lourenço


  • 3.  RE: Update device hostname on CAPC

    Posted Sep 20, 2019 10:27 AM
    I inserted an entry in /etc/hosts file to force it to use the correct name and apparently it worked, but it would be interesting to have a hostname update method according to sysname via snmp.


    ------------------------------
    Heitor Cortat
    Tools Analyst
    TCS Brazil
    ------------------------------



  • 4.  RE: Update device hostname on CAPC

    Posted Nov 18, 2019 03:07 AM
    Edited by KAPIL YADAV Nov 18, 2019 03:07 AM
    Try discovering again the device, Using discovery profiles. ( Please ensure in Advanced tab, system name is first priority).  

    "re-pollingrediscoverystop/start polling" buttons on device page are useful too.


  • 5.  RE: Update device hostname on CAPC
    Best Answer

    Broadcom Employee
    Posted Nov 19, 2019 10:35 AM
    Heitor,

    It all comes down to the naming order used to discover this device in its Discovery Profile.  By default a discovery profile will use Hostname first:


    With things set this way, for CAPM to detect the name change the device's DNS entry would need to be updated or as you found out, an entry in the hosts file to act as an override to DNS.

    Regards,
    Troy



  • 6.  RE: Update device hostname on CAPC

    Posted Nov 25, 2019 06:37 AM
    it works very well!

    Thank you very much, Troy!

    ------------------------------
    Heitor Cortat
    Tools Analyst
    TCS Brazil
    ------------------------------