Hitachi

Hitachi Application Server V10 Command Reference Guide (For Windows® Systems)


2.6.8 delete-cluster

Deletes Java EE Server cluster.

Synopsis

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

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The delete-cluster subcommand deletes Java EE Server cluster. A cluster can be deleted only if the cluster contains no 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.

Precondition

DAS has to be in a running state.

Arguments

--help | -?

Displays the help text for the subcommand.

cluster-name

Specifies the name of the cluster.

Type: String

The following values can be specified:

  • Name of the cluster

Default value: N/A

Examples

The following example deletes Java EE Server cluster adccluster.

asadmin delete-cluster adccluster

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.