UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Lieutenant
Lieutenant
272 views

HPOMI 10.63: Instrumentation Cleanup from Nodes

Hi Experts,

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.

BR,Ronit

Labels (1)
0 Likes
2 Replies

Hi, Ronit

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
Gedas

0 Likes
Lieutenant
Lieutenant

Hi Gedas,

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".

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.