2.7.2 delete-relation
The delete-relation subcommand deletes a relation between servers.
Synopsis
asadmin [asadmin_options] delete-relation relation_name
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The delete-relation subcommand deletes a relation between servers from the domain.
This subcommand is supported only in the remote mode.
Execution permission
General user
Precondition
The relation between the servers has been created.
Arguments
- relation_name
-
Specifies the name of the relation between servers that is to be deleted.
Type: String
You can specify the following values:
-
Name of an existing relation between servers.
Default value: (None. You must specify a value.)
-
Examples
The following example deletes the associated redirect1 relation.
asadmin delete-relation redirect1
Exit Status
Exit Status |
Explanation |
---|---|
0 |
Normal termination. |
1 |
Abnormal termination. |