| delete-cluster(1) asadmin Utility Subcommands delete-cluster(1) |
| |
| NAME |
| delete-cluster - deletes a GlassFish Server cluster |
| |
| SYNOPSIS |
| delete-cluster [--help] |
| [--autohadboverride={true|false}] [--node-agent=node-agent--name] |
| cluster-name |
| |
| DESCRIPTION |
| The delete-cluster subcommand deletes a GlassFish Server cluster. A |
| cluster can be deleted only if the cluster contains no GlassFish 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 |
| --help, -? |
| Displays the help text for the subcommand. |
| |
| --autohadboverride |
| Do not specify this option. This option is retained for |
| compatibility with earlier releases. If you specify this option, a |
| syntax error does not occur. Instead, the subcommand runs |
| successfully and displays a warning message that the option is |
| ignored. |
| |
| --nodeagent |
| Do not specify this option. This option is retained for |
| compatibility with earlier releases. If you specify this option, a |
| syntax error does not occur. Instead, the subcommand runs |
| successfully and displays a warning message that the option is |
| ignored. |
| |
| OPERANDS |
| cluster-name |
| The name of the cluster to delete. |
| |
| EXAMPLES |
| Example 1, Deleting a GlassFish Server Cluster |
| This example deletes the GlassFish 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 |
| create-cluster(1), delete-instance(1), delete-local-instance(1), |
| list-clusters(1), start-cluster(1), stop-instance(1), |
| stop-local-instance(1), stop-cluster(1) |
| |
| asadmin(1M) |
| |
| Java EE 8 7 Dec 2010 delete-cluster(1) |