 |
|
|
NAME
| stop-domain - stops the given domain |
SYNOPSIS
| stop-domain [ --user admin_user ] [ --password admin_password ] [ --host localhost ] [ --port 4848 ] [ --local=false ] [ --domain domain_name ][ --adminserv=true ] [ --passwordfile filename ] [ --secure|-s ] |
|
Use the stop-domain command to stop all the instances
in the domain specified. The stop-domain command can be
run both locally and remotely. The domain must exist on the local machine
to run this command locally.
|
|
- --user
- administrative
user associated for the instance.
- --password
- administrative
password corresponding to the administrative user.
- --host
- host name
of the machine hosting the administrative instance.
- --port
- administrative
port number associated with the administrative host.
- --local
- determines
if the command should delegate the request to administrative instance or run
locally.
- --domain
- name of
the domain; must be a unique name. If not specified, and there is only one
domain, all instances in that domain are stopped.
- --adminserv
- determines
if the administrative instance should be stopped along with other instances.
- --passwordfile
- file containing passwords appropriate for the command (e.g., administrative
instance).
- --secure
- if set
to true, uses SSL/TLS to communicate with the administrative instance.
|
| Example 1. Using stop-domain in local mode
|
|
asadmin> stop-domain --domain domain1 --adminserv=true
Instance domain1:admin-server stopped
Instance domain1:server1 stopped
Domain domain1 stopped
|
Where: the domain1 domain is stopped. By stopping
the domain the admin-server and server1
instance in the domain are also stopped.
|
Example 2. Using stop-domain in remote mode
|
|
asadmin> stop-domain --user admin --passwordfile passwords.txt --host bluestar --port 6886
Domain stopped remotely
|
Where: the domain identified with the user, host, and port specified
is stopped on the remote server. All instances in the domain are also stopped.
|
|
|
- 0
- command executed successfully
- 1
- error in executing the command
|
Company Info
|
Contact
|
Copyright 2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|