HPOMI 10.63: Instrumentation Cleanup from Nodes
We are working on Instrumentation Cleanup in HPOMi 10.63 environment. We have cleaned all the custom instrumentations from the Omi side. Now we are willing to remove the instrumentation deployed on the Omi nodes before deploying new instrumentation.
We are aware that we can do the OMI Agent cleanup using opr-agt cmmand line using -deploy -clean options. But this method will take long time as we have 12000+ servers in the environment. We can perform the deployment in batches of say 2000 servers but it will take time.
Please suggest do we have any other way which may be time saving considering the huge count of servers in the environment.
I suppose it could be much easer and faster just to delete instrumentation folder content. YOu can do it remotely from OMi server using "ovdeploy" commnd.
my 2 cents
Thanks for reply.
It is not a wise idea as it could cause instability in the omi environment because of below reasons:
- It's not a good practice.
- Deletion of instrumentation will throw a huge number of script missing alerts for the measurement threshold policies which references to the scripts in the instrumentation.
- Instrumentation deployment may went into failures for multiple nodes due to many reasons. So this might impact the monitoring of nodes.
- Till the time new instrumentation is not successfully deployed, the server might face the problem of being alsmost out of monitoring as multiple policies (MT policies) utilizing the script in instrumentation will not work.
So, using the opr-agt command line reference with -deploy and -clean options will clean and redeploy both policies and instrumentation.
My question is "how to reduce the time for instrumentation cleanup as we have 12,000+ nodes in the environment".