Skip to main content

Imply Enterprise overview

The following considerations apply to self-hosted, Imply Enterprise (formerly Imply Private) deployments.

As described in Deployment planning, Imply Enterprise is an alternative deployment approach to Imply Hybrid (formerly Imply Cloud). It lets you maintain private control of the entire Imply deployment, including the Imply Manager.

Imply Enterprise provides distributions designed for easy installation and operation over Kubernetes, along with a binary distribution tar archive.

Deployment times may vary based upon your chosen installation method, but set aside four hours to complete your deployment.

This topic provides general information regarding Imply Enterprise deployments. For more specific information, see these topics:

If you are exploring Imply in general, especially Imply Enterprise on Kubernetes, a good place to start is Imply Enterprise on Minikube.

Open firewall ports

If you're using a firewall or some other system that only allows traffic on specific ports, allow inbound connections on the following:

Master Server

  • 1527: Derby. Omit if you use a separate metadata store like MySQL or PostgreSQL.
  • 2181: ZooKeeper. Omit if you use a separate ZooKeeper cluster.
  • 8081: Druid Coordinator
  • 8090: Druid Overlord

Query Server

  • 8082: Druid Broker
  • 8888: Druid Router
  • 9095: Pivot/Clarity

Data Server

  • 8083: Druid Historical
  • 8091: Druid Middle Manager
  • 81008199: Druid Task JVMs, spawned by Middle Managers

Imply Manager and Agent ports

The following ports are reserved for Imply Manager and Agent operations:

  • 9097: Manager UI
  • 9994: Agent Log Viewer
  • 9997: Agent
  • 9998, 9999: Manager Agent Coordination

Production setup

In its out-of-the-box configuration, Imply is not intended to be exposed to untrusted users or to an untrusted network, such as the Internet. It is possible to expose Pivot in a limited fashion with a secure, custom configuration. However, Druid or its APIs should never be exposed in this manner. For details on configuring Pivot for secure access on untrusted networks, contact your Imply representative.

Note that for Imply Enterprise on Kubernetes, the Helm chart provides many of the following as default settings. For the easiest installation, we recommend using a Helm chart-assisted installation.

High availability

Achieving scalability and fault tolerance for Master and Query servers requires some additional configuration steps.

For the Master server, which runs Derby (metadata storage), ZooKeeper, and the Druid Coordinator and Overlord:

  • For highly-available ZooKeeper, you will need a cluster of 3 or 5 ZooKeeper nodes. We recommend either installing ZooKeeper on its own hardware, or running 3 or 5 Master servers and configuring ZooKeeper on them appropriately. See the ZooKeeper admin guide for more details.
  • For highly-available metadata storage we recommend PostgreSQL or MySQL with replication and failover enabled. Sample, commented-out Druid configurations for both are included in common.runtime.properties in Imply's distribution of Apache Druid®.
  • Configuring highly-available Druid Coordinators and Overlords is simple: just start up multiple servers. If they are all configured to use the same ZooKeeper cluster and metadata storage, then they will automatically failover between each other as necessary. Only one will be active at a time, but inactive servers will redirect to the currently active server.

For the Query server:

  • Druid Brokers and Routers can be scaled out and all running servers will be active and queryable. We recommend placing Routers behind a load balancer and using them as a unified query and API endpoint.
  • Pivot should be configured to use a database for settings before scaling out. Once you have set up a highly available metadata storage for Druid, you can configure Pivot to use the same server. Refer to the commented-out "Database-backed settings" section of Pivot's config.yaml for sample configurations. Once this is done, all running servers will be active and queryable. We recommend placing them behind a load balancer.

Data servers can be scaled out without any additional configuration.

Geographically distributed deployment

Deployments across geographically distributed datacenters typically involve independent active clusters. For example, for a deployment across two datacenters, you can set up a separate Imply cluster in each datacenter. To ensure that each cluster loads the same data, there are two possible approaches:

  1. Have each cluster load data from the same source (HDFS cluster, S3 bucket, Kafka cluster, etc). In this case, data loading will happen over a long-distance link.
  2. Set up replication at the data input system level. For example, using a tool like DistCp for HDFS, or MirrorMaker for Kafka, to replicate the same input data into every datacenter.

Imply does not currently provide tools to simplify multi-datacenter deployments; users typically develop site-specific scripts and procedures for keeping multiple clusters synchronized.

Backup

Druid's critical data is all stored in deep storagefor example Azure, S3, or HDFSand in its metadata storefor example PostgreSQL or MySQL. It is important to back up your metadata store.

Deep storage is often infeasible to back up due to its size, but it is important to ensure you have sufficient procedures in place to avoid losing data from deep storage. This could involve backups or could involve replication and proactive operations procedures.

Druid does not store any critical data in ZooKeeper, and does not store any critical data on disk if you have an independent metadata store and deep storage configured.