# Dynatrace on Solaris Server

**URL:** <https://community.dynatrace.com/t/dynatrace-on-solaris-server/22660>\
**Category:** Open Q&A\
**Tags:** installation, linux, oneagent\
**Created:** [December 2, 2019, 4:02pm UTC](https://community.dynatrace.com/t/dynatrace-on-solaris-server/22660 "2019-12-02T16:02:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [December 2, 2019, 4:02pm UTC](https://community.dynatrace.com/t/dynatrace-on-solaris-server/22660/1 "2019-12-02T16:02:27Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Joe\_Hoffman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joe_hoffman/32/30752_2.png) [@Joe\_Hoffman](https://community.dynatrace.com/u/Joe_Hoffman)\
**Post date:** [December 2, 2019, 5:01pm UTC](https://community.dynatrace.com/t/dynatrace-on-solaris-server/22660/2 "2019-12-02T17:01:56Z")

</div>

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: [OneAgent platform and capability support matrix — Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/oneagent-technology-support/oneagent-platform-and-capability-support-matrix/)

OneAgent on Solaris does not collect certain infrastructure metrics such as Network/CPU metrics for all processes.

---

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [December 2, 2019, 10:58pm UTC](https://community.dynatrace.com/t/dynatrace-on-solaris-server/22660/3 "2019-12-02T22:58:31Z")

</div>

[@Joseph M. H.](https://answers.dynatrace.com/users/3021/view.html) 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

---

<div class="post-metadata">

**Author:** ![Joe\_Hoffman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joe_hoffman/32/30752_2.png) [@Joe\_Hoffman](https://community.dynatrace.com/u/Joe_Hoffman)\
**Post date:** [December 2, 2019, 11:48pm UTC](https://community.dynatrace.com/t/dynatrace-on-solaris-server/22660/4 "2019-12-02T23:48:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 3, 2019, 7:37am UTC](https://community.dynatrace.com/t/dynatrace-on-solaris-server/22660/5 "2019-12-03T07:37:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![larry\_roberts](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/larry_roberts/32/7131_2.png) [@larry\_roberts](https://community.dynatrace.com/u/larry_roberts)\
**Post date:** [December 3, 2019, 6:54pm UTC](https://community.dynatrace.com/t/dynatrace-on-solaris-server/22660/6 "2019-12-03T18:54:19Z")

</div>

There are for sure Pros and Cons when it comes to Solaris. See this post…

> **[Installing dynatrace on Solaris Box](https://community.dynatrace.com/t5/Open-Q-A/Installing-dynatrace-on-Solaris-Box/m-p/125610)**
>
> Hi, I need to install Dynatrace One agent on one of my Solaris box. I have the parameters ready which i need to include in the startup script of tomcat. What i want to understand is does the position of these parameters in the script file matters? I...
