restart-domains

Restarts the Domain Administration Server(DAS) of the specified domains.

Synopsis

asadmin [asadmin-options] restart-domains [--help]
[domain-name]

Description

The restart-domains subcommand can be used to restart the specified list of domains in the operand. This list must be specified as a comma separated string of values.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

Operands

domain-names

The name of the domains you want to restart.

Examples

Example 1 Restarting Domains

This example restarts domain1 and testy in the default domains directory.

asadmin restart-domains domain1,testy

Successfully restarted the domain
Restarted domain domain1

Successfully restarted the domain
Restarted domain testy

Command restart-domains executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also