Automatically Updating Sensor Code

Finally, we have to implement a mechanism in the agent application that allows us to update any of the sensors from a central location. When you're in charge of thousands of servers, the last thing you want to do is manually copy, unpack, replace, and validate the package you're updating on each of those servers. So one of the functions that we are going to add to our agent code is to retrieve a package automatically (in this example it will be just a compressed TAR archive) and deploy it on top of the existing one. So when needed we can replace the package with the newer one on the master server and then instruct all agents to retrieve it and update accordingly.

Was this article helpful?

0 0

Post a comment