New Release

Payara Feature: Deployment Groups

Extremely Flexible, Automatic Clustering in Payara Server

Deployment Group
  • Automatic Clustering – faster and easier to implement
  • Flexible Clustering
  • Support for Rolling Restart
  • Data sharing sessions spread throughout the Domain Data Grid

Features CatalogPayara Platform Documentation

What is a Deployment Group?

what is a deployment group

The Deployment Group is the clustering feature of Payara Server.

Deployment Groups can be used as a target for deployments and other resources so that each are performed on the instances assigned to the Deployment Group. Payara Server’s Deployment Groups are an extremely flexible form of clustering as each instance can be part of one or more Deployment Groups.

When a Deployment Group is restarted, a rolling restart of each instance is performed to ensure the information contained in the Domain Data Grid is kept.

Deployment Group Benefits

Why You’ll Want to Use Deployment Groups

High Availability

Achieve failover with Deployment Groups – if one instance fails, another can pick up the workload.

Load Balancing

Distribute projects across nodes to reduce overhead and use resources flexibly.

Improved Performance

Deployment Group duplication provides greater processing power.

Scalability

As user base grows, resources can grow.

Simplified Lifecycle Management

Clustering simplifies the management of large/rapidly growing systems and can start and stop all servers in a cluster or individual servers.

No Data Loss During Restart

Deployment Groups support rolling restart which is Domain Data Grid aware –  all instances in the group are stopped and then started in turn, giving the Data Grid enough time to adapt and providing no loss of data during the restart.

High Availability and Scalability

Achieve High Availability and Scalability with the Payara Platform Data Grid Cover

In production environments it is usually necessary to look at reliably hosting your application across multiple, redundant hosts to guarantee a reliable service and allow for future scaling. With Payara Server, it is possible to easily create and add instances to deployment groups using Hazelcast, making distributed application configuration a breeze.

Deployment Groups are a set of Payara Server instances that can be used to target resources and deployments which can be started and stopped together. Individual Payara Server instances can be in one or many deployment groups, or none at all, providing greater flexibility over traditional clustering.  Deployment Groups allow for a loose grouping of one or more Payara instances and they will cluster automatically by sharing a single configuration.

Application servers running Jakarta EE (Java EE) applications can be clustered to run the same set of applications and share workload management. Clustering makes it possible to scale beyond the capabilities of a single application server. Requests are automatically routed to the running servers in the event of a failure, providing high availability for enterprise applications.

Download Datasheet

Get Started with Deployment Groups

Learn How to Use Deployment Groups in Payara Server

Introduction to Deployment Groups

The Deployment Group is complimentary to the Domain Data Grid, providing additional clustering capabilities.

Read More

Create a Simple Deployment Group

Learn how to set up a simple deployment group containing two instances.

Read More

Clustering and Deployment Groups

Learn how to install Payara Server remotely while setting up a new node. (The cluster will set up automatically via a Domain Data Grid. )

Read More

Deployment Groups Documentation

Learn why we replaced traditional clusters with deployment groups in Payara Server 5, and how to create, delete, and manage your deployment groups.

Read More

Deployment Groups and Clustering Blogs

  • Deploying to Payara Deployment Group Using the Maven Cargo Plugin 12 Mar 2021

    Introduction The Apache Maven Cargo Plugin allows you to deploy your application to a Payara Server, running locally or remotely. Using Maven as a build tool is an easy way to immediately deploy the application during the build to a test or production server. We have created a custom version of the Cargo Plugin which also supports the Deployment Group feature of the Payara Server.

  • How to Improve Domain Data Grid Performance 26 Jan 2021

    One of the cornerstones of any modern Payara Platform architecture is the use of the Domain Data Grid. The Domain Data Grid allows multiple Payara Server or Payara Micro instances to join and form a robust cluster of interchangeable nodes that can share data between each other and grant High Availability and Failover capabilities to any applications deployed in the cluster. 

  • 10 Strategies for Developing Reliable Jakarta EE Applications for the Cloud 27 Nov 2020

    What happens when an application designed for a small user base needs to be scaled up and moved to the cloud? It needs to live in a distributed environment: responding to an appropriate number of concurrent user requests per second and ensuring users find the application reliable.  Though Jakarta EE and Eclipse MicroProfile can help with reliable clustering, there is no standard API in Jakarta EE that defines how clustering should work currently. This might change in the future, but in the meantime, this gap must be filled by DevOps engineers. In this blog, we will cover 10 technical strategies to deal with clustering challenges when developing Jakarta EE and MicroProfile for cloud environments.

  • Did You Know? Payara Platform Can Cluster By DNS 17 Dec 2018

    Hazelcast in the Payara Platform offers several ways to configure how instances cluster. One new way is by using DNS records.  

  • Creating a Simple Deployment Group 24 Aug 2018

    Note: This blog post is an update to Creating a Simple Cluster, which was written for Payara Server 4. Introduction Continuing our introductory blog series, this blog will demonstrate how to set up a simple Hazelcast deployment group containing two instances. Deployment groups were introduced with Payara 5 to replace clusters. They provide a looser way of managing servers, allowing instances to cluster by sharing the same configuration whilst providing a single deployment target for all of them. See here to read more about Deployment Groups.

Features CatalogEcosystem and Integration Catalog

Back to top