• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Anton G. · Apr 15, 2014 at 10:46 PM ·

Linux Installation Package instead of .jar file

Good day

Is it possible to get a proper Linux Installation file (deb or rpm) for Linux installations, instead of the .jar file?  I did not see this as part of the Downloads sessions.  This will make automated installations in large environments easier.

Thanks

Anton

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

8 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Manish G. · Sep 21, 2014 at 09:45 AM

Hi Guenter,

We are trying to install the Dynatrace Host Agents on the Linux servers. We have installed the Host Agent on the Database Server, started the dthostagent service, made updates in the .ini file after creating the Tier in the System Profile. Still it is not getting detected in the Dynatrace client. Very Frustrating, as we have restarted the services multiple time and no response. Do you have any link which could help or a generalized installation document, that you would mind sharing. I will appreciate any help provided.

Thanks

Manish

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Reinhard W. · Sep 21, 2014 at 06:49 PM 0
Share

What does the agent.log of the hostagent say? Usually this has enough information if it can connect to the dynatrace collector/server or if the mapping worked.

 

Reinhard

avatar image

Answer by Guenter H. · Apr 17, 2014 at 09:49 PM

I just integrated this in the documentation.

Glad you asked.
G.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Anton G. · Apr 17, 2014 at 07:52 PM

Great, thanks for the feedback!

The install seem to work fine with the automatic installation tool as described by Guenter.

Our model at the moment is that even if a Java/Webserver agent is installed, we install a Host Agent pointing to a different dynaTrace Server/Collector anyway.  If the Java app crashes, we still have visibility of the machine/OS.  This seem to work well.

Thanks again.

Anton

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Guenter H. · Apr 17, 2014 at 07:03 PM

Hi again,
hope this already works for you?

#extract dthostagent and libdtagentcore.so from agent/lib64/ in the jar
#extract init.d/dynaTraceHostagent from the jar

#mimic Agent directory structure on the host
mkdir dynatrace-agent-5.6.0
mkdir dynatrace-agent-5.6.0/agent
mkdir dynatrace-agent-5.6.0/agent/lib64
mkdir dynatrace-agent-5.6.0/agent/conf

#copy dthostagent and libdtagentcore.so to agent/lib64/
#write a basic dthostagent.ini (see below) to agent/conf
#copy dynaTraceHostagent shell script to /etc/init.d
#be sure the Name specified in dthostagent.ini is mapped in some tier
#try the Agent before you add it to boot
#/etc/init.d/dynaTraceHostagent start
chkconfig add dynaTraceHostagent

dthostagent.ini

Name host
Server CollectorToConnectTo

Hopefully the hosts have some talking Name so you can distinguish them by the Agent name.

Did you make sure that the Host Agent has permissions to write to its own directory – so that the bootstrapper can download new versions from the Collector?

One other important thing / quote from the documentation:
Only use the Host Agent to monitor a machine where no other Agent runs, because if there is any other Agent running it can / will take over the Host Agent role.

I think I will add this bulk installation thing to the regular documentation as I heard of several customers with this and larger sizes.

Thanks for asking! Have fun!
G.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Anton G. · Apr 17, 2014 at 07:17 AM

Cool.  I'll try it.

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Roman S. · Apr 17, 2014 at 06:19 PM 0
Share

Hi Anton,

In general most of our customers wrap the installation into a customer script anyways. You can just tar/gzip the folder on one machine and make that the first step of your script.

After all the installation alone is not enough to roll out an agent - you will still need to modify the dtwsagent.ini or dthostagent.in files with the right collector for that machine.

Best, Roman

avatar image

Answer by Guenter H. · Apr 17, 2014 at 12:10 AM

Hi Anton,
I can´t verify this now as I´m on the commute, but to try a solution NOW:

I think you can easily roll your own by extracting the Host Agent from the jar and run a shell script to deploy it to the hosts and chkconfig add the daemon to boot.
Sounds reasonable?
G.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Anton G. · Apr 16, 2014 at 10:17 AM

Hi Guenter

I understand the complications you are describing. Mostly it is only for Agents.  The Server and Collectors we do manually.  We are rolling the Host Agent out to about 1000 Linux servers, so a Package will make automatic roll-out of any of the agents easier.

Thanks

Anton

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Guenter H. · Apr 16, 2014 at 01:48 AM

Hi Anton,
there are tared shell scripts for Apache and PHP Agents (see e.g. Apache Web Server Agent Configuration#AgentInjectionCopy/PasteExamplesLinux/UNIX), because there might be no Java on the machine where these items are installed.

For all Agent jar installers an ancient Java 1.4 is sufficient. This should be available?!

For the one or two dynaTrace Servers Java 1.6 should hopefully not be a problem?!

How about the Collectors? Are the boxes without Java 1.6 or later? Is that the problem?
You could extract the private Java 1.7 form the dynaTrace installer jar and use this for installation!

Please mind that we already got a considerable number of installers (we tried to be thoughtful!) for different OSes and bitnesses, full and / or Server-, Collector- and Client-only, half a dozen Agents or so, ADKs,... Adding variants complicates documentation and might confuse people more than it helps.

What component do you have specifically in mind?
Thanks
G.

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A