DX Unified Infrastructure Management

  • 1.  Procedure to update version of probe in bulk

    Posted Jan 10, 2017 05:21 AM

    Hi all,

     

    I am looking for the best practise and procedure to upgrade the version of probe in my environment.

     

    Kindly suggest me the best practices.

     

    Thanks,

    IK



  • 2.  Re: Procedure to update version of probe in bulk

    Posted Jan 10, 2017 07:55 AM

    LUA is probably the most flexible. Something like this:

     

    toInstall = pds.create()
    pds.putString(toInstall,"job_id","DeployPackage")
    pds.putString(toInstall,"package",DistPackage)
    pds.putString(toInstall,"robot", value.address)
    pds.putInt(toInstall,"update",0)
    pds.putInt(toInstall,"start_at",0)

    a,b = nimbus.request("/Domain/Hub/Robot/distsrv", "job_add",toInstall)
    if b == NIME_OK then
    TimeStamp (" deployment successful")
    else
    TimeStamp (" deployment UNSUCCESSFUL!")
    end
    pds.delete(toInstall)

     

    will submit a deployment job. You can drive the list of places to update either by querying the database or traversing your robots with a combination of get_hubs and get_robots calls.

     

    Or you could create a group in IM, search for the robots that would have the probe, drag the results to the new group, then drag the new probe to the group. I wish you could search for probes and drag the results but you can't.

     

     

    -Garin