Visit Azul.com Support

Delete-Cluster

Table of Contents
Need help?
Schedule a consultation with an Azul performance expert.
Contact Us

deletes a Payara Server cluster

Synopsis

 
asadmin [asadmin-options] delete-cluster [--help] cluster-name

Description

The delete-cluster subcommand deletes a Payara Server cluster. A cluster can be deleted only if the cluster contains no Payara Server instances. If a cluster that you are deleting contains any instances, stop and delete the instances before deleting the cluster.

If the cluster’s named configuration was created automatically for the cluster and no other clusters or unclustered instances refer to the configuration, the configuration is deleted when the cluster is deleted.A configuration that is created automatically for a cluster is named cluster-name`-config`, where cluster-name is the name of the cluster.

This command is supported in remote mode only.

Options

asadmin-options: Options for the asadmin utility. For information about these options, see the asadmin help page. --help: -?: Displays the help text for the subcommand.

Operands

cluster-name: The name of the cluster to delete.

Examples

Example 1 Deleting a Payara Server Cluster

This example deletes the Payara Server cluster adccluster.

 
asadmin> delete-cluster adccluster Command delete-cluster executed successfully.

Exit Status

0: command executed successfully 1: error in executing the command

See Also