DX Unified Infrastructure Management

  • 1.  Deleting multiple dev_src_id entries

    Posted Sep 05, 2017 07:40 AM

    Hi All,

     

    How to find servers with multiple dev_src_id from SQL database ,any query is there ? For single cs_id multiple dev_src_id is created with niscache probe ,need to flush all with single query.Kindly help.



  • 2.  Re: Deleting multiple dev_src_id entries

    Broadcom Employee
    Posted Sep 06, 2017 07:06 AM

    Hi Issac08

     

    I've used the following query to identify duplicate dev_ids: 

     

    select dev_id from CM_DEVICE

      group by dev_id

      having (count(dev_id)) > 1

     

    You should be able to modify this query using "dev_src_id" to make it work for you. 

     

    Hope this helps. 

     

    Kind regards, 

    Ryan