Installing Plumbr Server
On Premises Plumbr installation consists of two artifacts:
- Plumbr Agent(s) gathering data from within the JVM(s) and sending collected data to Plumbr Server
- Plumbr Server, responsible for collecting data from Agents and processing the data.
Notice that installing Plumbr Server is only necessary when your company policy restricts sending data from your JVMs to external SaaS services. Installing Plumbr Server on your premises is a way to ensure that no information leaves your network perimeter. In case your company policy does allow using external SaaS services, we recommend to install only the Plumbr Agent and connect to our SaaS server instead.
Plumbr Server embeds several different infrastructure elements (Kafka, Druid, Jetty, MySQL, etc). To simplify the installation & update of the infrastructure we have built the Server installation on top of Docker containers. Installing the containers is done via a single Docker Compose file.
So, installing the Plumbr Server consists of preparing the environment to run Docker containers and launching Docker Compose project supplied by Plumbr.
In default installation mode all components of the Plumbr Server are running on the same physical or virtual server. This server has to satisfy the following hardware requirements:
- CPU. Plumbr Server can run on any modern server class machine. Performance comparable to Amazon EC2 M4.xlarge instance would be adequate.
- Memory. Plumbr Server requires a machine with 16G of RAM.
- Disk storage. Depends on the number of monitored JVMs and their activity. The more traffic for Plumbr to monitor the more storage will be needed. On moderately active JVM up to 16GB per JVM per month or, taking into account the 90-day data retention, around 50GB per JVM per year.
Also, please make sure Plumbr Server is deployed into a dedicated machine. Do not install Plumbr Server to any workstations/laptops or next to any other machines deployed on the same (virtual) machine.
Plumbr Server has no special software requirements apart from the ability to run Docker and Docker Compose. Please consult their respective documentation for further information: https://docs.docker.com/engine/installation/ and https://docs.docker.com/compose/install/. You will need at least Docker version 1.12 and Docker Compose version 1.10. The most tested and recommended OS is Ubuntu Linux 16.04.
To install Plumbr Server you will download and run several Docker images using the supplied Docker Compose file. Please follow these steps:
- Get root access to a Linux machine corresponding to system requirements above
- Install Docker and Docker Compose, using the installation guides on Docker site:
- Download Plumbr Server distribution zip file from the Plumbr Download Center
- Unzip received plumbr-server.zip file in the machine Plumbr Server is going to be installed.
- You should now have the following directory structure:
- Change the active directory into “plumbr-server” folder. We will refer to this folder as PLUMBR_SERVER_HOME for the rest of this document.
- Launch the Docker Compose project by executing the following command:
- docker-compose up -d
- This will download the required versions of all Docker images for various parts of the Plumbr Server and then will launch the corresponding Docker containers. The first run can take around 10 minutes to have all components up and running. During this time, the Plumbr Server might already be accessible, but not functioning correctly.
- The process is finished when
- Plumbr Server is now fully functional. You can now proceed in installing the Agents to JVMs you wish to monitor and making sure the Agents are connecting to the Server you just installed (specified in plumbr.properties file next to the Agent).
Description of Plumbr Server constituents
Plumbr Server installation consists of the following Docker containers, each being described in the subsequent sections:
- MySQL database container
- Storage container
- Probe Data Receiver container
- Plumbr Portal container
Plumbr Server uses MySQL database to store reference data, such as user information, alert policies and individual root causes detected in your applications.
Plumbr Server uses Apache Kafka to store probe data that Plumbr Agents monitoring your JVMs collect and send to the Server. The same Kafka instance is used for various inter-process communication between Plumbr Server parts.
Inside the same Docker container runs the Druid data store to aggregate time-series information to present to you in Plumbr Portal.
This component receives monitoring data sent by Plumbr Agents and stores them into Kafka
This is a web application that you will use the most to browse the data from all monitored JVMs and to see the details of the unhealthy transactions detected by Plumbr Agents.
If you have any problems running Plumbr Server or any of its component then please consult the following log files:
- Kafka: $PLUMBR_SERVER_HOME/data/kafka/logs/server.log
- Druid: $PLUMBR_SERVER_HOME/data/druid/sv/*.log
- Data Receiver: $PLUMBR_SERVER_HOME/data/pdr/pdr.log
- Plumbr Portal: $PLUMBR_SERVER_HOME/data/plumbr/logs/plumbr-server.log