02 Dec 2019 04:02 PM
Hi, we are installing dynatrace oneagent on our Solarix box. I know it's recommended to always go for Linux as as of now we are far away from moving to Linux so we are going ahead with installation on Solaris.
Can somebody tell me what will be the pros and cons of DT on Solaris so that I will be ready in case some issues occur?
Solved! Go to Solution.
02 Dec 2019 05:01 PM
I don't think of it as pros or cons. If Solaris is what you use, then Dynatrace supports it.
Be aware that the installation on Solaris only supports Java, Apache HTTP server and IBM HTTP Server (IHS). Installation of OneAgent for these technologies is manual, unlike other OneAgent supported platforms.
A complete list of what is supported on Solaris can be found in the doc: https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/oneagent-technolog...
OneAgent on Solaris does not collect certain infrastructure metrics such as Network/CPU metrics for all processes.
02 Dec 2019 10:58 PM
@Joseph M. H. Thanks Joseph for the quick response.
Out of this context I have one more query - I am trying to understand how oneagent gets installed and how it works? We only supply the below 2 parameters in startup.sh script and restart the tomcat and out of the blue everything starts working but what i want to understand is how it does it internally like how this magic happens?
What does this library (liboneagentproc.so) do as we supply it into LD_PRELOAD_64 environment variable.
LD_PRELOAD_64=$DT_HOME/agent/lib64/liboneagentproc.so
export LD_PRELOAD_64
03 Dec 2019 07:37 AM
Just keep in mind that very likely the Dynatrace Oneagent for Solaris will not receive any new features such as full-stack monitoring, auto-update, plugins (except JMX which is supported) or log analytics.
Additionally, OneAgent SDK instrumented processes are also supported (SPARC only).
02 Dec 2019 11:48 PM
There's two pieces of the 'magic'.
Piece 1: LD_PRELOAD is a standard UNIX env variable which tells the process loader to load the specified library before it loads the main application being executed. In this case the main application is java runtime. So the OS loads the specified liboneagentproc.so library before it loads Java runtime. This allows OneAgent to have a presence within the process creation event and affect how the process (Java) loads.
Piece 2: Once OneAgent is loaded into the process, it can then get involved in class loading events and thus instrument the necessary java classes as they're loaded into the JVM runtime.
With these two pieces of magic, OneAgent is able to instrument and collect the necessary data, all with the easiest of installations, simply defining LD_PRELOAD.
03 Dec 2019 06:54 PM - last edited on 16 Oct 2023 03:36 PM by random_user
There are for sure Pros and Cons when it comes to Solaris. See this post...