1 Reply Latest reply on Sep 7, 2017 1:15 PM by tdanner

    Preventing SW agent for Linux from creating duplicate entry ( P.S: SW Automation for CI/CD)

    mandadishyam09

      Hi All,

       

      We are trying to automate automatic deployment of Linux servers. Our challenge is that as soon as we install the SW agent on a node it registers into SW. When a vm is destroyed and later re-provisioned with same ip and cname, a duplicate is created within SW. We would like prevent the SW Linux agent from creating a duplicate. Is there any way to automatically kill a registered node whenever that particular node destroyed. Also, we would like to automate adding custom properties from SW end without any human intervention using a script or calling an API or etc. Probably I am looking for a script that I can run against the SW API that will delete a node. I will take responsibility for running the script prior to decommissioning the device. I would welcome a script or some pointers in perl.

       

      Thanks in advance.

       

       

      Thanks & Regards,

      Shyam.