Install EM13c agent and add targets using the Linux command line only

A few days ago, I was asked to find a way to automate the addition of newly created Linux virtual machines and databases in our EM13c console. Of course, no action should be performed via the EM web interface!

For the first part (installing the EM13c agent on newly created virtual machines), it’s quite simple, because Oracle gives you many methods (for example, “agent pull” method), in order to carry out this task. But the second part seemed more delicate according to the documentation and my constraints: everything must be done on the virtual machine. I am not allowed to connect to the EM server using SSH.

Fortunately, there is a simple solution that only requires a few extra lines in your shell script!

Continue reading “Install EM13c agent and add targets using the Linux command line only”

Elasticsearch: useful commands for DBAs

As a production DBA, you can fall into a situation where you have to act on an environment you do not know.

It can be very difficult to understand how the architecture was designed, but if you know the right commands, you can get a quick overview and all the information you need to start working.

Today, I’m going to give you these basic commands that will help you understand how an Elasticsearch installation was performed on an RHEL system.

Continue reading “Elasticsearch: useful commands for DBAs”