stop-domains
Stops the Domain Administration Server(DAS) of the specified domains.
Description
The stop-domains
subcommand can be used to stop the specified list of domains in the operand. This list must be specified as a comma separated string of values.
Options
--timeout
-
Specifies how long to take for the domains to stop in seconds. If stopping the domains takes longer than this amount then this command will fail.
The default value is
600
. --domainTimeout
-
Specifies how long to take each domain to stop in seconds. If stopping the domain takes longer than this amount then this command will fail.
The default value is
600
.
Examples
Example 1 Stopping Domains
This example stops the domains named domain1
and testy
in the default domains directory.
asadmin stop-domains domain1,testy
Stopping domain domain1
Stopped domain
Stopping domain testy
Stopped domain
Command stop-domains executed successfully.