AppDynamics for Databases

2.9.x Documentation

On this page:

Start up on Windows

Once installation is complete, the Main Menu automatically loads in the default browser.

Alternatively, on the machine where you installed AppDynamics for Databases, browse to

http://localhost:portNumber

where "portNumber" is the port number specified during installation for use by AppDynamics for Databases.

You can also connect to the AppDynamics for Databases GUI from another networked machine (internet or intranet) by browsing to

http://serverName:portNumber

where "serverName" is the hostname or IP address of the machine on which AppDynamics for Databases is installed and "portNumber" is the port number specified during installation for use by AppDynamics for Databases. The default port is 8090.

Initially, there are no collectors reporting. Next you must add the license and collectors .

When AppDynamics for Databases starts initially, in the Windows Services (Control Panel -> Sevices), you will see new entries, DBTuna GUI ad DBTuna_DB.  Once you have added collectors, you will see an additional service for each collector, DBTuna Agent - "CollectorName".

Automating Startup on a Windows Machine 

When AppDynamics for Databases starts initially, in Windows -> Control Panel -> Services, you will see new entries, DBTuna GUI ad DBTuna_DB.  Once you have added collectors, you will see an additional service for each collector, DBTuna Agent - "CollectorName". Ensure the Startup Type column for each service is set to Automatic. 

Start up on Linux

  1. Run the ./start.sh script from the directory where you extracted the AppDynamics for Databases installation package (also referred to as:<AppD4DB install directory>).
  2. Then open a URL to:
http://serverName:portNumber

where "serverName" is the hostname or IP address of the server running AppDynamics for Databases and "portNumber" is the port number specified in the  /apache-tomcat/conf/server.xml configuration file for use by AppDynamics for Databases. The default port is 8090.

The Main Menu opens. Initially, there are no collectors reporting. Next you must add the license and collectors.

Automating Startup on a Linux Machine 

When AppDynamics for Databases starts initially, in the processes list (cmdshell: ps), you will see new entries, DBTuna GUI ad DBTuna_DB.  Once you have added collectors, you will see an additional service for each collector, DBTuna Agent - "CollectorName".

The start.sh script only starts the AppDynamics for Databases controller, that is the Tomcat GUI and the MySQL repository.

To automatically start the collectors you need to include in the startup script an additional call for each collector.

For example,

<AppD4DB install directory>/agent/start<DBType>Agent.sh <CollectorName>

Where
    " DBType" is the database type, such as  ORACLE and MYSQL
and
     "CollectorName" = the name you gave the collector on the AppDynamics for Databases Setup window.

For example, if you had a MySQL collector called prod-mysql and an Oracle collector called dev-oracle you could create a startAllCollectors.sh script in the agent directory which included the following lines:

 

startAllCollectors.sh
./startMYSQLAgent.sh prod-mysql
./startORACLEAgent.sh dev-oracle

You can the call the startAllCollectors.sh script and the AppDynamics for Databases start.sh script from another script to starts all the AppDynamic for Databases processes.

 

  • No labels

1 Comment

  1. Unknown User (davec@pebblepad.co.uk)

    It's worth noting that collectors running on Linux cannot currently monitor a Windows operating system (i.e. the server infrastructure).