DX Unified Infrastructure Management

  • 1.  Adding servers to a maintenace schedule using hostname only?

    Posted Jan 18, 2017 09:07 AM

    we have a requirement to automatically add and remove servers from a maintenance schedule while releases are being performed on the servers.

     

    we know we can use the rest API but as the hub name changes between robots this is a bit awkward for the release system to handle. has anyone come up with a method of being able to add servers to maintenance schedules using only the hostname of the device?

     

    we would create a schedule just for the releases to use so they wouldnt have to create the schedule just add and remove the devices from it.



  • 2.  Re: Adding servers to a maintenace schedule using hostname only?

    Broadcom Employee
    Posted Jan 18, 2017 11:04 AM

    Does not look like this is possible with the current REST API.

    This would be difficult as well as many clients have robots with the same hostname / robot name that are under different hubs.

    By just using the hostname or IP this would not be enough to ensure that the correct unique system was added.

     

    I would suggest opening an ER on the idea wall so product management can consider adding something along these lines for you in a future release.



  • 3.  Re: Adding servers to a maintenace schedule using hostname only?

    Posted Jan 18, 2017 01:18 PM

    Just added a Perl tool that can add servers via name into maintenance. Comments are new ideas are welcome.



  • 4.  Re: Adding servers to a maintenace schedule using hostname only?

    Posted Jan 19, 2017 11:32 AM

    Hi Luc,

     

    Could you please provide some more details on this Perl tool and where we can get it, is this added in new version i.e 8.5 or we can have it with older versions of UIM. Thanks in advance.

     

    Regards

    Hitesh Sehgal



  • 5.  Re: Adding servers to a maintenace schedule using hostname only?

    Posted Jan 19, 2017 10:35 PM

    See: Maintenance Mode via command line 2.6 (rest api) 

    As log as the rest probe is installed this should work.